From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=46.38.245.6 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796164824; b=CWNr+KVsSYTXOz+9K4xIbwoWm5Ih+a2aFZE04Bj6zKkua7ykA28Sr4fwhk150dICdDGF UJ/SbSHBea3M312NX19wwQtkpHQUL9z3q0cFFQR2tANhRJUTaraXBmkFIGHZ5xGOmh1Qb J7tLQ8WGgpWTLQtVDfT/bg5BEmJLnmZ3xij1AqH9mH0fiHbuXNytR1s0lq84XY2bh3SEY BheAakAVAieOD0eWKRuhGV07qUk9UiS/iBGOzuXiZsjLRvTyQuO45ErDimYWdlu98jian L8FUlREfbW/UL4xyZqM02TM6IRzscm2zsxeE+4s6iLFstzJ9H52E/EkpbAI+/6uXQ1Q== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796164824; h=DMARC-Filter:DKIM-Signature:Received:From:Subject:Date:Message-Id: MIME-Version:Content-Type:Content-Transfer-Encoding:X-B4-Tracking: X-Change-ID:To:Cc:X-Mailer; bh=6yhSOQzWB7G/16+J6J9tsTVqEoa0QggjZEJbzFjPwQI=; b=JhVc4qSef7QemP9N2TDrPQT49s4x9QAww41WQQB7FF76Ofe7l3UIprj8ULHLw0Fw35u/ KsIdfZGQ4DxorbrEClEH2QcxC743o4QzIx5Ju6DtPENMEFKeaDaxYIonUCuCJlrZF9ihw I0yJ6vUmUiRdW5LRBhYLMLuQu6ogh1sM7xXipwZullOaV7vgQ5Wj1oia6YO5pAuZsqt1u FW2q3+cZHJTR139fl3szHWadCDyZhwSpVqYSkIl5dG7TlxtPdNoa5dAhM2+UMxNn6PMo7 hD9SUwdlv6RkH5lPWXnpCLCtNDa/mckLpg4wW6kRdFgwK/bELoVHWHUACpnyxRc35uw== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=kernel-space.org; spf=pass smtp.mailfrom=kernel-space.org; dkim=pass header.d=kernel-space.org header.i=@kernel-space.org header.a=rsa-sha256 header.s=s1 header.b=INRFO95f; arc=none smtp.remote-ip=46.38.245.6 Received: from mail.kernel-space.org (v2202511311555398556.powersrv.de [46.38.245.6]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 703BD606A31A; Tue, 1 Dec 2026 22:40:23 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 703BD606A31A Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=kernel-space.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=kernel-space.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key, unprotected) header.d=kernel-space.org header.i=@kernel-space.org header.a=rsa-sha256 header.s=s1 header.b=INRFO95f DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel-space.org; s=s1; t=1796164814; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=6yhSOQzWB7G/16+J6J9tsTVqEoa0QggjZEJbzFjPwQI=; b=INRFO95fMkWFvmDvKnckmAIzzJH6itp9pt3J6WilYpZB6J/6KHFjv6U/+KHKNJMO9KWvxq qVQQS+eT9BCp4+T7JW5YSFzlLjD3+i5m9MdgNo4reh4P2JrqbpEKLCqYUOFMeeTEmzrmFv dr0okM9JDGaKbHblW37eTTRvt9JnWUE= Received: from [192.168.0.2] (host93-7-32-195.dimensionesrl.eu [195.32.7.93]) by oreshnik (OpenSMTPD) with ESMTPSA id 67426e44 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Tue, 1 Dec 2026 22:40:14 +0000 (UTC) From: Angelo Dureghello Subject: [PATCH 00/10] m68k: mcf54415: fix ColdFire edma-related issues Date: Tue, 01 Dec 2026 23:40:11 +0100 Message-Id: <20261201-wip-ks-stmark2-dma-fix-v1-0-99748ff19937@kernel-space.org> X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIAAAAAAAC/yXMywqDQAyF4VeRrA048QL2VcTF6MQ2ihcm0yqI7 95pXX4Hzn+CshdWeCQneP6IyrpEmDSB/mWXJ6O4aKCMKkOZwV02nBQ1zNZPhG62OMiBVNiyzk0 3VI4gnjfPcf6Hm/a2vruR+/CrwXV9AabyeLZ6AAAA X-Change-ID: 20261201-wip-ks-stmark2-dma-fix-24a5931bf6d2 To: Geert Uytterhoeven , Greg Ungerer , Vinod Koul , Frank Li , Angelo Dureghello , Frank Li Cc: linux-m68k@lists.linux-m68k.org, linux-kernel@vger.kernel.org, dmaengine@vger.kernel.org, imx@lists.linux.dev, Angelo Dureghello , Sashiko AI Review X-Mailer: b4 0.15.2 Fix a group of Freescale ColdFire edma-related issues. This patchset has been driven from the following error: [ 5.520000] fsl-dspi fsl-dspi.0: DMA tx timeout [ 5.520000] fsl-dspi fsl-dspi.0: DMA transfer failed A sequence of issues was causing it: - ColdFire mcf54415 dma support has been disabled since couldn't work properly, due to the default ACR registers setup to have a fully cacheable (non-coherent) DDR memory, - as a consequence, fsl-dspi and other drivers using mcf-edma driver are not working anymore (error above, and other similar), - additionally, some other issues preventing edma driver to work has been fixed (some reported by Sashiko, except for the last patch of the serie). Together, some minor adjustments in the architecture (m68k) area has been done for the proper "edma fix" purpose. Important note: this patchset has been developed over (and depends from) the patch: Greg Ungerer m68k: coldfire: fix non-standard readX()/writeX() functions Link: https://lore.kernel.org/all/20260907134037.1855408-4-gerg@linux-m68k.org/ Signed-off-by: Angelo Dureghello --- Angelo Dureghello (10): m68k: add DMA global pool config m68k: add DMA global pool setup m68k: mcf54415: add defines for DMA global pool m68k: mcf54415: add DMA global pool initialization m68K: mcf54415: rename mcf edma clock name m68k: mcf54415: align device name with clock name dmaengine: mcf-edma: enable edma clock dmaengine: mcf-edma: fix wrong BIT() usage on u64 dmaengine: mcf-edma: fix wrong error handling dmaengine: fsl-edma: fix missing big-endian swap arch/m68k/Kconfig.cpu | 14 +++++++++++++ arch/m68k/coldfire/Makefile | 2 ++ arch/m68k/coldfire/device.c | 2 +- arch/m68k/coldfire/dma.c | 30 ++++++++++++++++++++++++++++ arch/m68k/coldfire/head.S | 5 +++++ arch/m68k/coldfire/m5441x.c | 11 ++++++++-- arch/m68k/include/asm/m54xxacr.h | 21 ++++++++++++++++---- arch/m68k/mm/kmap.c | 5 +++++ drivers/dma/fsl-edma-common.h | 6 +++--- drivers/dma/mcf-edma-main.c | 43 +++++++++++++++++++++++----------------- 10 files changed, 111 insertions(+), 28 deletions(-) --- base-commit: 4977160ce4ad297800e5243d1fb4b1d96d66d8fc change-id: 20261201-wip-ks-stmark2-dma-fix-24a5931bf6d2 Best regards, -- Angelo Dureghello