[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <56B8A195.2050807@arm.com>
Date: Mon, 8 Feb 2016 14:09:25 +0000
From: Marc Zyngier <marc.zyngier@....com>
To: Daniel Lezcano <daniel.lezcano@...aro.org>,
Robin Murphy <robin.murphy@....com>,
linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org
Cc: tglx@...utronix.de, mark.rutland@....com, sboyd@...eaurora.org
Subject: Re: [PATCH v2] clocksource/arm_arch_timer: Enable and verify MMIO
access
On 08/02/16 14:00, Daniel Lezcano wrote:
> On 02/01/2016 01:00 PM, Robin Murphy wrote:
>> So far, we have been blindly assuming that having access to a
>> memory-mapped timer frame implies that the individual elements of that
>> frame frame are already enabled. Whilst it's the firmware's job to give
>> us non-secure access to frames in the first place, we should not rely
>> on implementations always being generous enough to also configure CNTACR
>> for those non-secure frames (e.g. [1]).
>>
>> Explicitly enable feature-level access per-frame, and verify that the
>> access we want is really implemented before trying to make use of it.
>>
>> [1]:https://github.com/ARM-software/tf-issues/issues/170
>>
>> Signed-off-by: Robin Murphy <robin.murphy@....com>
>> ---
>
> Hi Marc,
>
> can you give your opinion on this patch ?
This seems to do the right thing, so FWIW:
Acked-by: Marc Zyngier <marc.zyngier@....com>
Thanks,
M.
--
Jazz is not dead. It just smells funny...
Powered by blists - more mailing lists