Skip to content

arm64: inline assembly fixes + cleanup

Will Deacon linux-arm-kernel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest0 of 6 patches 0 repliesNew

Patches in v1 No applies recorded yet

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

Reviews trailers per patch

PatchWill Deacon
SeriesA-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/6] arm64: inline assembly fixes + cleanup
Quoted 5 lines · Mark Rutland

Recent attempts to make our inline assembly more clang-friendly [1,2] made it clear that we have some latent problems. I've reviewed all the inline assembly under arch/arm64/, and this series fixes the issues that I noted.

Quoted 8 lines

The series is based on the arm64 for-next/core branch. I've built the series with a Linaro 15,08 GCC 5.1.1 toolchain. I see no new warnings, and the result boots happily on Juno R1.

The first four patches address latent bugs, with the final two patches improving consistency and compatibility with clang. I believe that this supersedes [2], with the GIC accessor having been fixed up by the recent sysreg rework.

For the series:

It's a pity that we always cast to (unsigned long) for xchg, but I doubt it actually makes a performance difference in practice.

Will