[SRU] [M/N] [PATCH 0/2] Fix acpi_power_meter accessing IPMI region before it's ready

Kai-Heng Feng kai.heng.feng at canonical.com
Wed Mar 27 14:30:42 UTC 2024


BugLink: https://bugs.launchpad.net/bugs/2059263

[Impact]
ACPI error can be found in kernel message:
[    3.717920] ACPI Error: No handler for Region [SYSI] (00000000ab9e62c5) [IPMI] (20230628/evregion-130)

[Fix]
On Dell systems that have IPI0001 device, ensure IPMI region is ready
before acpi_power_meter invokes any ACPI method.

[Test]
With the patch applied, no such error can be found in kernel message.
acpi_power_meter sysfs also works correctly.

[Where problems could occur]
If asynchronous probe is disabled, the device drivers that probe after
acpi_power_meter needs to wait until the completion is done, hence the
boot time might be slower.

Kai-Heng Feng (2):
  ACPI: IPMI: Add helper to wait for when SMI is selected
  hwmon: (acpi_power_meter) Ensure IPMI space handler is ready on Dell
    systems

 drivers/acpi/acpi_ipmi.c         | 23 ++++++++++++++++++++++-
 drivers/hwmon/acpi_power_meter.c | 16 ++++++++++++++++
 include/acpi/acpi_bus.h          |  5 +++++
 3 files changed, 43 insertions(+), 1 deletion(-)

-- 
2.34.1




More information about the kernel-team mailing list