]> git.baikalelectronics.ru Git - kernel.git/commit
ata: ahci: Add Green Sardine vendor ID as board_ahci_mobile
authorMario Limonciello <mario.limonciello@amd.com>
Fri, 12 Nov 2021 20:15:38 +0000 (14:15 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 8 Dec 2021 08:04:40 +0000 (09:04 +0100)
commitd1d4881a34490858e8cb51d654471892b8573b48
treee9ec6524823b34881bce21cd96ea21d46baa23e3
parent76533e343698a0a02c2db0d01b2ffb040683c77e
ata: ahci: Add Green Sardine vendor ID as board_ahci_mobile

[ Upstream commit d026345f2169ad4e3ccc9d1bc0b046728d207f57 ]

AMD requires that the SATA controller be configured for devsleep in order
for S0i3 entry to work properly.

commit babc0041f6ae ("ata: ahci: Enable DEVSLP by default on x86 with
SLP_S0") sets up a kernel policy to enable devsleep on Intel mobile
platforms that are using s0ix.  Add the PCI ID for the SATA controller in
Green Sardine platforms to extend this policy by default for AMD based
systems using s0i3 as well.

Cc: Nehal-bakulchandra Shah <Nehal-bakulchandra.Shah@amd.com>
BugLink: https://bugzilla.kernel.org/show_bug.cgi?id=214091
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/ata/ahci.c