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, Jun 8, 11:22 PM
Unknown Object (File)
Mon, Jun 3, 10:03 PM
Unknown Object (File)
Sun, Jun 2, 6:38 AM
Unknown Object (File)
Thu, May 30, 11:43 PM
Unknown Object (File)
Mon, May 27, 9:31 AM
Unknown Object (File)
Mon, May 27, 9:31 AM
Unknown Object (File)
Mon, May 27, 9:31 AM
Unknown Object (File)
Mon, May 27, 9:17 AM
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