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-04-27 05:55:52 +0200
committerThorsten Leemhuis <fedora@leemhuis.info>2020-04-27 05:55:52 +0200
commitf7ba01a9677fffa21535bc6cdcad930a858d6106 (patch)
tree6eb6df39221f8926b813d63b41ffed9da18e6a5d /0001-ahci-thunderx2-Fix-for-errata-that-affects-stop-engi.patch
parent837cd03f031f1daaa2dda23d584cda25b0dfd51e (diff)
parent6c2cc50051831fa502a8b082a312ca90e7039f3f (diff)
downloadkernel-f7ba01a9677fffa21535bc6cdcad930a858d6106.tar.gz
kernel-f7ba01a9677fffa21535bc6cdcad930a858d6106.tar.xz
kernel-f7ba01a9677fffa21535bc6cdcad930a858d6106.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.patch6
1 files changed, 3 insertions, 3 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 b43284587..bb02b2941 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
@@ -1,4 +1,4 @@
-From 432b67a05003234c7b1db6a2355c6cff546e29d8 Mon Sep 17 00:00:00 2001
+From 20311eb9fe235e374e3c2482cec72aab353b91e4 Mon Sep 17 00:00:00 2001
From: Robert Richter <rrichter@redhat.com>
Date: Thu, 7 Jun 2018 22:59:33 -0400
Subject: [PATCH] ahci: thunderx2: Fix for errata that affects stop engine
@@ -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.0
+2.26.2