On Tue, 7 Jul 2026, John Baldwin wrote:
The branch main has been updated by jhb:
URL:
https://cgit.FreeBSD.org/src/commit/?id=bc49842769bd3657a5a1e7de878c0ce8780a2f86
commit bc49842769bd3657a5a1e7de878c0ce8780a2f86
Author: John Baldwin <[email protected]>
AuthorDate: 2026-07-07 18:15:27 +0000
Commit: John Baldwin <[email protected]>
CommitDate: 2026-07-07 18:15:27 +0000
acpi_einj: Support for ACPI error injection
This driver parses the ACPI EINJ table and builds a list of
instructions associated with known actions. It then exports ioctls to
fetch the set of supported errors and inject system errors by
executing specific sequences of actions. This can be used to test
error reporting facilities for events such as ECC errors.
Reviewed by: gallatin
Sponsored by: Netflix
Differential Revision: https://reviews.freebsd.org/D58025
---
share/man/man4/Makefile | 1 +
share/man/man4/acpi_einj.4 | 58 +++
sys/dev/acpica/acpi_einj.c | 777 ++++++++++++++++++++++++++++++++++++
This broke _.arm64.LINT-FDT:
23 In file included from /sys/dev/acpica/acpi_einj.c:23:
24 /sys/dev/acpica/acpivar.h:34:10: fatal error: 'acpi_if.h' file not found
25 34 | #include "acpi_if.h"
26 | ^~~~~~~~~~~
27 1 error generated.
sys/dev/acpica/acpiio.h | 39 ++
sys/modules/acpi/Makefile | 1 +
sys/modules/acpi/acpi_einj/Makefile | 7 +
6 files changed, 883 insertions(+)
--
Bjoern A. Zeeb r15:7