acrn-kernel/drivers/mailbox
Dave Gerlach df227dc8a6 mailbox: ti-msgmgr: Operate mailbox in polled mode during system suspend
During the system suspend path we must set all queues to operate in
polled mode as it is possible for any protocol built using this mailbox,
such as TISCI, to require communication during the no irq phase of suspend,
and we cannot rely on interrupts there.

Polled mode is implemented by allowing the mailbox user to define an
RX channel as part of the message that is sent which is what gets polled
for a response. If polled mode is enabled, this will immediately be
polled for a response at the end of the mailbox send_data op before
returning success for the data send or timing out if no response is
received.

Finally, to ensure polled mode is always enabled during system suspend,
iterate through all queues to set RX queues to polled mode during system
suspend and disable polled mode for all in the resume handler.

Signed-off-by: Dave Gerlach <d-gerlach@ti.com>
Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
2022-03-12 19:33:30 -06:00
..
Kconfig mailbox: mediatek: add support for adsp mailbox controller 2022-03-12 19:24:57 -06:00
Makefile mailbox: mediatek: add support for adsp mailbox controller 2022-03-12 19:24:57 -06:00
apple-mailbox.c
arm_mhu.c
arm_mhu_db.c
arm_mhuv2.c
armada-37xx-rwtm-mailbox.c
bcm-flexrm-mailbox.c Rework of the MSI interrupt infrastructure: 2022-01-13 09:05:29 -08:00
bcm-pdc-mailbox.c
bcm2835-mailbox.c
hi3660-mailbox.c mailbox: hi3660: convert struct comments to kernel-doc notation 2022-01-11 23:47:32 -06:00
hi6220-mailbox.c
imx-mailbox.c mailbox: imx: support i.MX93 S401 MU 2022-03-12 19:31:09 -06:00
mailbox-altera.c
mailbox-mpfs.c mailbox: change mailbox-mpfs compatible string 2022-01-11 23:47:33 -06:00
mailbox-sti.c
mailbox-test.c
mailbox-xgene-slimpro.c
mailbox.c
mailbox.h
mtk-adsp-mailbox.c mailbox: mediatek: add support for adsp mailbox controller 2022-03-12 19:24:57 -06:00
mtk-cmdq-mailbox.c mailbox: mtk: add missing of_node_put before return 2022-01-11 23:47:33 -06:00
omap-mailbox.c
pcc.c mailbox: pcc: Handle all PCC subtypes correctly in pcc_mbox_irq 2022-01-11 23:47:33 -06:00
pl320-ipc.c
platform_mhu.c
qcom-apcs-ipc-mailbox.c mailbox: qcom-apcs-ipc: Add compatible for MSM8976 SoC 2022-03-12 19:22:11 -06:00
qcom-ipcc.c mailbox: qcom-ipcc: Support interrupt wake up from suspend 2022-01-11 23:47:33 -06:00
rockchip-mailbox.c
sprd-mailbox.c
stm32-ipcc.c
sun6i-msgbox.c
tegra-hsp.c mailbox: tegra-hsp: Flush whole channel 2022-03-12 19:20:48 -06:00
ti-msgmgr.c mailbox: ti-msgmgr: Operate mailbox in polled mode during system suspend 2022-03-12 19:33:30 -06:00
zynqmp-ipi-mailbox.c mailbox: zynq: add missing of_node_put before return 2022-01-11 23:47:32 -06:00