]> 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)
commit27c41db3f5bdfa40729ec749603e006e57c1e6ef
tree5f6b50d9fc46631d086eac1480bbf01bb961731d
parent3a336fce8caded2e9f00162e8d66b8a22e4c73c8
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