Skip to content

Commit 7c7bcfe

Browse files
andy-shevrafaeljw
authored andcommitted
ACPI / x86: boot: Don't setup SCI on HW-reduced platforms
As per note in 5.2.9 Fixed ACPI Description Table (FADT) chapter of ACPI specification, on HW-reduced platforma OSPM should ignore fields related to the ACPI HW register interface, one of which is SCI_INT. Follow the spec and ignore any configuration done for interrupt line defined by SCI_INT if FADT specifies a HW-reduced platform. HW-reduced platforms will still be able to use SCI in case it provides an override record in MADT table. Signed-off-by: Andy Shevchenko <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
1 parent 4565c4f commit 7c7bcfe

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

arch/x86/kernel/acpi/boot.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1209,8 +1209,9 @@ static int __init acpi_parse_madt_ioapic_entries(void)
12091209
/*
12101210
* If BIOS did not supply an INT_SRC_OVR for the SCI
12111211
* pretend we got one so we can set the SCI flags.
1212+
* But ignore setting up SCI on hardware reduced platforms.
12121213
*/
1213-
if (acpi_sci_override_gsi == INVALID_ACPI_IRQ)
1214+
if (acpi_sci_override_gsi == INVALID_ACPI_IRQ && !acpi_gbl_reduced_hardware)
12141215
acpi_sci_ioapic_setup(acpi_gbl_FADT.sci_interrupt, 0, 0,
12151216
acpi_gbl_FADT.sci_interrupt);
12161217

0 commit comments

Comments
 (0)