diff options
| author | Dan Williams <[email protected]> | 2025-06-07 03:32:28 +0000 |
|---|---|---|
| committer | Rafael J. Wysocki <[email protected]> | 2025-06-10 17:23:25 +0000 |
| commit | 162457f5853ce3348e7956666916f5e5e31be51f (patch) | |
| tree | 998953db64ccbc502e3364efbbb3d6bb80b556c9 /lib/crypto/mpi/mpi-mul.c | |
| parent | driver core: faux: Quiet probe failures (diff) | |
| download | kernel-162457f5853ce3348e7956666916f5e5e31be51f.tar.gz kernel-162457f5853ce3348e7956666916f5e5e31be51f.zip | |
ACPI: APEI: EINJ: Do not fail einj_init() on faux_device_create() failure
CXL has a symbol dependency on einj_core.ko, so if einj_init() fails then
cxl_core.ko fails to load. Prior to the faux_device_create() conversion,
einj_probe() failures were tracked by the einj_initialized flag without
failing einj_init().
Revert to that behavior and always succeed einj_init() given there is no
way, and no pressing need, to discern faux device-create vs device-probe
failures.
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 <[email protected]>
Reviewed-by: Ben Cheatham <[email protected]>
Acked-by: Greg Kroah-Hartman <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'lib/crypto/mpi/mpi-mul.c')
0 files changed, 0 insertions, 0 deletions
