Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp4411450imu; Mon, 7 Jan 2019 23:01:59 -0800 (PST) X-Google-Smtp-Source: ALg8bN70adsm20gn7HqJWXCC77zGt4ippU4dGg5MMISH3sfXDsiRFHjWWNw/FUW8qwB1cargN6/i X-Received: by 2002:a63:4f5e:: with SMTP id p30mr511590pgl.71.1546930919643; Mon, 07 Jan 2019 23:01:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1546930919; cv=none; d=google.com; s=arc-20160816; b=pxDfabnvAcyCNF8mEy5m2lKPGV4VYfWgFeb+B7zm3qDBmu2b4cD8CqvvjatFkUHnxL Z2EmJGfuu9vP1YhNxbQUKd7GFnYp3VOVm/9oV6mx9kvzGt6/wEPsesi4VbPYCvwaoZVS xJvsuBk+QEpB1KsXQW9/8dTAnLwgzCK8SieTGVoPu9UyPhUrAQ2J76tZLuIP9pghu7nS MVjpp1S6JNEG4Arhtf+b9ovcNMzpT3IoU9t0eYcXmlch+RK+WK0aVvQtUzXdymkkikgU aboCQdNssjR4fxyR4wkRG4KR7MP0ReHP7rUTRGnX9jOzuBO4ddSk5jf4xLK3u5oFtfgv +vfg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=yMr4+9hR+4j7tdQO3zoCoGTjkKbof4Z3u4AWZsENkQI=; b=bLW3QJHOjFojC86rSCRSuKu7rDy+3emrb0txbNsQfH4w5pmZGonnJOok7glzzv4RQN gzpcQgu5vLsTwvbH2dOshXD9siNZESsffP5dqIKS1BqIvVtwlBNYIeBK2FanyvkmtyUy izGCXExVtWpeEyv4otEugfgobmje7+PpfPA+E5r8e6kF3O+o2KuEvdNY73R1kZ3zlfbi IJBKLS0ypJw/jTHG8WmOOpwldynUfhM9tSICAwTKffAt3HpmQUghyTHWzaVPblGgyPrC kQoS8GjHOS+k4H7DzuwpO4gU3umJcKIRTFSauQVL2qxH+kdkP4AqSc1lxEytLMYC6dLi Esmg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=GQWnWkY1; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d39si23697445pla.278.2019.01.07.23.01.43; Mon, 07 Jan 2019 23:01:59 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=GQWnWkY1; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727747AbfAHHAe (ORCPT + 99 others); Tue, 8 Jan 2019 02:00:34 -0500 Received: from mail-pg1-f193.google.com ([209.85.215.193]:39992 "EHLO mail-pg1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727473AbfAHHAd (ORCPT ); Tue, 8 Jan 2019 02:00:33 -0500 Received: by mail-pg1-f193.google.com with SMTP id z10so1301469pgp.7 for ; Mon, 07 Jan 2019 23:00:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=yMr4+9hR+4j7tdQO3zoCoGTjkKbof4Z3u4AWZsENkQI=; b=GQWnWkY100usS8LQLOiPf718v3mQywWi40n6HAYA8QpdiaYBkuBy3UDqS7/GiTXFSy +AKJZ8fhhoi364He6h88W0JtTU7n4jLggycm7OUzAgN+FXGJmZeh6U/v7ut/M5Vodya5 ELbCC/oZWBiMS6pjANd7RxlPBICwKsNOFkPWE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=yMr4+9hR+4j7tdQO3zoCoGTjkKbof4Z3u4AWZsENkQI=; b=aeXwlM/YZnF1PnubwzHj2OEwS/vbjvHRS7xo2SJLzDscbE1X//nHngPPEItxRiH/Dh ga3Xma7qNc6/GqpwQ2qIHvJDEkhBwx93znzRGJUQn8VsfrzC8v+GR7+anjJxmVgd12H+ BRPda6KdH7rDfkZVpSIwfDm6W3wI9j5X+HlNC4RT1lJbt2b+jZXkQ4AZgZ71eWJyGwrf vnhuelV3zDukrVN8Vb7EIZ5xn6jdX736Tp3Po2OCTt+GOm/AemlVuqIMrhdgBmuxb73F YDTq47OEIj9PwfzaGOxwhdgr/CLn28mCPwaZU+BtDBR+j07x/GdWvGXv35cbbvzhKWpk tsWg== X-Gm-Message-State: AJcUukcEfm+0o7hArrIS3I6V/jyzSIMRoMoiimCtcggm9IQgHF3Cw7Ze XAPb+4zjS89UYvJiPEh9w39oLQ== X-Received: by 2002:a65:4381:: with SMTP id m1mr507985pgp.358.1546930832342; Mon, 07 Jan 2019 23:00:32 -0800 (PST) Received: from builder (104-188-17-28.lightspeed.sndgca.sbcglobal.net. [104.188.17.28]) by smtp.gmail.com with ESMTPSA id 125sm127586976pfx.159.2019.01.07.23.00.30 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 07 Jan 2019 23:00:31 -0800 (PST) Date: Mon, 7 Jan 2019 22:59:35 -0800 From: Bjorn Andersson To: Vivek Gautam Cc: joro@8bytes.org, robh+dt@kernel.org, andy.gross@linaro.org, iommu@lists.linux-foundation.org, devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, mark.rutland@arm.com, david.brown@linaro.org, linux-kernel@vger.kernel.org, robin.murphy@arm.com, will.deacon@arm.com, dianders@chromium.org Subject: Re: [PATCH v4 2/2] dts: arm64/sdm845: Add node for arm,mmu-500 Message-ID: <20190108065935.GA11536@builder> References: <20181011094930.17010-1-vivek.gautam@codeaurora.org> <20181011094930.17010-3-vivek.gautam@codeaurora.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20181011094930.17010-3-vivek.gautam@codeaurora.org> User-Agent: Mutt/1.10.0 (2018-05-17) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu 11 Oct 02:49 PDT 2018, Vivek Gautam wrote: > Add device node for arm,mmu-500 available on sdm845. > This MMU-500 with single TCU and multiple TBU architecture > is shared among all the peripherals except gpu. > Hi Vivek, Applying this patch together with UFS ([1] and [2]) ontop of v5.0-rc1 causes my MTP reboot once the UFSHCD module is inserted and probed. Independently the patches seems to work fine. Do you have any suggestion to why this would be? [1] https://lore.kernel.org/lkml/20181210192826.241350-4-evgreen@chromium.org/ [2] https://lore.kernel.org/lkml/20181210192826.241350-5-evgreen@chromium.org/ Regards, Bjorn > Signed-off-by: Vivek Gautam > --- > > Changes since v3: > - none. > > arch/arm64/boot/dts/qcom/sdm845.dtsi | 72 ++++++++++++++++++++++++++++++++++++ > 1 file changed, 72 insertions(+) > > diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi b/arch/arm64/boot/dts/qcom/sdm845.dtsi > index b72bdb0a31a5..0aace729643d 100644 > --- a/arch/arm64/boot/dts/qcom/sdm845.dtsi > +++ b/arch/arm64/boot/dts/qcom/sdm845.dtsi > @@ -1297,6 +1297,78 @@ > cell-index = <0>; > }; > > + apps_smmu: iommu@15000000 { > + compatible = "qcom,sdm845-smmu-500", "arm,mmu-500"; > + reg = <0x15000000 0x80000>; > + #iommu-cells = <2>; > + #global-interrupts = <1>; > + interrupts = , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + ; > + }; > + > apss_shared: mailbox@17990000 { > compatible = "qcom,sdm845-apss-shared"; > reg = <0x17990000 0x1000>; > -- > QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member > of Code Aurora Forum, hosted by The Linux Foundation >