linux-s390.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/3] Remove private items from linux/vfio_pci_core.h
@ 2022-08-26 19:34 Jason Gunthorpe
  2022-08-26 19:34 ` [PATCH v2 1/3] vfio/pci: Split linux/vfio_pci_core.h Jason Gunthorpe
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Jason Gunthorpe @ 2022-08-26 19:34 UTC (permalink / raw)
  To: Alex Williamson, Cornelia Huck, Eric Farman, kvm, linux-s390,
	Matthew Rosato
  Cc: Kevin Tian

The include/linux header should only include things that are intended to
be used outside the internal implementation of the vfio_pci_core
module. Several internal-only items were left over in this file after the
conversion from vfio_pci.

Transfer most of the items to a new vfio_pci_priv.h located under
drivers/vfio/pci/.

v2:
 - Add "vfio/pci: Rename vfio_pci_register_dev_region()"v1: https://lore.kernel.org/r/0-v1-da6fc51ee22e+562-vfio_pci_priv_jgg@nvidia.com
v1: https://lore.kernel.org/r/0-v1-da6fc51ee22e+562-vfio_pci_priv_jgg@nvidia.com

Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>

Jason Gunthorpe (3):
  vfio/pci: Split linux/vfio_pci_core.h
  vfio/pci: Rename vfio_pci_register_dev_region()
  vfio/pci: Simplify the is_intx/msi/msix/etc defines

 drivers/vfio/pci/vfio_pci.c        |   2 +-
 drivers/vfio/pci/vfio_pci_config.c |   4 +-
 drivers/vfio/pci/vfio_pci_core.c   |  29 ++++--
 drivers/vfio/pci/vfio_pci_igd.c    |   8 +-
 drivers/vfio/pci/vfio_pci_intrs.c  |  28 +++++-
 drivers/vfio/pci/vfio_pci_priv.h   | 104 +++++++++++++++++++++
 drivers/vfio/pci/vfio_pci_rdwr.c   |   2 +-
 drivers/vfio/pci/vfio_pci_zdev.c   |   2 +-
 include/linux/vfio_pci_core.h      | 140 +----------------------------
 9 files changed, 167 insertions(+), 152 deletions(-)
 create mode 100644 drivers/vfio/pci/vfio_pci_priv.h


base-commit: 1c23f9e627a7b412978b4e852793c5e3c3efc555
-- 
2.37.2


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2022-09-02 18:43 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-08-26 19:34 [PATCH v2 0/3] Remove private items from linux/vfio_pci_core.h Jason Gunthorpe
2022-08-26 19:34 ` [PATCH v2 1/3] vfio/pci: Split linux/vfio_pci_core.h Jason Gunthorpe
2022-08-29 11:47   ` Cornelia Huck
2022-08-26 19:34 ` [PATCH v2 2/3] vfio/pci: Rename vfio_pci_register_dev_region() Jason Gunthorpe
2022-08-29  0:45   ` Tian, Kevin
2022-08-29 11:49   ` Cornelia Huck
2022-08-26 19:34 ` [PATCH v2 3/3] vfio/pci: Simplify the is_intx/msi/msix/etc defines Jason Gunthorpe
2022-08-29 11:51   ` Cornelia Huck
2022-09-02 18:42 ` [PATCH v2 0/3] Remove private items from linux/vfio_pci_core.h Alex Williamson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).