From: Frediano Ziglio <freddy77@gmail.com>
To: xen-devel@lists.xenproject.org
Cc: "Frediano Ziglio" <frediano.ziglio@citrix.com>,
"Daniel P. Smith" <dpsmith@apertussolutions.com>,
"Jan Beulich" <jbeulich@suse.com>,
"Andrew Cooper" <andrew.cooper3@citrix.com>,
"Roger Pau Monné" <roger.pau@citrix.com>,
"Teddy Astie" <teddy.astie@vates.tech>,
"Marek Marczykowski-Górecki" <marmarek@invisiblethingslab.com>
Subject: [PATCH v5 5/5] x86/boot: Exclude not used string
Date: Fri, 26 Jun 2026 13:36:45 +0100 [thread overview]
Message-ID: <20260626123645.229375-6-frediano.ziglio@citrix.com> (raw)
In-Reply-To: <20260626123645.229375-1-frediano.ziglio@citrix.com>
If CONFIG_REQUIRE_NX is not enabled the string is not used.
Signed-off-by: Frediano Ziglio <frediano.ziglio@citrix.com>
---
xen/arch/x86/boot/head.S | 2 ++
1 file changed, 2 insertions(+)
diff --git a/xen/arch/x86/boot/head.S b/xen/arch/x86/boot/head.S
index ebdc562207..981f262b5e 100644
--- a/xen/arch/x86/boot/head.S
+++ b/xen/arch/x86/boot/head.S
@@ -133,7 +133,9 @@ multiboot2_header:
.Lbad_ldr_nbs: .asciz "ERR: Bootloader shutdown EFI x64 boot services!"
.Lbad_efi_msg: .asciz "ERR: EFI IA-32 platforms are not supported!"
.Lbag_alg_msg: .asciz "ERR: Xen must be loaded at a 2Mb boundary!"
+#ifdef CONFIG_REQUIRE_NX
.Lno_nx_msg: .asciz "ERR: Not an NX-capable CPU!"
+#endif
.section .init.data.multiboot, "aw", @progbits
.align 4
--
2.43.0
next prev parent reply other threads:[~2026-06-26 12:37 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-06-26 12:36 [PATCH v5 0/5] Various patches to improve Secure Boot support Frediano Ziglio
2026-06-26 12:36 ` [PATCH v5 1/5] Align relevant sections to 4KB Frediano Ziglio
2026-06-26 12:36 ` [PATCH v5 2/5] x86/efi: discard multiboot and PVH support for PE binary Frediano Ziglio
2026-06-29 13:00 ` Jan Beulich
2026-06-26 12:36 ` [PATCH v5 3/5] x86/efi: avoid a relocation in efi_arch_post_exit_boot() Frediano Ziglio
2026-06-30 13:12 ` Roger Pau Monné
2026-06-26 12:36 ` [PATCH v5 4/5] x86: Split .init section to satisfy UEFI CA memory mitigation Frediano Ziglio
2026-06-26 12:36 ` Frediano Ziglio [this message]
2026-06-29 13:59 ` [PATCH v5 5/5] x86/boot: Exclude not used string Jan Beulich
2026-06-30 11:06 ` Andrew Cooper
2026-06-30 11:33 ` Jan Beulich
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260626123645.229375-6-frediano.ziglio@citrix.com \
--to=freddy77@gmail.com \
--cc=andrew.cooper3@citrix.com \
--cc=dpsmith@apertussolutions.com \
--cc=frediano.ziglio@citrix.com \
--cc=jbeulich@suse.com \
--cc=marmarek@invisiblethingslab.com \
--cc=roger.pau@citrix.com \
--cc=teddy.astie@vates.tech \
--cc=xen-devel@lists.xenproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.