Skip to content

Commit 1527f69

Browse files
superm1Damien Le Moal
authored andcommitted
ata: ahci: Add Green Sardine vendor ID as board_ahci_mobile
AMD requires that the SATA controller be configured for devsleep in order for S0i3 entry to work properly. commit b1a9585 ("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 <[email protected]> BugLink: https://bugzilla.kernel.org/show_bug.cgi?id=214091 Signed-off-by: Mario Limonciello <[email protected]> Signed-off-by: Damien Le Moal <[email protected]>
1 parent 06f6c4c commit 1527f69

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/ata/ahci.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -438,6 +438,7 @@ static const struct pci_device_id ahci_pci_tbl[] = {
438438
/* AMD */
439439
{ PCI_VDEVICE(AMD, 0x7800), board_ahci }, /* AMD Hudson-2 */
440440
{ PCI_VDEVICE(AMD, 0x7900), board_ahci }, /* AMD CZ */
441+
{ PCI_VDEVICE(AMD, 0x7901), board_ahci_mobile }, /* AMD Green Sardine */
441442
/* AMD is using RAID class only for ahci controllers */
442443
{ PCI_VENDOR_ID_AMD, PCI_ANY_ID, PCI_ANY_ID, PCI_ANY_ID,
443444
PCI_CLASS_STORAGE_RAID << 8, 0xffffff, board_ahci },

0 commit comments

Comments
 (0)