Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp1865362ybb; Thu, 9 Apr 2020 10:25:21 -0700 (PDT) X-Google-Smtp-Source: APiQypKAuLRrdz9wWqbaOis1hSuj6hw5rH7nITFfGJ/ElvFMcIPN4D1Leuy7nPVxXFvcPc/XqCrW X-Received: by 2002:ac8:7246:: with SMTP id l6mr438288qtp.298.1586453121690; Thu, 09 Apr 2020 10:25:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586453121; cv=none; d=google.com; s=arc-20160816; b=hMRR7/2zzpH6BjvK8PZWq+y/gNhumkN0h0QCuOpqZ4SBJtmDdWb08XL9P14VBf8Z1b NExE6uiLuRD1kbNmGTToMMRpa9X0TiqB4nNIXwz+ZriYOvZXgN4qJgpD2AasU88aMYmM PmDDObh2h5/kFn+FHbfE+6PFUtvuW8CtPIB3zrrILGR9eqcSBN4B+REnQ5lCvQduSM94 znFB4dclMjuCOBR3SolgfRGQBEybtX4mAeGedvw6xVXgFhFUKrOH7hc10rl2ji+U32FU nyDxLmLakyLIVpFTKqCe2QJ7GSY2MptFOhoWMNiVBKm7C1b4RuWHsvSMNl4eFA7TjwGv xRag== 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=vluU0Xeg4i5Dhn9rB6W0HQx7o0xVJsjrhajKqgziv/k=; b=ZBhz573A5j79jcRv0APODABLMbEdE3IB1i90tOkv2eB0ggWQrxJAtwYFbJN4vebSOh gPiquRVk08dm4S1O5gUU/uj7W9rxIpwe4GMC313nk/FW+yQMmB/ihvvVA/N5ztOVCkYj yl1bmgM9Nq6bx7sK4whxoecoi5uQ1iKcHXqlSkptyHjJ5if6GwLA3W9rkcIaSc2IYlIn wmDvAWf8DGOdz9DJPcvCmYPPtXkwMOTSWOxmETM53YxBIf8FvuLP9+jAzjYOdhbFRuL8 /9kxeIqEpqQMTURXm8Kw9k7phgdivw7IKmyjYvpF6UVEbP5GuvdyCYJwCwJXEYf1t5xJ KzDg== 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 z12si6145996qkf.199.2020.04.09.10.25.03; Thu, 09 Apr 2020 10:25:21 -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 S1727850AbgDIOw4 (ORCPT + 99 others); Thu, 9 Apr 2020 10:52:56 -0400 Received: from mx2.suse.de ([195.135.220.15]:58338 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726940AbgDIOw4 (ORCPT ); Thu, 9 Apr 2020 10:52:56 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 02BAEAD10; Thu, 9 Apr 2020 14:52:54 +0000 (UTC) Subject: Re: [PATCH] x86/xen: fix booting 32-bit pv guest To: Boris Ostrovsky , xen-devel@lists.xenproject.org, x86@kernel.org, linux-kernel@vger.kernel.org Cc: Stefano Stabellini , Thomas Gleixner , Ingo Molnar , Borislav Petkov , "H. Peter Anvin" References: <20200409070001.16675-1-jgross@suse.com> From: =?UTF-8?B?SsO8cmdlbiBHcm/Dnw==?= Message-ID: Date: Thu, 9 Apr 2020 16:52:53 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.6.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.04.20 16:44, Boris Ostrovsky wrote: > > On 4/9/20 3:00 AM, Juergen Gross wrote: >> Commit 2f62f36e62daec ("x86/xen: Make the boot CPU idle task reliable") >> introduced a regression for booting 32 bit Xen PV guests: the address >> of the initial stack needs to be a virtual one. >> >> Fixes: 2f62f36e62daec ("x86/xen: Make the boot CPU idle task reliable") >> Signed-off-by: Juergen Gross > > > Reviewed-by: Boris Ostrovsky > > >> --- >> arch/x86/xen/xen-head.S | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) >> >> diff --git a/arch/x86/xen/xen-head.S b/arch/x86/xen/xen-head.S >> index 7d1c4fcbe8f7..1ba601df3a37 100644 >> --- a/arch/x86/xen/xen-head.S >> +++ b/arch/x86/xen/xen-head.S >> @@ -38,7 +38,7 @@ SYM_CODE_START(startup_xen) >> #ifdef CONFIG_X86_64 > > > While at it, I'd swap the ifdefs and fold x86_64 case into the one below. I wanted to remove 32-bit PV support from the kernel soon, so I think this can wait until then. :-) Juergen