summary refs log tree commit diff stats
path: root/hw/core/machine.c
diff options
context:
space:
mode:
authorCai Huoqing <caihuoqing@baidu.com>2021-07-13 17:37:43 +0800
committerAlex Williamson <alex.williamson@redhat.com>2021-07-14 13:47:17 -0600
commit1bd9f1b14d1e9c1498bb03faf4e2bb945cf6542d (patch)
treedbd86641cc12be46c2801b62243717e69cfec638 /hw/core/machine.c
parent936555bc4f9efce1a9d35466845169c2c7566794 (diff)
downloadfocaccia-qemu-1bd9f1b14d1e9c1498bb03faf4e2bb945cf6542d.tar.gz
focaccia-qemu-1bd9f1b14d1e9c1498bb03faf4e2bb945cf6542d.zip
vfio/pci: Add pba_offset PCI quirk for BAIDU KUNLUN AI processor
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 <caihuoqing@baidu.com>
Link: https://lore.kernel.org/r/20210713093743.942-1-caihuoqing@baidu.com
[aw: comment & whitespace tuning]
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'hw/core/machine.c')
0 files changed, 0 insertions, 0 deletions