Page MenuHomeFreeBSD

Only return the current cpu if it's in the cpumask
ClosedPublic

Authored by andrew on Aug 10 2017, 5:08 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Nov 23, 5:46 AM
Unknown Object (File)
Fri, Nov 22, 11:36 PM
Unknown Object (File)
Mon, Nov 11, 4:55 AM
Unknown Object (File)
Fri, Nov 1, 2:38 PM
Unknown Object (File)
Tue, Oct 29, 2:20 AM
Unknown Object (File)
Tue, Oct 29, 2:20 AM
Unknown Object (File)
Oct 7 2024, 9:31 AM
Unknown Object (File)
Oct 2 2024, 11:33 AM
Subscribers
None

Details

Summary

When we restrict the cpumask it probably means we are unable to
sent interrupts to CPUs outside the map. As such only return the
current CPU when it's within the mask otherwise return the first
valid CPU.

This is needed on ThunderX as, in a dual socket configuration, we
are unable to send MSI/MSI-X interrupts between sockets.

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 11004
Build 11391: arc lint + arc unit

Event Timeline

This revision is now accepted and ready to land.Aug 11 2017, 11:24 AM
This revision was automatically updated to reflect the committed changes.