Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp4040714pxa; Sun, 9 Aug 2020 21:43:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzuilodTI3V8OfaT3dVMUOAjIfTFByF0HuTs8uJr5kVJ1TtO0kZAOaQjqVgLLMm4hZ7w4CS X-Received: by 2002:a05:6402:403:: with SMTP id q3mr18669417edv.12.1597034618337; Sun, 09 Aug 2020 21:43:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597034618; cv=none; d=google.com; s=arc-20160816; b=06V5az4yNQGZVfb/J7ce23IcRBKgiLycd/Dt2aCZQOftFdMGjNEY3LsaxP4hXg3O/s x41GXNIa5yN5z9RMy2QzkdNIWmRCJNsGe+a2Ckt+UIXsJ3OLN3ZKleaObrKPaLAns80y iZsyKLmNuxFpAQrelho508RDff21nUo4JBS8WU745agESpDVSiFObKCqgMOHMTScV6Rj s0MIQAY4xO8gRoil/JygmqQvHOuLKzcfxsx1Cl2deCMA2OYs7YbStV7lbAAUV1T0TAZA peAJYKqn9I6c6fq9+GcDYFmHsY9srWFxoK2ZQTiY2ohw5q6P860hgpq+7oAIAImoz6Gx NS0w== 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=lBA412iHuQ+C8kN7CZSkhlZJeHAZDIgiIz+T7hviz4Q=; b=NnGq2riMJTMuLCRhPW5vV+ocM+37iR10IrumO3gIw0SXzOvcm/po8it5Uvafd1QyPl t9VhBFuGf1TEDdp6vnohJmha9UQ24z9PjoUBBPhFGtzKXGRmLk2NaQk1QAqgqIOQjOE/ dChfj8AX2jgxokNSWy8phYEXVsUj6NS9WYpU4tf3uWJBP1yUirx+I7Q10wc8dSXer3Ph nA3Qx3+YfyqrEvA0PRNmcHkGum0fABIPDwcdwU5mYHf4mzAikKZzQg5A2xVBIp/pMURk I0K5aGIhmzKAHRbujUniG/fRZ9ntGsg9/8mZvT+o3hukCkWqKopiZB1HFgpmrhNswXo7 aCDA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ly24si10743458ejb.349.2020.08.09.21.43.15; Sun, 09 Aug 2020 21:43:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725857AbgHJEjq (ORCPT + 99 others); Mon, 10 Aug 2020 00:39:46 -0400 Received: from mx2.suse.de ([195.135.220.15]:58002 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725808AbgHJEjq (ORCPT ); Mon, 10 Aug 2020 00:39:46 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id E1653ABE2; Mon, 10 Aug 2020 04:40:04 +0000 (UTC) Subject: Re: [PATCH v3 4/7] x86/paravirt: remove 32-bit support from PARAVIRT_XXL To: Boris Ostrovsky , xen-devel@lists.xenproject.org, x86@kernel.org, linux-kernel@vger.kernel.org, virtualization@lists.linux-foundation.org Cc: Andy Lutomirski , Thomas Gleixner , Ingo Molnar , Borislav Petkov , "H. Peter Anvin" , Deep Shah , "VMware, Inc." , Stefano Stabellini References: <20200807083826.16794-1-jgross@suse.com> <20200807083826.16794-5-jgross@suse.com> From: =?UTF-8?B?SsO8cmdlbiBHcm/Dnw==?= Message-ID: <4c5fb964-6acb-6bb8-4eff-0bcb67d922f2@suse.com> Date: Mon, 10 Aug 2020 06:39:44 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 09.08.20 04:34, Boris Ostrovsky wrote: > On 8/7/20 4:38 AM, Juergen Gross wrote: >> @@ -377,10 +373,7 @@ static inline pte_t __pte(pteval_t val) >> { >> pteval_t ret; >> >> - if (sizeof(pteval_t) > sizeof(long)) >> - ret = PVOP_CALLEE2(pteval_t, mmu.make_pte, val, (u64)val >> 32); >> - else >> - ret = PVOP_CALLEE1(pteval_t, mmu.make_pte, val); >> + ret = PVOP_CALLEE1(pteval_t, mmu.make_pte, val); >> >> return (pte_t) { .pte = ret }; > > > Can this now simply return (pte_t) ret? I don't think so, but I can turn it into return native_make_pte(PVOP_CALLEE1(...)); Juergen