[PATCH v5 01/24] arm64: cpufeature: Add cpucap for HPMN0

Colton Lewis coltonlewis at google.com
Fri Dec 12 11:22:02 PST 2025


Suzuki K Poulose <suzuki.poulose at arm.com> writes:

> On 09/12/2025 20:50, Colton Lewis wrote:
>> Add a capability for FEAT_HPMN0, whether MDCR_EL2.HPMN can specify 0
>> counters reserved for the guest.

>> This required changing HPMN0 to an UnsignedEnum in tools/sysreg
>> because otherwise not all the appropriate macros are generated to add
>> it to arm64_cpu_capabilities_arm64_features.

>> Acked-by: Mark Rutland <mark.rutland at arm.com>
>> Signed-off-by: Colton Lewis <coltonlewis at google.com>

> Reviewed-by: Suzuki K Poulose <suzuki.poulose at arm.com>

Thanks Suzuki!



More information about the linux-arm-kernel mailing list