ACPI / tables: Add IORT to injectable table list

"Linux Kernel Mailing List" <[email protected]>
Newsgroups gmane.linux.kernel.commits.head
Message-ID <[email protected]>
Web:        https://git.kernel.org/torvalds/c/890674343bb2d546825f713542b1e199f0728732
Commit:     890674343bb2d546825f713542b1e199f0728732
Parent:     1a9a126b5098160ca934a352617e9e65dbfa679d
Refname:    refs/heads/master
Author:     Shunyong Yang <[email protected]>
AuthorDate: Tue Feb 6 14:37:12 2018 +0800
Committer:  Rafael J. Wysocki <[email protected]>
CommitDate: Wed Feb 7 11:06:48 2018 +0100

    ACPI / tables: Add IORT to injectable table list
    
    Loading IORT table from initrd can be used to fix severe firmware
    IORT defects temporarily before platform/BIOS vendor releases an
    upgraded BIOS binary.
    
    Moreover, it is very powerful to debug SMMU node/device probe, MSI
    allocation, stream id translation and IORT table from firmware.
    
    It is also very useful to enable SMMU and devices behind SMMU before
    firmware is ready.
    
    This patch adds ACPI_SIG_IORT to the table, which enables IORT
    from initrd to override which from firmware.
    
    Signed-off-by: Yang Shunyong <[email protected]>
    Acked-by: Hanjun Guo <[email protected]>
    Signed-off-by: Rafael J. Wysocki <[email protected]>
---
 drivers/acpi/tables.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/acpi/tables.c b/drivers/acpi/tables.c
index 80ce2a7d224b..7bcb66ccccf3 100644
--- a/drivers/acpi/tables.c
+++ b/drivers/acpi/tables.c
@@ -456,7 +456,8 @@ static const char * const table_sigs[] = {
 	ACPI_SIG_SLIC, ACPI_SIG_SPCR, ACPI_SIG_SPMI, ACPI_SIG_TCPA,
 	ACPI_SIG_UEFI, ACPI_SIG_WAET, ACPI_SIG_WDAT, ACPI_SIG_WDDT,
 	ACPI_SIG_WDRT, ACPI_SIG_DSDT, ACPI_SIG_FADT, ACPI_SIG_PSDT,
-	ACPI_SIG_RSDT, ACPI_SIG_XSDT, ACPI_SIG_SSDT, NULL };
+	ACPI_SIG_RSDT, ACPI_SIG_XSDT, ACPI_SIG_SSDT, ACPI_SIG_IORT,
+	NULL };
 
 #define ACPI_HEADER_SIZE sizeof(struct acpi_table_header)
 
--
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
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.