Messages in this thread | | | From | Clément Léger <> | Subject | [PATCH 0/2] ARM: at91: add support for L2 cache write_sec() callback | Date | Mon, 6 Jun 2022 16:56:59 +0200 |
| |
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(+)
-- 2.36.1
| |