summaryrefslogtreecommitdiffstats
path: root/0001-ahci-thunderx2-Fix-for-errata-that-affects-stop-engi.patch
diff options
context:
space:
mode:
authorThorsten Leemhuis <fedora@leemhuis.info>2020-06-30 17:31:55 +0200
committerThorsten Leemhuis <fedora@leemhuis.info>2020-06-30 17:31:55 +0200
commite11be5e9f76f0b54aa2a38b67b3cf193a0dfae9a (patch)
tree724e53ad8d5c0f42dc98ddc9e9ab1f39e1e3c542 /0001-ahci-thunderx2-Fix-for-errata-that-affects-stop-engi.patch
parent7b32641801900ee7e32065b436d7318c5d7a972e (diff)
parentd176dfce22f5ead7a6018edb69757bc8840cc008 (diff)
downloadkernel-e11be5e9f76f0b54aa2a38b67b3cf193a0dfae9a.tar.gz
kernel-e11be5e9f76f0b54aa2a38b67b3cf193a0dfae9a.tar.xz
kernel-e11be5e9f76f0b54aa2a38b67b3cf193a0dfae9a.zip
merge origin
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 1019c6974..0299e965c 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.25.4
+2.26.2