Page MenuHomeFreeBSD

Call pmc_hook() correctly in the ARM64 interrupt handler
ClosedPublic

Authored by zbb on Feb 1 2016, 2:42 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Nov 3, 11:53 PM
Unknown Object (File)
Sun, Nov 3, 11:53 PM
Unknown Object (File)
Sun, Nov 3, 11:53 PM
Unknown Object (File)
Sun, Nov 3, 11:41 PM
Unknown Object (File)
Sep 25 2024, 12:57 AM
Unknown Object (File)
Sep 25 2024, 12:57 AM
Unknown Object (File)
Sep 25 2024, 12:57 AM
Unknown Object (File)
Sep 25 2024, 12:44 AM
Subscribers

Details

Summary

pmc_hook() was called only in case of the stray interrupt but should
rather be called on each interrupt. Move in to the arm_cpu_intr()
handler, out of the critical section too.

Reviewed by:
Obtained from: Semihalf
Sponsored by: Cavium
Differential Revision:

Diff Detail

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

Event Timeline

zbb retitled this revision from to Call pmc_hook() correctly in the ARM64 interrupt handler.
zbb updated this object.
zbb edited the test plan for this revision. (Show Details)
zbb added reviewers: andrew, wma, br.
zbb set the repository for this revision to rS FreeBSD src repository - subversion.
zbb added a subscriber: arm64.
br edited edge metadata.
This revision is now accepted and ready to land.Feb 1 2016, 2:44 PM
This revision was automatically updated to reflect the committed changes.