Get ride of CPHYSADDR() in setup.c [take #4]
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest7 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | page.h: remove __pa() usages.arch/ include/ include/ +1 more | +10 | 0 replies | |
| 2/7 | Make __pa() aware of XKPHYS/CKSEG0 address mix for 64 bit kernelsinclude/ | +7 | 0 replies | |
| 3/7 | setup.c: get ride of CPHYSADDR()arch/ | +3 | 0 replies | |
| 4/7 | Introduce __pa_symbol()include/ | +1 | 0 replies | |
| 5/7 | setup.c: use __pa_symbol() where neededarch/ | +5 | 0 replies | |
| 6/7 | setup.c: clean up initrd related codearch/ arch/ | +48 | 0 replies | |
| 7/7 | Make free_init_pages() arguments to be physical addressesarch/ | +17 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/7] Get ride of CPHYSADDR() in setup.c [take #4]
Changes since take #3
--------------------
* Sign extension hack still needed by rd_start_early() (Atsushi)
* Replace panic() by printk() in init_initrd() (Atsushi)
* Fix CONFIG_64BITS typo (Atsushi)
* Add a new sanity check in init_initrd():
initrd_start < PAGE_OFFSET
Changes since take #2
--------------------
* More initrd code clean up. It should be more readable and more robust now.
* Add some missing include in page.h (Atsushi)
* Fix a wrong use of __page_offset() in __va() (Atsushi)
* Rename __page_offset() into __pa_page_offset()
changes since take #1
--------------------
* Changed the definition of __pa() for 64-bits kernels to match the one suggested by Atsushi. It should be safer.
* Make virt_to_page() uses virt_to_phys() instead of __pa().
Thanks to Atsushi for testing this patchset on 64 bit kernels.
Please consider,
Franck
---
arch/mips/kernel/setup.c | 87 +++++++++++++++++++++++++++----------------- arch/mips/mm/init.c | 42 ++++++++++----------- include/asm-mips/io.h | 2 + include/asm-mips/page.h | 16 ++++++-- include/asm-mips/pgtable.h | 2 + 5 files changed, 87 insertions(+), 62 deletions(-)