]> www.infradead.org Git - users/jedix/linux-maple.git/commit
driver core: faux: Quiet probe failures
authorDan Williams <dan.j.williams@intel.com>
Sat, 7 Jun 2025 03:32:27 +0000 (20:32 -0700)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 10 Jun 2025 17:23:25 +0000 (19:23 +0200)
commitff53a6e247285687df1a71d8ee5c457939792c13
tree400c8bd70ff6dd1d5a94c43ed71eed6452a8753c
parentc393befa14ab26596fb86d702566d648832dae06
driver core: faux: Quiet probe failures

The acpi-einj conversion to faux_device_create() leads to a noisy error
message when the error injection facility is disabled. Quiet the error as
CXL error injection via ACPI expects the module to stay loaded even if the
error injection facility is disabled.

This situation arose because CXL knows proper kernel named objects to
trigger errors against, but acpi-einj knows how to perform the error
injection. The injection mechanism is shared with non-CXL use cases. The
result is CXL now has a module dependency on einj-core.ko, and init/probe
failures are handled at runtime.

Fixes: 6cb9441bfe8d ("ACPI: APEI: EINJ: Transition to the faux device interface")
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Link: https://patch.msgid.link/20250607033228.1475625-3-dan.j.williams@intel.com
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/base/faux.c