[PATCH 0/3] Revert arm64 cache geometry

Catalin Marinas catalin.marinas at arm.com
Fri Oct 30 04:57:45 PDT 2015


On Fri, Oct 30, 2015 at 11:10:28AM +0000, Sudeep Holla wrote:
> On 30/10/15 11:00, Catalin Marinas wrote:
> >BTW, it looks like I don't get any cache information on Juno with
> >4.3-rc7, it says "Unable to detect cache hierarchy from DT for CPU
> >0". I thought the point of the patch you are trying to revert was to
> >parse this information from the hardware registers. Sudeep, any
> >idea?
> >
> 
> Yes you need to have updated DT from the mainline. Since the
> architecture doesn't provide any way of detecting the cpus sharing
> particular cache, we get that information from DT.
> 
> If DT lacks that info we don't expose any information. It would be wrong
> to say that a shared cache is shared by all the cpus in the system. DT
> check was added explicitly to avoid that.

OK, thanks for the information. The good thing is that use space should
already be able to cope with cache information not present in sysfs.

So, rather than reverting this feature, for the Denver case we have the
option of either providing full cache topology information in DT or
providing a DT flag which states whether hardware cache ID information
is relevant.

What about ACPI? Are there any provisions for specifying such
information?

-- 
Catalin



More information about the linux-arm-kernel mailing list