Re: [PATCH v2 11/20] arm64: capabilities: Add support for features enabled early

2018-02-08 Thread Suzuki K Poulose
On 08/02/18 11:35, Dave Martin wrote: On Wed, Feb 07, 2018 at 06:34:37PM +, Suzuki K Poulose wrote: On 07/02/18 10:38, Dave Martin wrote: On Wed, Jan 31, 2018 at 06:27:58PM +, Suzuki K Poulose wrote: * 3) Verification: When a CPU is brought online (e.g, by user or by the kernel),

Re: [PATCH v2 11/20] arm64: capabilities: Add support for features enabled early

2018-02-08 Thread Dave Martin
On Wed, Feb 07, 2018 at 06:34:37PM +, Suzuki K Poulose wrote: > On 07/02/18 10:38, Dave Martin wrote: > >On Wed, Jan 31, 2018 at 06:27:58PM +, Suzuki K Poulose wrote: > >>The kernel detects and uses some of the features based on the boot > >>CPU and expects that all the following CPUs confo

Re: [PATCH v2 11/20] arm64: capabilities: Add support for features enabled early

2018-02-07 Thread Suzuki K Poulose
On 07/02/18 10:38, Dave Martin wrote: On Wed, Jan 31, 2018 at 06:27:58PM +, Suzuki K Poulose wrote: The kernel detects and uses some of the features based on the boot CPU and expects that all the following CPUs conform to it. e.g, with VHE and the boot CPU running at EL2, the kernel decides

Re: [PATCH v2 11/20] arm64: capabilities: Add support for features enabled early

2018-02-07 Thread Dave Martin
On Wed, Jan 31, 2018 at 06:27:58PM +, Suzuki K Poulose wrote: > The kernel detects and uses some of the features based on the boot > CPU and expects that all the following CPUs conform to it. e.g, > with VHE and the boot CPU running at EL2, the kernel decides to > keep the kernel running at EL2

[PATCH v2 11/20] arm64: capabilities: Add support for features enabled early

2018-01-31 Thread Suzuki K Poulose
The kernel detects and uses some of the features based on the boot CPU and expects that all the following CPUs conform to it. e.g, with VHE and the boot CPU running at EL2, the kernel decides to keep the kernel running at EL2. If another CPU is brought up without this capability, we use custom hook