Received: by 2002:a4a:311b:0:0:0:0:0 with SMTP id k27-v6csp4373748ooa; Tue, 14 Aug 2018 05:14:13 -0700 (PDT) X-Google-Smtp-Source: AA+uWPwJucLj3rrA7I75B4UIg9CVD97SpB6vwi9K6giBmpKJ1PqsTfmgtCjWndpnE01OEqE8w3Iz X-Received: by 2002:a17:902:7481:: with SMTP id h1-v6mr20562018pll.183.1534248853121; Tue, 14 Aug 2018 05:14:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534248853; cv=none; d=google.com; s=arc-20160816; b=LA82mT/XU1Wm6Y+r/q0cEYtzchXynAWiIzWyUmwK4idp169BWeldveLRPde6b2QnQ8 HP7HaCSsxsdXDLlUV33nZnIV3t5D5JnxT1T/RG7cqDkEJXQwGlNBrr7CfLnvQ9uGKOVj OjcRTSmZQR25+sga2/88c1AIBah8lYBZh729wv3hIhOmnhHWmUXcQMRMsj6YZx2N4q/T hlFjinpGTmiE1U85VsYJlH5lU/eZR+Z1c2M+So+d1QMjmMEL28dJya6AwIy6kX//Ut7+ 7eeMYimJbDqOLVw2XOOZevhbO72Y/f41ridfAjOtVvYaHm/oqT2amCErpIW5M6xzyO0A 1kLw== 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:arc-authentication-results; bh=djYqDI8QW5azBaVeyNe98P8jz4E4NPSeOy2zh35p+GI=; b=JzCHjO/ld/haoTDZ9DhdtDgLU6YzskdmzcxhTyd3FXmrxDXM94HVtWIR/y26uJanG8 uv8HiATK5WieW166Y0WZz24nuHOkI7X8fS5ivyx6TaGnmtpjm2jUJkF7ZxZsNhBt5tor I5u1QZ+TFxNQjYr0sU6eAlRi07n16xnrZ9zW5ffMPyHq6KOx5N34FzfqZC/DSEsHzdAd DlmBsHZZq+cqJK18efDTxugVZVUmzy93aQHX198KqxU1HjQL6uN5Kl5Z+icT9jM3GriJ Lic15vxrgM/DenXXAad6JRBPqNDZMyOAgJg7FJqp1TjHyJ+zrGRwvwESy3sOetv2lujz zRNQ== ARC-Authentication-Results: i=1; mx.google.com; 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 h9-v6si20332137pgi.502.2018.08.14.05.13.58; Tue, 14 Aug 2018 05:14:13 -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; 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 S1732286AbeHNO0v (ORCPT + 99 others); Tue, 14 Aug 2018 10:26:51 -0400 Received: from usa-sjc-mx-foss1.foss.arm.com ([217.140.101.70]:42220 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730099AbeHNO0v (ORCPT ); Tue, 14 Aug 2018 10:26:51 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id B56ED7A9; Tue, 14 Aug 2018 04:40:03 -0700 (PDT) Received: from edgewater-inn.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.72.51.249]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 85D413F73C; Tue, 14 Aug 2018 04:40:03 -0700 (PDT) Received: by edgewater-inn.cambridge.arm.com (Postfix, from userid 1000) id 232EE1AE015E; Tue, 14 Aug 2018 12:40:09 +0100 (BST) Date: Tue, 14 Aug 2018 12:40:09 +0100 From: Will Deacon To: Vivek Gautam Cc: joro@8bytes.org, andy.gross@linaro.org, robin.murphy@arm.com, bjorn.andersson@linaro.org, iommu@lists.linux-foundation.org, mark.rutland@arm.com, david.brown@linaro.org, tfiga@chromium.org, swboyd@chromium.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, robdclark@gmail.com Subject: Re: [PATCH 0/5] Qcom smmu-500 TLB invalidation errata for sdm845 Message-ID: <20180814114009.GF28664@arm.com> References: <20180814105528.20592-1-vivek.gautam@codeaurora.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180814105528.20592-1-vivek.gautam@codeaurora.org> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Vivek, On Tue, Aug 14, 2018 at 04:25:23PM +0530, Vivek Gautam wrote: > Qcom's implementation of arm,mmu-500 on sdm845 has a functional/performance > errata [1] because of which the TCU cache look ups are stalled during > invalidation cycle. This is mitigated by serializing all the invalidation > requests coming to the smmu. How does this implementation differ from the one supported by qcom_iommu.c? I notice you're adding firmware hooks here, which we avoided by having the extra driver. Please help me understand which devices exist, how they differ, and which drivers are intended to support them! Also -- you didn't CC all the maintainers for the firmware bits, so adding Andy here for that, and Rob for the previous question. Thanks, Will