[PATCH 0/3] x86: Fix racy accesses to MSI-X Control register

David Vrabel posted 3 patches 1 year, 5 months ago
Test gitlab-ci passed
Patches applied successfully (tree, apply log)
git fetch https://gitlab.com/xen-project/patchew/xen tags/patchew/20221110165935.106376-1-dvrabel@amazon.co.uk
[PATCH 0/3] x86: Fix racy accesses to MSI-X Control register
Posted by David Vrabel 1 year, 5 months ago
The main patch in this series is 3/3 with some preparatory patches to
simplify the implementation. To summarize:

    Concurrent access the the MSI-X control register are not serialized
    with a suitable lock. For example, in msix_capability_init() access
    use the pcidevs_lock() but some calls to msi_set_mask_bit() use the
    interrupt descriptor lock.
    
    This can lead to MSI-X being incorrectly disabled and subsequent
    failures due to msix_memory_decoded() calls that check for MSI-X being
    enabled.

David