[PATCH v9 2/7] tools: arm64: Update sysreg.h header files

James Clark james.clark at linaro.org
Mon Jan 13 07:43:50 PST 2025



On 13/01/2025 3:28 pm, Marc Zyngier wrote:
> On Mon, 13 Jan 2025 15:07:21 +0000,
> Mark Brown <broonie at kernel.org> wrote:
>>
>> [1  <text/plain; us-ascii (quoted-printable)>]
>> On Mon, Jan 06, 2025 at 02:24:37PM +0000, James Clark wrote:
>>> From: James Clark <james.clark at arm.com>
>>>
>>> Created with the following:
>>>
>>>    cp include/linux/kasan-tags.h tools/include/linux/
>>>    cp arch/arm64/include/asm/sysreg.h tools/arch/arm64/include/asm/
>>>
>>> Update the tools copy of sysreg.h so that the next commit to add a new
>>> register doesn't have unrelated changes in it. Because the new version
>>> of sysreg.h includes kasan-tags.h, that file also now needs to be copied
>>> into tools.
>>
>> This breaks the build of the KVM selftests:
>>
>> aarch64/aarch32_id_regs.c:150:16: error: use of undeclared identifier 'ID_AA64PFR0_EL1_ELx_64BIT_ONLY'
>>    150 |         return el0 == ID_AA64PFR0_EL1_ELx_64BIT_ONLY;
>>        |                       ^
>> 1 warning and 1 error generated.
>>
>> since it's pulled over the changes in 056600ff7330 ("arm64/cpufeature:
>> Replace custom macros with fields from ID_AA64PFR0_EL1") but not updated
>> the test to reflect this.
> 
> Thanks for the heads up. I've stashed a fix on top, which hopefully
> will be in next tomorrow.
> 
> 	M.
> 

Oops sorry about that. I only tested the Perf build and hadn't done the 
self tests for a few versions.

Thanks for making the fix.




More information about the linux-arm-kernel mailing list