Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp3195689rwb; Fri, 9 Dec 2022 11:09:08 -0800 (PST) X-Google-Smtp-Source: AA0mqf6i5sSQ+ej3xOB0Oa00Xkr8yYnkYzjHz8jAGU9fxUONa32YxPl6IZC1c4Ks8pVRjplf+GyG X-Received: by 2002:a17:906:4b04:b0:7c1:2075:199a with SMTP id y4-20020a1709064b0400b007c12075199amr5448984eju.76.1670612948305; Fri, 09 Dec 2022 11:09:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670612948; cv=none; d=google.com; s=arc-20160816; b=AAEBlynm5d6NzZegBp3OADIxiSmzvbJGkk1WLub70jfl6ja9Y0o+ChtPLaJHlz5EiJ uVEak1ZcZWd+sGnaowtVZA/qwkgiizKdsJsqjju+8vNxi1qVXLuA+FVfjGykUBw8OHHE Qg+yL6TZ8ibvIV+21Vkuk7B/aOZkqtgLMCIcgJkV8h59qBjWMtZQUGYwWTt3nMhRaCf4 BKKtO6W9dfLjBuyrFF1SUIQjdjXH1JH1zyLUzT9ui+0ilOf4WOmgo1bE4tx9v0IK1hbc Oy5kwWCbLoajZesLXu+LbPKb6yOVi7iFT+gIa6GrrotyOG4swnIzkarf8krzp2cJrgSX QPPA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=ULuEUQZqBWYd6esr1h4MJOw0tF20vmGw9ViKBcGzSIc=; b=Y0d+PMQbvhpWd9cB8IhaI9uMyRkUC0v0mAd4bDV3UWIGr9bOeoTEbBn23TT4CNO1Lp 101pA8Z7tn0o/Dai+PYLPQ3+jqA7NPSBlhmZEJ4z2QkSLzBkK8YK9W0BM/ru5FW0JFF0 4F4riSEmTiXBGF8VoB0dbrVrLJ/2rHwoQUeCFdD0rjVQNTDrziMwNb1P1lsrfbQZu1L7 X0wgfBTqZ0LunOa8IL+FtLF7ZCBq5hHNs2VCHD7Lj/0MY8RuUXIzIoRKZ3jLgBvuKBlh 55cXAQjet1Elks3DxDjixD+9jnuibLm8l5P78rZn1L8Pyei7qtHkATSPsEhTzmVFTS6m a1Ow== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b=AXjym830; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=armlinux.org.uk Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id r3-20020a056402034300b0046107f951f9si1788888edw.237.2022.12.09.11.08.50; Fri, 09 Dec 2022 11:09:08 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b=AXjym830; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=armlinux.org.uk Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229851AbiLISpr (ORCPT + 74 others); Fri, 9 Dec 2022 13:45:47 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34896 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229482AbiLISpp (ORCPT ); Fri, 9 Dec 2022 13:45:45 -0500 Received: from pandora.armlinux.org.uk (pandora.armlinux.org.uk [IPv6:2001:4d48:ad52:32c8:5054:ff:fe00:142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 184DDA56D1 for ; Fri, 9 Dec 2022 10:45:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=armlinux.org.uk; s=pandora-2019; h=Sender:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=ULuEUQZqBWYd6esr1h4MJOw0tF20vmGw9ViKBcGzSIc=; b=AXjym830w4YGpbMUvNVy3yF6ls WSkBOp4Ote4KomL5RrpGrzElxtkWZAwoZwvl8W0aakZVsAfvQQGdlwRwgKT6xUqdcvUlPKLMy36MD VQWKvLirNR9+QcVJkIUZoKDXuOx98NXS7TQ7MNGzeWY4QzomgHipb2B20BhuUJqf5sN8xJPFNZ0IW 1G8gU+cJyugj2AyZfnD5jo1W+7aiJNolQhiGe8ji715bPKi+kPsrsfSsuWk6+0CZsEf+qhgmS5nOo OLlwaLqIBq2C1l/aYPYc4hBci0nmatZWta746FFNbi5gt5PTcakWxyiwScN1RBq3MgKHqOZ8WoGTI r8DYV5gQ==; Received: from shell.armlinux.org.uk ([fd8f:7570:feb6:1:5054:ff:fe00:4ec]:35644) by pandora.armlinux.org.uk with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1p3iNM-0003MY-8i; Fri, 09 Dec 2022 18:45:36 +0000 Received: from linux by shell.armlinux.org.uk with local (Exim 4.94.2) (envelope-from ) id 1p3iNK-0002ru-Um; Fri, 09 Dec 2022 18:45:34 +0000 Date: Fri, 9 Dec 2022 18:45:34 +0000 From: "Russell King (Oracle)" To: Sebastian Reichel Cc: Arnd Bergmann , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, kernel@collabora.com Subject: Re: [RFC 1/1] ARM: Drop !ARCH_MULTIPLATFORM dependency from Cortex A8/9 erratas Message-ID: References: <20221209182000.549179-1-sebastian.reichel@collabora.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221209182000.549179-1-sebastian.reichel@collabora.com> Sender: Russell King (Oracle) X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Dec 09, 2022 at 07:20:00PM +0100, Sebastian Reichel wrote: > All the erratas for more recent CPUs (Cortex A15/A12/A17) do not > require !ARCH_MULTIPLATFORM, since there is runtime detection of > effected CPUs in arch/arm/mm/proc-v7.S. > > Errata config options for the older Cortex A8/A9 CPUs have the > !ARCH_MULTIPLATFORM dependency, but the CPUs are also runtime > detected. Since there is runtime detection, it should be fine > to enable the erratas for a multi platform kernel. > > Signed-off-by: Sebastian Reichel > --- > For me the most likely explanation that this has not yet happened is > me missing an important detail, so I sent it as RFC. If you point it > out I will try to document the reason. IIRC, the reason these are marked with !ARCH_MULTIPLATFORM is for when the kernel is running in the non-secure world - the accessed registers may prevent platforms booting. However, it was a long time ago and I don't remember clearly now. -- RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTP is here! 40Mbps down 10Mbps up. Decent connectivity at last!