Re: [PATCH v4 09/21] arm64: cpufeature: Add global feature override facility

2021-01-23 Thread Suzuki K Poulose
On 1/18/21 9:45 AM, Marc Zyngier wrote: Add a facility to globally override a feature, no matter what the HW says. Yes, this sounds dangerous, but we do respect the "safe" value for a given feature. This doesn't mean the user doesn't need to know what they are doing. Nothing uses this yet, so

Re: [PATCH v4 09/21] arm64: cpufeature: Add global feature override facility

2021-01-22 Thread Catalin Marinas
On Mon, Jan 18, 2021 at 09:45:21AM +, Marc Zyngier wrote: > diff --git a/arch/arm64/include/asm/cpufeature.h > b/arch/arm64/include/asm/cpufeature.h > index 9a555809b89c..465d2cb63bfc 100644 > --- a/arch/arm64/include/asm/cpufeature.h > +++ b/arch/arm64/include/asm/cpufeature.h > @@ -75,6

[PATCH v4 09/21] arm64: cpufeature: Add global feature override facility

2021-01-18 Thread Marc Zyngier
Add a facility to globally override a feature, no matter what the HW says. Yes, this sounds dangerous, but we do respect the "safe" value for a given feature. This doesn't mean the user doesn't need to know what they are doing. Nothing uses this yet, so we are pretty safe. For now.