arm64: Drop SYS_ from SPE register defines
authorRob Herring <robh@kernel.org>
Mon, 9 Jan 2023 19:26:18 +0000 (13:26 -0600)
committerWill Deacon <will@kernel.org>
Thu, 19 Jan 2023 18:30:22 +0000 (18:30 +0000)
commitc759ec850df89f7235b08e468abb3190b6998d4e
tree58ec9fa07664233962f7dfa67f0f98800e4277a1
parente080477a050cce0471d3a84347f350ad7514a18b
arm64: Drop SYS_ from SPE register defines

We currently have a non-standard SYS_ prefix in the constants generated
for the SPE register bitfields. Drop this in preparation for automatic
register definition generation.

The SPE mask defines were unshifted, and the SPE register field
enumerations were shifted. The autogenerated defines are the opposite,
so make the necessary adjustments.

No functional changes.

Tested-by: James Clark <james.clark@arm.com>
Signed-off-by: Rob Herring <robh@kernel.org>
Reviewed-by: Anshuman Khandual <anshuman.khandual@arm.com>
Link: https://lore.kernel.org/r/20220825-arm-spe-v8-7-v4-2-327f860daf28@kernel.org
Signed-off-by: Will Deacon <will@kernel.org>
arch/arm64/include/asm/el2_setup.h
arch/arm64/include/asm/sysreg.h
arch/arm64/kvm/debug.c
arch/arm64/kvm/hyp/nvhe/debug-sr.c
drivers/perf/arm_spe_pmu.c