From nobody Sun Feb 8 12:31:16 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=fail(p=none dis=none) header.from=citrix.com ARC-Seal: i=1; a=rsa-sha256; t=1591204198; cv=none; d=zohomail.com; s=zohoarc; b=IJ0PPvm6pCY1iCa6GaOATQpel3ua4OQSkh3u6IPH/cc/E+AKIJDT1vAv1Ka01b0fQ/++vHy6FecpdU1TMTugST81fgO1fFrtekgCr6olKC2+hvX1zp00jVDGid3RnYADy97yAatiupcu/vu4p9wRK5WlSvQwzCUfTyNnzmgGL/A= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1591204198; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:To; bh=38lep4dO9J9ZkErrOesG6H1BVFhbPvEnbGPOhN/cXfM=; b=ZobkC2DD8xUmRT8QHudMz2T8LZxIt0NCN8JBQ+zgqLJ+115AfgPvCRiARJJ3FCopAGZvejjn8W4SiuOxaMXWWferJ5A4puYkrdRM/T1Q8zz8aiCY9V+8UPJ1pIVEQaG+Sl8Fk8m1TG4yd9hdmvYJtOmWzKYELLirvnXNxnU71lM= ARC-Authentication-Results: i=1; mx.zohomail.com; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1591204198381185.13935958715706; Wed, 3 Jun 2020 10:09:58 -0700 (PDT) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1jgWtb-0004ld-Ak; Wed, 03 Jun 2020 17:09:43 +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 1jgWta-0004lX-SN for xen-devel@lists.xenproject.org; Wed, 03 Jun 2020 17:09:42 +0000 Received: from esa2.hc3370-68.iphmx.com (unknown [216.71.145.153]) by us1-amaz-eas2.inumbo.com (Halon) with ESMTPS id 039812ee-a5bd-11ea-ad6e-12813bfff9fa; Wed, 03 Jun 2020 17:09:42 +0000 (UTC) X-Inumbo-ID: 039812ee-a5bd-11ea-ad6e-12813bfff9fa Authentication-Results: esa2.hc3370-68.iphmx.com; dkim=none (message not signed) header.i=none IronPort-SDR: RxCigYnqJ8jwZmk/BnaWuBkWK8CJG/CYdKGnGEhOOGkJ4ti0ZQx2I4/eBYI1ciJvXNT/LAl0qb WuZ4vAymWUTwjMhjt6EBGNAuKoVWYiaPpVVElaim9YpiuNhh4KVQeF8I95h4ErcJ8xkoI6rjJK XGCvByEJLNcIL2CJt7hguVeem6NAdahe/3b0ALhYYPXHUARYWqtpRo1S+baVbGa4FymKMqyUsn m5mxe2AqNfC5N+33AD92hprQQZxdCmhURzEx5javsoMZl2ozYa6fKw+XFAX/nIUCKicU7grxgx rlo= X-SBRS: 2.7 X-MesageID: 19166954 X-Ironport-Server: esa2.hc3370-68.iphmx.com X-Remote-IP: 162.221.158.21 X-Policy: $RELAYED X-IronPort-AV: E=Sophos;i="5.73,468,1583211600"; d="scan'208";a="19166954" From: Andrew Cooper To: Xen-devel Subject: [PATCH for-4.14] x86/shim: Fix defconfig selection and trim the build further Date: Wed, 3 Jun 2020 18:09:08 +0100 Message-ID: <20200603170908.13239-1-andrew.cooper3@citrix.com> X-Mailer: git-send-email 2.11.0 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable 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: , Cc: Juergen Gross , Wei Liu , Paul Durrant , Andrew Cooper , Dario Faggioli , Jan Beulich , =?UTF-8?q?Roger=20Pau=20Monn=C3=A9?= Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" Several options (TBOOT, XENOPROF, Scheduler) depend on EXPERT to be able to deselect/configure. Enabling EXPERT now causes the request of the Credit1 scheduler to be honou= red (rather than giving us Credit2), but take this opportunity to switch to Nul= l, as the previously problematic issues are now believed to be fixed. Enabling EXPERT also allows XEN_SHSTK to be selected, and we don't want this being built for shim. We also don't want TRACEBUFFER or GDBSX either. Take this oppotunity to swap the disable of HVM_FEP for a general disable of HVM (likely to have wider impliciations in the future), and disable ARGO (w= ill necesserily need plumbing work to function in shim). Signed-off-by: Andrew Cooper Reviewed-by: Jan Beulich --- CC: Jan Beulich CC: Wei Liu CC: Roger Pau Monn=C3=A9 CC: Juergen Gross CC: Paul Durrant CC: Dario Faggioli --- xen/arch/x86/configs/pvshim_defconfig | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/xen/arch/x86/configs/pvshim_defconfig b/xen/arch/x86/configs/p= vshim_defconfig index 830660e022..3af48d6c06 100644 --- a/xen/arch/x86/configs/pvshim_defconfig +++ b/xen/arch/x86/configs/pvshim_defconfig @@ -5,19 +5,25 @@ CONFIG_PVH_GUEST=3Dy CONFIG_PV_SHIM=3Dy CONFIG_PV_SHIM_EXCLUSIVE=3Dy CONFIG_NR_CPUS=3D32 +CONFIG_EXPERT=3Dy +CONFIG_SCHED_NULL=3Dy # Disable features not used by the PV shim +# CONFIG_HVM is not set +# CONFIG_XEN_SHSTK is not set # CONFIG_HYPFS is not set # CONFIG_SHADOW_PAGING is not set # CONFIG_BIGMEM is not set -# CONFIG_HVM_FEP is not set # CONFIG_TBOOT is not set # CONFIG_KEXEC is not set # CONFIG_XENOPROF is not set # CONFIG_XSM is not set +# CONFIG_ARGO is not set +# CONFIG_SCHED_CREDIT is not set # CONFIG_SCHED_CREDIT2 is not set # CONFIG_SCHED_RTDS is not set # CONFIG_SCHED_ARINC653 is not set -# CONFIG_SCHED_NULL is not set # CONFIG_LIVEPATCH is not set # CONFIG_SUPPRESS_DUPLICATE_SYMBOL_WARNINGS is not set +# CONFIG_TRACEBUFFER is not set # CONFIG_DEBUG is not set +# CONFIG_GDBSX is not set --=20 2.11.0