linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] ARM: at91: add support for L2 cache write_sec() callback
@ 2022-06-06 14:56 Clément Léger
  2022-06-06 14:57 ` [PATCH 1/2] ARM: at91: add sam_linux_is_in_normal_world() function Clément Léger
  2022-06-06 14:57 ` [PATCH 2/2] ARM: at91: setup outer cache .write_sec() callback if needed Clément Léger
  0 siblings, 2 replies; 8+ messages in thread
From: Clément Léger @ 2022-06-06 14:56 UTC (permalink / raw)
  To: Russell King, Nicolas Ferre, Alexandre Belloni, Claudiu Beznea
  Cc: Clément Léger, linux-arm-kernel, linux-kernel,
	Thomas Petazzoni

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


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2022-07-20  8:31 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-06-06 14:56 [PATCH 0/2] ARM: at91: add support for L2 cache write_sec() callback Clément Léger
2022-06-06 14:57 ` [PATCH 1/2] ARM: at91: add sam_linux_is_in_normal_world() function Clément Léger
2022-07-04  6:19   ` Claudiu.Beznea
2022-07-04 17:34     ` clement.leger
2022-07-20  8:29       ` Claudiu.Beznea
2022-06-06 14:57 ` [PATCH 2/2] ARM: at91: setup outer cache .write_sec() callback if needed Clément Léger
2022-07-04  6:39   ` Claudiu.Beznea
2022-07-20  8:30     ` Claudiu.Beznea

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).