From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tony Lindgren Subject: Re: [PATCH 07/14] ARM: spectre-v2: add Cortex A8 and A15 validation of the IBE bit Date: Tue, 22 May 2018 11:28:12 -0700 Message-ID: <20180522182811.GM98604@atomide.com> References: <20180521114238.GN17671@n2100.armlinux.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=m.gmane.org@lists.infradead.org To: Russell King Cc: Marc Zyngier , Florian Fainelli , Christoffer Dall , linux-arm-kernel@lists.infradead.org, kvmarm@lists.cs.columbia.edu List-Id: kvmarm@lists.cs.columbia.edu * Russell King [180521 12:09]: > When the branch predictor hardening is enabled, firmware must have set > the IBE bit in the auxiliary control register. If this bit has not > been set, the Spectre workarounds will not be functional. > > Add validation that this bit is set, and print a warning at alert level > if this is not the case. > > Signed-off-by: Russell King > Reviewed-by: Florian Fainelli Yup the alert is working: Tested-by: Tony Lindgren