HomeFreeBSD

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

Description

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

After the network epoch was added, we lost the ability to migrate the
ithread in the middle of dispatch, as being in the network epoch will pin
the current thread (for safety reasons.)

Luckily, we don't actually have to do this workaround in the first place,
as we can just bind it to the correct cpu when we preallocate it.

Pass dev through to XX_PreallocAndBindIntr() and actually bind it to the
cpu like it was supposed to in the first place, instad of leaving it
floating and moving it to the correct cpu the first time it fires.

This fixes panics while bringing up dtsec on my X5000.

Reviewed by: jhibbits
Sponsored by: Tag1 Consulting, Inc.
Differential Revision: https://reviews.freebsd.org/D23826

Details

Provenance
bdragonAuthored on
Reviewer
jhibbits
Differential Revision
D23826: [PowerPC] [Book-E] Fix dpaa interrupt binding.
Parents
rS358306: Unbreak the 32-bit powerpc builds
Branches
Unknown
Tags
Unknown