From patchwork Thu Jul 20 23:23:30 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Easwar Hariharan X-Patchwork-Id: 13321184 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 49E5BEB64DD for ; Thu, 20 Jul 2023 23:24:29 +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:MIME-Version:List-Subscribe:List-Help: List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date:Subject:Cc:To :From: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=Jg5tM1TEyjrS6LhNUh8kPxDX3ROu2pfWMD50A8t3ScA=; b=z3KC7jofF7qpuY FCgN4aNse8Xr7ey7ghaGb/Mwlnt0DIbvD/Dsa6Vm+B15z9lk9Oo850JcOqa9ODGNDkG1gn9l3mLjx F1d6TjILneS36SA25QxaH7kJb2/lRt2ama79/3xcBMrPBBcyePCN6bxCTRSYVCnIGizo+5RPW+iin j5o8gDe350eYITLzKErkVm3GpU+75rac0FzSGfci3Qe9i0dIlVQx3uJ/9/fvXnd8WY/9V0ciaGz3+ ia2yjIhXmKCK2wWdGJn1SzHTR8guO6lirJY6d7Eh0A2DtctE374viWP5dwFEX6x2/HTnYnF12aTmN A4fphjm6sSDSrRFhcT6A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qMd0E-00CU96-0d; Thu, 20 Jul 2023 23:24:10 +0000 Received: from linux.microsoft.com ([13.77.154.182]) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qMczy-00CU3k-2d for linux-arm-kernel@lists.infradead.org; Thu, 20 Jul 2023 23:23:57 +0000 Received: from linuxonhyperv3.guj3yctzbm1etfxqx2vob5hsef.xx.internal.cloudapp.net (linux.microsoft.com [13.77.154.182]) by linux.microsoft.com (Postfix) with ESMTPSA id AB9B6236EBE2; Thu, 20 Jul 2023 16:23:52 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com AB9B6236EBE2 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1689895432; bh=SA9Rg3cMgQ7b1lFGvwN/QhJbcx0qd36JOXDv4dAQXxY=; h=From:To:Cc:Subject:Date:From; b=cVupQpfkOgBO/eAATTcmC1NeKzfe8T3WsdUXDeZPP7LR4RW3+9TH2nGRt3emkuyYJ Q38NW7QQpLKa1Sn/BKofbm4IIths4zBfi1zkNRXn4/MHO/c26lOcnBj2SGHgnTsxCP rnzqimOFAkzmLzcF671NKwvUXJTiOUFl9SwVTU+U= From: Easwar Hariharan To: stable@vger.kernel.org Cc: easwar.hariharan@microsoft.com, catalin.marinas@arm.com, will@kernel.org, corbet@lwn.net, robin.murphy@arm.com, joro@8bytes.org, linux-arm-kernel@lists.infradead.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, iommu@lists.linux.dev Subject: [PATCH 5.15 0/4] ARM64 errata for stable kernel 5.15 and above Date: Thu, 20 Jul 2023 16:23:30 -0700 Message-Id: <1689895414-17425-1-git-send-email-eahariha@linux.microsoft.com> X-Mailer: git-send-email 1.8.3.1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230720_162354_876099_2EF72DD6 X-CRM114-Status: UNSURE ( 9.07 ) 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: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Easwar Hariharan This series works around a few ARM64 errata. Please pick these up for v6.1 and v6.4 as well. Cc: Catalin Marinas Cc: Will Deacon Cc: Jonathan Corbet Cc: Robin Murphy Cc: Joerg Roedel Cc: linux-arm-kernel@lists.infradead.org Cc: linux-doc@vger.kernel.org Cc: linux-kernel@vger.kernel.org Cc: iommu@lists.linux.dev Signed-off-by: Easwar Hariharan --- Robin Murphy (1): iommu/arm-smmu-v3: Document MMU-700 erratum 2812531 Suzuki K Poulose (3): arm64: errata: Add detection for TRBE overwrite in FILL mode arm64: errata: Add workaround for TSB flush failures arm64: errata: Add detection for TRBE write to out-of-range Documentation/arm64/silicon-errata.rst | 16 +++ arch/arm64/Kconfig | 115 ++++++++++++++++++++ arch/arm64/include/asm/barrier.h | 16 ++- arch/arm64/kernel/cpu_errata.c | 65 +++++++++++ arch/arm64/tools/cpucaps | 3 + drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c | 41 +++++++ drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.h | 1 + 7 files changed, 256 insertions(+), 1 deletion(-)