From patchwork Thu Apr 7 00:06:22 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luis Chamberlain X-Patchwork-Id: 8767531 Return-Path: X-Original-To: patchwork-xen-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id E605EC0553 for ; Thu, 7 Apr 2016 00:08:58 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 2459820204 for ; Thu, 7 Apr 2016 00:08:58 +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 576B1201E4 for ; Thu, 7 Apr 2016 00:08:57 +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 1anxTQ-0002eU-9D; Thu, 07 Apr 2016 00:07:00 +0000 Received: from mail6.bemta3.messagelabs.com ([195.245.230.39]) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1anxTP-0002e7-Du for xen-devel@lists.xensource.com; Thu, 07 Apr 2016 00:06:59 +0000 Received: from [85.158.137.68] by server-8.bemta-3.messagelabs.com id 97/75-04050-2A4A5075; Thu, 07 Apr 2016 00:06:58 +0000 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFmpjkeJIrShJLcpLzFFi42I5NlG2Q3fREtZ wg+MruSzuTXnP7sDosb1vF3sAYxRrZl5SfkUCa0bP7gtsBcvYKrrn3WVqYDzK2sXIxSEkMJVR 4uzEc+wQzgwmidUrdjJ2MXJwsAnoSty8LdHFyMkhIpAgcffpN2aQGmaBb0wSu08/YwZJCAt4S kw+tIsNxGYRUJVouvsaLM4r4CDRP2khmC0hICfR8mM3K4jNKeAosfzUVDBbCKimcekSRoiaDI l5PXNYIWwviUU3LkHZahJXz21insDIt4CRYRWjenFqUVlqka6hXlJRZnpGSW5iZo6uoYGxXm5 qcXFiempOYlKxXnJ+7iZGYJgwAMEOxuUfnQ4xSnIwKYnyulayhgvxJeWnVGYkFmfEF5XmpBYf YpTh4FCS4D22GCgnWJSanlqRlpkDDFiYtAQHj5II7wqQNG9xQWJucWY6ROoUoy7Hgh+31zIJs eTl56VKifMKAcNfSACkKKM0D24ELHouMcpKCfMyAh0lxFOQWpSbWYIq/4pRnINRSZj3Hsgqns y8ErhNr4COYAI6ol6YCeSIkkSElFQD44PURztkr121kr8jFXIqalmU4uIF13przdUOLXixwSc w6LDM+2lqXrcZTdT2aJwVX3Xd0bCvaMPx5Yd6xFz09I46r3minBBvJuzpf/5ec8PTK9cMvOW2 hDFwbjjGns53X5txVdPj1U33E+VfSDyuf9bqMqPd5JTlayuTSyFeW1vZtj9t6Ht5R4mlOCPRU Iu5qDgRAGFo4vaZAgAA X-Env-Sender: mcgrof@kernel.org X-Msg-Ref: server-3.tower-31.messagelabs.com!1459987616!33360094!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 30505 invoked from network); 7 Apr 2016 00:06:58 -0000 Received: from mail.kernel.org (HELO mail.kernel.org) (198.145.29.136) by server-3.tower-31.messagelabs.com with DHE-RSA-AES256-GCM-SHA384 encrypted SMTP; 7 Apr 2016 00:06:58 -0000 Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id B0EB2201E4; Thu, 7 Apr 2016 00:06:55 +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 61815201ED; Thu, 7 Apr 2016 00:06:54 +0000 (UTC) From: "Luis R. Rodriguez" To: bp@alien8.de, hpa@zytor.com, tglx@linutronix.de, mingo@redhat.com, rusty@rustcorp.com.au Date: Wed, 6 Apr 2016 17:06:22 -0700 Message-Id: <1459987594-5434-3-git-send-email-mcgrof@kernel.org> X-Mailer: git-send-email 2.7.0 In-Reply-To: <1459987594-5434-1-git-send-email-mcgrof@kernel.org> References: <1459987594-5434-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: xen-devel@lists.xensource.com, matt@codeblueprint.co.uk, andrew.cooper3@citrix.com, x86@kernel.org, linux-kernel@vger.kernel.org, luto@amacapital.net, jlee@suse.com, "Luis R. Rodriguez" , lguest@lists.ozlabs.org, glin@suse.com, david.vrabel@citrix.com, boris.ostrovsky@oracle.com, andriy.shevchenko@linux.intel.com Subject: [Xen-devel] [PATCH v4 02/14] x86/xen: use X86_SUBARCH_XEN for PV guest boots 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 The use of subarch should have no current effect on Xen PV guests, as such this should have no current functional effects. Signed-off-by: Luis R. Rodriguez Reviewed-by: David Vrabel --- arch/x86/xen/enlighten.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/x86/xen/enlighten.c b/arch/x86/xen/enlighten.c index 9b8f1eacc110..40487f1ecb4c 100644 --- a/arch/x86/xen/enlighten.c +++ b/arch/x86/xen/enlighten.c @@ -1661,6 +1661,7 @@ asmlinkage __visible void __init xen_start_kernel(void) boot_params.hdr.ramdisk_image = initrd_start; boot_params.hdr.ramdisk_size = xen_start_info->mod_len; boot_params.hdr.cmd_line_ptr = __pa(xen_start_info->cmd_line); + boot_params.hdr.hardware_subarch = X86_SUBARCH_XEN; if (!xen_initial_domain()) { add_preferred_console("xenboot", 0, NULL);