[PATCH] soc: mtk-cmdq: Add cmdq_pkt_logic_command to support math operation

AngeloGioacchino Del Regno angelogioacchino.delregno at collabora.com
Tue Jun 25 01:53:41 PDT 2024


On Tue, 25 Jun 2024 16:39:57 +0800, Jason-JH.Lin wrote:
> Add cmdq_pkt_logic_command to support math operation.
> 
> cmdq_pkt_logic_command can append logic command to the CMDQ packet,
> ask GCE to execute a arithmetic calculate instruction,
> such as add, subtract, multiply, AND, OR and NOT, etc.
> 
> Note that all arithmetic instructions are unsigned calculations.
> If there are any overflows, GCE will sent the invalid IRQ to notify
> CMDQ driver.
> 
> [...]

Applied to v6.10-next/soc, thanks!

[1/1] soc: mtk-cmdq: Add cmdq_pkt_logic_command to support math operation
      commit: c1c028b8d5e6ef00a13bfc340fc60a9c27135017

Cheers,
Angelo





More information about the linux-arm-kernel mailing list