Skip to content

RFC x86_64: Relocatable bzImage (V3)

Vivek Goyal lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest20 patches 36 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/20x86_64: Align data segment to PAGE_SIZE boundaryarch/x86_64/kernel/vmlinux.lds.S+1 -00 replies
2/20x86_64: Assembly safe page.h and pgtable.hinclude/asm-x86_64/const.h include/asm-x86_64/page.h include/asm-x86_64/pgtable.h+54 -332 replies
3/20x86_64: Kill temp_boot_pmdsarch/x86_64/kernel/head.S arch/x86_64/mm/init.c+45 -580 replies
4/20x86_64: Cleanup the early boot page tablearch/x86_64/kernel/head.S include/asm-x86_64/pgtable.h+28 -340 replies
5/20x86_64: Fix early printk to use standard ISA mappingarch/x86_64/kernel/early_printk.c+1 -20 replies
6/20x86_64: Modify copy bootdata to use virtual addressesarch/x86_64/kernel/head64.c+8 -90 replies
7/20x86_64: cleanup segmentsarch/x86_64/kernel/head.S include/asm-x86_64/segment.h+7 -70 replies
8/20x86_64: Add EFER to the set registers saved by save_processor_statearch/x86_64/kernel/suspend.c include/asm-x86_64/suspend.h+3 -11 reply
9/20x86_64: 64bit PIC SMP trampolinearch/x86_64/kernel/head.S arch/x86_64/kernel/setup.c arch/x86_64/kernel/trampoline.S+156 -223 replies
10/20x86_64: wakeup.S Remove dead codearch/x86_64/kernel/acpi/wakeup.S+1 -561 reply
11/20x86_64: wakeup.S Rename labels to reflect right register namesarch/x86_64/kernel/acpi/wakeup.S include/asm-x86_64/suspend.h+24 -241 reply
12/20x86_64: wakeup.S Misc cleanuparch/x86_64/kernel/acpi/wakeup.S+39 -722 replies
13/20x86_64: 64bit PIC ACPI wakeup trampolinearch/x86_64/kernel/acpi/sleep.c arch/x86_64/kernel/acpi/wakeup.S arch/x86_64/kernel/head.S+41 -491 reply
14/20x86_64: Modify discover_ebda to use virtual addressarch/x86_64/kernel/setup.c+2 -20 replies
15/20x86_64: Remove the identity mapping as early as possiblearch/x86_64/kernel/head.S arch/x86_64/kernel/head64.c arch/x86_64/kernel/setup.c +4 more+24 -610 replies
16/20x86_64: __pa and __pa_symbol address space separationarch/i386/kernel/alternative.c arch/i386/mm/init.c arch/x86_64/kernel/machine_kexec.c +7 more+58 -480 replies
17/20x86_64: Remove CONFIG_PHYSICAL_STARTarch/x86_64/Kconfig arch/x86_64/boot/compressed/head.S arch/x86_64/boot/compressed/misc.c +4 more+9 -313 replies
18/20x86_64: Relocatable kernel supportarch/x86_64/boot/compressed/Makefile arch/x86_64/boot/compressed/head.S arch/x86_64/boot/compressed/misc.c +4 more+532 -3182 replies
19/20x86_64: Extend bzImage protocol for relocatable kernelarch/x86_64/boot/setup.S+7 -24 replies
20/20x86_64: Move CPU verification code to common filearch/x86_64/boot/compressed/head.S arch/x86_64/boot/setup.S arch/x86_64/kernel/acpi/wakeup.S +2 more+148 -12314 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC][PATCH 0/20] x86_64: Relocatable bzImage (V3)

Hi All,

Here is the third attempt on implementing relocatable bzImage for x86_64.

Following are the changes since V2.

- Broke suspend/resume code changes into smaller patches. Pavel, I hope now it is easier to review.

- Moved cpu long mode and SSE verfication code into a single common file (arch/x86_64/kernel/verify_cpu.S). This file is not shared at all the entry places.

- Fixed a bug during resume operation on machines which support NX bit.

Your comments/suggestions are welcome.

Thanks
Vivek