diff options
| author | 2026-09-30 13:12:12 +0100 | |
|---|---|---|
| committer | 2026-10-04 09:14:20 +0000 | |
| commit | b52ef450139f5632d7e53e6fd5f5ec46c7029dac (patch) | |
| tree | 7aacb2c7df04b5c7965e8b41a9c16ecde6d618f8 /scripts/Makefile.thinlto | |
| parent | arm64/fpsimd: signal: Forbid non-streaming SVE payload on SME-only systems (diff) | |
arm64/boot: Don't set PMUv3p9 FGT2 bits without PMUv3
On a CPU with FGT2 and an IMPLEMENTATION DEFINED PMU (PMUVer 0b1111),
__init_el2_fgt2 sets the PMUv3p9 bits in HDFGRTR2_EL2 and HDFGWTR2_EL2,
which are RES0 there. The macro only checks that PMUVer is at least
PMUv3p9, and 0b1111 passes.
Exclude 0b1111 before the compare, as __init_el2_debug does.
Fixes: 858c7bfcb35e1 ("arm64/boot: Enable EL2 requirements for FEAT_PMUv3p9")
Signed-off-by: Fuad Tabba <fuad.tabba@linux.dev>
Reviewed-by: Bradley Morgan <brads@mainlining.org>
Reviewed-by: Anshuman Khandual <anshuman.khandual@arm.com>
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
