Commit 6170a506 authored by Tushar Dave's avatar Tushar Dave Committed by David S. Miller

sparc64: remove unnecessary log message

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: default avatarTushar Dave <tushar.n.dave@oracle.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 79db7958
...@@ -1266,8 +1266,6 @@ static int pci_sun4v_probe(struct platform_device *op) ...@@ -1266,8 +1266,6 @@ static int pci_sun4v_probe(struct platform_device *op)
* ATU group, but ATU hcalls won't be available. * ATU group, but ATU hcalls won't be available.
*/ */
hv_atu = false; hv_atu = false;
pr_err(PFX "Could not register hvapi ATU err=%d\n",
err);
} else { } else {
pr_info(PFX "Registered hvapi ATU major[%lu] minor[%lu]\n", pr_info(PFX "Registered hvapi ATU major[%lu] minor[%lu]\n",
vatu_major, vatu_minor); vatu_major, vatu_minor);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment