On 5/26/2023 12:31 AM, Miao Li wrote:
From: Chenbo Xia
The value 40 used in VFIO_GET_REGION_ADDR() is a private value
(VFIO_PCI_OFFSET_SHIFT) defined in Linux kernel source [1]. It
is not part of VFIO API, and we should not depend on it.
[1] https://github.com/torvalds/linux/blob/v6.2/includ
ubject: [EXT] [PATCH v3 2/4] bus/pci: avoid depending on private value in
> kernel source
>
> External Email
>
> --
> From: Chenbo Xia
>
> The value 40 used in VFIO_GET_REGION_ADDR() is a private valu
From: Chenbo Xia
The value 40 used in VFIO_GET_REGION_ADDR() is a private value
(VFIO_PCI_OFFSET_SHIFT) defined in Linux kernel source [1]. It
is not part of VFIO API, and we should not depend on it.
[1] https://github.com/torvalds/linux/blob/v6.2/include/linux/vfio_pci_core.h
Signed-off-by: Ch
3 matches
Mail list logo