Skip to content

Fix sysfs duplicate filename if multiple BERT tables exist

Thomas Renninger linux-acpi 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2ACPI: Use correct region struct for BERT region size checkdrivers/acpi/sysfs.c+1 -10 replies
2/2ACPI: Properly map BERT and CCEL acpi tables to their data tablesdrivers/acpi/sysfs.c+5 -40 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] Fix sysfs duplicate filename if multiple BERT tables exist

Previously sent to linux-pm:
V2: Do not use acpi_get_table, but pass both,
struct acpi_table_header *th, struct acpi_table_attr *table_attr as function parameters.

Cmp with:
https://bugzilla.suse.com/show_bug.cgi?id=1270211

dmesg | grep BERT
ACPI: BERT 0x00000000DD695238 000030 (v01 AMD AMD BERT 00000000 00000000)
ACPI: BERT 0x00000000DD6955C8 000030 (v01 AMI AMI.BERT 00000000 AMI. 00000000)
ACPI: Reserving BERT table memory at [mem 0xdd695238-0xdd695267]
ACPI: Reserving BERT table memory at [mem 0xdd6955c8-0xdd6955f7]
sysfs: cannot create duplicate filename '/firmware/acpi/tables/data/BERT'

Thomas Renninger (2):
ACPI: Use correct region struct for BERT region size check
ACPI: Properly map BERT and CCEL acpi tables to their data tables

 drivers/acpi/sysfs.c | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)
Signature · 1 line
2.55.0