[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <b7c2a2b8-000e-4bf8-89cf-19e4e21e78a7@gmail.com>
Date: Mon, 26 Jan 2026 07:22:54 -0800
From: Laurentiu Mihalcea <laurentiumihalcea111@...il.com>
To: Shengjiu Wang <shengjiu.wang@....com>, shawnguo@...nel.org,
s.hauer@...gutronix.de, kernel@...gutronix.de, festevam@...il.com,
laurentiu.mihalcea@....com, daniel.baluta@....com, imx@...ts.linux.dev,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
shengjiu.wang@...il.com
Subject: Re: [PATCH v2] bus: imx-aipstz: set default value for opacr registers
On 1/26/2026 1:11 AM, Shengjiu Wang wrote:
> The sdma script app_2_mcu needs the permission to access the peripheral
> devices:
>
> 1) SDMA2 transactions are set to user-mode in this particular case.
> 2) This type of script doesn't use the peripheral interface (connected
> directly to SPBA), but it uses the peripheral DMA interface, then the
> SDMA2-issued transactions are subjected to AIPSTZ5's security-related
> checks.
>
> So need to clear the Supervisor Protect bit of SPBA2, otherwise the sdma
> script can't work. As the imx-aipstz is a common driver for all aips bus,
> so set default value (zero) for all opacr registers.
>
> Signed-off-by: Shengjiu Wang <shengjiu.wang@....com>
Reviewed-by: Laurentiu Mihalcea <laurentiu.mihalcea@....com>
Powered by blists - more mailing lists