]> www.infradead.org Git - users/dwmw2/qemu.git/commit
pnv/xive2: Fail VST entry address computation if table has no VSD
authorFrederic Barrat <fbarrat@linux.ibm.com>
Wed, 24 Jul 2024 21:21:27 +0000 (16:21 -0500)
committerNicholas Piggin <npiggin@gmail.com>
Thu, 25 Jul 2024 23:51:33 +0000 (09:51 +1000)
commitfa414eb6655228e274811ade0c7bcddb88acaee5
tree625145d6360596b04723f526a136f54af48c628a
parent4c81813e25d24ece49141572ad5f07d8efe7bf4d
pnv/xive2: Fail VST entry address computation if table has no VSD

Fail VST entry address computation if firmware doesn't define a descriptor
for one of the Virtualization Structure Tables (VST), there's no point in
trying to compute the address of its entry.  Abort the operation and log
an error.

Signed-off-by: Frederic Barrat <fbarrat@linux.ibm.com>
Signed-off-by: Michael Kowal <kowal@linux.vnet.ibm.com>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
hw/intc/pnv_xive2.c