Page MenuHomeFreeBSD

[PowerPC] [Book-E] Fix dpaa interrupt binding.
ClosedPublic

Authored by bdragon on Feb 24 2020, 11:47 PM.
Referenced Files
Unknown Object (File)
Tue, Oct 29, 4:19 PM
Unknown Object (File)
Oct 22 2024, 8:09 AM
Unknown Object (File)
Oct 4 2024, 2:30 AM
Unknown Object (File)
Sep 30 2024, 3:23 AM
Unknown Object (File)
Sep 27 2024, 10:47 AM
Unknown Object (File)
Sep 17 2024, 3:13 AM
Unknown Object (File)
Aug 20 2024, 9:48 PM
Unknown Object (File)
Aug 19 2024, 1:53 AM
Subscribers

Details

Summary

After the network epoch was added, we lost the ability to migrate the ithread in the middle of dispatch (as it forces curthread to be pinned, for very good reasons.)

Pass dev through to XX_PreallocAndBindIntr() and actually bind the interrupt to the CPU instead of leaving it floating until the first time it fires.

This fixes panics while bringing up dtsec on my X5000.

Test Plan

Boot an AmigaOne X5000 on a recent HEAD kernel ;)

Diff Detail

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

Event Timeline

Did you verify the interrupts are being dispatched properly?

Only as far as "I'm netbooting, if there were something wrong with it I would have expected it to have crashed or hung at some point."

I'll poke around in ddb and see if I can find any evidence whether or not they're *actually* bound as intended.

This revision is now accepted and ready to land.Feb 25 2020, 2:02 AM
This revision was automatically updated to reflect the committed changes.