Re: [PATCH V2] arm64/cpuinfo: Move HWCAP name arrays alongside their bit definitions

2020-05-19 Thread Anshuman Khandual
On 05/19/2020 04:05 AM, Will Deacon wrote: > On Fri, May 15, 2020 at 08:58:05AM +0530, Anshuman Khandual wrote: >> On 05/14/2020 01:06 PM, Will Deacon wrote: >>> Why is it a change? We've never reported e.g. "java" on an arm64 kernel, so >> >> We already have "java" defined in existing

Re: [PATCH V2] arm64/cpuinfo: Move HWCAP name arrays alongside their bit definitions

2020-05-18 Thread Will Deacon
On Fri, May 15, 2020 at 08:58:05AM +0530, Anshuman Khandual wrote: > On 05/14/2020 01:06 PM, Will Deacon wrote: > > Why is it a change? We've never reported e.g. "java" on an arm64 kernel, so > > We already have "java" defined in existing compat_hwcap_str[] array even > though it might never get

Re: [PATCH V2] arm64/cpuinfo: Move HWCAP name arrays alongside their bit definitions

2020-05-14 Thread Anshuman Khandual
On 05/14/2020 01:06 PM, Will Deacon wrote: > On Thu, May 14, 2020 at 07:14:58AM +0530, Anshuman Khandual wrote: >> On 05/13/2020 08:34 PM, Dave Martin wrote: >>> On Thu, May 07, 2020 at 06:59:10PM +0530, Anshuman Khandual wrote: diff --git a/arch/arm64/include/asm/hwcap.h

Re: [PATCH V2] arm64/cpuinfo: Move HWCAP name arrays alongside their bit definitions

2020-05-14 Thread Will Deacon
On Thu, May 14, 2020 at 07:14:58AM +0530, Anshuman Khandual wrote: > On 05/13/2020 08:34 PM, Dave Martin wrote: > > On Thu, May 07, 2020 at 06:59:10PM +0530, Anshuman Khandual wrote: > >> diff --git a/arch/arm64/include/asm/hwcap.h > >> b/arch/arm64/include/asm/hwcap.h > >> index

Re: [PATCH V2] arm64/cpuinfo: Move HWCAP name arrays alongside their bit definitions

2020-05-13 Thread Anshuman Khandual
On 05/13/2020 08:34 PM, Dave Martin wrote: > On Thu, May 07, 2020 at 06:59:10PM +0530, Anshuman Khandual wrote: >> All HWCAP name arrays (i.e hwcap_str, compat_hwcap_str, compat_hwcap2_str) >> that are scanned for /proc/cpuinfo output are detached from their bit fild >> definitions making it

Re: [PATCH V2] arm64/cpuinfo: Move HWCAP name arrays alongside their bit definitions

2020-05-13 Thread Dave Martin
On Thu, May 07, 2020 at 06:59:10PM +0530, Anshuman Khandual wrote: > All HWCAP name arrays (i.e hwcap_str, compat_hwcap_str, compat_hwcap2_str) > that are scanned for /proc/cpuinfo output are detached from their bit fild > definitions making it difficult to corelate. This is also bit problematic >

[PATCH V2] arm64/cpuinfo: Move HWCAP name arrays alongside their bit definitions

2020-05-07 Thread Anshuman Khandual
All HWCAP name arrays (i.e hwcap_str, compat_hwcap_str, compat_hwcap2_str) that are scanned for /proc/cpuinfo output are detached from their bit fild definitions making it difficult to corelate. This is also bit problematic because during /proc/cpuinfo dump these arrays get traversed sequentially