mirror of
https://github.com/torvalds/linux.git
synced 2024-12-29 14:21:47 +00:00
12fb28ea6b
Move CXL protocol error types from einj.c (now einj-core.c) to einj-cxl.c. einj-cxl.c implements the necessary handling for CXL protocol error injection and exposes an API for the CXL core to use said functionality, while also allowing the EINJ module to be built without CXL support. Because CXL error types targeting CXL 1.0/1.1 ports require special handling, only allow them to be injected through the new cxl debugfs interface (next commit) and return an error when attempting to inject through the legacy interface. Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> Signed-off-by: Ben Cheatham <Benjamin.Cheatham@amd.com> Link: https://lore.kernel.org/r/20240311142508.31717-3-Benjamin.Cheatham@amd.com Signed-off-by: Dan Williams <dan.j.williams@intel.com>
10 lines
314 B
Makefile
10 lines
314 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
obj-$(CONFIG_ACPI_APEI) += apei.o
|
|
obj-$(CONFIG_ACPI_APEI_GHES) += ghes.o
|
|
obj-$(CONFIG_ACPI_APEI_EINJ) += einj.o
|
|
einj-y := einj-core.o
|
|
einj-$(CONFIG_ACPI_APEI_EINJ_CXL) += einj-cxl.o
|
|
obj-$(CONFIG_ACPI_APEI_ERST_DEBUG) += erst-dbg.o
|
|
|
|
apei-y := apei-base.o hest.o erst.o bert.o
|