Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp284930ybi; Mon, 15 Jul 2019 20:54:18 -0700 (PDT) X-Google-Smtp-Source: APXvYqw4DIO0K2fYfXmFlf1vWwWPW+03karWYMfUDHH5XOKEM2p4T41YmPnis12tPaqAiowvGAVA X-Received: by 2002:a17:902:aa95:: with SMTP id d21mr31137639plr.185.1563249258838; Mon, 15 Jul 2019 20:54:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563249258; cv=none; d=google.com; s=arc-20160816; b=wUioG20UW0Ws7S7+iT4k+bp7ffHQRolbKmh7ZEBN6I1WFdu3imEF15ylYi8+0fOkZz SmAas3rwjY351Y3ylmVSFK8Mzscm1dvtPM00C/nA9WQCIQtJoEE+3k4HQfT6k5pt3/e6 v3qGmWChL8aI8UAucefQhA8oANAZhBrWZTC7WbN5luAmalOZfPXpJ9mm/hMb8X6hcp05 6vEbWB2lTG9cYq/C/+GpGSgNMQUh1zwQzCQQA0+HHRE8iMjlEusTmX8RN2ysBngdx6x/ xzkmjGropSSBqIGoPefCqaK082CAqjTimpEMzUzljisXaXpuCexj0nbyQzK2TOmxsD+j Ps9Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=YO7fvz+xK9zD4EYWQ0hI9tZPwso6Ic+mf2Kk7/aavSk=; b=NksNEQXpI2hJ01xWe0hCElA9hMMkFUgUD/D86mgleEym9spYKo76+nkWdUqLeLKjnt bwyvhBKMklEmbuaKkoRSlToL3futzmfodLizUxY7DIBTqOVRrWpa22IiVz/FfxTmiS/q AdY1GEqac66ZeurbN6pZGhVvIvvy6IRZWUfVhoXaEwvAhHwNU5tq+8NAkGhebsVURMW9 ANO8xCiehK95aFjGRdZkyBy/llfKzyCWxkIx6Je2bhFkwQeMn+KbSsXguFLejqXgcxwf TYWKsyr2y1J1MTk6vC+tqR9/qfZsV5XmwJW/E+JXr7tUlVEZqjnUgbPn/U/3ySwUwSgs dc6Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t9si17333875pji.69.2019.07.15.20.54.02; Mon, 15 Jul 2019 20:54:18 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730952AbfGPDwY (ORCPT + 99 others); Mon, 15 Jul 2019 23:52:24 -0400 Received: from mx2.suse.de ([195.135.220.15]:49052 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727862AbfGPDwY (ORCPT ); Mon, 15 Jul 2019 23:52:24 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 3CFCDAFFC; Tue, 16 Jul 2019 03:52:23 +0000 (UTC) Subject: Re: [PATCH 1/2] x86/xen: remove 32-bit Xen PV guest support To: Boris Ostrovsky , x86@kernel.org, xen-devel@lists.xenproject.org, linux-kernel@vger.kernel.org Cc: Borislav Petkov , Andy Lutomirski , Stefano Stabellini , Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" References: <20190715113739.17694-1-jgross@suse.com> <20190715113739.17694-2-jgross@suse.com> <91ed11a0-c97e-8caf-c71c-4595be4dbbb4@oracle.com> From: Juergen Gross Message-ID: Date: Tue, 16 Jul 2019 05:52:22 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.2 MIME-Version: 1.0 In-Reply-To: <91ed11a0-c97e-8caf-c71c-4595be4dbbb4@oracle.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: de-DE Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 15.07.19 17:44, Boris Ostrovsky wrote: > >> diff --git a/arch/x86/xen/Makefile b/arch/x86/xen/Makefile >> index 084de77a109e..d42737f31304 100644 >> --- a/arch/x86/xen/Makefile >> +++ b/arch/x86/xen/Makefile >> @@ -1,5 +1,5 @@ >> # SPDX-License-Identifier: GPL-2.0 >> -OBJECT_FILES_NON_STANDARD_xen-asm_$(BITS).o := y >> +OBJECT_FILES_NON_STANDARD_xen-asm_64.o := y >> >> ifdef CONFIG_FUNCTION_TRACER >> # Do not profile debug and lowlevel utilities >> @@ -34,7 +34,7 @@ obj-$(CONFIG_XEN_PV) += mmu_pv.o >> obj-$(CONFIG_XEN_PV) += irq.o >> obj-$(CONFIG_XEN_PV) += multicalls.o >> obj-$(CONFIG_XEN_PV) += xen-asm.o >> -obj-$(CONFIG_XEN_PV) += xen-asm_$(BITS).o >> +obj-$(CONFIG_XEN_PV) += xen-asm_64.o > > We should be able to merge xen-asm_64.S into xen-asm.S, shouldn't we? Yes, probably a good idea to add that. >> @@ -1312,15 +1290,7 @@ asmlinkage __visible void __init xen_start_kernel(void) >> >> /* keep using Xen gdt for now; no urgent need to change it */ >> >> -#ifdef CONFIG_X86_32 >> - pv_info.kernel_rpl = 1; >> - if (xen_feature(XENFEAT_supervisor_mode_kernel)) >> - pv_info.kernel_rpl = 0; >> -#else >> pv_info.kernel_rpl = 0; > > Is kernel_rpl needed anymore? Yes, this can be dropped, together with get_kernel_rpl(). Juergen