HomeFreeBSD

hwpmc: don't validate capabilities in allocation method

Description

hwpmc: don't validate capabilities in allocation method

These checks were inconsistently applied across the various hwpmc
classes. The condition is already checked by the generic code in
hwpmc_mod.c, so remove them.

MFC after: 1 week
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D31388

Details

Provenance
mhorneAuthored on Aug 30 2021, 5:03 PM
Differential Revision
D31388: hwpmc: don't validate capabilities in allocation method
Parents
R10:315cd55dba61: hwpmc: consistently validate PMC class in allocation method
Branches
Unknown
Tags
Unknown