From: "Marek Marczykowski-Górecki" <marmarek@invisiblethingslab.com>
To: Frediano Ziglio <frediano.ziglio@cloud.com>
Cc: xen-devel@lists.xenproject.org, "Jan Beulich" <jbeulich@suse.com>,
"Andrew Cooper" <andrew.cooper3@citrix.com>,
"Roger Pau Monné" <roger.pau@citrix.com>,
"Daniel P. Smith" <dpsmith@apertussolutions.com>
Subject: Re: [PATCH v7 0/2] x86/boot: Reduce assembly code
Date: Wed, 2 Oct 2024 16:04:34 +0200 [thread overview]
Message-ID: <Zv1S88isxSSMuqqk@mail-itl> (raw)
In-Reply-To: <20241001102239.2609631-1-frediano.ziglio@cloud.com>
[-- Attachment #1: Type: text/plain, Size: 2416 bytes --]
On Tue, Oct 01, 2024 at 11:22:37AM +0100, Frediano Ziglio wrote:
> This series came from part of the work of removing duplications between
> boot code and rewriting part of code from assembly to C.
> Rewrites EFI code in pure C.
The MB2+EFI tests on Adler Lake fail with this series:
https://gitlab.com/xen-project/people/marmarek/xen/-/pipelines/1478766782
Looking at the VGA output (unfortunately not collected by the test
itself) it hangs just after bootloader, before printing anything on the
screen (or even clearing it after bootloader). The serial is silent too.
It does pass on Zen 3+ runners.
Since there were some issues with the ADL runner today on plain staging,
I'm not 100% sure if it isn't some infrastructure issue yet. But the
symptoms look different than usual infra issues (and different than
todays failures on staging), so I think it's more likely an issue with
the patches here.
> Changes since v1, more details in specific commits:
> - style updates;
> - comments and descriptions improvements;
> - other improvements.
>
> Changes since v2:
> - rebased on master, resolved conflicts;
> - add comment on trampoline section.
>
> Changes since v3:
> - changed new function name;
> - declare efi_multiboot2 in a separate header;
> - distinguish entry point from using magic number;
> - other minor changes (see commens in commits).
>
> Changes since v4:
> - rebase on staging;
> - set %fs and %gs as other segment registers;
> - style and other changes.
>
> Changes since v5:
> - fixed a typo.
>
> Changes since v6:
> - remove merged patch;
> - comment and style;
> - change some pointer checks to avoid overflows;
> - rename parse-mbi2.c to mbi2.c.
>
> Frediano Ziglio (2):
> x86/boot: Rewrite EFI/MBI2 code partly in C
> x86/boot: Improve MBI2 structure check
>
> xen/arch/x86/boot/head.S | 146 +++++++--------------------------
> xen/arch/x86/efi/Makefile | 1 +
> xen/arch/x86/efi/efi-boot.h | 7 +-
> xen/arch/x86/efi/mbi2.c | 66 +++++++++++++++
> xen/arch/x86/efi/stub.c | 10 +--
> xen/arch/x86/include/asm/efi.h | 18 ++++
> 6 files changed, 123 insertions(+), 125 deletions(-)
> create mode 100644 xen/arch/x86/efi/mbi2.c
> create mode 100644 xen/arch/x86/include/asm/efi.h
>
> --
> 2.34.1
>
--
Best Regards,
Marek Marczykowski-Górecki
Invisible Things Lab
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
next prev parent reply other threads:[~2024-10-02 14:05 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-01 10:22 [PATCH v7 0/2] x86/boot: Reduce assembly code Frediano Ziglio
2024-10-01 10:22 ` [PATCH v7 1/2] x86/boot: Rewrite EFI/MBI2 code partly in C Frediano Ziglio
2024-10-02 6:48 ` Jan Beulich
2024-10-02 14:31 ` Daniel P. Smith
2024-10-03 11:40 ` Marek Marczykowski-Górecki
2024-10-01 10:22 ` [PATCH v7 2/2] x86/boot: Improve MBI2 structure check Frediano Ziglio
2024-10-01 16:02 ` Jan Beulich
2024-10-03 12:57 ` Frediano Ziglio
2024-10-02 14:04 ` Marek Marczykowski-Górecki [this message]
2024-10-02 15:27 ` [PATCH v7 0/2] x86/boot: Reduce assembly code Frediano Ziglio
2024-10-03 1:11 ` Marek Marczykowski-Górecki
2024-10-03 7:46 ` Andrew Cooper
2024-10-03 9:27 ` Frediano Ziglio
2024-10-03 10:46 ` Marek Marczykowski-Górecki
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=Zv1S88isxSSMuqqk@mail-itl \
--to=marmarek@invisiblethingslab.com \
--cc=andrew.cooper3@citrix.com \
--cc=dpsmith@apertussolutions.com \
--cc=frediano.ziglio@cloud.com \
--cc=jbeulich@suse.com \
--cc=roger.pau@citrix.com \
--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.