From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 429F4C4707F for ; Tue, 25 May 2021 06:55:37 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 2214B61417 for ; Tue, 25 May 2021 06:55:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231419AbhEYG5E (ORCPT ); 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