Messages in this thread | | | Subject | Re: [PATCH] x86: Bypass legacy PIC and PIT on ACPI hardware reduced platform | From | Alan Cox <> | Date | Wed, 04 Mar 2015 20:21:01 +0000 |
| |
On Wed, 2015-03-04 at 15:05 +0100, Borislav Petkov wrote: > On Wed, Mar 04, 2015 at 03:16:07PM +0100, Rafael J. Wysocki wrote: > > Sort of. What we need is a "do not touch PIC/PIT" bit for the code that > > tries to fall back to them in some cases (which may appear to work if > > the hardware is physically there, but it may confuse the platform). > > Can "some cases" detection be nicely put into a x86_platform > platform-specific method?
In some cases they don't belong in x86, ACPI is also used for ARM64.
However
if ( has_8259_pic() )
is trivally 0, 1 or some platform or acpi provided method.
| |