]> git.ipfire.org Git - thirdparty/linux.git/commit
arm64: Factor out cpucap definitions
authorMark Rutland <mark.rutland@arm.com>
Mon, 16 Oct 2023 10:24:26 +0000 (11:24 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Mon, 16 Oct 2023 11:57:45 +0000 (12:57 +0100)
commit484de08518e43aa14f0d5719a99b19625ac12228
tree5afc86b2c39f87c67e09702dd51ebff1c0cfeebc
parent20f3b8eafe0ba5d3c69d5011a9b07739e9645132
arm64: Factor out cpucap definitions

For clarity it would be nice to factor cpucap manipulation out of
<asm/cpufeature.h>, and the obvious place would be <asm/cpucap.h>, but
this will clash somewhat with <generated/asm/cpucaps.h>.

Rename <generated/asm/cpucaps.h> to <generated/asm/cpucap-defs.h>,
matching what we do for <generated/asm/sysreg-defs.h>, and introduce a
new <asm/cpucaps.h> which includes the generated header.

Subsequent patches will fill out <asm/cpucaps.h>.

There should be no functional change as a result of this patch.

Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Cc: Marc Zyngier <maz@kernel.org>
Cc: Mark Brown <broonie@kernel.org>
Cc: Suzuki K Poulose <suzuki.poulose@arm.com>
Cc: Will Deacon <will@kernel.org>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/include/asm/Kbuild
arch/arm64/include/asm/cpucaps.h [new file with mode: 0644]
arch/arm64/tools/Makefile
arch/arm64/tools/gen-cpucaps.awk