lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID:
 <VI2PR04MB11147B5FC64C5376025438FA1E8FDA@VI2PR04MB11147.eurprd04.prod.outlook.com>
Date: Tue, 28 Oct 2025 09:42:19 +0000
From: Carlos Song <carlos.song@....com>
To: Fabio Estevam <festevam@...il.com>
CC: Frank Li <frank.li@....com>, "broonie@...nel.org" <broonie@...nel.org>,
	"shawnguo@...nel.org" <shawnguo@...nel.org>, "s.hauer@...gutronix.de"
	<s.hauer@...gutronix.de>, "kernel@...gutronix.de" <kernel@...gutronix.de>,
	"linux-spi@...r.kernel.org" <linux-spi@...r.kernel.org>,
	"imx@...ts.linux.dev" <imx@...ts.linux.dev>,
	"linux-arm-kernel@...ts.infradead.org"
	<linux-arm-kernel@...ts.infradead.org>, "linux-kernel@...r.kernel.org"
	<linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v2] spi: imx: keep dma request disabled before dma
 transfer setup



> -----Original Message-----
> From: Fabio Estevam <festevam@...il.com>
> Sent: Monday, October 27, 2025 8:13 PM
> To: Carlos Song <carlos.song@....com>
> Cc: Frank Li <frank.li@....com>; broonie@...nel.org; shawnguo@...nel.org;
> s.hauer@...gutronix.de; kernel@...gutronix.de; linux-spi@...r.kernel.org;
> imx@...ts.linux.dev; linux-arm-kernel@...ts.infradead.org;
> linux-kernel@...r.kernel.org
> Subject: [EXT] Re: [PATCH v2] spi: imx: keep dma request disabled before dma
> transfer setup
> 
> Caution: This is an external email. Please take care when clicking links or
> opening attachments. When in doubt, report the message using the 'Report this
> email' button
> 
> 
> On Mon, Oct 27, 2025 at 8:04 AM <carlos.song@....com> wrote:
> >
> > From: Robin Gong <yibin.gong@....com>
> >
> > Due to a hardware limitation on SDMA event enable (ENBLn), the DMA
> > request must remain disabled until the DMA transfer setup is complete.
> >
> > Refer SDMA 2.6.28 Channel Enable RAM (SDMAARMx_CHNENBLn) section:
> >
> > "
> > It is thus essential for the Arm platform to program them before any
> > DMA request is triggered to the SDMA, otherwise an unpredictable
> > combination of channels may be started.
> > "
> >
> > SDMA hardware configuration is postponed to transfer phase, so
> > enabling the DMA request too early may cause unpredictable channel
> activation.
> > Then keep dma request disabled before dma transfer setup.
> >
> > Signed-off-by: Carlos Song <carlos.song@....com>
> > Signed-off-by: Robin Gong <yibin.gong@....com>
> 
> Should this contain a Fixes tag?

Thank you, I will add this at next version patch.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ