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)
Oct 10 2024, 9:16 AM
Unknown Object (File)
Oct 10 2024, 12:08 AM
Unknown Object (File)
Sep 20 2024, 2:32 PM
Unknown Object (File)
Sep 20 2024, 4:25 AM
Unknown Object (File)
Sep 19 2024, 10:07 AM
Unknown Object (File)
Sep 18 2024, 8:24 PM
Unknown Object (File)
Sep 8 2024, 12:23 PM
Unknown Object (File)
Sep 8 2024, 11:10 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