]> git.ipfire.org Git - thirdparty/qemu.git/commit
pci/msix: Fix msix pba read vector poll end calculation
authorNicholas Piggin <npiggin@gmail.com>
Thu, 12 Dec 2024 12:04:02 +0000 (22:04 +1000)
committerMichael Tokarev <mjt@tls.msk.ru>
Fri, 17 Jan 2025 06:26:23 +0000 (09:26 +0300)
commiteddb763e3bbc68e7bb28226433b82efde551e97f
tree115cc0fa86631ba051fb95f9aaafd398965fc731
parent6d1a80edaa1e5ea18cc770de56f34dc33448f4c4
pci/msix: Fix msix pba read vector poll end calculation

The end vector calculation has a bug that results in polling fewer
than required vectors when reading at a non-zero offset in PBA memory.

Fixes: bbef882cc193 ("msi: add API to get notified about pending bit poll")
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Message-Id: <20241212120402.1475053-1-npiggin@gmail.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
(cherry picked from commit 42e2a7a0ab23784e44fcb18369e06067abc89305)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
hw/pci/msix.c