Page MenuHomeFreeBSD

hwpmc: remove remaining UCP event definitions
ClosedPublic

Authored by mhorne on May 1 2023, 7:38 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Mar 15, 5:49 AM
Unknown Object (File)
Fri, Mar 14, 9:02 PM
Unknown Object (File)
Sat, Mar 8, 12:49 PM
Unknown Object (File)
Wed, Feb 26, 10:16 AM
Unknown Object (File)
Feb 13 2025, 12:17 PM
Unknown Object (File)
Feb 12 2025, 12:35 AM
Unknown Object (File)
Feb 7 2025, 11:58 PM
Unknown Object (File)
Jan 17 2025, 2:59 PM
Subscribers

Details

Summary

Although this block has remained in __PMC_EVENTS(), there is no handling
of UCP in libpmc/libpmc.c, so it is not possible to select one of these
events. It should therefore be impossible to trigger the code removed
from ucp_start_pmc(). Note that the GQ_SNOOP_MSF MSR exists only for
Nehalem and Westmere architectures, and the related events do not exist
for later generations.

The Uncore support in hwpmc has severely atrophied in general. We have
uncore event definitions in pmu-events, but the kernel support was
written against Intel Performance Measurement Architecture version 2,
and is disabled for processor generations later than Westmere. Nehalem
and Westmere lack uncore event definitions in pmu-events. I'd be
surprised if Uncore support is usable on any machine in its current
state.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable