From patchwork Wed Mar 27 18:13:11 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Will Deacon X-Patchwork-Id: 13607413 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org 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 smtp.lore.kernel.org (Postfix) with ESMTPS id AA34BC47DD9 for ; Wed, 27 Mar 2024 20:33:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Subject:Cc:To: From:Date:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=6daUoq6YtO5QnA++2rWbsnUsO9EtkDwlvywFVi7/Am0=; b=r8+U6/XxDkycKG hKaD0E5r/BdvUGUlsjXKApTCTzo/qOdaZaESo0DRHHEVI3I7qmtUJVeZMw05USt4y/+JeE8PAyego o+WdWhs6lD1Use7BggTZWf3SgNOcQ6EfUBJRnIIizgB/MMDI7lISlA0N9KX7bVm4GWydt0EWPNXZu u/02YeZ7rEuYqknQPW7wwS1mUflvv+QWUgyjna+2U+5gRZXKtwo5ltd65/yWSnondhudV9G4BkFPv K92o04HhU/PjZ6k1edQsag/cbFZYbKdyWIyE6h3aIx9O11r1LyTP81/4pbnxa5+x1kQsp9GMdyMdG kcDxIYbp4xerqVWWmEFw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rpZxe-0000000B22W-3Viq; Wed, 27 Mar 2024 20:33:26 +0000 Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rpXm2-0000000AVr8-2FvN for linux-arm-kernel@lists.infradead.org; Wed, 27 Mar 2024 18:13:22 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id 5A21361446; Wed, 27 Mar 2024 18:13:17 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 71F7EC433F1; Wed, 27 Mar 2024 18:13:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1711563197; bh=1oQauAsz2Xnr3w+55kHK8a6MSov9FoxCkKWlD/KJt/Y=; h=Date:From:To:Cc:Subject:From; b=BlHQ0WeaUMZj7c9CYmyin7Wd8hz3FnAgd/M3AzUluMPD/i8QOQXMmSCUNbhdilCi9 EU4PX3mRl+TqILqySRznATsIXOkadNT8oonXNG57PG1i7bkDcjTnso0hS//0vkZjuj YIdm2lyKaH8EAt/p86jqgAUIAejF1OJJK2AocBTDaiTdKOG2fMbSCMS/ThTm0j68/y /ANnI8IcyloULiB9cKvz9tFzfG7NePIRgpedZJnR4NxTEoB2zLk8aGQP/4cVlDM5G9 SvUpHbZ12ANYHvSw5GCuI2QQD1/oxtG3NMqWs8nKU4lOgCQ6J01kyxpI4GM8ZB0Dqg wyIK9r1xHXDGA== Date: Wed, 27 Mar 2024 18:13:11 +0000 From: Will Deacon To: joro@8bytes.org Cc: iommu@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, robin.murphy@arm.com, kernel-team@android.com Subject: [GIT PULL] iommu/arm-smmu: Fixes for 6.9-rc Message-ID: <20240327181310.GA11801@willie-the-truck> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240327_111319_234632_5B438E06 X-CRM114-Status: UNSURE ( 9.47 ) X-CRM114-Notice: Please train this message. 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi Joerg, Please can you pull these two Arm SMMUv3 fixes for an upcoming 6.9 -rc? One of them fixes a regression on big-endian machines that was introduced during the recent merge window, whereas the other fixes a longer standing bug for hardware that doesn't implement attribute overrides. Summary in the tag. Cheers, Will --->8 The following changes since commit 4cece764965020c22cff7665b18a012006359095: Linux 6.9-rc1 (2024-03-24 14:10:05 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/will/linux.git tags/arm-smmu-fixes for you to fetch changes up to ec9098d6bffea6e82d63640134c123a3d96e0781: iommu/arm-smmu-v3: Fix access for STE.SHCFG (2024-03-26 10:47:39 +0000) ---------------------------------------------------------------- Arm SMMU fixes for 6.9 - Fix swabbing of the STE fields in the unlikely event of running on a big-endian machine. - Fix setting of STE.SHCFG on hardware that doesn't implement support for attribute overrides. ---------------------------------------------------------------- Jason Gunthorpe (1): iommu/arm-smmu-v3: Add cpu_to_le64() around STRTAB_STE_0_V Mostafa Saleh (1): iommu/arm-smmu-v3: Fix access for STE.SHCFG drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c | 38 +++++++++++++++++++---------- drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.h | 2 ++ 2 files changed, 27 insertions(+), 13 deletions(-)