Re: [PATCH] x86: Bypass legacy PIC and PIT on ACPI hardware reduced platform

From: Borislav Petkov
Date: Wed Mar 04 2015 - 04:51:32 EST


On Wed, Mar 04, 2015 at 12:43:08AM -0800, Arjan van de Ven wrote:
> >
> >Using 'acpi_gbl_reduced_hardware' flag outside the ACPI code
> >is a mistake.
>
> ideally, the presence of that flag in the firmware table will clear/set more global settings,
> for example, having that flag should cause the 8042 input code to not probe for the 8042.
>
> for interrupts, there really ought to be a "apic first/only" mode, which is then used on
> all modern systems (not just hw reduced).

Do we need some sort of platform-specific querying interfaces now too,
similar to cpu_has()? I.e., platform_has()...

if (platform_has(X86_PLATFORM_REDUCED_HW))
do stuff..

Hmmm.

--
Regards/Gruss,
Boris.

ECO tip #101: Trim your mails when you reply.
--
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/