[PATCH 0/9] Add GCE support for MT8196 (series 1/4)

AngeloGioacchino Del Regno angelogioacchino.delregno at collabora.com
Thu Jan 8 01:37:35 PST 2026


Il 31/10/25 16:56, Jason-JH Lin ha scritto:
> From: Jason-jh Lin <jason-jh.lin at mediatek.corp-partner.google.com>
> 
> This series adds initial support for the MediaTek MT8196 GCE in the CMDQ
> driver, including related API changes for new hardware requirements.
> 
> Series application order:
>    1. [Fixes] Refine DMA address handling for the command buffer
>    - https://lore.kernel.org/all/20251022171847.379470-1-jason-jh.lin@mediatek.com/
>    2. [Series 1/4] Add GCE support for MT8196 and update CMDQ APIs (this series)
>    3. [Series 2/4] Migrate subsystems to new CMDQ APIs
>    4. [Series 3/4] Remove shift_pa from CMDQ jump functions
>    5. [Series 4/4] Remove deprecated CMDQ APIs
> 
> Please apply this series after the DMA address handling Fixes patch[1],
> and before the following series.
> 

Jassi, since this is touching both mailbox and soc/mediatek, can we avoid to create
immutable branches to pick this entire thing?

If you wish, I'm fine with you picking the soc/mediatek commits as well as the
mailbox ones, or I can pick the mailbox ones instead if you're okay with that.

Whole series is, of course...

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

Cheers,
Angelo

> ---
> 
> Jason-JH Lin (9):
>    arm64: dts: mediatek: Add GCE header for MT8196
>    mailbox: mtk-cmdq: Add cmdq private data to cmdq_pkt for generating
>      instruction
>    mailbox: mtk-cmdq: Add GCE hardware virtualization configuration
>    mailbox: mtk-cmdq: Add mminfra_offset configuration for DRAM
>      transaction
>    mailbox: mtk-cmdq: Add driver data to support for MT8196
>    soc: mediatek: mtk-cmdq: Add cmdq_get_mbox_priv() in cmdq_pkt_create()
>    soc: mediatek: mtk-cmdq: Add pa_base parsing for hardware without
>      subsys ID support
>    soc: mediatek: mtk-cmdq: Extend cmdq_pkt_write API for SoCs without
>      subsys ID
>    soc: mediatek: mtk-cmdq: Add mminfra_offset adjustment for DRAM
>      addresses
> 
>   arch/arm64/boot/dts/mediatek/mt8196-gce.h | 612 ++++++++++++++++++++++
>   drivers/mailbox/mtk-cmdq-mailbox.c        |  74 ++-
>   drivers/soc/mediatek/mtk-cmdq-helper.c    |  77 ++-
>   include/linux/mailbox/mtk-cmdq-mailbox.h  |  19 +
>   include/linux/soc/mediatek/mtk-cmdq.h     |  93 ++++
>   5 files changed, 869 insertions(+), 6 deletions(-)
>   create mode 100644 arch/arm64/boot/dts/mediatek/mt8196-gce.h
> 






More information about the Linux-mediatek mailing list