In D28821#647027, @markj wrote:In D28821#647026, @scottl wrote:I won't be able to go back and test this for at least a few more days. However, when I tested the atomic_load_int() suggestion over the weekend, I got a really weird panic instead. I didn't dig into it because of other time pressures, but it does make me worry about compiler bugs and other weirdness, whereas the membar is proven to work for now.
Looking at the patch you pasted at the time, you had if (atomic_load_int(tracker->rmp_flags)) instead of if (atomic_load_int(&tracker->rmp_flags)). I'm not sure how the former would compile (though it is more plausible on armv7), but if it did I'd indeed expect a panic.
- Feed Queries
- All Stories
- Search
- Feed Search
- Transactions
- Transaction Logs
Feed Search
Mar 18 2021
Mar 18 2021
Mar 5 2021
Mar 5 2021
Feb 24 2021
Feb 24 2021
Feb 23 2021
Feb 23 2021
I won't be able to go back and test this for at least a few more days. However, when I tested the atomic_load_int() suggestion over the weekend, I got a really weird panic instead. I didn't dig into it because of other time pressures, but it does make me worry about compiler bugs and other weirdness, whereas the membar is proven to work for now.
Feb 20 2021
Feb 20 2021
Feb 9 2021
Feb 9 2021
Thank you for doing this. My main suggestion is to fix mps_read_extended_config_page so it returns IOCStatus already byte-swapped, which will eliminate a lot of the other diffs. I also recommend looking at mps_cmd.c and fixing code that is under #ifdef USE_MPT_IOCTLS as well as not
Feb 2 2021
Feb 2 2021
Dec 31 2020
Dec 31 2020
I'm good with this, actually thought that Alexander had already done it. This should go into a release not in case there are people maintaining out-of-tree drivers.
Dec 24 2020
Dec 24 2020
ACK, I'll look at it over the weekend.
Dec 21 2020
Dec 21 2020
Dec 13 2020
Dec 13 2020