Re: [PATCH] ARM: sti: Implement dummy L2 cache's write_sec

From: Russell King - ARM Linux
Date: Tue Jun 28 2016 - 05:49:38 EST


On Tue, Jun 28, 2016 at 11:40:37AM +0200, patrice.chotard@xxxxxx wrote:
> From: Patrice Chotard <patrice.chotard@xxxxxx>
>
> This patch implements the write_sec callback that handle PL310
> secure registers writes.
> This callback is just a stub for now, to avoid system crash.
> Later, it could handle SMC calls so that TZ handles the needed writes.

Is there much point having the L2 cache DT node enabled if you have
no support for the writes, which are required for the hardware to be
enabled?

--
RMK's Patch system: http://www.armlinux.org.uk/developer/patches/
FTTC broadband for 0.8mile line: currently at 9.6Mbps down 400kbps up
according to speedtest.net.