cmdq_pkt_jump_abs(9)
π« cmdq_pkt_jump_abs(9) β from the Kernel API Manual, bestie π«
okay so real talk, this is a page straight outta the Kernel API Manual (Linux kernel docs, we love her) and it's all about cmdq_pkt_jump_abs. Buckle up π
β¨ NAME β¨
cmdq_pkt_jump_abs β this one appends a jump command to the CMDQ packet, which basically asks the GCE to go execute an instruction that changes the current thread PC over to an absolute physical address. And that address should contain more instruction(s) for it to run. it's giving "go here next, queen" π
πΈ SYNOPSIS πΈ
int cmdq_pkt_jump_abs (struct cmdq_pkt *pkt , dma_addr_t addr , u8
shift_pa );
three args, one int back, no drama π
π¦ ARGUMENTS π¦
pktβ the CMDQ packet itself. that's your canvas, your main character π«Άaddrβ the absolute physical address of the target instruction buffer. this is literally where we're jumping to, no cap πshift_paβ the shift bits of the physical address in the CMDQ instruction. and bestie, you don't just make this up β you get this value fromcmdq_get_shift_paπ§β¨
π RETURN π
0 for success β slay π β otherwise the error code gets returned π (yes, an int, told you)
π SEE ALSO π
the kernel file, iconic, look at her:
./include/linux/soc/mediatek/mtk-cmdq.h
and the whole friend group, all of them, every single one, in order:
cmdq_dev_get_client_reg(9)cmdq_mbox_create(9)cmdq_mbox_destroy(9)cmdq_pkt_create(9)cmdq_pkt_destroy(9)cmdq_pkt_write(9)cmdq_pkt_write_pa(9)cmdq_pkt_write_subsys(9)cmdq_pkt_write_mask(9)cmdq_pkt_write_mask_pa(9)cmdq_pkt_write_mask_subsys(9)cmdq_pkt_write_s(9)cmdq_pkt_write_s_mask(9)cmdq_pkt_write_s_value(9)cmdq_pkt_write_s_mask_value(9)cmdq_pkt_mem_move(9)cmdq_pkt_wfe(9)cmdq_pkt_acquire_event(9)cmdq_pkt_clear_event(9)cmdq_pkt_set_event(9)cmdq_pkt_poll(9)cmdq_pkt_poll_mask(9)cmdq_pkt_logic_command(9)cmdq_pkt_assign(9)cmdq_pkt_poll_addr(9)cmdq_pkt_jump_rel(9)cmdq_pkt_jump_rel_temp(9)cmdq_pkt_eoc(9)
ngl, that's the whole page β every flag, every arg, every cross-reference, preserved like a limited-edition sticker collection π
and that's a wrap, bestie π this gem lives in ./include/linux/soc/mediatek, dated October 2026, and it's part of the Kernel API Manual β fr fr, go read the header file, iykyk ππ₯π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms