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)
Mon, Apr 14, 8:30 AM
Unknown Object (File)
Mon, Apr 14, 4:08 AM
Unknown Object (File)
Sun, Apr 13, 10:25 PM
Unknown Object (File)
Sun, Apr 13, 9:50 PM
Unknown Object (File)
Feb 25 2025, 8:08 AM
Unknown Object (File)
Feb 24 2025, 3:20 PM
Unknown Object (File)
Feb 24 2025, 1:57 AM
Unknown Object (File)
Feb 23 2025, 1:53 PM
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