From: Marcin Wojtas Date: Wed, 14 Jul 2021 21:43:46 +0000 (+0200) Subject: ACPI: SPCR: Add support for the new 16550-compatible Serial Port Subtype X-Git-Tag: v5.15-rc1~167^2~1^4~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2aaea6a1647e887fe91ce3e0324e6be4362e5388;p=thirdparty%2Fkernel%2Flinux.git ACPI: SPCR: Add support for the new 16550-compatible Serial Port Subtype The Microsoft Debug Port Table 2 (DBG2) specification revision May 31, 2017 added definition of the 16550-compatible Serial Port Subtype with parameters defined in Generic Address Structure (GAS) [1] Add its support in the SPCR table parsing routine. [1] https://docs.microsoft.com/en-us/windows-hardware/drivers/bringup/acpi-debug-port-table Signed-off-by: Marcin Wojtas Signed-off-by: Rafael J. Wysocki --- diff --git a/drivers/acpi/spcr.c b/drivers/acpi/spcr.c index 88460bacd5aef..25c2d0be953e5 100644 --- a/drivers/acpi/spcr.c +++ b/drivers/acpi/spcr.c @@ -136,6 +136,7 @@ int __init acpi_parse_spcr(bool enable_earlycon, bool enable_console) break; case ACPI_DBG2_16550_COMPATIBLE: case ACPI_DBG2_16550_SUBSET: + case ACPI_DBG2_16550_WITH_GAS: uart = "uart"; break; default: