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)
Tue, May 19, 1:05 AM
Unknown Object (File)
Tue, Apr 28, 7:20 AM
Unknown Object (File)
Mon, Apr 27, 7:25 AM
Unknown Object (File)
Apr 21 2026, 12:20 AM
Unknown Object (File)
Apr 20 2026, 3:07 AM
Unknown Object (File)
Apr 20 2026, 3:07 AM
Unknown Object (File)
Apr 19 2026, 11:10 AM
Unknown Object (File)
Apr 6 2026, 3:23 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