Re: [PATCH v2 04/20] arm64: capabilities: Prepare for fine grained capabilities

2018-02-07 Thread Dave Martin
On Wed, Feb 07, 2018 at 03:16:39PM +, Suzuki K Poulose wrote: > On 07/02/18 10:37, Dave Martin wrote: > >On Wed, Jan 31, 2018 at 06:27:51PM +, Suzuki K Poulose wrote: [...] > >>As such there is no change in how the capabilities are treated. > >> > >>Cc: Dave Martin > >>Signed-off-by: Suz

Re: [PATCH v2 04/20] arm64: capabilities: Prepare for fine grained capabilities

2018-02-07 Thread Suzuki K Poulose
On 07/02/18 10:37, Dave Martin wrote: On Wed, Jan 31, 2018 at 06:27:51PM +, Suzuki K Poulose wrote: We use arm64_cpu_capabilities to represent CPU ELF HWCAPs exposed to the userspace and the CPU hwcaps used by the kernel, which include cpu features and CPU errata work arounds. Capabilities h

Re: [PATCH v2 04/20] arm64: capabilities: Prepare for fine grained capabilities

2018-02-07 Thread Dave Martin
On Wed, Jan 31, 2018 at 06:27:51PM +, Suzuki K Poulose wrote: > We use arm64_cpu_capabilities to represent CPU ELF HWCAPs exposed > to the userspace and the CPU hwcaps used by the kernel, which > include cpu features and CPU errata work arounds. Capabilities > have some properties that decide h

[PATCH v2 04/20] arm64: capabilities: Prepare for fine grained capabilities

2018-01-31 Thread Suzuki K Poulose
We use arm64_cpu_capabilities to represent CPU ELF HWCAPs exposed to the userspace and the CPU hwcaps used by the kernel, which include cpu features and CPU errata work arounds. Capabilities have some properties that decide how they should be treated : 1) Detection, i.e scope : A cap could be "de