From: David Miller <davem@davemloft.net>
To: stable@vger.kernel.org
Subject: [PATCH] Sparc
Date: Wed, 23 Aug 2017 20:25:43 -0700 (PDT) [thread overview]
Message-ID: <20170823.202543.992302698473779149.davem@davemloft.net> (raw)
[-- Attachment #1: Type: Text/Plain, Size: 71 bytes --]
Please queue up the attached sparc fix for v4.9 and v4.12,
thank you!
[-- Attachment #2: 0001-sparc64-remove-unnecessary-log-message.patch --]
[-- Type: Text/X-Patch, Size: 1303 bytes --]
>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: [PATCH] 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>
---
arch/sparc/kernel/pci_sun4v.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/arch/sparc/kernel/pci_sun4v.c b/arch/sparc/kernel/pci_sun4v.c
index f10e2f712394..9ebebf1fd93d 100644
--- a/arch/sparc/kernel/pci_sun4v.c
+++ b/arch/sparc/kernel/pci_sun4v.c
@@ -1266,8 +1266,6 @@ static int pci_sun4v_probe(struct platform_device *op)
* 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);
--
2.13.5
next reply other threads:[~2017-08-24 3:25 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-24 3:25 David Miller [this message]
2017-08-25 0:41 ` [PATCH] Sparc Greg KH
-- strict thread matches above, loose matches on Subject: below --
2020-02-05 14:11 David Miller
2020-02-06 4:54 ` Sasha Levin
2020-02-06 6:49 ` Greg KH
2019-06-03 20:38 David Miller
2019-06-04 7:48 ` Greg KH
2018-05-22 17:51 David Miller
2018-05-22 18:13 ` Greg KH
2018-04-13 17:23 David Miller
2018-04-13 17:38 ` David Miller
2018-04-14 14:05 ` Greg KH
2018-01-01 3:36 David Miller
2018-01-01 10:06 ` Greg KH
2017-11-20 11:53 David Miller
2017-11-20 20:08 ` Greg KH
2017-05-11 2:42 David Miller
2017-05-11 8:36 ` Greg KH
2015-07-03 22:32 [PATCH] SPARC David Miller
2015-07-04 2:57 ` Greg KH
2015-07-09 13:40 ` Luis Henriques
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170823.202543.992302698473779149.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=stable@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).