Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp749425ybx; Fri, 1 Nov 2019 10:35:32 -0700 (PDT) X-Google-Smtp-Source: APXvYqy16w1SN/DubxAP6L8J5zRim0jIQB/9tXbM/5cEjw3aYCNQdAcjUyNOpPBYcOiUx/Bh0m4I X-Received: by 2002:aa7:c691:: with SMTP id n17mr14403247edq.100.1572629732707; Fri, 01 Nov 2019 10:35:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572629732; cv=none; d=google.com; s=arc-20160816; b=ODuUu54uSrDtvVGBfr5DiEXvXPmpbEHD51TL/lQZPhISKjtspnOG4VF+Wlb+8+de5a SisUX06YnqycKGbkvrkS5BUVcUT63myyS8fwdZfjX85tRiNdzWjmyaloX7+mkIPCqLLA alxcZg2lpwL4i9kEXObZEYlCcysSR3AB2xp8kcXZC9ftIe7giGRW69RKtK3dKUqyKtYc Nfp5h5ep2Leqp6OeMhgUyayA3JmUBS8bKpS6CBXB1NPZKDa8lbk/RS3+NGjH1l6Wbnih Tb6MKeLe8F/nS80xQWB0Jej3g28QjICsf4jfMKBjBMxQaUMOGxHGlPWUi09yravqrWYo L26Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:message-id:references :in-reply-to:subject:cc:to:from:date:content-transfer-encoding :mime-version:dkim-signature:dkim-signature; bh=g+RCR/7g+RmDP+M3RS1vBLw5TIVNbSRw5TMsXK+Uq3I=; b=W8yi2uUyD3MdczmHofmwanEsnOCmPnoI20B9WqctxQ7YYkXdR8GWNsSXX0v65fUYSc VVtMCjBpHR96eWrThfR9TP3EI7ImKW6UcJ9CSMTc5ovbNTHAh6IAjVBLuUNUxSSHBqGz cnXVmmud9QZT3layHorMawviBGxR+LCu2B3GdY045StgX03I0PEP8s2m4HXtnerr9+HD FbCgr8ZnT2hIeov1HvGxK5f2UBbMV9t8EoKfP9RNbHjE4XTrtApAbIsWk9ybUPXvVSo/ uU9cvw1PYT7DTfeqsI12CrFmTlqkZv6KkV93JqEXUp4k0nvOkGRibazVHrD2FcpfI2rC H5cg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=G3Xq7ttw; dkim=pass header.i=@codeaurora.org header.s=default header.b=fQf4WVwF; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y42si1013482edd.191.2019.11.01.10.35.09; Fri, 01 Nov 2019 10:35:32 -0700 (PDT) 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=@codeaurora.org header.s=default header.b=G3Xq7ttw; dkim=pass header.i=@codeaurora.org header.s=default header.b=fQf4WVwF; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727069AbfKARcB (ORCPT + 99 others); Fri, 1 Nov 2019 13:32:01 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:43082 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726554AbfKARcB (ORCPT ); Fri, 1 Nov 2019 13:32:01 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 8A88561161; Fri, 1 Nov 2019 17:32:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1572629520; bh=kTFcEII9VQ7VXdQiCsnxkwUwGz79YeOsQ0OeBBkuScg=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=G3Xq7ttwWLwE1I7B4eT0lehOG3VsHXSMBKPq0mxQz6iyTHCoXX/juAWzlS2We9W3M 83x6jFNvvZjtqOHmmegPa/M8iNnBQu6argBZHIqYDTzSX2SW3p53z5bDjvX91C31Xi TZBuhBunN5tnbjuRA58LhvfwRrzlaLo7ihbfmymA= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on pdx-caf-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.7 required=2.0 tests=ALL_TRUSTED,BAYES_00, DKIM_INVALID,DKIM_SIGNED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.codeaurora.org (Postfix) with ESMTP id A5A6B6110B; Fri, 1 Nov 2019 17:31:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1572629519; bh=kTFcEII9VQ7VXdQiCsnxkwUwGz79YeOsQ0OeBBkuScg=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=fQf4WVwFGtfc1Wm6kx1nxc5oXiJWgVWuuikBGSz5IfoXqOJ2OvG24BLxdjkiA3Age AO+oLYI4x2+RggoVwq0YVOaogZZM4qq/VW5y4d/mI4TOQFee8FG7cWeus748HT7TYr Ukf5AJrLsyYsL8FQ+Em9swSjmWPSsgocl1JP6590= MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Fri, 01 Nov 2019 23:01:59 +0530 From: Sai Prakash Ranjan To: Will Deacon , bjorn.andersson@linaro.org Cc: agross@kernel.org, Robin Murphy , Joerg Roedel , iommu@lists.linux-foundation.org, Stephen Boyd , Vivek Gautam , bjorn.andersson@linaro.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Rajendra Nayak , linux-arm-msm-owner@vger.kernel.org Subject: Re: [PATCHv7 0/3] QCOM smmu-500 wait-for-safe handling for sdm845 In-Reply-To: <20191101172508.GB3983@willie-the-truck> References: <20191101163136.GC3603@willie-the-truck> <20191101172508.GB3983@willie-the-truck> Message-ID: <119d4bcf5989d1aa0686fd674c6a3370@codeaurora.org> X-Sender: saiprakash.ranjan@codeaurora.org User-Agent: Roundcube Webmail/1.2.5 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2019-11-01 22:55, Will Deacon wrote: > On Fri, Nov 01, 2019 at 10:49:00PM +0530, Sai Prakash Ranjan wrote: >> On 2019-11-01 22:01, Will Deacon wrote: >> > On Fri, Sep 20, 2019 at 01:34:26PM +0530, Sai Prakash Ranjan wrote: >> > > Previous version of the patches are at [1]: >> > > >> > > QCOM's implementation of smmu-500 on sdm845 adds a hardware logic >> > > called >> > > wait-for-safe. This logic helps in meeting the invalidation >> > > requirements >> > > from 'real-time clients', such as display and camera. This >> > > wait-for-safe >> > > logic ensures that the invalidations happen after getting an ack >> > > from these >> > > devices. >> > > In this patch-series we are disabling this wait-for-safe logic from >> > > the >> > > arm-smmu driver's probe as with this enabled the hardware tries to >> > > throttle invalidations from 'non-real-time clients', such as USB and >> > > UFS. >> > > >> > > For detailed information please refer to patch [3/4] in this series. >> > > I have included the device tree patch too in this series for someone >> > > who >> > > would like to test out this. Here's a branch [2] that gets display >> > > on MTP >> > > SDM845 device. >> > > >> > > This patch series is inspired from downstream work to handle >> > > under-performance >> > > issues on real-time clients on sdm845. In downstream we add separate >> > > page table >> > > ops to handle TLB maintenance and toggle wait-for-safe in tlb_sync >> > > call so that >> > > achieve required performance for display and camera [3, 4]. >> > >> > What's the plan for getting this merged? I'm not happy taking the >> > firmware >> > bits without Andy's ack, but I also think the SMMU changes should go via >> > the IOMMU tree to avoid conflicts. >> > >> > Andy? >> > >> >> Bjorn maintains QCOM stuff now if I am not wrong and he has already >> reviewed >> the firmware bits. So I'm hoping you could take all these through >> IOMMU >> tree. > > Oh, I didn't realise that. Is there a MAINTAINERS update someplace? If > I > run: > > $ ./scripts/get_maintainer.pl -f drivers/firmware/qcom_scm-64.c > > in linux-next, I get: > > Andy Gross (maintainer:ARM/QUALCOMM SUPPORT) > linux-arm-msm@vger.kernel.org (open list:ARM/QUALCOMM SUPPORT) > linux-kernel@vger.kernel.org (open list) > It hasn't been updated yet then. I will leave it to Bjorn or Andy to comment on this. -Sai -- QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation