[PATCH 0/3] ARM: l2c: cache size parsing through device tree

Florian Fainelli f.fainelli at gmail.com
Fri Aug 22 18:59:58 PDT 2014


2014-08-13 16:29 GMT-07:00 Florian Fainelli <f.fainelli at gmail.com>:
> Hi all,
>
> This patch series adds support for specifying the L2 cache size through Device
> Tree using the ePAPR standard 'cache-size' and 'cache-sets' properties.
>
> The rationale behind these patches is to support Broadcom's BCM63138 DSL SoC
> which comes out of reset with an invalid cache way-size specified in its L2C
> auxiliary register.
>
> For the third patch I took the approach of a helper function that can be called
> by the 3 different of_parse functions that we have currently.

Russell, does that look like what you had in mind? Thank you!

>
> Thanks!
>
> Florian Fainelli (3):
>   ARM: l2c: enforce use of cache-level property
>   ARM: l2c: order optional properties in alphabetical order
>   ARM: l2c: parse 'cache-size' and 'cache-sets' properties
>
>  Documentation/devicetree/bindings/arm/l2cc.txt |  4 +-
>  arch/arm/mm/cache-l2x0.c                       | 68 ++++++++++++++++++++++++++
>  2 files changed, 71 insertions(+), 1 deletion(-)
>
> --
> 1.9.1
>



-- 
Florian



More information about the linux-arm-kernel mailing list