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 2533CC433EF for ; Tue, 28 Jun 2022 07:33:02 +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:In-Reply-To:MIME-Version:References: 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: List-Owner; bh=0zJtoFbEICiqYNyQElWjhtOgD1SGkmySwKn2RdmhLkI=; b=V8V/c5RZy5Axo2 sxWW4KiIHk+fHna9CJyGaXHD9HpomJA/vWzvMxmI5pzwR/pON3Sop7gq/132w7msReEsivR0T0Zgh F8KNX0TxBuD7GtH/Z9k4EQ2JO+0s9HGsoJUSKxmls7PPLS/JKav9DcL4IFq7CYiHuGk/K467oNNxq yqJXnfi/J4X/gVyroD+rksvQEaThOJfpZJ3RLk+CtVz2L/pIv6a+4g7RIg32Xx+aFXE27dArqN6VF 9vOGbCBPT4Cd+ID/Cl6OKxfVoW59Xcc+1j9NuViMvU6wePNsLgINbTnEQcTRLjEQ7THWF86HKxFQi 0pjF0bmKcv6HEjGEFbhA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1o65hN-004ytj-MH; Tue, 28 Jun 2022 07:31:49 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1o65hL-004yso-Ma for linux-arm-kernel@bombadil.infradead.org; Tue, 28 Jun 2022 07:31:47 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; 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; bh=Um5LV9TZfJK/7Xe9nngBZtUUBgdIT/9/2MAXYjc5dGg=; b=jCoEzEe9yeFEjBCDRLsJXcLcS8 DGlcvm6jhSBwGHA+SiEIXZslahZV2TZVSOSawCitdmWnp1K9KsRR0/8VPjXa0oD4vhfPYk6RSTBxn H87pMuY3KvtZW80u1wqggOaSZ2HnZNrhGc1Pqj6tl2HnMt5wM6HNEC00dzwXHPmoYCUiuI3SjtPlV op7EpwAFsfX3ujMC6OZZAMmx+XVeeCRVarX04drPzuv7WGaN/3EwEX61NDHFpcN/KscdR1RActtS5 oUCyasdlDPhK5eFFhEdjxgItMPKdtCymXbBpKkfo3DNKjspyraXfFpW3j2DSz3cU5afCFr+BgYGH3 RE2VBJTg==; Received: from pandora.armlinux.org.uk ([2001:4d48:ad52:32c8:5054:ff:fe00:142]) by desiato.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1o65hA-00Dx9G-Rl for linux-arm-kernel@lists.infradead.org; Tue, 28 Jun 2022 07:31:43 +0000 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=Um5LV9TZfJK/7Xe9nngBZtUUBgdIT/9/2MAXYjc5dGg=; b=xO/bZdYigR1qYBQdMym6NXfT0g LXTZ/NybmGo4ebB5ibs/oCQCvWCO3t9fGa6fgLVHAPKQntu/blFH9foG4v1d8b2901Xq+M/wrdmuC +0MruKVIrrGvGcgMFGHB5KHxAzRyU2mC0+3AoNAIZGUTyT8ip3natLU+EW6ZWCVy6XDYTPP8svpGP 6QrcpFEt0+uAHb/PprUBLkNuO7rMtv+CXxYzvDAdzlDEXBY5xeELP7O0Gq1ZyC8sKrDDIR0YvkgdV r1X7F14Sv10Fq6/07yd+fFmR3v+xfwJ1TS7DjgkSNOrTFnJ+PdypI9KMm+16ju2WnXkyWCivLmx5X 5zl5zPXQ==; Received: from shell.armlinux.org.uk ([fd8f:7570:feb6:1:5054:ff:fe00:4ec]:33060) 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 1o65h0-0001JA-4d; Tue, 28 Jun 2022 08:31:26 +0100 Received: from linux by shell.armlinux.org.uk with local (Exim 4.94.2) (envelope-from ) id 1o65gz-0004jy-GJ; Tue, 28 Jun 2022 08:31:25 +0100 Date: Tue, 28 Jun 2022 08:31:25 +0100 From: "Russell King (Oracle)" To: Dmitry Osipenko Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v1] ARM: Silence proc-v7-bugs.c spam about disabled Spectre workarounds Message-ID: References: <20220519161310.1489625-1-dmitry.osipenko@collabora.com> <253e9ec1-bcd8-c790-95b8-afbcc21e7163@collabora.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <253e9ec1-bcd8-c790-95b8-afbcc21e7163@collabora.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220628_083141_041377_3FC4F743 X-CRM114-Status: GOOD ( 20.85 ) 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: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Tue, Jun 28, 2022 at 10:23:06AM +0300, Dmitry Osipenko wrote: > On 5/19/22 19:13, Dmitry Osipenko wrote: > > Print message about disabled Spectre workarounds only once to stop > > endless spam into KSMG each time CPU goes out from idling state. > > This spam makes system unusable with CONFIG_HARDEN_BRANCH_PREDICTOR=n > > for those who don't care about security and wants maximum performance. > > > > Signed-off-by: Dmitry Osipenko > > --- > > arch/arm/mm/proc-v7-bugs.c | 3 +-- > > 1 file changed, 1 insertion(+), 2 deletions(-) > > > > diff --git a/arch/arm/mm/proc-v7-bugs.c b/arch/arm/mm/proc-v7-bugs.c > > index fb9f3eb6bf48..f9730eba0632 100644 > > --- a/arch/arm/mm/proc-v7-bugs.c > > +++ b/arch/arm/mm/proc-v7-bugs.c > > @@ -108,8 +108,7 @@ static unsigned int spectre_v2_install_workaround(unsigned int method) > > #else > > static unsigned int spectre_v2_install_workaround(unsigned int method) > > { > > - pr_info("CPU%u: Spectre V2: workarounds disabled by configuration\n", > > - smp_processor_id()); > > + pr_info_once("Spectre V2: workarounds disabled by configuration\n"); > > > > return SPECTRE_VULNERABLE; > > } > > Hello Russell, > > Could you please apply this patch? I tried to use yours patch tracker > today and it doesn't allow me to recover my password (server error: MAIL > FROM command failed Detail: Space shortage). That should now be working - thanks to apt needlessly consuming 200MB of space. Please use the patch system, thanks. -- RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTP is here! 40Mbps down 10Mbps up. Decent connectivity at last! _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel