Benjamin Herrenschmidt f0a08324d0 term/ns8250-spcr: Return if redirection is disabled
The Microsoft spec for SPCR says "The base address of the Serial Port
register set described using the ACPI Generic Address Structure, or
0 if console redirection is disabled". So, return early if redirection
is disabled (base address = 0). If this check is not done we may get
invalid ports on machines with redirection disabled and boot may hang
when reading the grub.cfg file.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Reviewed-by: Leo Sandoval <lsandova@redhat.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
2025-02-26 19:34:57 +01:00
..
2022-03-14 16:00:06 +01:00
2013-12-18 18:43:09 +01:00
2022-03-14 16:00:06 +01:00
2022-03-14 16:00:06 +01:00
2022-03-14 16:00:06 +01:00
2013-12-21 15:28:28 +01:00