[PATCH v2] bus: imx-aipstz: set default value for opacr registers

Laurentiu Mihalcea laurentiumihalcea111 at gmail.com
Mon Jan 26 07:22:54 PST 2026


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 at nxp.com>


Reviewed-by: Laurentiu Mihalcea <laurentiu.mihalcea at nxp.com>




More information about the linux-arm-kernel mailing list