]> Git Repo - linux.git/commit
mailbox: pcc: Check before sending MCTP PCC response ACK
authorAdam Young <[email protected]>
Wed, 20 Nov 2024 19:02:14 +0000 (14:02 -0500)
committerJassi Brar <[email protected]>
Sun, 24 Nov 2024 19:20:40 +0000 (13:20 -0600)
commit7f9e19f207be0c534d517d65e01417ba968cdd34
tree71764e1ca65653892a597cb4dd97c552e5220630
parent81f939db2a44d82d3709faa45cab727c8cf7fc27
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]>
drivers/mailbox/pcc.c
include/acpi/pcc.h
This page took 0.052709 seconds and 4 git commands to generate.