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 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 CCCB0C982D0 for ; Sun, 20 Sep 2026 04:08:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-Type: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=E/jszypxP8zTSlJApl+JV/f7O5viIfoLzIa0xtcXTuQ=; b=RDcdfmQ1e6GVtHbxioRUfO9vkM n9uHpRF1AW2PKpY8yJ2au0Qdp4KFDapqIie0jsKmukxWqOfGmQREvpukOJ1/kQ4RgNkpRoLz/csT3 59LUbo/SoEVPszXmBzwk8SV7c0h18+ISq3RjpnfTeFvgfoJ6G7Q8hEmblAvfbP5nQAZEI75Kk7a+M zJ60v9T24uxbVd6iPIIgXzLhrx9jljyGCKadKokIk1xFhrE5wJpeCHQSabWdGCtePaxzZeTQ6/YoY QTIqTA1opHUSthBaIvWKUfu8u6ePtWuO2j+Ll4XaJ3wSKgIegmfLWia1P5e8dP8I1HFqXfVSe5qYu fWBL1R2w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.99.1 #2 (Red Hat Linux)) id 1x88qG-0000000GqeT-3U4S; Sun, 20 Sep 2026 04:07:52 +0000 Received: from out-231.mta1.migadu.com ([95.215.58.231] helo=mta1.migadu.com) by bombadil.infradead.org with esmtps (Exim 4.99.1 #2 (Red Hat Linux)) id 1x88qD-0000000GqeA-20ZR for linux-arm-kernel@lists.infradead.org; Sun, 20 Sep 2026 04:07:51 +0000 X-Envelope-To: linux-arm-kernel@lists.infradead.org DKIM-Signature: a=rsa-sha256; bh=9X3Bhso6oyEXBNzc++2m2lbiMUmTnbOGNs5Z6OlLWX4=; c=simple/simple; d=linux.dev; h=from:to:subject:date:message-id:mime-version:content-type; s=key1; t=1789877267; v=1; x=1790482067; b=iSYbZxnaWcQm7+3NtaWHfclN2h1wPSVIxL7hjSxxTrSlH41ICEgzZinFAEWFAzgQoOWYXs6z fBXVMnooeBE0watSJPWgHD+65BZVefmRF6X7k4wafKsXGxGWXrmQhTyKQi53uBoWrcwhc7xD0j+ nWDvsE/vy/9hB8pd/fbM01cc= X-Envelope-To: linux-arm-kernel@lists.infradead.org Received: by smtp.migadu.com with ESMTPS id 420bf5996cf0c15b; Sun, 20 Sep 2026 04:07:46 +0000 X-Mizu-Trace-ID: 420bf5996cf0c15b X-Migadu-Flow: FLOW_OUT From: Qingfang Deng To: Andrew Lunn , Gregory Clement , Sebastian Hesselbarth , Russell King , Jason Cooper , Thomas Petazzoni , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Gabriel Rodriguez , Qingfang Deng Subject: [PATCH] ARM: mvebu: fix Cortex-A9 errata selection for Armada 38x Date: Sun, 20 Sep 2026 12:07:37 +0800 Message-ID: <20260920040738.466563-1-qingfang.deng@linux.dev> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.9.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20260919_210750_042820_8D0D73E7 X-CRM114-Status: UNSURE ( 9.53 ) 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 Armada 38x uses Cortex-A9 r4p1, but MACH_ARMADA_38X selects the workaround for erratum 720789, which was fixed in r2p0, and omits workarounds for errata that still affect r4p1. Drop ARM_ERRATA_720789 and select ARM_ERRATA_754322 for faulty MMU translations following an ASID switch and ARM_ERRATA_764319 for unexpected undefined instruction exceptions when reading debug registers. Also select ARM_ERRATA_764369 when SMP is enabled to work around cache maintenance by MVA failing to reach other agents. The Cortex-A9 r4 Software Developers Errata Notice (ARM UAN 0009D) lists these errata in sections 2.3.3, 2.5.10 and 2.3.4, respectively. Link: https://documentation-service.arm.com/static/608118675e70d934bc69f143 Fixes: 9aa30f1c13d1 ("ARM: mvebu: add initial support for the Armada 380/385 SOCs") Signed-off-by: Qingfang Deng --- arch/arm/mach-mvebu/Kconfig | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/arch/arm/mach-mvebu/Kconfig b/arch/arm/mach-mvebu/Kconfig index 9f60a6fe0eaf..5203b5cfa457 100644 --- a/arch/arm/mach-mvebu/Kconfig +++ b/arch/arm/mach-mvebu/Kconfig @@ -55,7 +55,9 @@ config MACH_ARMADA_375 config MACH_ARMADA_38X bool "Marvell Armada 380/385 boards" depends on ARCH_MULTI_V7 - select ARM_ERRATA_720789 + select ARM_ERRATA_754322 + select ARM_ERRATA_764319 + select ARM_ERRATA_764369 if SMP select PL310_ERRATA_753970 select ARM_GIC select ARM_GLOBAL_TIMER -- 2.43.0