Re-organize linker layouts
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest0 of 7 patches 0 repliesNew
Patches in v1 No applies recorded yet
None of the 7 patches the cover letter announces are in this archive.
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/7] Re-organize linker layouts
Quoted 4 lines · Nicolas Pitre
Quoted 3 lines
Anyway, maybe we've been going about this the wrong way. Couldn't we just make
TEXT_OFFSETbe0x00208000and then make sure to remove the first 2MB of memory in amachine->reserve()routine if we're MSM?
Quoted 8 lines
I think that would certainly be a worthwhile thing to do. This would even make
ARM_PATCH_PHYS_VIRTmore efficient as you won't have to enableARM_PATCH_PHYS_VIRT_16BITanymore. And even withoutARM_PATCH_PHYS_VIRT, the compiled code forvirt_to_phys()andphys_to_virt()would be more efficient.Whether or not we would like to still keep the
ARM_PATCH_PHYS_VIRT_16BITcode around is a separate question.
Wouldn't it still be needed if people want to build an ARM kernel that works on both MSM targets and non-MSM targets?
What about loading the kernel at the next 128MB boundary, and coming up with a way to use the 126MB before the kernel for allocation. That might end up being more invasive, though.
David
Signature · 2 lines
Sent by an employee of the Qualcomm Innovation Center, Inc. The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum.