Skip to content

Fix issues with ARMv6+v6k+v7 kernels

Russell King - ARM Linux linux-arm-kernel linux-omap 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest0 of 14 patches 0 repliesNew

Patches in v1 No applies recorded yet

None of the 14 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.

Read the v1 thread

Cover letter [PATCH 00/14] Fix issues with ARMv6+v6k+v7 kernels
Quoted 2 lines · Nicolas Pitre

The patch below is making the code more straight forward regardless of any swp emulation issues.

I don't know where you get that idea from. What it does is make a kernel built with a standard set of options have differing behaviour on v7 and pre-v7 architectures.

On v7 architectures, the vectors page and user pages all become read only to SVC mode. On pre-v7 architectures on the same kernel, they are read- write to SVC mode.

What we have now is that these pages are only read-only when CPU domains are turned off - for everything. So we know that if CPU domains are enabled, it's read/write, otherwise it's read only. That's more straight forward than what this patch creates IMHO.