From patchwork Sat Apr 9 00:22:40 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luis Chamberlain X-Patchwork-Id: 8787541 Return-Path: X-Original-To: patchwork-xen-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 5FE289F659 for ; Sat, 9 Apr 2016 00:25:15 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 6347420155 for ; Sat, 9 Apr 2016 00:25:14 +0000 (UTC) Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 80DBA200E3 for ; Sat, 9 Apr 2016 00:25:13 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1aogft-0006Hz-SW; Sat, 09 Apr 2016 00:22:53 +0000 Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1aogfs-0006HF-Kc for xen-devel@lists.xensource.com; Sat, 09 Apr 2016 00:22:52 +0000 Received: from [85.158.139.211] by server-10.bemta-5.messagelabs.com id C0/A2-05391-B5B48075; Sat, 09 Apr 2016 00:22:51 +0000 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFmplkeJIrShJLcpLzFFi42I5NlG2QzfamyP cYMVGYYt7U96zOzB6bO/bxR7AGMWamZeUX5HAmvGyYQZzwX22ilNf7rE2MH5i7WLk4hASmMoo sXHVTShnBpPEoQcb2LsYOTjYBHQlbt6W6GLk5BARSJC4+/QbM4jNLPCaVWJ2DyOILSzgLTH92 xMWkHIWAVWJP5v9QMK8Ao4Sz+f+BSuREJCTaPmxmxXE5hRwkvjS8xosLgRUc3DuVFaImgyJeT 1zoGwviUU3LkHZahJXz21insDIt4CRYRWjRnFqUVlqka6hsV5SUWZ6RkluYmaOrqGBqV5uanF xYnpqTmJSsV5yfu4mRmCQMADBDsZ/2zwPMUpyMCmJ8n725AgX4kvKT6nMSCzOiC8qzUktPsQo w8GhJMF7DSQnWJSanlqRlpkDDFeYtAQHj5II7zOQNG9xQWJucWY6ROoUoy7Hgh+31zIJseTl5 6VKifNOASkSACnKKM2DGwGLnUuMslLCvIxARwnxFKQW5WaWoMq/YhTnYFQS5n0EMoUnM68Ebt MroCOYgI64wM8GckRJIkJKqoEx+6pVi338uyVZHWe9Ztd3rZkwp//pOr32RXcTWMU7GSV/sAj e27nwqJiPxJ8li/pV5v0sedveVNJx0nOTU8Q/HvGNqpcbZ2z2Omx76EzrRD5+zZMPr91u2Kx5 98qJL+rZtZdKGZ58E9JNzDp9QvWd4zfXf3tOtWgX96/3P2axaEe/1ovHBm+llViKMxINtZiLi hMBHJtFYpgCAAA= X-Env-Sender: mcgrof@kernel.org X-Msg-Ref: server-6.tower-206.messagelabs.com!1460161370!33491967!1 X-Originating-IP: [198.145.29.136] X-SpamReason: No, hits=0.0 required=7.0 tests= X-StarScan-Received: X-StarScan-Version: 8.28; banners=-,-,- X-VirusChecked: Checked Received: (qmail 20250 invoked from network); 9 Apr 2016 00:22:51 -0000 Received: from mail.kernel.org (HELO mail.kernel.org) (198.145.29.136) by server-6.tower-206.messagelabs.com with DHE-RSA-AES256-GCM-SHA384 encrypted SMTP; 9 Apr 2016 00:22:51 -0000 Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 0CEEE200E3; Sat, 9 Apr 2016 00:22:49 +0000 (UTC) Received: from garbanzo.do-not-panic.com (c-73-15-241-2.hsd1.ca.comcast.net [73.15.241.2]) (using TLSv1.2 with cipher AES128-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id CEADA20172; Sat, 9 Apr 2016 00:22:46 +0000 (UTC) From: "Luis R. Rodriguez" To: bp@alien8.de, hpa@zytor.com, tglx@linutronix.de, mingo@redhat.com, rusty@rustcorp.com.au Date: Fri, 8 Apr 2016 17:22:40 -0700 Message-Id: <1460161361-13635-2-git-send-email-mcgrof@kernel.org> X-Mailer: git-send-email 2.7.0 In-Reply-To: <1460161361-13635-1-git-send-email-mcgrof@kernel.org> References: <1460161361-13635-1-git-send-email-mcgrof@kernel.org> X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Cc: sathyanarayanan.kuppuswamy@linux.intel.com, kozerkov@parallels.com, matt@codeblueprint.co.uk, bigeasy@linutronix.de, lv.zheng@intel.com, ffainelli@freebox.fr, mbizon@freebox.fr, xen-devel@lists.xensource.com, joro@8bytes.org, x86@kernel.org, robert.moore@intel.com, linux-acpi@vger.kernel.org, glin@suse.com, rui.zhang@intel.com, lenb@kernel.org, josh@joshtriplett.org, jlee@suse.com, lguest@lists.ozlabs.org, boris.ostrovsky@oracle.com, andriy.shevchenko@linux.intel.com, alan@linux.intel.com, toshi.kani@hp.com, andrew.cooper3@citrix.com, rjw@rjwysocki.net, linux-kernel@vger.kernel.org, luto@amacapital.net, "Luis R. Rodriguez" , david.vrabel@citrix.com, tiwai@suse.de Subject: [Xen-devel] [PATCH v1 1/2] x86/init: disable pnpbios for X86_SUBARCH_INTEL_MID X-BeenThere: xen-devel@lists.xen.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: xen-devel-bounces@lists.xen.org Sender: "Xen-devel" X-Virus-Scanned: ClamAV using ClamSMTP As per hpa Intel MID platforms can also disable pnpbios [0]. [0] http://lkml.kernel.org/r/5702B5C2.7070101@zytor.com Suggested-by: H. Peter Anvin Signed-off-by: Luis R. Rodriguez --- arch/x86/kernel/platform-quirks.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/arch/x86/kernel/platform-quirks.c b/arch/x86/kernel/platform-quirks.c index ab643825a7aa..853919484340 100644 --- a/arch/x86/kernel/platform-quirks.c +++ b/arch/x86/kernel/platform-quirks.c @@ -16,10 +16,8 @@ void __init x86_early_init_platform_quirks(void) break; case X86_SUBARCH_XEN: case X86_SUBARCH_LGUEST: - x86_platform.legacy.devices.pnpbios = 0; - x86_platform.legacy.rtc = 0; - break; case X86_SUBARCH_INTEL_MID: + x86_platform.legacy.devices.pnpbios = 0; x86_platform.legacy.rtc = 0; break; }