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

Guoqing Jiang guoqing.jiang at canonical.com
Thu Mar 28 10:37:21 UTC 2024


On 3/27/24 22:30, Kai-Heng Feng wrote:
> 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(-)

Acked-by: Guoqing Jiang <guoqing.jiang at canonical.com>



More information about the kernel-team mailing list