Skip to content

ARM: Manage the pl310 erratas in a dynamic way

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

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest0 of 5 patches 0 repliesNew

Patches in v2 No applies recorded yet

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

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/5] ARM: Manage the pl310 erratas in a dynamic way
Quoted 5 lines · srinidhi kasagar

- Added l2x0_quirks to manage the errata in cpu_idle path. Tried to address Russell's comment on this, but could not completely. Because, neither I can keep the #ifdef CONFIG_PL310_ERRATA_769419 nor remove it entirely since the platform A suffers from this bug, whereas B do not but shares the same defconfig.

Yes you can and I covered this situation in my email. In that case, you _define_ CONFIG_PL310_ERRATA_769419 such that the barrier _always_ gets included both both platforms.

As I already said, there is _no_ point making the barrier conditional; it's probably more expensive to make it conditional than just to execute it every time. But we still might as well optimize it away if we are running _only_ on platforms which _do_ _not_ have that errata.