Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -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);