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

From: Colton Lewis

Date: Fri Dec 12 2025 - 14:22:03 EST


Suzuki K Poulose <suzuki.poulose@xxxxxxx> 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@xxxxxxx>
Signed-off-by: Colton Lewis <coltonlewis@xxxxxxxxxx>

Reviewed-by: Suzuki K Poulose <suzuki.poulose@xxxxxxx>

Thanks Suzuki!