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-29 20:59:56 +0200
committerThorsten Leemhuis <fedora@leemhuis.info>2020-06-29 20:59:56 +0200
commit7b32641801900ee7e32065b436d7318c5d7a972e (patch)
tree7e1f1ffca46787c5ba55af0a2fc9767f9c6e5594 /0001-ahci-thunderx2-Fix-for-errata-that-affects-stop-engi.patch
parent506260a3258dfcbd81c9c8b2f051b9c515ad6071 (diff)
parent61b5e2fd06a4be7134afb1cd363002e015123f7f (diff)
downloadkernel-5.8.0-0.rc3.1.vanilla.1.fc32.tar.gz
kernel-5.8.0-0.rc3.1.vanilla.1.fc32.tar.xz
kernel-5.8.0-0.rc3.1.vanilla.1.fc32.zip
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