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.8 required=3.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS autolearn=ham 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 BD7E1C433E0 for ; Mon, 29 Jun 2020 11:50:03 +0000 (UTC) Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 89AE923A32 for ; Mon, 29 Jun 2020 11:50:03 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="vX+10zpV" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 89AE923A32 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1jpsIA-00066X-R7; Mon, 29 Jun 2020 11:49:42 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1jpsIA-00066S-1Y for xen-devel@lists.xenproject.org; Mon, 29 Jun 2020 11:49:42 +0000 X-Inumbo-ID: 9de5d110-b9fe-11ea-8496-bc764e2007e4 Received: from mail-wr1-x444.google.com (unknown [2a00:1450:4864:20::444]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id 9de5d110-b9fe-11ea-8496-bc764e2007e4; Mon, 29 Jun 2020 11:49:41 +0000 (UTC) Received: by mail-wr1-x444.google.com with SMTP id g18so16265377wrm.2 for ; Mon, 29 Jun 2020 04:49:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:reply-to:to:cc:references:in-reply-to:subject:date:message-id :mime-version:content-transfer-encoding:content-language :thread-index; bh=81RmdWf3FIrFu6KuRBwVUJPkgQUjijKfVyCOBzVOIYo=; b=vX+10zpVYSOeBxnrbL33b9MZk4xc9wS0LxPofOkiLM0L+ZcAFfK9t77nhcMF5rPZg6 97I3uJR4b10VzCvEyhOuM5zKT6Lh1lLuI3TgXSvXBNfwnEDJYdti/Y5mF9mu9MRgC3r2 fEAOG490uC/z+8aQDaJZL6tqdmRPvPPBdPENWBt/lKAGvtfoI1T6tJ0BHROzQg3ywu2d nLa54hKQbHwf+W5e3GoYyyV5sIjSt0ffVyu0D3L3YMSm2UpLcDHV34OUeW19ymBFcvHm PX/PgITiVczzwYK5Pdof3lCqkRh8aEGR85QGIolIEUcnVDXLCU1h+cUR1UgORWm2bvdd EYeA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:reply-to:to:cc:references:in-reply-to :subject:date:message-id:mime-version:content-transfer-encoding :content-language:thread-index; bh=81RmdWf3FIrFu6KuRBwVUJPkgQUjijKfVyCOBzVOIYo=; b=dLxjZAilFTsF+9lYXFVRvEP4fsWnfDRdaJ9q3ZWKsmKA+R9JqqsSfd/TPxWShJUiIm NtE37Uw+CRmxBtUCdO/ypz2G16eUbUFZc7BCrdNrjkXToTL209CzKUsXMQxnLYDobxUM EbvZ3EEmyiyYCVOTYAtvff0Sc6pzAQ2/tPG4u3m9w/DP9FOacTTMrl+hsOPYpXMUBwNQ 3st90NX2dvmQDjSEDwpYmtlZP+eDO1x78Hu+0FktmdR0ywU9uWXBl0q7koVjgcgo9rXS NWVQGqh9AyxcKwjhdufpQzRrUL+wzKAgoxv9YOkqoAVEUfPDsf8u11KhnP5mMllrToXn Armg== X-Gm-Message-State: AOAM5312uc0WEBDmWQuDQq898bzfv56S3Ce/JLIf44T4zyB9Pl1vt0bW v0ny9022OjXqXQvYQcw7ccA= X-Google-Smtp-Source: ABdhPJxVyUMLyoFhGN4r8M2n1tDkCdscRNgD+sb3fPNVautRgNuH+gKXihutk+llRWuz9rUt9YSxPg== X-Received: by 2002:adf:f34e:: with SMTP id e14mr16543308wrp.299.1593431380651; Mon, 29 Jun 2020 04:49:40 -0700 (PDT) Received: from CBGR90WXYV0 (54-240-197-233.amazon.com. [54.240.197.233]) by smtp.gmail.com with ESMTPSA id y16sm48327027wro.71.2020.06.29.04.49.39 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 29 Jun 2020 04:49:40 -0700 (PDT) From: Paul Durrant X-Google-Original-From: "Paul Durrant" To: "'Andrew Cooper'" , "'Xen-devel'" References: <20200629103113.9328-1-andrew.cooper3@citrix.com> In-Reply-To: <20200629103113.9328-1-andrew.cooper3@citrix.com> Subject: RE: [PATCH] x86/boot: Don't disable PV32 when XEN_SHSTK is compiled out Date: Mon, 29 Jun 2020 12:49:38 +0100 Message-ID: <000701d64e0b$5f0c59a0$1d250ce0$@xen.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Outlook 16.0 Content-Language: en-gb Thread-Index: AQFLqu8eC5z5XvXfLQMJf8ab2IBDd6oEwKug X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Reply-To: paul@xen.org Cc: 'Wei Liu' , 'Jan Beulich' , =?utf-8?Q?'Roger_Pau_Monn=C3=A9'?= Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" > -----Original Message----- > From: Andrew Cooper > Sent: 29 June 2020 11:31 > To: Xen-devel > Cc: Andrew Cooper ; Jan Beulich = ; Wei Liu ; > Roger Pau Monn=C3=A9 ; Paul Durrant = > Subject: [PATCH] x86/boot: Don't disable PV32 when XEN_SHSTK is = compiled out >=20 > There is no need to automatically disable PV32 support on = SHSTK-capable > hardware if Xen isn't actually using the feature. >=20 > Signed-off-by: Andrew Cooper > --- > CC: Jan Beulich > CC: Wei Liu > CC: Roger Pau Monn=C3=A9 > CC: Paul Durrant >=20 > For 4.14. Minor bugfix. Release-acked-by: Paul Durrant > --- > xen/arch/x86/setup.c | 4 ++++ > 1 file changed, 4 insertions(+) >=20 > diff --git a/xen/arch/x86/setup.c b/xen/arch/x86/setup.c > index 2aa1cd50b8..c9b6af826d 100644 > --- a/xen/arch/x86/setup.c > +++ b/xen/arch/x86/setup.c > @@ -95,7 +95,11 @@ unsigned long __initdata highmem_start; > size_param("highmem-start", highmem_start); > #endif >=20 > +#ifdef CONFIG_XEN_SHSTK > static bool __initdata opt_xen_shstk =3D true; > +#else > +#define opt_xen_shstk false > +#endif >=20 > static int __init parse_cet(const char *s) > { > -- > 2.11.0