summaryrefslogtreecommitdiffstats
path: root/0001-ahci-thunderx2-Fix-for-errata-that-affects-stop-engi.patch
diff options
context:
space:
mode:
Diffstat (limited to '0001-ahci-thunderx2-Fix-for-errata-that-affects-stop-engi.patch')
-rw-r--r--0001-ahci-thunderx2-Fix-for-errata-that-affects-stop-engi.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/0001-ahci-thunderx2-Fix-for-errata-that-affects-stop-engi.patch b/0001-ahci-thunderx2-Fix-for-errata-that-affects-stop-engi.patch
index 0299e965c..1019c6974 100644
--- a/0001-ahci-thunderx2-Fix-for-errata-that-affects-stop-engi.patch
+++ b/0001-ahci-thunderx2-Fix-for-errata-that-affects-stop-engi.patch
@@ -62,7 +62,7 @@ index ea5bf5f4cbed..71c55cae27ac 100644
@@ -666,6 +666,24 @@ int ahci_stop_engine(struct ata_port *ap)
tmp &= ~PORT_CMD_START;
writel(tmp, port_mmio + PORT_CMD);
-
+
+#ifdef CONFIG_ARM64
+ /* Rev Ax of Cavium CN99XX needs a hack for port stop */
+ if (dev_is_pci(ap->host->dev) &&
@@ -85,5 +85,5 @@ index ea5bf5f4cbed..71c55cae27ac 100644
tmp = ata_wait_register(ap, port_mmio + PORT_CMD,
PORT_CMD_LIST_ON, PORT_CMD_LIST_ON, 1, 500);
--
-2.26.2
+2.25.4