Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp3684947yba; Tue, 23 Apr 2019 07:59:12 -0700 (PDT) X-Google-Smtp-Source: APXvYqzRG/rRSX7Cp9yclot+1jTbu4H/6q2GU/X8Ki459tvFoIYpcHtRuS9jZPgkZXAdMAZPiaSU X-Received: by 2002:a17:902:3324:: with SMTP id a33mr26784362plc.186.1556031551918; Tue, 23 Apr 2019 07:59:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556031551; cv=none; d=google.com; s=arc-20160816; b=akzGVobBiI96BipC7G8oiCXXb/yNoagiAI3xbPM53if15pmJ7v4pqhT3bGhIMvlKfA J5d1m09ebwOV6OIEZHFGyAgxJPOZfljYIc7+L0cYg3wrf2sgAsR7ajXcVniwhz2taMLH cZFULU0AIHwBjw2fCwJc1QTKD0aTgLP3Uge92fCnybq59rUkP6d0fbteW+lHZcgDXgQE HvZhZU5WYX7K6blpBYJ1TN1jy6Ipf6DnFFm1vt50XQeuEhZLClMjAlbev++937FQ3N/r srbuoQ7ZYhXQVT7sEJUhUj1QzIXmD2Q/QVYsGaKrDKgvW5Lg9WBM67e6HklLnjHysmsD UkBg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=5+umiFGJIpJ/LkCdT4eK+kuj//TnNRu54hNjlVxcq/g=; b=rgvX2hK0KP+kETt+TcBAAtVRWAYAlXANYaQeMUb+avCYNMCuHY27+FvaIqNVB2U7nv 7oVI3picD3PnFkxfoW/N2trYronHFzsUxpxErg/SswiLu5a+H5zQQdrsa1NXFP78rLay ebQY8LCN3jcEUtPoxKUv9QyJb6QPx0BU4VEPR5HY1Z4VaM25b80+9cWABl56flAZwyUn XKRtFyyrcQdMDGtwB1zVXVx9gk/DE68XEAPQUwv38b/fo9a079a4n0NKJWHZLU10L2HN /9S1vAvooa0QFkoyfDMeO6FgX17O1w0ZqqjVE5BNfQiSFy13iR09XBbzbnNqDAPA0T/I wk/g== 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 12si15147289pgu.111.2019.04.23.07.58.56; Tue, 23 Apr 2019 07:59:11 -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 S1728322AbfDWO5l (ORCPT + 99 others); Tue, 23 Apr 2019 10:57:41 -0400 Received: from smtp.eu.citrix.com ([185.25.65.24]:30984 "EHLO SMTP.EU.CITRIX.COM" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728300AbfDWO5l (ORCPT ); Tue, 23 Apr 2019 10:57:41 -0400 X-IronPort-AV: E=Sophos;i="5.60,386,1549929600"; d="scan'208";a="89179972" Date: Tue, 23 Apr 2019 16:56:01 +0200 From: Roger Pau =?utf-8?B?TW9ubsOp?= To: Boris Ostrovsky CC: , Juergen Gross , Subject: Re: [Xen-devel] [PATCH v2 1/2] xen/pvh: set xen_domain_type to HVM in xen_pvh_init Message-ID: <20190423145601.7qwu63sz2ycg5ywj@Air-de-Roger> References: <20190423130416.68935-1-roger.pau@citrix.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20180716 X-ClientProxiedBy: AMSPEX02CAS01.citrite.net (10.69.22.112) To AMSPEX02CL02.citrite.net (10.69.22.126) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Apr 23, 2019 at 09:37:51AM -0400, Boris Ostrovsky wrote: > On 4/23/19 9:04 AM, Roger Pau Monne wrote: > > Or else xen_domain() returns false despite xen_pvh being set. > > Is this new xen_domain() invocation somewhere in EFI initialization that > you add in the second patch? Yes, there's a xen_initial_domain() call in xen_efi_probe() which would return false without this fix. > Asking because I am trying to figure out whether this needs to go to > stable tree. I'm not aware of this being an issue without the EFI code that I add in patch 2, xen_domain_type would get set slightly later in the boot process. I guess both patches should be backported to 4.19 since that's the only LTS release that has PVH dom0 support IIRC, and it would be good to get this fixed. Thanks, Roger.