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.5 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY, 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 F17DAC43461 for ; Tue, 15 Sep 2020 10:50:15 +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 83189206DB for ; Tue, 15 Sep 2020 10:50:15 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=citrix.com header.i=@citrix.com header.b="cgq3NHSj" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 83189206DB Authentication-Results: mail.kernel.org; dmarc=fail (p=reject dis=none) header.from=citrix.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 1kI8X7-0002aU-Is; Tue, 15 Sep 2020 10:49:57 +0000 Received: from all-amaz-eas1.inumbo.com ([34.197.232.57] helo=us1-amaz-eas2.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1kI8X6-0002aN-8e for xen-devel@lists.xenproject.org; Tue, 15 Sep 2020 10:49:56 +0000 X-Inumbo-ID: b42c6e41-03c4-48e5-bcd5-f2341d5c8ee7 Received: from esa1.hc3370-68.iphmx.com (unknown [216.71.145.142]) by us1-amaz-eas2.inumbo.com (Halon) with ESMTPS id b42c6e41-03c4-48e5-bcd5-f2341d5c8ee7; Tue, 15 Sep 2020 10:49:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=citrix.com; s=securemail; t=1600166995; h=date:from:to:cc:subject:message-id:references: mime-version:content-transfer-encoding:in-reply-to; bh=MviU19StN+7gsp7YkFPZz4Co11dsk1+qZ/KnNdeMxww=; b=cgq3NHSjRxYOvutwOxPiVJBa3kT2GQVbZ5LR9ZUrCDS8mycg0APlVmr9 jc0rYAdAIblIp4eM9CL4wRpU+yJLrtLOQ/lEh8j7ob81iO7YFwo9sM/Cd fVDvmcjA8rFD88JOCtzhAaXxjP5bk4sb3y/VKbdxl+GqhvHyvAbWkRZGH I=; Authentication-Results: esa1.hc3370-68.iphmx.com; dkim=none (message not signed) header.i=none IronPort-SDR: B482KW0pY+YstqbKe8sq7+37K4nWKrdF9rismrLMIcIJBgujG0GPalWLFA1mWrk7M7ea2FNgFt zhTIRGus288s42hu/xjif+VkpSwQJ4/N7pHYrRZfMadAzOf0B2WZ2e/8Ck4QQr06zl8vcFIpaf OzG6duP+pfSMgBIbIeLkJZwU00c5MUh+gwSaobZJiyVROCecEVdE95l0Y5nerfSGrcO1zY+wnU /aeRl1o1crM8fPn0YAVjIOK3cygTvwKj6LhLXWJbAUJpbXy/NfcDpwKrlo4xzq22Wyf5ufzGzf FQY= X-SBRS: 2.7 X-MesageID: 27046373 X-Ironport-Server: esa1.hc3370-68.iphmx.com X-Remote-IP: 162.221.158.21 X-Policy: $RELAYED X-IronPort-AV: E=Sophos;i="5.76,429,1592884800"; d="scan'208";a="27046373" Date: Tue, 15 Sep 2020 12:49:39 +0200 From: Roger Pau =?utf-8?B?TW9ubsOp?= To: Jan Beulich CC: "xen-devel@lists.xenproject.org" , "Andrew Cooper" , Wei Liu , George Dunlap Subject: Re: [PATCH 2/3] x86/shim: adjust Kconfig defaults Message-ID: <20200915104939.GJ753@Air-de-Roger> References: <5d86a23c-5dea-8697-9ba1-900d35b99695@suse.com> <7eb74774-f8dc-ef97-c66d-0c4ac50ed9e0@suse.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <7eb74774-f8dc-ef97-c66d-0c4ac50ed9e0@suse.com> X-ClientProxiedBy: AMSPEX02CAS01.citrite.net (10.69.22.112) To FTLPEX02CL06.citrite.net (10.13.108.179) 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: , Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" On Mon, Sep 14, 2020 at 02:39:08PM +0200, Jan Beulich wrote: > Just like HVM, defaulting SHADOW_PAGING and TBOOT to Yes in shim- > exclusive mode makes no sense, as the respective code is dead there. > > Also adjust the shim default config file: It needs to specifiy values > only for settings where a non-default value is wanted. > > Signed-off-by: Jan Beulich Reviewed-by: Roger Pau Monné > > --- a/xen/arch/x86/Kconfig > +++ b/xen/arch/x86/Kconfig > @@ -116,9 +116,9 @@ config XEN_SHSTK > compatiblity can be provided via the PV Shim mechanism. > > config SHADOW_PAGING > - bool "Shadow Paging" > - default y > - ---help--- > + bool "Shadow Paging" > + default y if !PV_SHIM_EXCLUSIVE I think you could also do: default !PV_SHIM_EXCLUSIVE? I'm fine with using the current form. Thanks, Roger.