[PATCH v6 4/8] mailbox: mtk-cmdq: Support GCE loop packets in interrupt handler

AngeloGioacchino Del Regno angelogioacchino.delregno at collabora.com
Tue May 28 03:24:46 PDT 2024


Il 26/05/24 01:08, Jason-JH.Lin ha scritto:
> 1. Add a loop flag for CMDQ packet struct.
> CMDQ helper will use a loop flag to mark CMDQ packet as lopping command
> and make current command buffer jumps to the beginning when GCE executes
> to the end of command buffer.
> 
> 2. Add a looping task handle flow in irq handler.
> GCE irq occurs when GCE executes to the end of command(EOC) instruction.
> If the CMDQ packet is a loopping command, GCE irq handler can not
> delete the CMDQ task and disable the GCE thread.
> 
> Signed-off-by: Jason-JH.Lin <jason-jh.lin at mediatek.com>
> Signed-off-by: Hsiao Chien Sung <shawn.sung at mediatek.com>

Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno at collabora.com>





More information about the linux-arm-kernel mailing list