From patchwork Wed Aug 2 17:02:21 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Easwar Hariharan X-Patchwork-Id: 13338581 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 03704C04A6A for ; Wed, 2 Aug 2023 17:03:12 +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: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=CQSArqSMmAoJvIsdSStgeLNDn49gHLLAcAQ/Rw0JnXo=; b=sEipRVL6J0hQtV W5o3/qwxFJm9+MrPOlo9cNjyTRMci54Fe1xWhEreOgEBSuTk50DWhOq7+tQQD/j8YW2MOq3SuOHN/ sDsQ/WNR7DOZw0iRA1pSsTa3+M0ZNg2lIkLTcAfvoW6qRhtuDuddRZT/3pA+JYx+/cZIaW6yi6DjE 2O5e0Uu6BEuZeYhQUbc6IFH6iHfCCOIxtJVlWENhbewZtZPmU0C2EeLZ+eHghJ2pmN77HOJEtIoAD SnbGuHclSXYjGL/H4mrNsFRdKbO7GL6n0ro0simWGATFJ9HGaDMbo2Iyp6NFgUoq4IpR6qf0LE7BE PZGPTG82Qr+BXMeZGHJA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qRFFF-005RNg-0k; Wed, 02 Aug 2023 17:02:45 +0000 Received: from linux.microsoft.com ([13.77.154.182]) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qRFF9-005RKl-1n for linux-arm-kernel@lists.infradead.org; Wed, 02 Aug 2023 17:02:42 +0000 Received: from rrs24-12-35.corp.microsoft.com (unknown [131.107.147.181]) by linux.microsoft.com (Postfix) with ESMTPSA id 9CDBA238C42F; Wed, 2 Aug 2023 10:02:34 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 9CDBA238C42F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1690995754; bh=7K46jHAh92Qicy9mQozF5U/IfJD15n4F+9m+pErxtW0=; h=From:To:Cc:Subject:Date:From; b=oMq9HTSkpDTjigWrizfIN6fmyw9f9fepwG7BhA5VCivovDZ4eZtC01jeQ97txvA/a Xqipp2wve8juaHkzl9oNsQKs0GsBBcUeLY2u8MG1TanA5hwVXiUM0EEVdaUeZcGqvX PYdrohvl5C1rHRNRPvm7DmjYdENHA0rrlfXiaGxM= From: Easwar Hariharan To: stable@vger.kernel.org Cc: easwar.hariharan@microsoft.com, Catalin Marinas , Will Deacon , Jonathan Corbet , Robin Murphy , Joerg Roedel , linux-arm-kernel@lists.infradead.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, iommu@lists.linux.dev Subject: [PATCH v3 5.15 0/6] ARM64 errata for stable kernel 5.15 Date: Wed, 2 Aug 2023 17:02:21 +0000 Message-Id: <20230802170227.1590187-1-eahariha@linux.microsoft.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230802_100239_614639_D3426427 X-CRM114-Status: GOOD ( 10.05 ) 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 This series works around a few ARM64 errata. 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 Changelog: ========== v2 -> v3 - Backport other relevant errata patches from the same series as MMU-700 erratum 2812531 - v2 link: https://lore.kernel.org/stable/20230724185017.1675459-1-eahariha@linux.microsoft.com/T/#m0c2c7b9dac7ac8c0b12ce31f1a68542ef352ea2f v1 -> v2: - Drop patch accepted as commit e4e7f67cc14e9638798f80513e84b8fb62cdb7e3 in v5.15.121 - Appropriate sign-offs - v1 link:https://lore.kernel.org/stable/1689895414-17425-1-git-send-email-eahariha@linux.microsoft.com/ Robin Murphy (4): iommu/arm-smmu-v3: Work around MMU-600 erratum 1076982 iommu/arm-smmu-v3: Document MMU-700 erratum 2812531 iommu/arm-smmu-v3: Add explicit feature for nesting iommu/arm-smmu-v3: Document nesting-related errata Suzuki K Poulose (2): arm64: errata: Add workaround for TSB flush failures arm64: errata: Add detection for TRBE write to out-of-range Documentation/arm64/silicon-errata.rst | 12 ++++ arch/arm64/Kconfig | 74 +++++++++++++++++++++ arch/arm64/include/asm/barrier.h | 16 ++++- arch/arm64/kernel/cpu_errata.c | 39 +++++++++++ arch/arm64/tools/cpucaps | 2 + drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c | 50 ++++++++++++++ drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.h | 8 +++ 7 files changed, 200 insertions(+), 1 deletion(-)