* [PATCH] vfio/pci: Also demote hiding standard cap messages
@ 2023-05-23 22:52 Alex Williamson
2023-05-24 7:52 ` Cédric Le Goater
2023-05-24 8:01 ` Oleksandr Natalenko
0 siblings, 2 replies; 3+ messages in thread
From: Alex Williamson @ 2023-05-23 22:52 UTC (permalink / raw)
To: kvm; +Cc: Alex Williamson, oleksandr, clg
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.
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
---
drivers/vfio/pci/vfio_pci_config.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/vfio/pci/vfio_pci_config.c b/drivers/vfio/pci/vfio_pci_config.c
index 1d95fe435f0e..7e2e62ab0869 100644
--- a/drivers/vfio/pci/vfio_pci_config.c
+++ b/drivers/vfio/pci/vfio_pci_config.c
@@ -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;
--
2.39.2
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] vfio/pci: Also demote hiding standard cap messages
2023-05-23 22:52 [PATCH] vfio/pci: Also demote hiding standard cap messages Alex Williamson
@ 2023-05-24 7:52 ` Cédric Le Goater
2023-05-24 8:01 ` Oleksandr Natalenko
1 sibling, 0 replies; 3+ messages in thread
From: Cédric Le Goater @ 2023-05-24 7:52 UTC (permalink / raw)
To: Alex Williamson, kvm; +Cc: oleksandr
On 5/24/23 00:52, Alex Williamson wrote:
> 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.
>
> Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Reviewed-by: Cédric Le Goater <clg@redhat.com>
Thanks,
C.
> ---
> drivers/vfio/pci/vfio_pci_config.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/vfio/pci/vfio_pci_config.c b/drivers/vfio/pci/vfio_pci_config.c
> index 1d95fe435f0e..7e2e62ab0869 100644
> --- a/drivers/vfio/pci/vfio_pci_config.c
> +++ b/drivers/vfio/pci/vfio_pci_config.c
> @@ -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;
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] vfio/pci: Also demote hiding standard cap messages
2023-05-23 22:52 [PATCH] vfio/pci: Also demote hiding standard cap messages Alex Williamson
2023-05-24 7:52 ` Cédric Le Goater
@ 2023-05-24 8:01 ` Oleksandr Natalenko
1 sibling, 0 replies; 3+ messages in thread
From: Oleksandr Natalenko @ 2023-05-24 8:01 UTC (permalink / raw)
To: kvm, Alex Williamson; +Cc: clg
[-- Attachment #1: Type: text/plain, Size: 1078 bytes --]
On středa 24. května 2023 0:52:50 CEST Alex Williamson wrote:
> 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.
>
> Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
> ---
> drivers/vfio/pci/vfio_pci_config.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/vfio/pci/vfio_pci_config.c b/drivers/vfio/pci/vfio_pci_config.c
> index 1d95fe435f0e..7e2e62ab0869 100644
> --- a/drivers/vfio/pci/vfio_pci_config.c
> +++ b/drivers/vfio/pci/vfio_pci_config.c
> @@ -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;
Reviewed-by: Oleksandr Natalenko <oleksandr@natalenko.name>
Thank you.
--
Oleksandr Natalenko (post-factum)
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-05-24 8:02 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-23 22:52 [PATCH] vfio/pci: Also demote hiding standard cap messages Alex Williamson
2023-05-24 7:52 ` Cédric Le Goater
2023-05-24 8:01 ` Oleksandr Natalenko
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.