Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp4098659pxj; Mon, 24 May 2021 23:57:44 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyX9Ybc2wwua0/t/nOBjVVGPn4hfy2UdTyd9Z7ZEIcNnA2Y/4M6cocSm8klv31oPM1k6VX2 X-Received: by 2002:a05:6402:3548:: with SMTP id f8mr29406662edd.251.1621925864075; Mon, 24 May 2021 23:57:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621925864; cv=none; d=google.com; s=arc-20160816; b=ad5MuBqDHqVGDsJ87obQQDBngLbhI6i+ly3anig8ZDO4ijNIdByM0gidBtX8DHqUn8 vkdCUDd7M5lXtrmz8UUUvLwKO5L97JbcaVWFBtsuOwpXa41u8v3Ac8NfuK/LuDZF2dli BRWg5EwxlvQVLaMFlkl9l2p0pX9Agb4pnTh7P9AQ+q6/0K4fgm0wYjdXuxA/ebcqm/tN OfKRpw9iYZGPul1SuEYJ+mANICofjzXXHuQronN526ZJT3XfkBcUU17E1uoIC5KF/Pf6 eDfPmNPy4+Y4tkvP9HoWpU7xbu1ukA/Ev8h2M9rtVcN3d1AaEOyLXWutqGxSc6UefkF+ Kr6Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=+/jO1BmvAO4TjQ2HX8H0UdxiiO6Yy1AJ3SEuzfUFz2Q=; b=Qw/hsLNzStjMe9Ji8c3aedpI9KRPzS58FnFBs/TiAM13tEcHeAlLjyj0G5cZYIxXc3 e4LSbEkhoJeNbCBPb7pNSjcLug1ktkl1v40yDoPeElMK1D76ssTpi2z6fnD5h4VVaXwU BRAmgH/mlSc0P0HISk4tRnVdGz4ncUlPFVs2KoKLuNvX0/UCoaxOhka6mtMGvxY58c5B TNLJ//ybmaeektxYw/rL08K6y8fix4MofgSP6Zv2reN+KojdXHNYmbe4nLt8Fvzjco5n S17B3ke0I6H50EREDQwOAEodQgd37HJ1JT7N2STA75zF8IspVOoW+gbcFA/M7flqGig9 5Cnw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=ohnjmdXL; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u5si15489580ejy.632.2021.05.24.23.57.21; Mon, 24 May 2021 23:57:44 -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; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=ohnjmdXL; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231411AbhEYG5E (ORCPT + 99 others); Tue, 25 May 2021 02:57:04 -0400 Received: from mail.kernel.org ([198.145.29.99]:52948 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230366AbhEYG5D (ORCPT ); Tue, 25 May 2021 02:57:03 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 6665D61417; Tue, 25 May 2021 06:55:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1621925732; bh=KzcD+yyJhkvHnIKmLFZm/MBQqaSxeCJHv8NOc/JudtA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ohnjmdXLA/KsYRM1o+7vsidxmvBMohyR9midcR3+y2YOue8P7rNapRzyqpgzER/l/ juGhVVxLGBARgWJFrfxFugREzK5W5zN+HpFeSDscsa7RYnzPTi2WKCYRsSFxm3lGBO 5vszHs89trg7jaDzhNKV7ab2lbfzb2HweASYQIrc= Date: Tue, 25 May 2021 08:55:30 +0200 From: Greg Kroah-Hartman To: Juergen Gross Cc: linux-kernel@vger.kernel.org, stable@vger.kernel.org, Olaf Hering , Jan Beulich Subject: Re: [PATCH 4.19 49/49] x86/Xen: swap NX determination and GDT setup on BSP Message-ID: References: <20210524152324.382084875@linuxfoundation.org> <20210524152325.958181984@linuxfoundation.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, May 25, 2021 at 07:11:21AM +0200, Juergen Gross wrote: > On 24.05.21 17:26, Greg Kroah-Hartman wrote: > > From: Jan Beulich > > > > commit ae897fda4f507e4b239f0bdfd578b3688ca96fb4 upstream. > > > > xen_setup_gdt(), via xen_load_gdt_boot(), wants to adjust page tables. > > For this to work when NX is not available, x86_configure_nx() needs to > > be called first. > > > > [jgross] Note that this is a revert of 36104cb9012a82e73 ("x86/xen: > > Delay get_cpu_cap until stack canary is established"), which is possible > > now that we no longer support running as PV guest in 32-bit mode. > > > > Cc: # 5.9 > > Sorry for messing up the stable link, but please don't include this > patch in stable kernels before 5.9 Now dropped, thanks for reminding me. greg k-h