[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-commits] [qemu/qemu] c048be: vfio: Fix MSI-X vector expansion
From: |
GitHub |
Subject: |
[Qemu-commits] [qemu/qemu] c048be: vfio: Fix MSI-X vector expansion |
Date: |
Thu, 07 Aug 2014 04:30:05 -0700 |
Branch: refs/heads/master
Home: https://github.com/qemu/qemu
Commit: c048be5cc92ae201c339d46984476c4629275ed6
https://github.com/qemu/qemu/commit/c048be5cc92ae201c339d46984476c4629275ed6
Author: Alex Williamson <address@hidden>
Date: 2014-08-05 (Tue, 05 Aug 2014)
Changed paths:
M hw/misc/vfio.c
Log Message:
-----------
vfio: Fix MSI-X vector expansion
When new MSI-X vectors are enabled we need to disable MSI-X and
re-enable it with the correct number of vectors. That means we need
to reprogram the eventfd triggers for each vector. Prior to f4d45d47
vector->use tracked whether a vector was masked or unmasked and we
could always pick the KVM path when available for unmasked vectors.
Now vfio doesn't track mask state itself and vector->use and virq
remains configured even for masked vectors. Therefore we need to ask
the MSI-X code whether a vector is masked in order to select the
correct signaling path. As noted in the comment, MSI relies on
hardware to handle masking.
Signed-off-by: Alex Williamson <address@hidden>
Cc: address@hidden # QEMU 2.1
Commit: 9b3af4c0e40f14b5173ad6e2d9fcc376207ec1dd
https://github.com/qemu/qemu/commit/9b3af4c0e40f14b5173ad6e2d9fcc376207ec1dd
Author: Alex Williamson <address@hidden>
Date: 2014-08-05 (Tue, 05 Aug 2014)
Changed paths:
M hw/misc/vfio.c
Log Message:
-----------
vfio: Don't cache MSIMessage
Commit 40509f7f added a test to avoid updating KVM MSI routes when the
MSIMessage is unchanged and f4d45d47 switched to relying on this
rather than doing our own comparison. Our cached msg is effectively
unused now. Remove it.
Signed-off-by: Alex Williamson <address@hidden>
Commit: 9d8bb3557408adc3e5e26b7915cbf6c198dfd4ff
https://github.com/qemu/qemu/commit/9d8bb3557408adc3e5e26b7915cbf6c198dfd4ff
Author: Peter Maydell <address@hidden>
Date: 2014-08-07 (Thu, 07 Aug 2014)
Changed paths:
M hw/misc/vfio.c
Log Message:
-----------
Merge remote-tracking branch
'remotes/awilliam/tags/vfio-pci-for-qemu-20140805.0' into staging
VFIO patches: Fix MSI-X vector expansion, remove MSI/X message caching
# gpg: Signature made Tue 05 Aug 2014 20:25:57 BST using RSA key ID 3BB08B22
# gpg: Can't check signature: public key not found
* remotes/awilliam/tags/vfio-pci-for-qemu-20140805.0:
vfio: Don't cache MSIMessage
vfio: Fix MSI-X vector expansion
Signed-off-by: Peter Maydell <address@hidden>
Compare: https://github.com/qemu/qemu/compare/69f87f713069...9d8bb3557408
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-commits] [qemu/qemu] c048be: vfio: Fix MSI-X vector expansion,
GitHub <=