[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <577265B8.5030009@st.com>
Date: Tue, 28 Jun 2016 13:55:36 +0200
From: Patrice Chotard <patrice.chotard@...com>
To: Russell King - ARM Linux <linux@...linux.org.uk>
CC: <linux-arm-kernel@...ts.infradead.org>, <kernel@...inux.com>,
<linux-kernel@...r.kernel.org>, <peter.griffin@...aro.org>,
<lee.jones@...aro.org>
Subject: Re: [PATCH] ARM: sti: Implement dummy L2 cache's write_sec
Hi Russell
On 06/28/2016 11:49 AM, Russell King - ARM Linux wrote:
> On Tue, Jun 28, 2016 at 11:40:37AM +0200, patrice.chotard@...com wrote:
>> From: Patrice Chotard <patrice.chotard@...com>
>>
>> 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?
>
It's similar to what has been done for ux500 machine, in non secure
mode, we
can't write in L2 cache secure registers.
Patrice
Powered by blists - more mailing lists