mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Angelo Dureghello <angelo@kernel-space.org>
To: Jean-Michel Hautbois <jeanmichel.hautbois@yoseli.org>,
	Greg Ungerer <gerg@linux-m68k.org>, Frank Li <Frank.Li@nxp.com>
Cc: Geert Uytterhoeven <geert@linux-m68k.org>,
	Vinod Koul <vkoul@kernel.org>, Frank Li <Frank.Li@kernel.org>,
	linux-m68k@lists.linux-m68k.org, linux-kernel@vger.kernel.org,
	dmaengine@vger.kernel.org, imx@lists.linux.dev
Subject: Re: [PATCH 00/10] m68k: mcf54415: fix ColdFire edma-related issues
Date: Thu, 3 Dec 2026 18:55:17 +0100	[thread overview]
Message-ID: <49053671-f7e3-48fc-a25a-363b4f2fc420@kernel-space.org> (raw)
In-Reply-To: <be143500-bc4a-4d51-b3d5-aba0e2d9196d@yoseli.org>

Hi Jean-Michel,

no problem, i should have misunderstood a bit your reply.

This patchset is far from being ok, so feel free to review for any issue,
we can co-develop in some patch, no problem.

And feel free to contact me in private in case. 

Regards,
angelo

On 12/2/26 13:53, Jean-Michel Hautbois wrote:
> Hi Angelo,
> 
> Le 02/12/2026 à 13:12, Angelo Dureghello a écrit :
>> Hi Jean-Michel,
>>
>> regarding dma pool, i contacted you 2 times, personally (june 2026) and on
>> the m68k list, with no answers, was not clear if you wanted to go on with
>> this. I was anyway blocked so had someway to go on to fix edma and dspi,
>> depending on global pool.
> 
> You are right, and I owe you a proper apology. You asked twice and I never answered. I simply did not have the time, which does not excuse leaving you without a word.
> 
>>
>> Just to be clear, DMA pool and all that is in this patchset is
>> written from scratch, not looking on your job at all.
>> I did it from scratch to understand this global pool area and being able to
>> fix edma, i can keep it locally.
> 
> I never doubted it, and I am sorry my previous mail read as a claim on your work. The links were only there for the history. Your ACR window is precisely the piece my attempt was missing.
> 
> <snip>
> 
> 
>> To Greg: please disregard the patchset fully, don't want to overlap on any
>> Jean-Micheal job. Just know that your readX/writeX is ok for me, fix you
>> did on dspi and edma are working,
>> but the fix in 10/10 is needed in edma, unless i missed any recent fix
>> (not rebased from some days).
> 
> 
> Please don't withdraw it on my account. You have the hardware, and DMA on ColdFire stays broken upstream until something like your series goes in.
> 
> Greg, I would rather see Angelo's series move forward than mine.
> 
> For patches 8 and 9, keep them with EDMA_MASK_CH() in 9. I will drop my v3 so that reviewers only have one version to look at, and once your series is in, I will rebase what is left of it on top.
> 
> Thanks for all the work on ColdFire,
> JM
> 
> 
>> Regards,
>> angelo
>>
>>
>> On 12/2/26 10:26, Jean-Michel Hautbois wrote:
>>> Hi Angelo,
>>>
>>> Thanks for picking this up, and sorry for leaving your September question on my global pool thread[1] unanswered.
>>>
>>> Part of this series overlaps with work I posted earlier, so here are the links for reviewers.
>>>
>>> Patches 1 to 4 follow what Christoph suggested on that thread: DMA_GLOBAL_POOL filled with dma_init_global_coherent(), rather than arch dma_map_ops. The ACR window that keeps the pool out of the cache is the part I never got right, and I am glad to see it.
>>>
>>> Patches 8 and 9 fix the same bugs as 3/5 and 4/5 of my dmaengine v3[2], which Frank reviewed in June. I never sent the v4, my fault again.
>>>
>>> On patch 9, one detail differs. The loop still clears the error with EDMA_CERR_CERR(ch), which masks with GENMASK(4, 0). EDMA_CERR takes a 6-bit channel number (MCF54418RM, Table 19-13), so for channels 32 to 63 the write clears the flag of channel (ch & 31) and leaves the real one set. My 4/5 used EDMA_MASK_CH(ch) for that reason.
>>>
>>> How would you like to proceed? I can rebase my 3/5 and 4/5 on top of Greg's readX()/writeX() patch and send them as v4, or you can carry them in your series with their tags, whichever is simpler for you and Vinod.
>>>
>>> [1] https://lore.kernel.org/all/20250121-coldfire-global-pool-v1-0-382a7235c2aa@yoseli.org
>>> [2] https://lore.kernel.org/all/20260625-b4-edma-dmaengine-v3-0-44be00ace37d@yoseli.org
>>>
>>> Thanks,
>>> JM
>>
>> -- Angelo
>>
> 

-- Angelo


  reply	other threads:[~2026-12-03 17:55 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-01 22:40 Angelo Dureghello
2026-12-01 22:40 ` [PATCH 01/10] m68k: add DMA global pool config Angelo Dureghello
2026-12-01 22:40 ` [PATCH 02/10] m68k: add DMA global pool setup Angelo Dureghello
2026-12-01 22:40 ` [PATCH 03/10] m68k: mcf54415: add defines for DMA global pool Angelo Dureghello
2026-12-01 22:40 ` [PATCH 04/10] m68k: mcf54415: add DMA global pool initialization Angelo Dureghello
2026-12-01 22:40 ` [PATCH 05/10] m68K: mcf54415: rename mcf edma clock name Angelo Dureghello
2026-12-01 22:40 ` [PATCH 06/10] m68k: mcf54415: align device name with " Angelo Dureghello
2026-12-01 22:40 ` [PATCH 07/10] dmaengine: mcf-edma: enable edma clock Angelo Dureghello
2026-12-02 16:54   ` Frank Li
2026-12-01 22:40 ` [PATCH 08/10] dmaengine: mcf-edma: fix wrong BIT() usage on u64 Angelo Dureghello
2026-12-02 16:46   ` Frank Li
2026-12-01 22:40 ` [PATCH 09/10] dmaengine: mcf-edma: fix wrong error handling Angelo Dureghello
2026-12-02 16:51   ` Frank Li
2026-12-01 22:40 ` [PATCH 10/10] dmaengine: fsl-edma: fix missing big-endian swap Angelo Dureghello
2026-12-02 17:05   ` Frank Li
2026-12-02  9:26 ` [PATCH 00/10] m68k: mcf54415: fix ColdFire edma-related issues Jean-Michel Hautbois
2026-12-02 12:12   ` Angelo Dureghello
2026-12-02 12:53     ` Jean-Michel Hautbois
2026-12-03 17:55       ` Angelo Dureghello [this message]
2026-12-04  0:33     ` Greg Ungerer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=49053671-f7e3-48fc-a25a-363b4f2fc420@kernel-space.org \
    --to=angelo@kernel-space.org \
    --cc=Frank.Li@kernel.org \
    --cc=Frank.Li@nxp.com \
    --cc=dmaengine@vger.kernel.org \
    --cc=geert@linux-m68k.org \
    --cc=gerg@linux-m68k.org \
    --cc=imx@lists.linux.dev \
    --cc=jeanmichel.hautbois@yoseli.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-m68k@lists.linux-m68k.org \
    --cc=vkoul@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®