Skip to content

vfio: Use dev_printk() when possible

Bjorn Helgaas kvm lkml 2 versions – Applied

Status from this message: Applied to vfio next branch for v5.2. Thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest1 patch 2 repliesApplied
  2. v11 patch 5 repliesSuperseded

Changes in v2 from the cover letter

- Add colons after __func__ names in vfio_platform_amdxgbe.c (thanks,

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/1vfio: Use dev_printk() when possibledrivers/vfio/pci/vfio_pci.c drivers/vfio/pci/vfio_pci_config.c drivers/vfio/platform/reset/vfio_platform_amdxgbe.c +3 more+49 -542 replies

Reviews trailers per patch

The patch has a Reviewed-by or Acked-by.

PatchEric Auger
1/1A-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/1] vfio: Use dev_printk() when possible

From: Bjorn Helgaas <[email protected]>

Use dev_printk() in VFIO when possible.

Changes from v1:
- Add colons after __func__ names in vfio_platform_amdxgbe.c (thanks,

    Joe).
  - Use the correct struct device * in vfio_platform_amdxgbe.c (thanks,
    Eric).

- Use pci_printk() when we know we have a PCI device.
- Add pci_notice_ratelimited() for use in vfio_pci.c.
- Define dev_fmt in vfio_pci.c to avoid dropping the KBUILD_MODNAME prefix when converting from pr_*() to pci_printk(). This also adds the prefix to the places that already used dev_printk().
- Define dev_fmt in vfio_platform_common.c to avoid repeating "VFIO :" in messages (this also adds it to a few that didn't use the prefix).

Bjorn Helgaas (1):
vfio: Use dev_printk() when possible

 drivers/vfio/pci/vfio_pci.c                   | 26 +++++++----------
 drivers/vfio/pci/vfio_pci_config.c            | 28 ++++++++----------
 .../platform/reset/vfio_platform_amdxgbe.c    |  5 ++--
 drivers/vfio/platform/vfio_platform_common.c  | 12 ++++----
 drivers/vfio/vfio.c                           | 29 +++++++++----------
 include/linux/pci.h                           |  3 ++
 6 files changed, 49 insertions(+), 54 deletions(-)
Signature · 1 line
2.21.0.392.gf8f6787159e-goog