lkml.org 
[lkml]   [2015]   [Mar]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] x86: Bypass legacy PIC and PIT on ACPI hardware reduced platform
Date
On Wednesday, March 04, 2015 10:50:11 AM Borislav Petkov wrote:
> 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.

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).


--
I speak only for myself.
Rafael J. Wysocki, Intel Open Source Technology Center.


\
 
 \ /
  Last update: 2015-03-04 15:01    [W:0.154 / U:0.404 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site