Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 78C2AC43458 for ; Mon, 6 Jul 2026 10:46:38 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.1355302.1610067 (Exim 4.92) (envelope-from ) id 1wggq1-0002XE-LJ; Mon, 06 Jul 2026 10:46:09 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 1355302.1610067; Mon, 06 Jul 2026 10:46:09 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1wggq1-0002X2-IE; Mon, 06 Jul 2026 10:46:09 +0000 Received: by outflank-mailman (input) for mailman id 1355302; Mon, 06 Jul 2026 10:46:08 +0000 Received: from mx.expurgate.net ([195.190.135.10]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1wggq0-0002Tt-21 for xen-devel@lists.xenproject.org; Mon, 06 Jul 2026 10:46:08 +0000 Received: from mx.expurgate.net (helo=localhost) by mx.expurgate.net with esmtp id 1wggpy-000ZXT-9R for xen-devel@lists.xenproject.org; Mon, 06 Jul 2026 12:46:06 +0200 Received: from [10.42.69.3] (helo=localhost) by localhost with ESMTP (eXpurgate MTA 0.9.1) (envelope-from ) id 6a4b8767-bab6-0a2a0a5309dd-0a2a4503a7dc-8 for ; Mon, 06 Jul 2026 12:46:06 +0200 Received: from [209.85.128.51] (helo=mail-wm1-f51.google.com) by tlsNG-33051d.mxtls.expurgate.net with ESMTPS (eXpurgate 4.57.1) (envelope-from ) id 6a4b876d-ec1a-0a2a45030019-d1558033e462-3 for ; Mon, 06 Jul 2026 12:46:05 +0200 Received: by mail-wm1-f51.google.com with SMTP id 5b1f17b1804b1-493bc8fda98so31521005e9.0 for ; Mon, 06 Jul 2026 03:46:05 -0700 (PDT) Received: from localhost.localdomain (2.115.147.147.dyn.plus.net. [147.147.115.2]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-493c63ba97csm349823985e9.12.2026.07.06.03.46.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Jul 2026 03:46:04 -0700 (PDT) X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" Authentication-Results: eu.smtp.expurgate.cloud; dkim=pass header.s=20251104 header.d=gmail.com header.i="@gmail.com" header.h="Content-Transfer-Encoding:MIME-Version:Message-ID:Date:Subject:Cc:To:From" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1783334765; x=1783939565; darn=lists.xenproject.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=v7aCS+tom3MSY5t1l2i/KOcaOh0j2oRAZ+UcV1Ly1oE=; b=nD906+yx2QPGN77Jj7dbo+qE22c2r1EOelHiaW6iRJcYiWftUhItdCwpD3vt5qigSf hXcXRSefgH0o3uYL6WHY4KjjN0olVFW/2zjiRTEArzn6p2srRmQHJ6dqOd2pPlhHlpZT vQuj2NGB/lnivpjJV5CTUGR882FEPxr7NGST+46nj5LG02b+sKp0B+syGg7iWNfBrU42 +1vO4ZhFip7cKtKeKWaUESRgi6arn0OeMmmkUqhQMaFeB2pfcvdV6XQuwPiuzBYkXbec NDw7kc3WA3/MvfQFQvrLtlazLLpAB5M38VX0v52t38DBUkzF7qKGJJa84pcXCoWz7JOZ EBcQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1783334765; x=1783939565; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=v7aCS+tom3MSY5t1l2i/KOcaOh0j2oRAZ+UcV1Ly1oE=; b=jkmbkl/9GKoNvVx/plRCOJYvMDBibyhWYffl0uU7egwY7cy9QjqGQ+7zn+6RbNg1Q1 OYcYoFvhckSMdfrv8a+QBFv1lAGCAIhtQ3DYr8HxK8m5nY/ZWedCDh8jNkkjceMKa0fD KOTvDiBdWSOyW2LrDjqwZKDc/jWv7IxupMkyboCsDuQ78mxYBnnF5MYdvBJt1qa29faH /7Ba80qHkPZsp8t2MRu5Tmr3HlOfuN6sY3VbZHwqNCfloreGcyeM9w6DNF6u1zoHgniO GhlxTiR3sT001a27gr3cXeqn6pIDxRW54oYOnIw51/gmxEiklMxFbp40kNfgMkUKFUws qgKQ== X-Gm-Message-State: AOJu0YxnQmiAv/woqVeCrobFEoRkO0eOvajEFZYq2HzsENv/Pe+yVyA/ +IlYioj3z4yYxXCSUhasX5widMdq3s8x15MG6Joh3PyRM9VrUZgz57NaHs3eWZdzrNA= X-Gm-Gg: AfdE7cnHtwyvZAV9/5x0eQ+6jbCcf65cPhLiMsOsJx6Aj1yq4OwynVprseGbQvMYSqe lPn/RT8Fjwrxrv/nimPqlo1XpEHanfG0I+yxYOUr8Sc0vhjHZYZwVfQhI439a+h4f4lzqnh5qXa 4DJkxK0Pha6mxvPu91rn3eGOM9x88FMe0Q0xo/tR2Bb8ghf9FA3pzK9SoweYpQKVv+WU/2uMJ1Y Ue2VbBxdrXUy+YXUN6QmO7bB3lA6F/v122hLs2kHyLpruYdvY1lXwGWNR9TAvmL3tO5G1ua9QNA 5F8ULS9CBN1E6j5PoVm/eJOXvpIo+ZAcMRbFX4jl0jmq4FsrQTpJMvDvBbr/e8R00OnL2kxpwlb gMunT2LEJSq1RIp9UKlbRqULm9y/Wa/18KiP5yNjcvHsZg8nIQ5y8c+wLflKdENMyJOm6Aa1eYt S4r9PPfmb55clkeaK29zKX6yoWbM7vVEgU79+7yDek66cpUMdKBMrnL+MkhK6cPTD0WIJPUAuS8 WaC4SU19bo60CvnmX8= X-Received: by 2002:a05:600c:c1c8:10b0:492:1e36:1fe9 with SMTP id 5b1f17b1804b1-493d11fafa3mr78861435e9.37.1783334764770; Mon, 06 Jul 2026 03:46:04 -0700 (PDT) From: Frediano Ziglio X-Google-Original-From: Frediano Ziglio To: xen-devel@lists.xenproject.org Cc: Frediano Ziglio , Jan Beulich , Andrew Cooper , =?UTF-8?q?Roger=20Pau=20Monn=C3=A9?= , Teddy Astie , Anthony PERARD , Michal Orzel , Julien Grall , Stefano Stabellini , "Daniel P. Smith" , =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Subject: [PATCH v7 0/4] Various patches to improve Secure Boot support Date: Mon, 6 Jul 2026 11:45:53 +0100 Message-ID: <20260706104557.430097-1-frediano.ziglio@citrix.com> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-purgate-ID: tlsNG-33051d/1783334765-077265D1-E6D30084/0/0 X-purgate-type: clean X-purgate-size: 1491 These patches improve support for Secure boot. UEFI CA memory mitigation requires memory pages to be not executable and writable at the same time. So changing permissions and splitting some section is required. Remove multiboot pieces from EFI executable. Changes since v1: - improved some comments; - merged 2 pacthes removing multiboot support in x86 PE; - removed a patch dealing with SBAT; - other minor changes (see single patches). Changes since v2: - improved some comments. Changes since v3: - Added Acked-by; - Improve commit message. Changes since v4: - Messages updates; - Clean some dependencies cause by code removal; - Add small commit to remove a possibly unused string. Changes since v5: - removed merged commit; - remove more code/data from xen.efi output. Changes since v6: - fix commit message. Frediano Ziglio (2): Align relevant sections to 4KB x86: Split .init section to satisfy UEFI CA memory mitigation Roger Pau Monné (2): x86/efi: discard multiboot and PVH support for PE binary x86/efi: avoid a relocation in efi_arch_post_exit_boot() docs/hypervisor-guide/x86/how-xen-boots.rst | 6 ----- xen/arch/x86/boot/head.S | 8 +++---- xen/arch/x86/efi/efi-boot.h | 7 ++++-- xen/arch/x86/xen.lds.S | 25 ++++++++++++--------- xen/tools/combine_two_binaries.py | 2 +- 5 files changed, 25 insertions(+), 23 deletions(-) -- 2.43.0