Skip to content

ABI updates

Arnd Bergmann linux-arm-kernel 1 version New

Get series with b4
b4 am 5967772.rMBIs5rqFN@wuerfel

Versions newest first

  1. v1 Latest3 of 4 patches 0 repliesNew

3 of 4 patches are in this archive. The cover letter announces 4.

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
4/4ARM: hwcap: disable HWCAP_SWP if the CPU advertises it has exclusives+0 -04 replies
4/4ARM: hwcap: disable HWCAP_SWP if the CPU advertises it has exclusives+0 -010 replies
4/4ARM: hwcap: disable HWCAP_SWP if the CPU advertises it has exclusives+0 -00 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchCatalin Marinas
4/4A-b
4/4A-b
4/4A-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/4] ABI updates
Quoted 16 lines · On Friday 04 July 2014 20:51:34 Russell King - ARM Linux wrote:

As a result of the recent discussions about android, several issues have been identified with existing kernels:

1. HWCAP_SWP does not properly reflect whether the SWP instruction should be used. Turn HWCAP_SWP off on ARMv6+ where the exclusives are available.

2. SWP is unsafe when running on a SMP CPU; there is no bus locking between the read and write parts of the instruction execution. Force SWP emulation on ARMv7+ where we can disable the SWP instruction.

3. Reporting of alignment faults - kernel mode faults are silent due to the requirements of the network stack, but we can note where the last one occurs.

Quoted 6 lines

Testing reveals that at least my OMAP4430 userspace (supplied from TI) executes lots of SWP instructions, which is something that wasn't known before this patch.

Many systems today are not configured with SWP emulation enabled on SMP. This means that the SWP instruction is available, but unsafe.

Looks all good to me, just one question for the last patch.

Arnd