[Intel-gfx] [PATCH v5] vfio/pci: Add support for opregion v2.1+

Alex Williamson alex.williamson at redhat.com
Tue Apr 6 19:37:28 UTC 2021


On Fri, 26 Mar 2021 01:09:53 +0800
Fred Gao <fred.gao at intel.com> wrote:

> Before opregion version 2.0 VBT data is stored in opregion mailbox #4,
> but when VBT data exceeds 6KB size and cannot be within mailbox #4
> then from opregion v2.0+, Extended VBT region, next to opregion is
> used to hold the VBT data, so the total size will be opregion size plus
> extended VBT region size.
> 
> Since opregion v2.0 with physical host VBT address would not be
> practically available for end user and guest can not directly access
> host physical address, so it is not supported.
> 
> Cc: Zhenyu Wang <zhenyuw at linux.intel.com>
> Signed-off-by: Swee Yee Fonn <swee.yee.fonn at intel.com>
> Signed-off-by: Fred Gao <fred.gao at intel.com>
> ---
>  drivers/vfio/pci/vfio_pci_igd.c | 53 +++++++++++++++++++++++++++++++++
>  1 file changed, 53 insertions(+)

Applied to vfio next branch for v5.13.  Thanks,

Alex



More information about the Intel-gfx mailing list