[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <684f7262-13e0-f519-ffee-bbdb3ed80717@microchip.com>
Date: Thu, 28 Jul 2022 07:45:13 +0000
From: <Tudor.Ambarus@...rochip.com>
To: <peda@...ntia.se>, <regressions@...mhuis.info>,
<Nicolas.Ferre@...rochip.com>, <alexandre.belloni@...tlin.com>
CC: <du@...ntia.se>, <Patrice.Vilchez@...rochip.com>,
<Cristian.Birsan@...rochip.com>, <Ludovic.Desroches@...rochip.com>,
<linux-kernel@...r.kernel.org>,
<linux-arm-kernel@...ts.infradead.org>,
<gregkh@...uxfoundation.org>, <saravanak@...gle.com>,
<dmaengine@...r.kernel.org>
Subject: Re: Regression: memory corruption on Atmel SAMA5D31
On 7/13/22 19:01, Tudor.Ambarus@...rochip.com wrote:
> EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe
>
> Hi, Peter,
>
> Thanks for the patience. I was still out of office last week,
> but now I have some news.
>
> On 6/27/22 19:53, Tudor.Ambarus@...rochip.com wrote:
>> I think these are the last less invasive
>> changes that I try, I'll have to rewrite the logic anyway.
>
> I've chopped the driver to use virt-dma (check [1]). It's not clean, but
> it works and one can see how the logic is changed. Unfortunately the mem
> corruption is still present on high loads. Maybe it's a coherency problem.
> I need more time on it. Will get back to you.
>
> Cheers,
> ta
>
> [1] To github.com:ambarus/linux-0day.git
> a7351e6f4c12..1557e0df0fd0 at-hdmac-virt-dma -> at-hdmac-virt-dma
Hi, Peter,
Does this [1] one line patch solve the mem corruption on your side?
Even if yes, there are still bugs in at-hdmac that can be squashed by
using virt-dma. I'd like to follow up with patches that integrate
virt-dma logic in at-hdmac.
Cheers,
ta
[1] https://lore.kernel.org/linux-mtd/20220728074014.145406-1-tudor.ambarus@microchip.com/T/#u
Powered by blists - more mailing lists