[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <2335290.YorTSI1K36@wuerfel>
Date: Mon, 08 Dec 2014 16:22:11 +0100
From: Arnd Bergmann <arnd@...db.de>
To: Russell King - ARM Linux <linux@....linux.org.uk>
Cc: linux-arm-kernel@...ts.infradead.org,
Hante Meuleman <meuleman@...adcom.com>,
linux-wireless <linux-wireless@...r.kernel.org>,
brcm80211-dev-list <brcm80211-dev-list@...adcom.com>,
Will Deacon <will.deacon@....com>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
Arend Van Spriel <arend@...adcom.com>,
David Miller <davem@...emloft.net>,
Marek Szyprowski <m.szyprowski@...sung.com>, hauke@...ke-m.de
Subject: Re: using DMA-API on ARM
On Monday 08 December 2014 15:17:33 Russell King - ARM Linux wrote:
> On Mon, Dec 08, 2014 at 04:01:32PM +0100, Arnd Bergmann wrote:
> > In your log, I see this message:
> >
> > [ 0.000000] PL310 OF: cache setting yield illegal associativity
> > [ 0.000000] PL310 OF: -1069781724 calculated, only 8 and 16 legal
> > [ 0.000000] L2C-310 enabling early BRESP for Cortex-A9
> > [ 0.000000] L2C-310 full line of zeros enabled for Cortex-A9
> > [ 0.000000] L2C-310 dynamic clock gating enabled, standby mode enabled
> > [ 0.000000] L2C-310 cache controller enabled, 16 ways, 256 kB
> > [ 0.000000] L2C-310: CACHE_ID 0x410000c8, AUX_CTRL 0x4e130001
> >
> > Evidently the cache controller information in DT is incorrect and
> > the setup may be wrong as a consequence, which may explain cache
> > coherency problems.
>
> No. See d0b92845e54 (ARM: 8182/1: l2c: Make l2x0_cache_size_of_parse() return 'int')
> which was merged in rc3, post-dating this kernel. The original commit
> was buggy, and produces those harmless "illegal associativity" messages.
> They occur if DT *doesn't* specify the cache parameters, in which case
> we use the hardware-set value (which /should/ be correct.)
>
> We made these optional in DT as hardware really should set these
> correctly in the first place.
Ok, good.
Arnd
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists