[PATCH 01/13] ARM: add some L220 DT settings
Russell King - ARM Linux
linux at arm.linux.org.uk
Thu Oct 15 06:57:30 PDT 2015
On Thu, Oct 15, 2015 at 03:46:41PM +0200, Linus Walleij wrote:
> The RealView ARM11MPCore enables parity, eventmon and shared
> override in the cache controller through its current boardfile,
> but the code and DT bindings for the ARM L220 is currently
> lacking the ability to set this up from DT. Add the required
> bool parameters.
>
> Cc: devicetree at vger.kernel.org
> Signed-off-by: Linus Walleij <linus.walleij at linaro.org>
> ---
> I know this patch mixes code and DT changes but it is silly to
> split such a small patch. Will submit this to Russell's patch
> tracker if it looks OK to the DT people. (Or if they are quiet.)
> ---
> Documentation/devicetree/bindings/arm/l2cc.txt | 10 ++++++----
> arch/arm/mm/cache-l2x0.c | 15 +++++++++++++++
> 2 files changed, 21 insertions(+), 4 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/arm/l2cc.txt b/Documentation/devicetree/bindings/arm/l2cc.txt
> index 06c88a4d28ac..4d262e9b3464 100644
> --- a/Documentation/devicetree/bindings/arm/l2cc.txt
> +++ b/Documentation/devicetree/bindings/arm/l2cc.txt
> @@ -67,12 +67,14 @@ Optional properties:
> disable if zero.
> - arm,prefetch-offset : Override prefetch offset value. Valid values are
> 0-7, 15, 23, and 31.
> -- arm,shared-override : The default behavior of the pl310 cache controller with
> - respect to the shareable attribute is to transform "normal memory
> - non-cacheable transactions" into "cacheable no allocate" (for reads) or
> - "write through no write allocate" (for writes).
> +- arm,shared-override : The default behavior of the PL220 or PL310 cache
> + controllers with respect to the shareable attribute is to transform "normal
> + memory non-cacheable transactions" into "cacheable no allocate" (for reads)
> + or "write through no write allocate" (for writes).
> On systems where this may cause DMA buffer corruption, this property must be
> specified to indicate that such transforms are precluded.
> +- arm,parity-enable : enable parity checking on the L2 cache (PL220 only).
> +- arm,eventmon-enable : enable the event monitor on the L2 cache (PL220 only).
I don't think we should introduce a DT property for this: if we support
the event monitor, then the event monitor support code should be
controlling this bit.
--
FTTC broadband for 0.8mile line: currently at 9.6Mbps down 400kbps up
according to speedtest.net.
More information about the linux-arm-kernel
mailing list