On Sun, Nov 01, 2020 at 06:47:26PM -0800, yaoaili126@xxxxxxx wrote: > From: Aili Yao <yaoaili@xxxxxxxxxxxx> > > >From commit 6915564dc5a8 ("ACPI: OSL: Change the type of > acpi_os_map_generic_address() return value"),acpi_os_map_generic_address > will return logical address or NULL for error, but > pre_map_gar_callback and related apei_map_generic_address ,for > ACPI_ADR_SPACE_SYSTEM_IO case, it should be also return 0,as it's a > normal case, but now it will return -ENXIO. so check it out for such > case to avoid einj module initialization fail. > > Signed-off-by: James Morse <james.morse@xxxxxxx> > Signed-off-by: Aili Yao <yaoaili@xxxxxxxxxxxx> > Tested-by: Tony Luck <tony.luck@xxxxxxxxx> Yes. Tested this version too. Works fine. -Tony