linux-next/drivers/mailbox
Adam Young 7f9e19f207 mailbox: pcc: Check before sending MCTP PCC response ACK
Type 4 PCC channels have an option to send back a response
to the platform when they are done processing the request.
The flag to indicate whether or not to respond is inside
the message body, and thus is not available to the pcc
mailbox.

If the flag is not set, still set command completion
bit after processing message.

In order to read the flag, this patch maps the shared
buffer to virtual memory. To avoid duplication of mapping
the shared buffer is then made available to be used by
the driver that uses the mailbox.

Signed-off-by: Adam Young <admiyo@os.amperecomputing.com>
Cc: Sudeep Holla <sudeep.holla@arm.com>
Signed-off-by: Jassi Brar <jassisinghbrar@gmail.com>
2024-11-24 13:20:40 -06:00
..
arm_mhu_db.c mailbox: Explicitly include correct DT includes 2023-09-05 10:10:58 -05:00
arm_mhu.c mailbox: Explicitly include correct DT includes 2023-09-05 10:10:58 -05:00
arm_mhuv2.c mailbox: arm_mhuv2: clean up loop in get_irq_chan_comb() 2024-11-24 13:08:53 -06:00
arm_mhuv3.c mailbox: arm_mhuv3: Add driver 2024-05-19 22:30:09 -05:00
armada-37xx-rwtm-mailbox.c treewide: change my e-mail address, fix my name 2021-04-09 14:54:23 -07:00
bcm2835-mailbox.c mailbox: bcm2835: Fix timeout during suspend mode 2024-09-22 19:19:17 -05:00
bcm-flexrm-mailbox.c mailbox: Switch back to struct platform_driver::remove() 2024-11-24 13:11:01 -06:00
bcm-pdc-mailbox.c mailbox: Switch back to struct platform_driver::remove() 2024-11-24 13:11:01 -06:00
hi3660-mailbox.c mailbox: Explicitly include correct DT includes 2023-09-05 10:10:58 -05:00
hi6220-mailbox.c mailbox: Explicitly include correct DT includes 2023-09-05 10:10:58 -05:00
imx-mailbox.c mailbox: Switch back to struct platform_driver::remove() 2024-11-24 13:11:01 -06:00
Kconfig mailbox: Introduce support for T-head TH1520 Mailbox driver 2024-11-24 13:06:37 -06:00
mailbox-altera.c mailbox: altera: Make use of the helper function devm_platform_ioremap_resource() 2021-10-16 14:39:48 -05:00
mailbox-mpfs.c mailbox: mpfs: support new, syscon based, devicetree configuration 2024-11-24 12:54:16 -06:00
mailbox-sti.c mailbox: Use device_get_match_data() 2023-10-15 12:39:16 -05:00
mailbox-test.c mailbox: Switch back to struct platform_driver::remove() 2024-11-24 13:11:01 -06:00
mailbox-th1520.c mailbox: Introduce support for T-head TH1520 Mailbox driver 2024-11-24 13:06:37 -06:00
mailbox-xgene-slimpro.c mailbox: xgene-slimpro: Make use of the helper function devm_platform_ioremap_resource() 2021-10-16 14:39:49 -05:00
mailbox.c mailbox: Use of_property_match_string() instead of open-coding 2024-09-22 19:19:17 -05:00
mailbox.h mailbox: fix various typos in comments 2021-04-13 20:07:35 -05:00
Makefile mailbox: Introduce support for T-head TH1520 Mailbox driver 2024-11-24 13:06:37 -06:00
mtk-adsp-mailbox.c mailbox: Explicitly include correct DT includes 2023-09-05 10:10:58 -05:00
mtk-cmdq-mailbox.c mailbox: Switch back to struct platform_driver::remove() 2024-11-24 13:11:01 -06:00
omap-mailbox.c mailbox, remoteproc: omap2+: fix compile testing 2024-09-27 09:11:05 -05:00
pcc.c mailbox: pcc: Check before sending MCTP PCC response ACK 2024-11-24 13:20:40 -06:00
pl320-ipc.c mailbox: fix various typos in comments 2021-04-13 20:07:35 -05:00
platform_mhu.c mailbox: Explicitly include correct DT includes 2023-09-05 10:10:58 -05:00
qcom-apcs-ipc-mailbox.c mailbox: Switch back to struct platform_driver::remove() 2024-11-24 13:11:01 -06:00
qcom-cpucp-mbox.c mailbox: qcom-cpucp: Mark the irq with IRQF_NO_SUSPEND flag 2024-11-24 12:56:31 -06:00
qcom-ipcc.c mailbox: Switch back to struct platform_driver::remove() 2024-11-24 13:11:01 -06:00
rockchip-mailbox.c mailbox: rockchip: fix a typo in module autoloading 2024-09-22 19:19:17 -05:00
sprd-mailbox.c mailbox: sprd: Use devm_clk_get_enabled() helpers 2024-09-22 19:19:17 -05:00
stm32-ipcc.c mailbox: Switch back to struct platform_driver::remove() 2024-11-24 13:11:01 -06:00
sun6i-msgbox.c mailbox: Switch back to struct platform_driver::remove() 2024-11-24 13:11:01 -06:00
tegra-hsp.c mailbox: Switch back to struct platform_driver::remove() 2024-11-24 13:11:01 -06:00
ti-msgmgr.c mailbox: ti-msgmgr: Remove use of of_match_ptr() helper 2024-11-24 12:57:49 -06:00
zynqmp-ipi-mailbox.c mailbox: Switch back to struct platform_driver::remove() 2024-11-24 13:11:01 -06:00