summaryrefslogtreecommitdiff
path: root/drivers/mailbox
diff options
context:
space:
mode:
authorVignesh Raghavendra <vigneshr@ti.com>2021-12-17 15:01:55 +0530
committerVignesh Raghavendra <vigneshr@ti.com>2021-12-17 15:01:55 +0530
commit4575f9eb57c262823be0258cc9b08ea8b8d9b839 (patch)
tree6a4e2c4c6b92d3075da7691e88e43ccc451604ca /drivers/mailbox
parentdcc6bedb2c2bdb509709e4ae08303206e95ce6c2 (diff)
parentf884bb85b8d877d4e0c670403754813a7901705b (diff)
Merge tag 'v5.10.80' of https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux into ti-linux-5.10.y
This is the 5.10.80 stable release * tag 'v5.10.80' of https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux: (1714 commits) Linux 5.10.80 soc/tegra: pmc: Fix imbalanced clock disabling in error code path x86/sev: Make the #VC exception stacks part of the default stacks storage x86/sev: Add an x86 version of cc_platform_has() arch/cc: Introduce a function to check for confidential computing features selftests/bpf: Fix also no-alu32 strobemeta selftest mmc: moxart: Fix null pointer dereference on pointer host ath10k: fix invalid dma_addr_t token assignment SUNRPC: Partial revert of commit 6f9f17287e78 PCI: aardvark: Fix PCIe Max Payload Size setting PCI: Add PCI_EXP_DEVCTL_PAYLOAD_* macros drm/sun4i: Fix macros in sun8i_csc.h powerpc/85xx: fix timebase sync issue when CONFIG_HOTPLUG_CPU=n powerpc/powernv/prd: Unregister OPAL_MSG_PRD2 notifier during module unload mtd: rawnand: au1550nd: Keep the driver compatible with on-die ECC engines mtd: rawnand: plat_nand: Keep the driver compatible with on-die ECC engines mtd: rawnand: orion: Keep the driver compatible with on-die ECC engines mtd: rawnand: pasemi: Keep the driver compatible with on-die ECC engines mtd: rawnand: gpio: Keep the driver compatible with on-die ECC engines mtd: rawnand: mpc5121: Keep the driver compatible with on-die ECC engines ... Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com> # Conflicts: # Documentation/devicetree/bindings/mtd/gpmc-nand.txt # drivers/pci/controller/cadence/pci-j721e.c # drivers/pci/controller/cadence/pcie-cadence.c # drivers/pci/controller/cadence/pcie-cadence.h
Diffstat (limited to 'drivers/mailbox')
-rw-r--r--drivers/mailbox/mtk-cmdq-mailbox.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/mailbox/mtk-cmdq-mailbox.c b/drivers/mailbox/mtk-cmdq-mailbox.c
index 5665b6ea8119..75378e35c3d6 100644
--- a/drivers/mailbox/mtk-cmdq-mailbox.c
+++ b/drivers/mailbox/mtk-cmdq-mailbox.c
@@ -168,7 +168,8 @@ static void cmdq_task_insert_into_thread(struct cmdq_task *task)
dma_sync_single_for_cpu(dev, prev_task->pa_base,
prev_task->pkt->cmd_buf_size, DMA_TO_DEVICE);
prev_task_base[CMDQ_NUM_CMD(prev_task->pkt) - 1] =
- (u64)CMDQ_JUMP_BY_PA << 32 | task->pa_base;
+ (u64)CMDQ_JUMP_BY_PA << 32 |
+ (task->pa_base >> task->cmdq->shift_pa);
dma_sync_single_for_device(dev, prev_task->pa_base,
prev_task->pkt->cmd_buf_size, DMA_TO_DEVICE);