From nobody Mon Feb 9 20:30:17 2026 Received: from mail.zytor.com (terminus.zytor.com [198.137.202.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9040342317B for ; Tue, 20 Jan 2026 19:54:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.137.202.136 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768938899; cv=none; b=J0M5IemdWFxqyExRITpX6sIpbbc5Jo1YCzESE3dSPKDWmrRb13DkfEHjvM1L6UzrApLiI5KRBvBfgW8ClMCgrHL/zvkfdRX2qTI9ZSuc+sctUyeeyCTzJk9qlUtaWLSjLJ0Axyv/wkwcy15c7qTytRJKZmGoBu6pokae3CKO+X8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768938899; c=relaxed/simple; bh=Bj2ziLTpsCe5BZ24TEUz3Ts+WdMM2I5uygLOAv1e9t0=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=F3Xg6q+lGFR8YJ3D7Tyj/r/f2vCDBw15NtH0yGguK9ImPu+LQ/ESt6eciptYvMjdn+GOD2VCT+JlgzFAPRLAdCrsO2BAahyHuMG0217iLhi5gYuKMSwOXYAh58oSl2HRwkbJK+OxxVJ4vBJDWdp3CMQRK/mxAgV9BfZNGPO1nNU= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=zytor.com; spf=pass smtp.mailfrom=zytor.com; dkim=pass (2048-bit key) header.d=zytor.com header.i=@zytor.com header.b=KZ6eEuJj; arc=none smtp.client-ip=198.137.202.136 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=zytor.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=zytor.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=zytor.com header.i=@zytor.com header.b="KZ6eEuJj" Received: from mail.zytor.com ([IPv6:2601:646:8081:9483:12c5:bc8e:d949:3497]) (authenticated bits=0) by mail.zytor.com (8.18.1/8.17.1) with ESMTPSA id 60KJsD3D3899199 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Tue, 20 Jan 2026 11:54:24 -0800 DKIM-Filter: OpenDKIM Filter v2.11.0 mail.zytor.com 60KJsD3D3899199 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zytor.com; s=2025122301; t=1768938865; bh=NFUby8qM7aSboPB+19i5VTqV1XhLfa94fpQvQMZdh8w=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=KZ6eEuJjaJWvwk32R5nWuywpM+YX0vVnQ4Kf4tDuaRmmeF9nS6kCU2BWo9dKNHwfu 4poXUrgs9K5DIBQ6Iehnx4arYi70TdGLBuBsh1axVDEAr7iTICSH5cEYgNClH0qacO tLPOysoVPqDn4amUC1ismo9N5hdTO24EwVi9nElhE7H58KhJHQk5sjWyxv+eWNh3jr r1nxNbl6s5DmQ5qg0X1eO1R6+UTQ2pzA3jqsPcJvBs5Kl/h2NDhN00eK28RggFTUHU x7OJWbTafxyDHm2cHN4qAODlBAUNzU0z5zuMHsOkUo/bZ+h/iq+SprbHK9bp5Ifofh uEWykPdUp+ufA== From: "H. Peter Anvin" To: Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , Uros Bizjak , Petr Mladek , Andrew Morton , Kees Cook , "Peter Zijlstra (Intel)" , Nathan Chancellor , Kiryl Shutsemau , Rick Edgecombe Cc: "H. Peter Anvin" , linux-kernel@vger.kernel.org, linux-coco@lists.linux.dev, x86@kernel.org Subject: [PATCH v1 06/14] x86/boot: add comment barriers for the different headers Date: Tue, 20 Jan 2026 11:53:58 -0800 Message-ID: <20260120195407.1163051-7-hpa@zytor.com> X-Mailer: git-send-email 2.52.0 In-Reply-To: <20260120195407.1163051-1-hpa@zytor.com> References: <20260119192923.651588-1-hpa@zytor.com> <20260120195407.1163051-1-hpa@zytor.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Add better comment barriers at the top of the PECOFF header and the bzImage header to make it easier to find the source for the respective chunks of data. Signed-off-by: H. Peter Anvin (Intel) --- arch/x86/boot/header.S | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/arch/x86/boot/header.S b/arch/x86/boot/header.S index 5a54d33e51c2..d74db02928e6 100644 --- a/arch/x86/boot/header.S +++ b/arch/x86/boot/header.S @@ -40,6 +40,9 @@ SYSSEG =3D 0x1000 /* historical load address >> 4 */ .set falign, 0x200 =20 .code16 + +# EFI PECOFF header ######################################################= #### + .section ".header", "a" #ifdef CONFIG_EFI_STUB # "MZ", MS-DOS header @@ -224,6 +227,8 @@ pecompat_fstart: =20 #endif /* CONFIG_EFI_STUB */ =20 +# bzImage header #########################################################= #### + # hdr should be at address 0x1f1; -2 for the sentinel .org 0x1f1-2, 0xff # Fill with 0xff =20 @@ -545,7 +550,7 @@ kernel_info_offset: .long ZO_kernel_info .globl end_of_bzheader end_of_bzheader: =20 -# End of setup header ##################################################### +# End of bzImage header ##################################################= #### =20 .section ".entrytext", "ax" .globl start_of_setup --=20 2.52.0