Skip to content

Another 16 L2C patches

Russell King - ARM Linux linux-arm-kernel linux-samsung-soc linux-tegra 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest0 of 16 patches 0 repliesNew

Patches in v1 No applies recorded yet

None of the 16 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/16] Another 16 L2C patches
Quoted 34 lines · Stephen Warren
Quoted 10 lines · Stephen Warren
Quoted 9 lines · Russell King - ARM Linux

So, in response to Matt Porter's complaint about breaking prima2, here's another 16 patches which changes the way the L2 cache is initialised on many platforms. This series moves towards a situation where the generic code initialises the L2 cache itself, with as little help as possible from board specific code.

A number of platforms are left alone because they're more complex - these should still eventually be converted.

Quoted 7 lines
Quoted 3 lines

At some point in the near future, I will see about sorting out their ordering wrt the previous patch set. For the time being, they apply on top of the existing l2c changes.

Are "the existing l2c changes" in next-20140428? If not, is there a git branch I can pull to test the whole thing, rather than tracking down and applying "the existing l2c changes" first?

I guess they must be in linux-next, since this series applies cleanly on top of it.

So, patches 2/16 ("ARM: l2c: add platform independent core L2 cache initialisation") and 7/16 ("ARM: l2c: convert tegra to generic l2c initialisation"),

(On an NVIDIA Tegra20 Seaboard/Springbank board, on top of next-20140428)

I do see one error in dmesg during boot, but it doesn't appear to negatively affect operation in brief testing, and is present in linux-next without this series anyway. Is this message a problem?

Quoted 6 lines
Quoted 5 lines
[    0.000000] L2C: platform modifies aux control register: 0x02080000 -> 0x3e480001
[    0.000000] L2C: DT/platform modifies aux control register: 0x02080000 -> 0x3e480001
[    0.000000] L2C-310 errata 727915 769419 enabled
[    0.000000] L2C-310 enabling early BRESP for Cortex-A9
[    0.000000] L2C-310: enabling full line of zeros but not enabled in Cortex-A9

^^^^^^ this is logged at error level

Correct, it's an error because on Tegra you explicitly set bit 0 in the auxiliary control register, which is pointless unless the feature is also enabled in the Cortex-A9 control register as well.

Rather than trying to track down everyone who does this, and then end up in a long discussion about it, I'm just going to make the kernel print an error message as a result, it's just wrong to set random bits in device control registers without first properly understanding what they're doing.

Signature · 2 lines
FTTC broadband for 0.8mile line: now at 9.7Mbps down 460kbps up... slowly
improving, and getting towards what was expected from it.