Re: Argh, can't find dcache properties !

From: Chris Packham
Date: Tue Mar 24 2020 - 16:07:03 EST


On Tue, 2020-03-24 at 15:47 +1100, Michael Ellerman wrote:
> Chris Packham <Chris.Packham@xxxxxxxxxxxxxxxxxxx> writes:
> > Hi All,
> >
> > Just booting up v5.5.11 on a Freescale T2080RDB and I'm seeing the
> > following mesage.
> >
> > kern.warning linuxbox kernel: Argh, can't find dcache properties !
> > kern.warning linuxbox kernel: Argh, can't find icache properties !
> >
> > This was changed from DBG() to pr_warn() in commit 3b9176e9a874
> > ("powerpc/setup_64: fix -Wempty-body warnings") but the message
> > seems
> > to be much older than that. So it's probably been an issue on the
> > T2080
> > (and other QorIQ SoCs) for a while.
>
> That's an e6500 I think? So 64-bit Book3E.
>

Yes that's correct.

> You'll be getting the default values, which is 64 bytes so I guess
> that
> works in practice.
>
> > Looking at the code the t208x doesn't specifiy any of the d-cache-
> > size/i-cache-size properties. Should I add them to silence the
> > warning
> > or switch it to pr_debug()/pr_info()?
>
> Yeah ideally you'd add them to the device tree(s) for those boards.
>

I think the info I need is in the block diagram[0]. I'll whip up
a patch.

--
[1] - https://www.nxp.com/products/processors-and-microcontrollers/power-architecture/qoriq-communication-processors/t-series/qoriq-t2080-and-t2081-multicore-communications-processors:T2080