]> 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)
committerDamien Le Moal <damien.lemoal@opensource.wdc.com>
Thu, 18 Nov 2021 05:34:25 +0000 (14:34 +0900)
commit731e7695be49411eff9936831a73145a1757dda3
tree6aba12f844a0d3bcab6723d67a0bc417586604f5
parent940b60b2581630de972277f9600f9a51344cb82b
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 de8d662864e4 ("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>
drivers/ata/ahci.c