Page MenuHomeFreeBSD

hwpmc: remove remaining UCP event definitions
ClosedPublic

Authored by mhorne on May 1 2023, 7:38 PM.
Tags
None
Referenced Files
F106182732: D39901.diff
Thu, Dec 26, 6:27 PM
Unknown Object (File)
Nov 20 2024, 5:44 PM
Unknown Object (File)
Nov 20 2024, 4:42 PM
Unknown Object (File)
Nov 20 2024, 2:58 PM
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
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 Passed
Unit
No Test Coverage
Build Status
Buildable 51276
Build 48167: arc lint + arc unit