diff options
| author | Simon Gaiser <[email protected]> | 2023-03-13 14:47:10 +0000 |
|---|---|---|
| committer | Rafael J. Wysocki <[email protected]> | 2023-03-20 17:29:51 +0000 |
| commit | f2cba54a7fbf971d87bcd4467797c62d551401d3 (patch) | |
| tree | 4486a714ca7b889d1c1754262f5bdfaf49782ac2 /tools/perf/scripts/python/arm-cs-trace-disasm.py | |
| parent | Linux 6.3-rc3 (diff) | |
| download | kernel-f2cba54a7fbf971d87bcd4467797c62d551401d3.tar.gz kernel-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/[email protected]/ # v1
Link: https://lore.kernel.org/linux-acpi/CAJZ5v0jahjt58nP6P5+xRdtD_ndYPvq4ecMVz6nfGu9tf5iaUw@mail.gmail.com/ # [1]
Link: https://lore.kernel.org/xen-devel/[email protected]/ # [2]
Signed-off-by: Simon Gaiser <[email protected]>
[ rjw: Adjust white space ]
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/arm-cs-trace-disasm.py')
0 files changed, 0 insertions, 0 deletions
