No support MSI-X in BAIDU KUNLUN Virtual Function devices,
so add a quirk to avoid setuping VFIO MSI-X
Signed-off-by: Cai Huoqing
---
hw/vfio/pci.c | 7 +++
1 file changed, 7 insertions(+)
diff --git a/hw/vfio/pci.c b/hw/vfio/pci.c
index 7b45353ce2..15f76bbe56 100644
--- a/hw/vfio/pci.c
Fix typo:
*Unknwon ==> Unknown
*futher ==> further
*configed ==> configured
Signed-off-by: Cai Huoqing
---
hw/i386/intel_iommu.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/hw/i386/intel_iommu.c b/hw/i386/intel_iommu.c
index 209b3f5553..75f075547f 100
Fix typo:
*informations ==> information
*enougth ==> enough
*enouth ==> enough
*registy ==> registry
*releated ==> related
*Ouptut ==> Output
*manualy ==> manually
*Attemping ==> Attempting
*contine ==> continue
*tranceiver ==> transceiver
*Tranceiver ==>
Fix typo in comments:
*programatically ==> programmatically
*disconecting ==> disconnecting
*mulitple ==> multiple
*timout ==> timeout
*regsiter ==> register
*forumula ==> formula
Signed-off-by: Cai Huoqing
---
hw/vfio/igd.c| 2 +-
hw/vfio/pci-quirks.c | 2
use vfio_pci_is instead of using an "encoding"
*remove unused device id PCI_DEVICE_ID_KUNLUN
Signed-off-by: Cai Huoqing
---
hw/vfio/pci.c| 9 +
include/hw/pci/pci_ids.h | 3 +++
2 files changed, 12 insertions(+)
diff --git a/hw/vfio/pci.c b/hw/vfio/pci.c
ind
Since we don't have an encoding like the previous quirk,
we can use vfio_pci_is().
Signed-off-by: Cai Huoqing
---
hw/vfio/pci.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/hw/vfio/pci.c b/hw/vfio/pci.c
index ab4077aad2..971273fd45 100644
--- a/hw/vfio/pci.c
+++
Sure I will check these issue in our hardware
Then ,send patch-v2
-Original Message-
From: Alex Williamson
Sent: 2021年7月13日 3:49
To: Cai,Huoqing
Cc: m...@redhat.com; marcel.apfelb...@gmail.com; qemu-devel@nongnu.org
Subject: Re: [PATCH] vfio/pci: Add pba_offset PCI quirk for BAIDU
Fix pba_offset initialization value for BAIDU KUNLUN Virtual
Function device. The KUNLUN hardware returns an incorrect
value for the VF PBA offset, and add a quirk to instead
return a hardcoded value of 0xb400.
Signed-off-by: Cai Huoqing
---
hw/vfio/pci.c| 8
include/hw/pci