Patch "ACPI: PCC: Fix Tx acknowledge in the PCC address space handler" has been added to the 6.0-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    ACPI: PCC: Fix Tx acknowledge in the PCC address space handler

to the 6.0-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     acpi-pcc-fix-tx-acknowledge-in-the-pcc-address-space.patch
and it can be found in the queue-6.0 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit ea95ed3113415fc26a4bf7fbafb459398d8afced
Author: Huisong Li <lihuisong@xxxxxxxxxx>
Date:   Tue Sep 20 17:45:00 2022 +0800

    ACPI: PCC: Fix Tx acknowledge in the PCC address space handler
    
    [ Upstream commit 18729106c26fb97d4c9ae63ba7aba9889a058dc4 ]
    
    Currently, mbox_client_txdone() is called from the PCC address space
    handler and that expects the user the Tx state machine to be controlled
    by the client which is not the case and the below warning is thrown:
    
      | PCCT: Client can't run the TX ticker
    
    Let the controller run the state machine and the end of Tx can be
    acknowledge by calling mbox_chan_txdone() instead.
    
    Fixes: 77e2a04745ff ("ACPI: PCC: Implement OperationRegion handler for the PCC Type 3 subtype")
    Signed-off-by: Huisong Li <lihuisong@xxxxxxxxxx>
    Reviewed-by: Sudeep Holla <sudeep.holla@xxxxxxx>
    Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@xxxxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/drivers/acpi/acpi_pcc.c b/drivers/acpi/acpi_pcc.c
index 16ba875e3293..ee4ce5ba1fb2 100644
--- a/drivers/acpi/acpi_pcc.c
+++ b/drivers/acpi/acpi_pcc.c
@@ -121,7 +121,7 @@ acpi_pcc_address_space_handler(u32 function, acpi_physical_address addr,
 		}
 	}
 
-	mbox_client_txdone(data->pcc_chan->mchan, ret);
+	mbox_chan_txdone(data->pcc_chan->mchan, ret);
 
 	memcpy_fromio(value, data->pcc_comm_addr, data->ctx.length);
 



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux