vfio/pci: Rename vfio_pci_private.h to vfio_pci_core.h

This is a preparation patch for separating the vfio_pci driver to a
subsystem driver and a generic pci driver. This patch doesn't change any
logic.

Signed-off-by: Max Gurtovoy <mgurtovoy@nvidia.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Yishai Hadas <yishaih@nvidia.com>
Link: https://lore.kernel.org/r/20210826103912.128972-3-yishaih@nvidia.com
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
This commit is contained in:
Max Gurtovoy 2021-08-26 13:39:01 +03:00 committed by Alex Williamson
parent 1cbd70fe37
commit 9a38993869
7 changed files with 9 additions and 9 deletions

View File

@ -26,7 +26,7 @@
#include <linux/vfio.h>
#include <linux/slab.h>
#include "vfio_pci_private.h"
#include "vfio_pci_core.h"
/* Fake capability ID for standard config space */
#define PCI_CAP_ID_BASIC 0

View File

@ -28,7 +28,7 @@
#include <linux/nospec.h>
#include <linux/sched/mm.h>
#include "vfio_pci_private.h"
#include "vfio_pci_core.h"
#define DRIVER_VERSION "0.2"
#define DRIVER_AUTHOR "Alex Williamson <alex.williamson@redhat.com>"

View File

@ -15,8 +15,8 @@
#include <linux/uuid.h>
#include <linux/notifier.h>
#ifndef VFIO_PCI_PRIVATE_H
#define VFIO_PCI_PRIVATE_H
#ifndef VFIO_PCI_CORE_H
#define VFIO_PCI_CORE_H
#define VFIO_PCI_OFFSET_SHIFT 40
@ -205,4 +205,4 @@ static inline int vfio_pci_info_zdev_add_caps(struct vfio_pci_device *vdev,
}
#endif
#endif /* VFIO_PCI_PRIVATE_H */
#endif /* VFIO_PCI_CORE_H */

View File

@ -15,7 +15,7 @@
#include <linux/uaccess.h>
#include <linux/vfio.h>
#include "vfio_pci_private.h"
#include "vfio_pci_core.h"
#define OPREGION_SIGNATURE "IntelGraphicsMem"
#define OPREGION_SIZE (8 * 1024)

View File

@ -20,7 +20,7 @@
#include <linux/wait.h>
#include <linux/slab.h>
#include "vfio_pci_private.h"
#include "vfio_pci_core.h"
/*
* INTx

View File

@ -17,7 +17,7 @@
#include <linux/vfio.h>
#include <linux/vgaarb.h>
#include "vfio_pci_private.h"
#include "vfio_pci_core.h"
#ifdef __LITTLE_ENDIAN
#define vfio_ioread64 ioread64

View File

@ -19,7 +19,7 @@
#include <asm/pci_clp.h>
#include <asm/pci_io.h>
#include "vfio_pci_private.h"
#include "vfio_pci_core.h"
/*
* Add the Base PCI Function information to the device info region.