diff mbox

[v2,5/5] ACPI / boot: Don't handle SCI on HW reduced platforms

Message ID 20170717132946.20892-6-andriy.shevchenko@linux.intel.com (mailing list archive)
State Superseded, archived
Headers show

Commit Message

Andy Shevchenko July 17, 2017, 1:29 p.m. UTC
WIP

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
 arch/x86/kernel/acpi/boot.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Hanjun Guo July 18, 2017, 9:49 a.m. UTC | #1
On 2017/7/17 21:29, Andy Shevchenko wrote:
> WIP

Does it mean not ready for upstream yet?

Thanks
Hanjun
Andy Shevchenko July 18, 2017, 10:11 a.m. UTC | #2
On Tue, 2017-07-18 at 17:49 +0800, Hanjun Guo wrote:
> On 2017/7/17 21:29, Andy Shevchenko wrote:
> > WIP
> 
> Does it mean not ready for upstream yet?

Yep, this patch is subject to discussion. I will update it in v3, though
it would be nice to discuss anyway (and test on some hardware reduced
platforms).
diff mbox

Patch

diff --git a/arch/x86/kernel/acpi/boot.c b/arch/x86/kernel/acpi/boot.c
index 71c0feae60a4..4413cc2f7c3c 100644
--- a/arch/x86/kernel/acpi/boot.c
+++ b/arch/x86/kernel/acpi/boot.c
@@ -1184,7 +1184,7 @@  static int __init acpi_parse_madt_ioapic_entries(void)
 	 * If BIOS did not supply an INT_SRC_OVR for the SCI
 	 * pretend we got one so we can set the SCI flags.
 	 */
-	if (!acpi_sci_override_gsi)
+	if (!acpi_sci_override_gsi && !acpi_gbl_reduced_hardware)
 		acpi_sci_ioapic_setup(acpi_gbl_FADT.sci_interrupt, 0, 0,
 				      acpi_gbl_FADT.sci_interrupt);