From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932502AbbCDJv1 (ORCPT ); Wed, 4 Mar 2015 04:51:27 -0500 Received: from mail.skyhub.de ([78.46.96.112]:54318 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932399AbbCDJvZ (ORCPT ); Wed, 4 Mar 2015 04:51:25 -0500 Date: Wed, 4 Mar 2015 10:50:11 +0100 From: Borislav Petkov To: Arjan van de Ven Cc: Ingo Molnar , "Li, Aubrey" , "alan@linux.intel.com" , "H. Peter Anvin" , Thomas Gleixner , Ingo Molnar , "Rafael J. Wysocki" , Len.Brown@intel.com, x86@kernel.org, LKML Subject: Re: [PATCH] x86: Bypass legacy PIC and PIT on ACPI hardware reduced platform Message-ID: <20150304095011.GH3233@pd.tnic> References: <54F67ACC.3010500@linux.intel.com> <20150304050858.GB5158@gmail.com> <54F69774.2050400@linux.intel.com> <20150304053106.GA3701@gmail.com> <54F6A08B.2010105@linux.intel.com> <20150304073717.GA11736@gmail.com> <54F6C59C.706@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <54F6C59C.706@linux.intel.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. --