Skip to content

ARM: at91: add support for L2 cache write_sec() callback

Clément Léger linux-arm-kernel lkml 1 version Applied

Status from this message: Applied it to at91-soc with adjustments described in previous reply, thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 5 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2ARM: at91: add sam_linux_is_in_normal_world() functionarch/arm/mach-at91/sam_secure.c arch/arm/mach-at91/sam_secure.h+7 -03 replies
2/2ARM: at91: setup outer cache .write_sec() callback if neededarch/arm/mach-at91/sama5.c+17 -02 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/2] ARM: at91: add support for L2 cache write_sec() callback

When running under OP-TEE the L2 cache is configured by OP-TEE and can't be modified for the moment. Add necessary function to get the current execution world of Linux and add early_setup() callback that will set the .write_sec() callback for the outer cache.

Clément Léger (2):
ARM: at91: add sam_linux_is_in_normal_world() function
ARM: at91: setup outer cache .write_sec() callback if needed

 arch/arm/mach-at91/sam_secure.c |  6 ++++++
 arch/arm/mach-at91/sam_secure.h |  1 +
 arch/arm/mach-at91/sama5.c      | 17 +++++++++++++++++
 3 files changed, 24 insertions(+)
Signature · 1 line
2.36.1