From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marc Zyngier Subject: Re: [PATCH v5 04/15] ARM: bugs: add support for per-processor bug checking Date: Tue, 29 May 2018 17:50:00 +0100 Message-ID: <86wovm9zk7.wl-marc.zyngier@arm.com> References: <20180529145320.GJ17671@n2100.armlinux.org.uk> Mime-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from localhost (localhost [127.0.0.1]) by mm01.cs.columbia.edu (Postfix) with ESMTP id D9AC6402DB for ; Tue, 29 May 2018 12:39:40 -0400 (EDT) Received: from mm01.cs.columbia.edu ([127.0.0.1]) by localhost (mm01.cs.columbia.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Fm2eymxuwGnK for ; Tue, 29 May 2018 12:39:19 -0400 (EDT) Received: from foss.arm.com (foss.arm.com [217.140.101.70]) by mm01.cs.columbia.edu (Postfix) with ESMTP id 0615240458 for ; Tue, 29 May 2018 12:39:19 -0400 (EDT) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: kvmarm-bounces@lists.cs.columbia.edu Sender: kvmarm-bounces@lists.cs.columbia.edu To: Russell King Cc: Florian Fainelli , linux-arm-kernel@lists.infradead.org, kvmarm@lists.cs.columbia.edu List-Id: kvmarm@lists.cs.columbia.edu On Tue, 29 May 2018 15:54:29 +0100, Russell King wrote: > > Add support for per-processor bug checking - each processor function > descriptor gains a function pointer for this check, which must not be > an __init function. If non-NULL, this will be called whenever a CPU > enters the kernel via which ever path (boot CPU, secondary CPU startup, > CPU resuming, etc.) > > This allows processor specific bug checks to validate that workaround > bits are properly enabled by firmware via all entry paths to the kernel. > > Signed-off-by: Russell King > Reviewed-by: Florian Fainelli > Boot-tested-by: Tony Lindgren > Reviewed-by: Tony Lindgren Acked-by: Marc Zyngier M. -- Jazz is not dead, it just smell funny. From mboxrd@z Thu Jan 1 00:00:00 1970 From: marc.zyngier@arm.com (Marc Zyngier) Date: Tue, 29 May 2018 17:50:00 +0100 Subject: [PATCH v5 04/15] ARM: bugs: add support for per-processor bug checking In-Reply-To: References: <20180529145320.GJ17671@n2100.armlinux.org.uk> Message-ID: <86wovm9zk7.wl-marc.zyngier@arm.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Tue, 29 May 2018 15:54:29 +0100, Russell King wrote: > > Add support for per-processor bug checking - each processor function > descriptor gains a function pointer for this check, which must not be > an __init function. If non-NULL, this will be called whenever a CPU > enters the kernel via which ever path (boot CPU, secondary CPU startup, > CPU resuming, etc.) > > This allows processor specific bug checks to validate that workaround > bits are properly enabled by firmware via all entry paths to the kernel. > > Signed-off-by: Russell King > Reviewed-by: Florian Fainelli > Boot-tested-by: Tony Lindgren > Reviewed-by: Tony Lindgren Acked-by: Marc Zyngier M. -- Jazz is not dead, it just smell funny.