vfio/pci: Also demote hiding standard cap messages
authorAlex Williamson <alex.williamson@redhat.com>
Tue, 23 May 2023 22:52:50 +0000 (16:52 -0600)
committerAlex Williamson <alex.williamson@redhat.com>
Fri, 26 May 2023 19:58:27 +0000 (13:58 -0600)
Apply the same logic as commit 912b625b4dcf ("vfio/pci: demote hiding
ecap messages to debug level") for the less common case of hiding
standard capabilities.

Reviewed-by: Oleksandr Natalenko <oleksandr@natalenko.name>
Reviewed-by: Cédric Le Goater <clg@redhat.com>
Link: https://lore.kernel.org/r/20230523225250.1215911-1-alex.williamson@redhat.com
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
drivers/vfio/pci/vfio_pci_config.c

index 1d95fe4..7e2e62a 100644 (file)
@@ -1566,8 +1566,8 @@ static int vfio_cap_init(struct vfio_pci_core_device *vdev)
                }
 
                if (!len) {
-                       pci_info(pdev, "%s: hiding cap %#x@%#x\n", __func__,
-                                cap, pos);
+                       pci_dbg(pdev, "%s: hiding cap %#x@%#x\n", __func__,
+                               cap, pos);
                        *prev = next;
                        pos = next;
                        continue;