]> git.baikalelectronics.ru Git - kernel.git/commit
arm64/sysreg: Use feature numbering for PMU and SPE revisions
authorMark Brown <broonie@kernel.org>
Sat, 10 Sep 2022 16:33:51 +0000 (17:33 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Fri, 16 Sep 2022 11:38:57 +0000 (12:38 +0100)
commit5af342fe8da793034fc6d0efa7b8e5a637601e0b
tree2214fa90c0cec2a37029832ba0e223f8f090abae
parent341c06db43da389d684170d020d70c558a4e41db
arm64/sysreg: Use feature numbering for PMU and SPE revisions

Currently the kernel refers to the versions of the PMU and SPE features by
the version of the architecture where those features were updated but the
ARM refers to them using the FEAT_ names for the features. To improve
consistency and help with updating for newer features and since v9 will
make our current naming scheme a bit more confusing update the macros
identfying features to use the FEAT_ based scheme.

Signed-off-by: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20220910163354.860255-4-broonie@kernel.org
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/include/asm/sysreg.h
arch/arm64/kernel/perf_event.c
arch/arm64/kvm/pmu-emul.c
arch/arm64/kvm/sys_regs.c