OSDN Git Service

pcie_aer: Don't trigger a LSI if none are defined
authorFrederic Barrat <fbarrat@linux.ibm.com>
Tue, 16 Nov 2021 17:01:33 +0000 (18:01 +0100)
committerMichael S. Tsirkin <mst@redhat.com>
Fri, 7 Jan 2022 10:19:55 +0000 (05:19 -0500)
commit20766514d602c50b870ae943aaa8e5b9e2e8a161
treecbef27c0cf2691f984ef350e3811bf33e114089a
parent2fedf46e34d2377760b2d26cf85487b772bca6fa
pcie_aer: Don't trigger a LSI if none are defined

Skip triggering an LSI when the AER root error status is updated if no
LSI is defined for the device. We can have a root bridge with no LSI,
MSI and MSI-X defined, for example on POWER systems.

Signed-off-by: Frederic Barrat <fbarrat@linux.ibm.com>
Message-Id: <20211116170133.724751-4-fbarrat@linux.ibm.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
hw/pci/pcie_aer.c