diff options
author | Tony Luck <[email protected]> | 2017-08-18 16:19:00 -0700 |
---|---|---|
committer | Rafael J. Wysocki <[email protected]> | 2017-08-24 03:35:37 +0200 |
commit | 7dae6326ed76431653793df0388b3a404de1217e (patch) | |
tree | 403fa2fdab3b5291cdd0390d570a56aa4df05c4f /tools/perf/util/trace-event-scripting.c | |
parent | 14ccee78fc82f5512908f4424f541549a5705b89 (diff) |
ACPI / sysfs: Extend ACPI sysfs to provide access to boot error region
The ACPI sysfs interface provides a way to read each ACPI table from
userspace via entries in /sys/firmware/acpi/tables/
The BERT table simply provides the size and address of the error
record in BIOS reserved memory and users may want access to this
record.
In an earlier age we might have used /dev/mem to retrieve this error
record, but many systems disable /dev/mem for security reasons.
Extend this driver to provide read-only access to the data via a
file in a new directory /sys/firmware/acpi/tables/data/BERT
Acked-by: Punit Agrawal <[email protected]>
Signed-off-by: Tony Luck <[email protected]>
v4: fix typo reported by Punit
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions