[PATCH] ARM: l2c: enforce use of cache-level property
Russell King - ARM Linux
linux at arm.linux.org.uk
Tue Mar 10 03:24:13 PDT 2015
On Mon, Mar 09, 2015 at 03:42:14PM +0100, Linus Walleij wrote:
> On Tue, Mar 3, 2015 at 7:55 PM, Florian Fainelli <f.fainelli at gmail.com> wrote:
>
> > Make sure that we can read the "cache-level" property from the L2 cache
> > controller node, and ensure its value is 2.
> >
> > Signed-off-by: Florian Fainelli <f.fainelli at gmail.com>
>
> (...)
> > + if (of_property_read_u32(np, "cache-level", &cache_level))
> > + pr_err("L2C: device tree omits to specify cache-level\n");
> > +
>
> Is that really an error? Does ePAPR specify that this must always be
> present or what?
See table 3-9. It appears to be a required property.
--
FTTC broadband for 0.8mile line: currently at 10.5Mbps down 400kbps up
according to speedtest.net.
More information about the linux-arm-kernel
mailing list