Invalidate reply descriptors earlier in the interrupt processing so
that any reentrancy detects prior use. Re-entrancy may or may not
be intentional or useful, but this will help with needless foot
shooting.
Details
Details
Diff Detail
Diff Detail
- Lint
Lint Skipped - Unit
Tests Skipped
Event Timeline
Comment Actions
Switch to using an atomic swap for grabbing and clearing the reply
descriptor. This also undoes the unneeded churn from the last
revision. It makes the driver reliant on there being 64bit atomics,
which means that it won't work on powerpc anymore. C'est la vie!
Comment Actions
You have my blessing to remove mps from powerpc GENERIC. Keep it in GENERIC64, though. I've heard of people using mps and mpr devices in TALOS machines (mostly with Linux).
At some point in the near future I should write the atomic64's for 32-bit powerpc. It's been on my TODO list for about 4 years now.