]> git.baikalelectronics.ru Git - kernel.git/commit
PCI: Increase D3 delay for AMD Renoir/Cezanne XHCI
authorMarcin Bachry <hegel666@gmail.com>
Thu, 22 Jul 2021 02:58:58 +0000 (22:58 -0400)
committerSasha Levin <sashal@kernel.org>
Thu, 26 Aug 2021 12:36:21 +0000 (08:36 -0400)
commitb9538905f1742a0a29df4ac496fc209fa2712e24
treef43711d9cfe279d55d458419a77dad5433d12ac6
parentd2438a8aa02ea028142d14e399470eec23939c1d
PCI: Increase D3 delay for AMD Renoir/Cezanne XHCI

[ Upstream commit e0bff43220925b7e527f9d3bc9f5c624177c959e ]

The Renoir XHCI controller apparently doesn't resume reliably with the
standard D3hot-to-D0 delay.  Increase it to 20ms.

[Alex: I talked to the AMD USB hardware team and the AMD Windows team and
they are not aware of any HW errata or specific issues.  The HW works fine
in Windows.  I was told Windows uses a rather generous default delay of
100ms for PCI state transitions.]

Link: https://lore.kernel.org/r/20210722025858.220064-1-alexander.deucher@amd.com
Signed-off-by: Marcin Bachry <hegel666@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Cc: stable@vger.kernel.org
Cc: Mario Limonciello <mario.limonciello@amd.com>
Cc: Prike Liang <prike.liang@amd.com>
Cc: Shyam Sundar S K <shyam-sundar.s-k@amd.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/pci/quirks.c