Patch "platform/x86: intel_scu_ipc: Increase virtual timeout to 10s" has been added to the 5.14-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

    platform/x86: intel_scu_ipc: Increase virtual timeout to 10s

to the 5.14-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:
     platform-x86-intel_scu_ipc-increase-virtual-timeout-.patch
and it can be found in the queue-5.14 subdirectory.

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



commit b75fcda760b8672326c2b5aca9108dffbeaf2730
Author: Prashant Malani <pmalani@xxxxxxxxxxxx>
Date:   Tue Sep 28 03:19:32 2021 -0700

    platform/x86: intel_scu_ipc: Increase virtual timeout to 10s
    
    [ Upstream commit 5c02b581ce84eea240d25c8318a1f65133a04415 ]
    
    Commit a7d53dbbc70a ("platform/x86: intel_scu_ipc: Increase virtual
    timeout from 3 to 5 seconds") states that the recommended timeout range
    is 5-10 seconds. Adjust the timeout value to the higher of those i.e 10
    seconds, to account for situations where the 5 seconds is insufficient
    for disconnect command success.
    
    Signed-off-by: Prashant Malani <pmalani@xxxxxxxxxxxx>
    Cc: Benson Leung <bleung@xxxxxxxxxxxx>
    Reviewed-by: Mika Westerberg <mika.westerberg@xxxxxxxxxxxxxxx>
    Link: https://lore.kernel.org/r/20210928101932.2543937-3-pmalani@xxxxxxxxxxxx
    Signed-off-by: Hans de Goede <hdegoede@xxxxxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/drivers/platform/x86/intel_scu_ipc.c b/drivers/platform/x86/intel_scu_ipc.c
index 25b98b12439f..daf199a9984b 100644
--- a/drivers/platform/x86/intel_scu_ipc.c
+++ b/drivers/platform/x86/intel_scu_ipc.c
@@ -75,7 +75,7 @@ struct intel_scu_ipc_dev {
 #define IPC_READ_BUFFER		0x90
 
 /* Timeout in jiffies */
-#define IPC_TIMEOUT		(5 * HZ)
+#define IPC_TIMEOUT		(10 * HZ)
 
 static struct intel_scu_ipc_dev *ipcdev; /* Only one for now */
 static DEFINE_MUTEX(ipclock); /* lock used to prevent multiple call to SCU */



[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