** Description changed: + SRU Justification: + + [Impact] + The host->claimed bit shared a word with retune flags. Writes to claimed in __mmc_claim_host() or retune_now in mmc_mq_queue_rq() can overwrite other bits when concurrent updates happen in other contexts, triggering spurious WARN_ON(!host->claimed). + + [Fix] + + Convert claimed, can_retune, retune_now and retune_paused to bool to + remove shared-word coupling. + + [Test Case] + + * Boot BlueField-3 platform and verify that there are no instances of + "WARN_ON(!host->claimed)" call trace in dmesg log. + + [Regression Potential] + + None
** Description changed: SRU Justification: [Impact] The host->claimed bit shared a word with retune flags. Writes to claimed in __mmc_claim_host() or retune_now in mmc_mq_queue_rq() can overwrite other bits when concurrent updates happen in other contexts, triggering spurious WARN_ON(!host->claimed). [Fix] Convert claimed, can_retune, retune_now and retune_paused to bool to remove shared-word coupling. [Test Case] * Boot BlueField-3 platform and verify that there are no instances of - "WARN_ON(!host->claimed)" call trace in dmesg log. + "WARN_ON(!host->claimed)" call trace in dmesg log. [Regression Potential] None + + [Notes] + THis patch is already merged to the mainline. The mainline commit is + https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=901084c51a0a8fb42a3f37d2e9c62083c495f824 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2143925 Title: mmc core bitfield RMW issue To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux-bluefield/+bug/2143925/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
