Skip to content

x86/boot: Improve MBI2 structure check (was: Reduce assembly code)

Frediano Ziglio xen-devel 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v10 Latest2 patches 2 repliesIn review
  2. v92 patches 2 repliesSuperseded
  3. v82 patches 6 repliesSuperseded

Changes in v10 from the cover letter

- minor messages updates.

Patches in v10 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2x86/boot: Align mbi2.c stack to 16 bytesxen/arch/x86/efi/Makefile+2 -20 replies
2/2x86/boot: Improve MBI2 structure checkxen/arch/x86/efi/mbi2.c+5 -20 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchJan BeulichMarek Marczykowski-Górecki
SeriesA-b
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v10 thread

Cover letter [PATCH v10 0/2] x86/boot: Improve MBI2 structure check (was: Reduce assembly code)

This series came from part of the work of removing duplications between boot code and rewriting part of code from assembly to C.

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.

Changes since v7:
- removed merged parts;
- add required stack alignment.

Changes since v8:
- added "Fixes:" line;
- typo in commit message: Adler -> Alder;
- add ".init" to mbi2.o;
- reduce difference in Makefile.

Changes since v9:
- minor messages updates.

Frediano Ziglio (2):
x86/boot: Align mbi2.c stack to 16 bytes
x86/boot: Improve MBI2 structure check

 xen/arch/x86/efi/Makefile | 4 ++--
 xen/arch/x86/efi/mbi2.c   | 7 +++++--
 2 files changed, 7 insertions(+), 4 deletions(-)
Signature · 1 line
2.34.1