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)
Wed, Apr 17, 8:15 PM
Unknown Object (File)
Wed, Apr 17, 6:45 PM
Unknown Object (File)
Wed, Apr 17, 6:34 PM
Unknown Object (File)
Tue, Apr 16, 3:56 PM
Unknown Object (File)
Jan 21 2024, 7:00 AM
Unknown Object (File)
Jan 20 2024, 6:05 AM
Unknown Object (File)
Dec 20 2023, 5:22 AM
Unknown Object (File)
Nov 14 2023, 8:31 PM
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.