History

Merge tag 'mailbox-fixes-v6.18-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/jassibrar/mailbox

Pull mailbox fixes from Jassi Brar: - omap: check for pending msgs only when mbox is exclusive - mailbox-test: debugfs_create_dir error checking - mtk: - cmdq: fix DMA address handling - gpueb: Add missing 'static' to mailbox ops struct - pcc: don't zero error register - th1520: fix clock imbalance on probe failure * tag 'mailbox-fixes-v6.18-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/jassibrar/mailbox: mailbox: th1520: fix clock imbalance on probe failure mailbox: pcc: don't zero error register mailbox: mtk-gpueb: Add missing 'static' to mailbox ops struct mailbox: mtk-cmdq: Refine DMA address handling for the command buffer mailbox: mailbox-test: Fix debugfs_create_dir error checking mailbox: omap-mailbox: Check for pending msgs only when mbox is exclusive

Linus Torvalds committed 11 months ago

Commit 24a84ea2 parents 4331989 e3cee987 files · +68 −38Browse files

Showing the changes to include (1 of 7 files). Show all

Unified · Split

include/linux/mailbox/mtk-cmdq-mailbox.h+10−0
@@ -77,6 +77,16 @@ struct cmdq_pkt { · 76 unmodified lines
77 size_t buf_size; /* real buffer size */77 size_t buf_size; /* real buffer size */
78};78};
79 79
80/**
81 * cmdq_get_shift_pa() - get the shift bits of physical address
82 * @chan: mailbox channel
83 *
84 * GCE can only fetch the command buffer address from a 32-bit register.
85 * Some SOCs support more than 32-bit command buffer address for GCE, which
86 * requires some shift bits to make the address fit into the 32-bit register.
87 *
88 * Return: the shift bits of physical address
89 */
80u8 cmdq_get_shift_pa(struct mbox_chan *chan);90u8 cmdq_get_shift_pa(struct mbox_chan *chan);
81 91
82#endif /* __MTK_CMDQ_MAILBOX_H__ */92#endif /* __MTK_CMDQ_MAILBOX_H__ */