]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
4.12-stable patches
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 25 Aug 2017 00:37:15 +0000 (17:37 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 25 Aug 2017 00:37:15 +0000 (17:37 -0700)
added patches:
sparc64-remove-unnecessary-log-message.patch

queue-4.12/series [new file with mode: 0644]
queue-4.12/sparc64-remove-unnecessary-log-message.patch [new file with mode: 0644]
queue-4.9/series [new file with mode: 0644]

diff --git a/queue-4.12/series b/queue-4.12/series
new file mode 100644 (file)
index 0000000..ea3d43e
--- /dev/null
@@ -0,0 +1 @@
+sparc64-remove-unnecessary-log-message.patch
diff --git a/queue-4.12/sparc64-remove-unnecessary-log-message.patch b/queue-4.12/sparc64-remove-unnecessary-log-message.patch
new file mode 100644 (file)
index 0000000..fb58a7f
--- /dev/null
@@ -0,0 +1,31 @@
+From 6170a506899aee3dd4934c928426505e47b1b466 Mon Sep 17 00:00:00 2001
+From: Tushar Dave <tushar.n.dave@oracle.com>
+Date: Wed, 16 Aug 2017 11:09:10 -0700
+Subject: sparc64: remove unnecessary log message
+
+[ Upstream commit 6170a506899aee3dd4934c928426505e47b1b466 ]
+
+There is no need to log message if ATU hvapi couldn't get register.
+Unlike PCI hvapi, ATU hvapi registration failure is not hard error.
+Even if ATU hvapi registration fails (on system with ATU or without
+ATU) system continues with legacy IOMMU. So only log message when
+ATU hvapi successfully get registered.
+
+Signed-off-by: Tushar Dave <tushar.n.dave@oracle.com>
+Signed-off-by: David S. Miller <davem@davemloft.net>
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+---
+ arch/sparc/kernel/pci_sun4v.c |    2 --
+ 1 file changed, 2 deletions(-)
+
+--- a/arch/sparc/kernel/pci_sun4v.c
++++ b/arch/sparc/kernel/pci_sun4v.c
+@@ -1241,8 +1241,6 @@ static int pci_sun4v_probe(struct platfo
+                        * ATU group, but ATU hcalls won't be available.
+                        */
+                       hv_atu = false;
+-                      pr_err(PFX "Could not register hvapi ATU err=%d\n",
+-                             err);
+               } else {
+                       pr_info(PFX "Registered hvapi ATU major[%lu] minor[%lu]\n",
+                               vatu_major, vatu_minor);
diff --git a/queue-4.9/series b/queue-4.9/series
new file mode 100644 (file)
index 0000000..ea3d43e
--- /dev/null
@@ -0,0 +1 @@
+sparc64-remove-unnecessary-log-message.patch