Re: [PATCH V2] arm64/cpufeature: Drop open encodings while extracting parange

2020-05-20 Thread Will Deacon
On Wed, 13 May 2020 14:33:34 +0530, Anshuman Khandual wrote: > Currently there are multiple instances of parange feature width mask open > encodings while fetching it's value. Even the width mask value (0x7) itself > is not accurate. It should be (0xf) per ID_AA64MMFR0_EL1.PARange[3:0] as in > ARM

Re: [PATCH V2] arm64/cpufeature: Drop open encodings while extracting parange

2020-05-20 Thread Marc Zyngier
On Wed, 13 May 2020 14:33:34 +0530 Anshuman Khandual wrote: > Currently there are multiple instances of parange feature width mask open > encodings while fetching it's value. Even the width mask value (0x7) itself > is not accurate. It should be (0xf) per ID_AA64MMFR0_EL1.PARange[3:0] as in >

Re: [PATCH V2] arm64/cpufeature: Drop open encodings while extracting parange

2020-05-18 Thread Marc Zyngier
On Mon, 18 May 2020 18:09:34 +0100, Will Deacon wrote: > > On Mon, May 18, 2020 at 05:59:59PM +0100, Will Deacon wrote: > > On Wed, May 13, 2020 at 02:33:34PM +0530, Anshuman Khandual wrote: > > > Currently there are multiple instances of parange feature width mask open > > > encodings while

Re: [PATCH V2] arm64/cpufeature: Drop open encodings while extracting parange

2020-05-18 Thread Will Deacon
On Mon, May 18, 2020 at 05:59:59PM +0100, Will Deacon wrote: > On Wed, May 13, 2020 at 02:33:34PM +0530, Anshuman Khandual wrote: > > Currently there are multiple instances of parange feature width mask open > > encodings while fetching it's value. Even the width mask value (0x7) itself > > is not

Re: [PATCH V2] arm64/cpufeature: Drop open encodings while extracting parange

2020-05-18 Thread Will Deacon
On Wed, May 13, 2020 at 02:33:34PM +0530, Anshuman Khandual wrote: > Currently there are multiple instances of parange feature width mask open > encodings while fetching it's value. Even the width mask value (0x7) itself > is not accurate. It should be (0xf) per ID_AA64MMFR0_EL1.PARange[3:0] as in

[PATCH V2] arm64/cpufeature: Drop open encodings while extracting parange

2020-05-13 Thread Anshuman Khandual
Currently there are multiple instances of parange feature width mask open encodings while fetching it's value. Even the width mask value (0x7) itself is not accurate. It should be (0xf) per ID_AA64MMFR0_EL1.PARange[3:0] as in ARM ARM (0487F.a). Replace them with