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

Thomas Renninger <[email protected]>
Newsgroups org.kernel.vger.linux-acpi
Message-ID <[email protected]>
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(-)

-- 
2.55.0
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.