Re: [PATCH v2 11/17] arm64: cpufeature: Add an early command-line cpufeature override facility

2021-01-06 Thread Marc Zyngier
On 2021-01-06 02:16, Jing Zhang wrote: On Mon, Jan 4, 2021 at 8:20 AM Marc Zyngier wrote: [...] +static __init void parse_cmdline(void) +{ + if (!IS_ENABLED(CONFIG_CMDLINE_FORCE)) { + const u8 *prop; + void *fdt; + int node; + + f

Re: [PATCH v2 11/17] arm64: cpufeature: Add an early command-line cpufeature override facility

2021-01-05 Thread Jing Zhang
On Mon, Jan 4, 2021 at 8:20 AM Marc Zyngier wrote: > > In order to be able to override CPU features at boot time, > let's add a command line parser that matches options of the > form "cpureg.feature=value", and store the corresponding > value into the override val/mask pair. > > No features are cu

[PATCH v2 11/17] arm64: cpufeature: Add an early command-line cpufeature override facility

2021-01-04 Thread Marc Zyngier
In order to be able to override CPU features at boot time, let's add a command line parser that matches options of the form "cpureg.feature=value", and store the corresponding value into the override val/mask pair. No features are currently defined, so no expected change in functionnality. Signed