Skip to content

PHYS_OFFSET fix and cleanup

Franck Bui-Huu linux-mips 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4Allow generic spaces.h to be included by platform specific onesinclude/asm-mips/mach-generic/spaces.h+18 -00 replies
2/4Make PAGE_OFFSET aware of PHYS_OFFSETinclude/asm-mips/mach-generic/spaces.h+3 -30 replies
3/4Move PHY_OFFSET definition in spaces.hinclude/asm-mips/mach-generic/spaces.h include/asm-mips/page.h+8 -90 replies
4/4Fix PHYS_OFFSET for 64-bits kernels with 32-bits symbolsinclude/asm-mips/page.h+7 -30 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/4] PHYS_OFFSET fix and cleanup

Ralf,

This small patchset deals with PHYS_OFFSET (last) issue.

Most of the patch are clean up and ease PHYS_OFFSET use except for the last one which is a real fix for 64-bits kernels with 32-bits symbols. Basically we now use CPHYSADDR() in __pa(). But this change implies that we could no more handle mapped kernel in this config. Do you think it's a real issue ?

Please consider,

Franck

---

 include/asm-mips/mach-generic/spaces.h |   30 +++++++++++++++++++++++++++---
 include/asm-mips/page.h                |   21 +++++++++------------
 2 files changed, 36 insertions(+), 15 deletions(-)