qemu/hw/pci-host
Daniel Henrique Barboza 799c179ed8 ppc/pnv: use a do-while() loop in pnv_phb4_translate_tve()
pnv_phb4_translate_tve() is quite similar to pnv_phb3_translate_tve(),
and that includes the fact that 'taddr' can be considered uninitialized
when throwing the "TCE access fault" error because, in theory, the loop
that sets 'taddr' can be skippable due to 'lev' being an signed int.

No one complained about this specific case yet, but since we took the
time to handle the same situtation in pnv_phb3_translate_tve(), let's
replicate it here as well.

Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>
Reviewed-by: Matheus Ferst <matheus.ferst@eldorado.org.br>
Message-Id: <20220127122234.842145-3-danielhb413@gmail.com>
Signed-off-by: Cédric Le Goater <clg@kaod.org>
2022-01-28 13:15:02 +01:00
..
bonito.c
designware.c
gpex-acpi.c
gpex.c
grackle.c
i440fx.c
Kconfig
meson.build
mv643xx.h
mv64361.c
pam.c
pnv_phb3.c ppc/pnv: use a do-while() loop in pnv_phb3_translate_tve() 2022-01-28 13:15:02 +01:00
pnv_phb3_msi.c dma: Let dma_memory_read/write() take MemTxAttrs argument 2021-12-30 17:16:32 +01:00
pnv_phb3_pbcq.c ppc/pnv: Move mapping of the PHB3 CQ regions under pnv_pbcq_realize() 2021-12-17 17:57:19 +01:00
pnv_phb4.c ppc/pnv: use a do-while() loop in pnv_phb4_translate_tve() 2022-01-28 13:15:02 +01:00
pnv_phb4_pec.c ppc/pnv: Remove PHB4 version property 2022-01-18 12:56:31 +01:00
ppce500.c
q35.c
raven.c
remote.c
sabre.c
sh_pci.c
trace-events
trace.h
uninorth.c
versatile.c
xen_igd_pt.c
xilinx-pcie.c