qemu/hw
Jonathan Cameron 532bb31a03 hw/acpi: Fix ordering of BDF in Generic Initiator PCI Device Handle.
The ordering in ACPI specification [1] has bus number in the lowest byte.
As ACPI tables are little endian this is the reverse of the ordering
used by PCI_BUILD_BDF().  As a minimal fix split the QEMU BDF up
into bus and devfn and write them as single bytes in the correct
order.

[1] ACPI Spec 6.3, Table 5.80

Fixes: 0a5b5acdf2 ("hw/acpi: Implement the SRAT GI affinity structure")
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Tested-by: "Huang, Ying" <ying.huang@intel.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Message-Id: <20240916171017.1841767-2-Jonathan.Cameron@huawei.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
(cherry picked from commit 16c687d845)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
2024-11-08 13:02:58 +03:00
..
9pfs
acpi hw/acpi: Fix ordering of BDF in Generic Initiator PCI Device Handle. 2024-11-08 13:02:58 +03:00
adc
alpha
arm hw/arm/mps2-tz.c: fix RX/TX interrupts order 2024-08-28 08:37:28 +03:00
audio hw/audio/hda: free timer on exit 2024-10-16 11:14:04 +03:00
avr
block hw/pflash: fix block write start 2024-05-27 07:37:34 +03:00
char hw/char/bcm2835_aux: Fix assert when receive FIFO fills up 2024-08-28 08:37:28 +03:00
core hw/core/ptimer: fix timer zero period condition for freq > 1GHz 2024-08-28 08:37:29 +03:00
cpu
cris
cxl hw/cxl/cxl-host: Fix segmentation fault when getting cxl-fmw property 2024-07-24 07:31:09 +03:00
display ui/win32: fix potential use-after-free with dbus shared memory 2024-11-08 13:02:57 +03:00
dma hw/dmax/xlnx_dpdma: fix handling of address_extension descriptor fields 2024-05-02 13:16:29 +03:00
fsi
gpio * Fix timeouts in Travis-CI jobs 2024-03-25 14:19:42 +00:00
hppa
hyperv
i2c
i386 hw/i386/amd_iommu: Don't leak memory in amdvi_update_iotlb() 2024-08-28 08:37:28 +03:00
ide
input
intc ppc/xive: Fix ESB length overflow on 32-bit hosts 2024-11-08 13:02:58 +03:00
ipack
ipmi
isa hw/isa/vt82c686: Keep track of PIRQ/PINT pins separately 2024-04-15 13:07:11 +02:00
loongarch hw/loongarch/virt: Fix FDT memory node address width 2024-05-27 07:50:35 +03:00
m68k
mem
microblaze hw/microblaze: Do not allow xlnx-zynqmp-pmu-soc to be created by the user 2024-03-25 09:57:43 +01:00
mips hw/mips/jazz: fix typo in in-built NIC alias 2024-09-28 07:35:33 +03:00
misc hw/misc/bcm2835_property: Fix handling of FRAMEBUFFER_SET_PALETTE 2024-08-28 08:37:28 +03:00
net virtio-net: Fix network stall at the host side waiting for kick 2024-08-28 08:37:28 +03:00
nios2
nubus
nvme hw/nvme: fix leak of uninitialized memory in io_mgmt_recv 2024-08-28 08:37:29 +03:00
nvram hw/nvram/mac_nvram: Report failure to write data 2024-03-25 10:41:01 +00:00
openrisc
pci
pci-bridge
pci-host hw/pci-host/ppc440_pcix: Do not expose a bridge device on PCI bus 2024-04-15 13:07:15 +02:00
pcmcia
ppc hw/ppc/spapr: Include missing 'sysemu/tcg.h' header 2024-03-30 18:50:23 +10:00
rdma
remote hw/remote/vfio-user: Fix config space access byte order 2024-05-10 13:20:20 +03:00
riscv target/riscv/kvm: fix timebase-frequency when using KVM acceleration 2024-03-22 15:41:01 +10:00
rtc
rx
s390x
scsi scsi: fix regression and honor bootindex again for legacy drives 2024-07-19 19:43:05 +03:00
sd hw/sd/sdhci: Reset @data_count index on invalid ADMA transfers 2024-08-28 08:37:28 +03:00
sensor
sh4 Revert "hw/sh4/r2d: Realize IDE controller before accessing it" 2024-11-08 13:02:57 +03:00
smbios hw/smbios: add stub for smbios_get_table_legacy() 2024-03-26 14:32:54 +01:00
sparc
sparc64
ssi aspeed/smc: Only wire flash devices at reset 2024-03-19 11:58:15 +01:00
timer
tpm
tricore
ufs hw/ufs: Fix buffer overflow bug 2024-05-02 13:03:05 +03:00
usb usb-storage: Fix BlockConf defaults 2024-04-16 11:50:52 +01:00
vfio vfio/migration: Report only stop-copy size in vfio_state_pending_exact() 2024-11-08 13:02:57 +03:00
virtio virtio-pci: Fix the use of an uninitialized irqfd 2024-08-28 08:37:29 +03:00
watchdog
xen
xenpv
xtensa
Kconfig
meson.build