From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-20.2 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,INCLUDES_PULL_REQUEST, MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id ED486C432BE for ; Fri, 13 Aug 2021 17:03:45 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id D20CE61139 for ; Fri, 13 Aug 2021 17:03:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232823AbhHMREK (ORCPT ); Fri, 13 Aug 2021 13:04:10 -0400 Received: from foss.arm.com ([217.140.110.172]:55984 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231421AbhHMREH (ORCPT ); Fri, 13 Aug 2021 13:04:07 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id BCFBFD6E; Fri, 13 Aug 2021 10:03:40 -0700 (PDT) Received: from [10.57.36.146] (unknown [10.57.36.146]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id C33B13F70D; Fri, 13 Aug 2021 10:03:39 -0700 (PDT) Subject: Re: [GIT PULL] iommu/arm-smmu: Updates for 5.15 To: Will Deacon , joro@8bytes.org Cc: iommu@lists.linux-foundation.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, kernel-team@android.com References: <20210813164735.GA8765@willie-the-truck> From: Robin Murphy Message-ID: <603960e8-e8cd-ed5c-32fd-93118401a221@arm.com> Date: Fri, 13 Aug 2021 18:03:33 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 MIME-Version: 1.0 In-Reply-To: <20210813164735.GA8765@willie-the-truck> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-GB Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2021-08-13 17:47, Will Deacon wrote: > Hi Joerg, > > Please pull these Arm SMMU updates for 5.15. There's not tonnes here, but > a good mixture of optimisations and cleanups -- summary in the tag. > > This applies cleanly against iommu/next, but I suspect it will conflict > with Robin's series on the list. Please shout if you need anything from > me to help with that (e.g. rebase, checking a merge conflict). In fact it merges cleanly into my local branch, so I hope we should be good :) Robin. > Cheers, > > Will > > --->8 > > The following changes since commit ff1176468d368232b684f75e82563369208bc371: > > Linux 5.14-rc3 (2021-07-25 15:35:14 -0700) > > are available in the Git repository at: > > git://git.kernel.org/pub/scm/linux/kernel/git/will/linux.git tags/arm-smmu-updates > > for you to fetch changes up to fac956710ab0812f9e395e9f7a27da551412830f: > > iommu/arm-smmu-v3: Stop pre-zeroing batch commands (2021-08-13 14:26:06 +0100) > > ---------------------------------------------------------------- > Arm SMMU updates for 5.15 > > - SMMUv3 > > * Minor optimisation to avoid zeroing struct members on CMD submission > > * Increased use of batched commands to reduce submission latency > > * Refactoring in preparation for ECMDQ support > > - SMMUv2 > > * Fix races when probing devices with identical StreamIDs > > * Optimise walk cache flushing for Qualcomm implementations > > * Allow deep sleep states for some Qualcomm SoCs with shared clocks > > ---------------------------------------------------------------- > Ashish Mhetre (1): > iommu: Fix race condition during default domain allocation > > John Garry (2): > iommu/arm-smmu-v3: Remove some unneeded init in arm_smmu_cmdq_issue_cmdlist() > iommu/arm-smmu-v3: Stop pre-zeroing batch commands > > Krishna Reddy (1): > iommu/arm-smmu: Fix race condition during iommu_group creation > > Sai Prakash Ranjan (2): > iommu/arm-smmu: Add clk_bulk_{prepare/unprepare} to system pm callbacks > iommu/arm-smmu: Optimize ->tlb_flush_walk() for qcom implementation > > Zhen Lei (4): > iommu/arm-smmu-v3: Use command queue batching helpers to improve performance > iommu/arm-smmu-v3: Add and use static helper function arm_smmu_cmdq_issue_cmd_with_sync() > iommu/arm-smmu-v3: Add and use static helper function arm_smmu_get_cmdq() > iommu/arm-smmu-v3: Extract reusable function __arm_smmu_cmdq_skip_err() > > drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c | 89 +++++++++++++++++------------ > drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c | 11 ++++ > drivers/iommu/arm/arm-smmu/arm-smmu.c | 45 ++++++++++++--- > drivers/iommu/arm/arm-smmu/arm-smmu.h | 1 + > drivers/iommu/iommu.c | 2 + > 5 files changed, 106 insertions(+), 42 deletions(-) > > _______________________________________________ > linux-arm-kernel mailing list > linux-arm-kernel@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-arm-kernel > From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-20.2 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,INCLUDES_PULL_REQUEST, MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9958FC4338F for ; Fri, 13 Aug 2021 17:03:51 +0000 (UTC) Received: from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 4CC0261103 for ; Fri, 13 Aug 2021 17:03:51 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 4CC0261103 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=arm.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.linux-foundation.org Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id 119CC407C2; Fri, 13 Aug 2021 17:03:51 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Uk1rl50P98aK; Fri, 13 Aug 2021 17:03:46 +0000 (UTC) Received: from lists.linuxfoundation.org (lf-lists.osuosl.org [IPv6:2605:bc80:3010:104::8cd3:938]) by smtp4.osuosl.org (Postfix) with ESMTPS id 7E99C402B8; Fri, 13 Aug 2021 17:03:46 +0000 (UTC) Received: from lf-lists.osuosl.org (localhost [127.0.0.1]) by lists.linuxfoundation.org (Postfix) with ESMTP id 4E4F4C001A; Fri, 13 Aug 2021 17:03:46 +0000 (UTC) Received: from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by lists.linuxfoundation.org (Postfix) with ESMTP id BD29DC000E for ; Fri, 13 Aug 2021 17:03:45 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id 9B65183B26 for ; Fri, 13 Aug 2021 17:03:45 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id T3ed26JjUxm1 for ; Fri, 13 Aug 2021 17:03:41 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.8.0 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by smtp1.osuosl.org (Postfix) with ESMTP id 93E8F83B23 for ; Fri, 13 Aug 2021 17:03:41 +0000 (UTC) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id BCFBFD6E; Fri, 13 Aug 2021 10:03:40 -0700 (PDT) Received: from [10.57.36.146] (unknown [10.57.36.146]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id C33B13F70D; Fri, 13 Aug 2021 10:03:39 -0700 (PDT) Subject: Re: [GIT PULL] iommu/arm-smmu: Updates for 5.15 To: Will Deacon , joro@8bytes.org References: <20210813164735.GA8765@willie-the-truck> From: Robin Murphy Message-ID: <603960e8-e8cd-ed5c-32fd-93118401a221@arm.com> Date: Fri, 13 Aug 2021 18:03:33 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 MIME-Version: 1.0 In-Reply-To: <20210813164735.GA8765@willie-the-truck> Content-Language: en-GB Cc: iommu@lists.linux-foundation.org, kernel-team@android.com, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org X-BeenThere: iommu@lists.linux-foundation.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Development issues for Linux IOMMU support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: iommu-bounces@lists.linux-foundation.org Sender: "iommu" On 2021-08-13 17:47, Will Deacon wrote: > Hi Joerg, > > Please pull these Arm SMMU updates for 5.15. There's not tonnes here, but > a good mixture of optimisations and cleanups -- summary in the tag. > > This applies cleanly against iommu/next, but I suspect it will conflict > with Robin's series on the list. Please shout if you need anything from > me to help with that (e.g. rebase, checking a merge conflict). In fact it merges cleanly into my local branch, so I hope we should be good :) Robin. > Cheers, > > Will > > --->8 > > The following changes since commit ff1176468d368232b684f75e82563369208bc371: > > Linux 5.14-rc3 (2021-07-25 15:35:14 -0700) > > are available in the Git repository at: > > git://git.kernel.org/pub/scm/linux/kernel/git/will/linux.git tags/arm-smmu-updates > > for you to fetch changes up to fac956710ab0812f9e395e9f7a27da551412830f: > > iommu/arm-smmu-v3: Stop pre-zeroing batch commands (2021-08-13 14:26:06 +0100) > > ---------------------------------------------------------------- > Arm SMMU updates for 5.15 > > - SMMUv3 > > * Minor optimisation to avoid zeroing struct members on CMD submission > > * Increased use of batched commands to reduce submission latency > > * Refactoring in preparation for ECMDQ support > > - SMMUv2 > > * Fix races when probing devices with identical StreamIDs > > * Optimise walk cache flushing for Qualcomm implementations > > * Allow deep sleep states for some Qualcomm SoCs with shared clocks > > ---------------------------------------------------------------- > Ashish Mhetre (1): > iommu: Fix race condition during default domain allocation > > John Garry (2): > iommu/arm-smmu-v3: Remove some unneeded init in arm_smmu_cmdq_issue_cmdlist() > iommu/arm-smmu-v3: Stop pre-zeroing batch commands > > Krishna Reddy (1): > iommu/arm-smmu: Fix race condition during iommu_group creation > > Sai Prakash Ranjan (2): > iommu/arm-smmu: Add clk_bulk_{prepare/unprepare} to system pm callbacks > iommu/arm-smmu: Optimize ->tlb_flush_walk() for qcom implementation > > Zhen Lei (4): > iommu/arm-smmu-v3: Use command queue batching helpers to improve performance > iommu/arm-smmu-v3: Add and use static helper function arm_smmu_cmdq_issue_cmd_with_sync() > iommu/arm-smmu-v3: Add and use static helper function arm_smmu_get_cmdq() > iommu/arm-smmu-v3: Extract reusable function __arm_smmu_cmdq_skip_err() > > drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c | 89 +++++++++++++++++------------ > drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c | 11 ++++ > drivers/iommu/arm/arm-smmu/arm-smmu.c | 45 ++++++++++++--- > drivers/iommu/arm/arm-smmu/arm-smmu.h | 1 + > drivers/iommu/iommu.c | 2 + > 5 files changed, 106 insertions(+), 42 deletions(-) > > _______________________________________________ > linux-arm-kernel mailing list > linux-arm-kernel@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-arm-kernel > _______________________________________________ iommu mailing list iommu@lists.linux-foundation.org https://lists.linuxfoundation.org/mailman/listinfo/iommu From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-21.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, INCLUDES_PULL_REQUEST,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,NICE_REPLY_A, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id AABA7C4320A for ; Fri, 13 Aug 2021 17:06:18 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 77FE561103 for ; Fri, 13 Aug 2021 17:06:18 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 77FE561103 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=arm.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Content-Type: Content-Transfer-Encoding:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:Date:Message-ID:From: References:Cc:To:Subject:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=S9Cmw1TuEggLZYLGu/0gwD8fv1JAApxYsbrFNoaT+vQ=; b=RE/ewv8KmnewjVS1v3hJbh95hw K4QTG5k7cDdOVRkwwPOPDf66GzxuHnQlMmqpdSCbNG2s8qxVe9InQhPnd7CXO3J8i4y23gX+4XQ27 iLIbclx3dE9BjKrUGe7MRC+szSjtU4TXcT8xCRI9YJKd4NxZ/GKyFYij+UKTMgeWe7aoUVS8H7UVE dILwO6CmxwbCGv02IaqB8YScJ4+cWFX60jfS9X39GxzGT2+BWxUmFLzPTAPqIMtknZkVu/1Ksst+Z /ep+sqsO+r0x027NaQWeKUHBdEBVjnEHt+eankHiKRgPVyrY4P2WQ7fTjrViziO+JcVKtrIfT2Xs+ mTxDJEKQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mEaay-00DCrP-UW; Fri, 13 Aug 2021 17:03:49 +0000 Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mEaas-00DCpC-H5 for linux-arm-kernel@lists.infradead.org; Fri, 13 Aug 2021 17:03:45 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id BCFBFD6E; Fri, 13 Aug 2021 10:03:40 -0700 (PDT) Received: from [10.57.36.146] (unknown [10.57.36.146]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id C33B13F70D; Fri, 13 Aug 2021 10:03:39 -0700 (PDT) Subject: Re: [GIT PULL] iommu/arm-smmu: Updates for 5.15 To: Will Deacon , joro@8bytes.org Cc: iommu@lists.linux-foundation.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, kernel-team@android.com References: <20210813164735.GA8765@willie-the-truck> From: Robin Murphy Message-ID: <603960e8-e8cd-ed5c-32fd-93118401a221@arm.com> Date: Fri, 13 Aug 2021 18:03:33 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 MIME-Version: 1.0 In-Reply-To: <20210813164735.GA8765@willie-the-truck> Content-Language: en-GB X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210813_100342_741545_C9128E7E X-CRM114-Status: GOOD ( 22.28 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 2021-08-13 17:47, Will Deacon wrote: > Hi Joerg, > > Please pull these Arm SMMU updates for 5.15. There's not tonnes here, but > a good mixture of optimisations and cleanups -- summary in the tag. > > This applies cleanly against iommu/next, but I suspect it will conflict > with Robin's series on the list. Please shout if you need anything from > me to help with that (e.g. rebase, checking a merge conflict). In fact it merges cleanly into my local branch, so I hope we should be good :) Robin. > Cheers, > > Will > > --->8 > > The following changes since commit ff1176468d368232b684f75e82563369208bc371: > > Linux 5.14-rc3 (2021-07-25 15:35:14 -0700) > > are available in the Git repository at: > > git://git.kernel.org/pub/scm/linux/kernel/git/will/linux.git tags/arm-smmu-updates > > for you to fetch changes up to fac956710ab0812f9e395e9f7a27da551412830f: > > iommu/arm-smmu-v3: Stop pre-zeroing batch commands (2021-08-13 14:26:06 +0100) > > ---------------------------------------------------------------- > Arm SMMU updates for 5.15 > > - SMMUv3 > > * Minor optimisation to avoid zeroing struct members on CMD submission > > * Increased use of batched commands to reduce submission latency > > * Refactoring in preparation for ECMDQ support > > - SMMUv2 > > * Fix races when probing devices with identical StreamIDs > > * Optimise walk cache flushing for Qualcomm implementations > > * Allow deep sleep states for some Qualcomm SoCs with shared clocks > > ---------------------------------------------------------------- > Ashish Mhetre (1): > iommu: Fix race condition during default domain allocation > > John Garry (2): > iommu/arm-smmu-v3: Remove some unneeded init in arm_smmu_cmdq_issue_cmdlist() > iommu/arm-smmu-v3: Stop pre-zeroing batch commands > > Krishna Reddy (1): > iommu/arm-smmu: Fix race condition during iommu_group creation > > Sai Prakash Ranjan (2): > iommu/arm-smmu: Add clk_bulk_{prepare/unprepare} to system pm callbacks > iommu/arm-smmu: Optimize ->tlb_flush_walk() for qcom implementation > > Zhen Lei (4): > iommu/arm-smmu-v3: Use command queue batching helpers to improve performance > iommu/arm-smmu-v3: Add and use static helper function arm_smmu_cmdq_issue_cmd_with_sync() > iommu/arm-smmu-v3: Add and use static helper function arm_smmu_get_cmdq() > iommu/arm-smmu-v3: Extract reusable function __arm_smmu_cmdq_skip_err() > > drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c | 89 +++++++++++++++++------------ > drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c | 11 ++++ > drivers/iommu/arm/arm-smmu/arm-smmu.c | 45 ++++++++++++--- > drivers/iommu/arm/arm-smmu/arm-smmu.h | 1 + > drivers/iommu/iommu.c | 2 + > 5 files changed, 106 insertions(+), 42 deletions(-) > > _______________________________________________ > linux-arm-kernel mailing list > linux-arm-kernel@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-arm-kernel > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel