aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/cdns3/cdns3-pci-wrap.c
diff options
context:
space:
mode:
authorAdam Young <[email protected]>2024-11-20 19:02:14 +0000
committerJassi Brar <[email protected]>2024-11-24 19:20:40 +0000
commit7f9e19f207be0c534d517d65e01417ba968cdd34 (patch)
tree71764e1ca65653892a597cb4dd97c552e5220630 /drivers/usb/cdns3/cdns3-pci-wrap.c
parentmailbox: Switch back to struct platform_driver::remove() (diff)
downloadkernel-7f9e19f207be0c534d517d65e01417ba968cdd34.tar.gz
kernel-7f9e19f207be0c534d517d65e01417ba968cdd34.zip
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 <[email protected]> Cc: Sudeep Holla <[email protected]> Signed-off-by: Jassi Brar <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-pci-wrap.c')
0 files changed, 0 insertions, 0 deletions