Skip to content

ILP32 for ARM64

Dr. Philipp Tomsich linux-arm-kernel lkml 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest posting 4/40 of 24 patches 1 replyIn review
  2. v4 posting 3/40 of 24 patches 1 replySuperseded
  3. v4 posting 2/40 of 24 patches 45 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v4 posting 1/424 patches4 repliesSuperseded

Patches in v4 posting 4/4 No applies recorded yet

None of the 24 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 [PATCH v4 00/24] ILP32 for ARM64
Quoted 7 lines · Catalin Marinas

I think you are right. I was more thinking of those routed directly to the native (non-compat) syscalls. We would need to make sure the return value (X0 being the only register not restored on return from exception) has the top 32-bit part zeroed.

As the kernel is LP64 and will thus attempt to return a 64bit return value, the high bits should be properly sign-extended in all cases.

The problem (posed by procedure call standard) of information leakage could manifest itself only, if the kernel tried to return something smaller than 64 bits? in that case, we can the problem would already exhibit for the LP64 ABI.

For the ILP32 implementation, I?ll thus assume that all LP64 ABI calls reused are clean in this regard.

Phil.