HomeFreeBSD

hwpmc_arm64: fill kern.hwpmc.cpuid

Description

hwpmc_arm64: fill kern.hwpmc.cpuid

This will be used to detect supported pmu events. The expected format is
the MIDR register with the revision and variant fields masked. See also:
lib/libpmc/pmu-events/arch/arm64/mapfile.csv.

MFC after: 2 weeks
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D30601

Details

Provenance
mhorneAuthored on Apr 1 2021, 1:19 PM
Differential Revision
D30601: hwpmc_arm64: fill kern.hwpmc.cpuid
Parents
rG2129c8f6771a: hwpmc_arm64.c: fix return style
Branches
Unknown
Tags
Unknown