x86_64 Relocatable bzImage support (V4)
Status from this message: I merged them all for now. Thanks.
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/20 | x86_64: Assembly safe page.h and pgtable.hinclude/ include/ include/ | +51 | 3 replies | |
| 2/20 | x86_64: Kill temp boot pmdsarch/ arch/ | +45 | 0 replies | |
| 3/20 | x86_64: Clean up the early boot page tablearch/ include/ | +28 | 0 replies | |
| 4/20 | x86_64: Fix early printk to use standard ISA mappingarch/ | +1 | 0 replies | |
| 5/20 | x86_64: modify copy_bootdata to use virtual addressesarch/ | +8 | 0 replies | |
| 6/20 | x86_64: cleanup segmentsarch/ include/ | +7 | 0 replies | |
| 7/20 | x86_64: Add EFER to the register set saved by save_processor_statearch/ include/ | +3 | 0 replies | |
| 8/20 | x86_64: 64bit PIC SMP trampolinearch/ arch/ arch/ | +156 | 0 replies | |
| 9/20 | x86_64: Get rid of dead code in suspend resumearch/ | +1 | 0 replies | |
| 10/20 | x86_64: wakeup.S rename registers to reflect right namesarch/ include/ | +24 | 1 reply | |
| 11/20 | x86_64: wakeup.S misc cleanupsarch/ | +40 | 6 replies | |
| 12/20 | x86_64: 64bit ACPI wakeup trampolinearch/ arch/ arch/ | +41 | 4 replies | |
| 13/20 | x86_64: Modify discover_ebda to use virtual addressesarch/ | +2 | 0 replies | |
| 14/20 | x86_64: Remove the identity mapping as early as possiblearch/ arch/ arch/ +4 more | +25 | 0 replies | |
| 15/20 | Move swsusp __pa() dependent code to arch portionarch/ arch/ arch/ +3 more | +55 | 3 replies | |
| 16/20 | swsusp: do not use virt_to_page on kernel data addresskernel/ | +27 | 7 replies | |
| 17/20 | x86_64: __pa and __pa_symbol address space separationarch/ arch/ arch/ +7 more | +55 | 0 replies | |
| 18/20 | x86_64: Relocatable Kernel Supportarch/ arch/ arch/ +6 more | +596 | 0 replies | |
| 19/20 | x86_64: Extend bzImage protocol for relocatable bzImagearch/ | +11 | 0 replies | |
| 20/20 | x86_64: Move cpu verification code to common filearch/ arch/ arch/ +2 more | +152 | 0 replies |
Reviews trailers per patch
None of the 20 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Nigel Cunningham |
|---|---|
| Series | A-b |
| 1/20 | |
| 2/20 | |
| 3/20 | |
| 4/20 | |
| 5/20 | |
| 6/20 | |
| 7/20 | |
| 8/20 | |
| 9/20 | |
| 10/20 | |
| 11/20 | |
| 12/20 | |
| 13/20 | |
| 14/20 | |
| 15/20 | |
| 16/20 | |
| 17/20 | |
| 18/20 | |
| 19/20 | |
| 20/20 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/20] x86_64 Relocatable bzImage support (V4)
Hi,
Here is another attempt on x86_64 relocatable bzImage patches(V4). This patchset makes a bzImage relocatable and same kernel binary can be loaded and run from different physical addresses.
As on now, this mainly helps distros who have to ship an extra kernel compiled for a different physical address to capture the kernel crash dump. This patchset will allow distros and kdump users to use production kernel itself as dump capture kernel and there is no need to ship/build an extra kernel. I am hopeful people will find other interesting usages down the line.
Eric has done all the heavy weight lifting requird to make this patchset work. Last time I posted this patchset (V3), there were minor comments which I have taken care of. Following are the changes since V3.
- Reduced the usage of _AC() macro to only shift operations, as per Andi's comment.
- Restored the CONFIG_PHYSICAL_START option.
- Fixed few bugs with suspend to disk code path.
It would be good if these patches get into -mm so that it can undergo more testing. I have been testing them and these just work fine for me.
Thanks
Vivek