Page MenuHomeFreeBSD

Enable HWPMC overflow IRQ on both CPUs in MPIC
ClosedPublic

Authored by mw_semihalf.com on May 25 2017, 3:36 PM.
Tags
Referenced Files
Unknown Object (File)
Tue, Oct 14, 3:11 AM
Unknown Object (File)
Thu, Oct 9, 10:33 PM
Unknown Object (File)
Mon, Sep 22, 11:58 AM
Unknown Object (File)
Sep 6 2025, 3:06 PM
Unknown Object (File)
Sep 6 2025, 10:07 AM
Unknown Object (File)
Aug 25 2025, 12:03 PM
Unknown Object (File)
Aug 9 2025, 4:50 PM
Unknown Object (File)
Aug 5 2025, 11:50 AM
Subscribers

Details

Summary

This commit enables usage of HWPMC interrupts for the
Marvell SoCs, which use MPIC (Armada38x and ArmadaXP).
Those interrupts require extra unmasking, comparing to
others. Also, in order to process counters per-CPU,
they are masked/unmasked using separate registers' sets
for each core.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable