diff options
author | 2023-03-13 15:47:10 +0100 | |
---|---|---|
committer | 2023-03-20 18:29:51 +0100 | |
commit | f2cba54a7fbf971d87bcd4467797c62d551401d3 (patch) | |
tree | 4486a714ca7b889d1c1754262f5bdfaf49782ac2 /scripts/generate_rust_analyzer.py | |
parent | Linux 6.3-rc3 (diff) | |
download | linux-rng-f2cba54a7fbf971d87bcd4467797c62d551401d3.tar.xz linux-rng-f2cba54a7fbf971d87bcd4467797c62d551401d3.zip |
ACPI: s2idle: Log when enabling wakeup IRQ fails
enable_irq_wake() can fail. Previously acpi_s2idle_prepare() silently
ignored it's return code. Based on [1] we should try to continue even in
case of an error, so just log a warning for now.
Discovered when trying to go into s2idle under Xen. This leads to a
system that can't be woken, since xen-pirq currently doesn't support
setting wakeup IRQs [2]. With this you get at least some helpful log
message if you have access to console messages.
Link: https://lore.kernel.org/linux-acpi/20230313125344.2893-1-simon@invisiblethingslab.com/ # v1
Link: https://lore.kernel.org/linux-acpi/CAJZ5v0jahjt58nP6P5+xRdtD_ndYPvq4ecMVz6nfGu9tf5iaUw@mail.gmail.com/ # [1]
Link: https://lore.kernel.org/xen-devel/20230313134102.3157-1-simon@invisiblethingslab.com/ # [2]
Signed-off-by: Simon Gaiser <simon@invisiblethingslab.com>
[ rjw: Adjust white space ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions