Skip to content

arm64: make phys_to_virt() correct

Pingfan Liu kexec 7 versions – New

Get series with b4
b4 am CAF+s44Qq55jVs8NZ-KPcq0SJ87yRDSuwq_qynGqWSyYrtyOhVQ@mail.gmail.com

Versions newest first · linked by author and title

  1. v4 Latest posting 2/20 of 4 patches 0 repliesNew
  2. v4 posting 1/24 patches 0 repliesSuperseded
  3. v3 posting 3/30 of 4 patches 0 repliesSuperseded
Earlier versions · 4
VersionPostedPatchesRepliesStatus
v3 posting 2/30 of 4 patches0 repliesSuperseded
v3 posting 1/34 patches0 repliesSuperseded
v23 patches0 repliesSuperseded
v13 patches8 repliesSuperseded

Patches in v4 posting 2/2 No applies recorded yet

None of the 4 patches the cover letter announces are in this archive.

Reviews trailers per patch

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

Read the v4 thread

Cover letter [PATCHv4 0/4] arm64: make phys_to_virt() correct
Quoted 22 lines · Simon Horman
Quoted 20 lines · Pingfan Liu

Currently phys_to_virt() does not work well on 52-bits VA arm64 kernel. One issue is contributed by phys_offset not signed.
The other is contributed by wrong page_offset.

v3 -> v4:
address the date type in [1/4] and [2/4]

v2 -> v3:
Discussed with Kairui off-list, 48-bits VA kernel can not handle flipped mm yet. So introducing [4/4], which judges whether the kernel is with flipped mm layout and adopt different formula accordingly.

As for [1-3/4], they are the same as [1-3/3] in V2.

v1 -> v2
Fix broken patch [2/3] in v1
Move arch_scan_vmcoreinfo declaration to util_lib/include/elf_info.h Using UINT64_MAX instread of 0xffffffffffffffff

Quoted 7 lines
Quoted 4 lines

Cc: Kairui Song <[email protected]>
Cc: Simon Horman <[email protected]>
Cc: Philipp Rudo <[email protected]>
To: kexec at lists.infradead.org

Thanks, series applied.

Hi Simon and Philipp, appreciate the help and patient review.

Best Regards,

Pingfan