ACPI / x86: boot: Don't setup SCI on HW-reduced platforms
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 15 Dec 2017 21:25:11 +0000 (23:25 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 28 Dec 2017 11:36:46 +0000 (12:36 +0100)
commit7c7bcfeae2d8e59066bd273b7d70392574e14c15
tree42e3a2b3aee99b4ddfd4d702be06b42d811d9062
parent4565c4f6056967ee8844fa550e3cbbe1c0e65a11
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 <andriy.shevchenko@linux.intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
arch/x86/kernel/acpi/boot.c