APPLIED[M]: [SRU] [L/M] [PATCH 0/1] Fix RCU warning on AMD laptops
Stefan Bader
stefan.bader at canonical.com
Wed Oct 4 09:57:56 UTC 2023
On 18.09.23 06:58, Kai-Heng Feng wrote:
> BugLink: https://bugs.launchpad.net/bugs/2036377
>
> [Impact]
> Scary kernel splat about RCU can be observed everytime laptop resumes
> from suspend.
>
> [Fix]
> Use non-atomic notifier for power supply change to relax the constraint.
>
> [Test]
> Once the fix is applied, no more RCU warning can be found after several
> suspend/resume cycle.
>
> [Where problems could occur]
> Essentially no regression potential. Atomic notifier should be used by
> core kernel, and things like power supply doesn't need to be atomic
> anyway.
>
> Kai-Heng Feng (1):
> power: supply: core: Use blocking_notifier_call_chain to avoid RCU
> complaint
>
> drivers/power/supply/power_supply_core.c | 8 ++++----
> include/linux/power_supply.h | 2 +-
> 2 files changed, 5 insertions(+), 5 deletions(-)
>
Applied to mantic:linux/master-next. Thanks.
-Stefan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_0xE8675DEECBEECEA3.asc
Type: application/pgp-keys
Size: 44613 bytes
Desc: OpenPGP public key
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20231004/2b852b9c/attachment-0001.key>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20231004/2b852b9c/attachment-0001.sig>
More information about the kernel-team
mailing list