diff options
author | Davidlohr Bueso <dave@stgolabs.net> | 2023-06-12 21:10:32 +0300 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2023-06-26 00:54:51 +0300 |
commit | 8ea9c33d48f20479e87b5fc3a97cd25e656d30dc (patch) | |
tree | 8192a598f544f0b338207634ccff1651ac213460 /drivers/cxl/cxlpci.h | |
parent | ccadf1310fb0bc8d2cbcd14f94a6279c12ea9bee (diff) | |
download | linux-8ea9c33d48f20479e87b5fc3a97cd25e656d30dc.tar.xz |
cxl/mbox: Allow for IRQ_NONE case in the isr
For cases when the mailbox background operation is not complete,
do not "handle" the interrupt, as it was not from this device.
And furthermore there are no racy scenarios such as the hw being
out of sync with the driver and starting a new background op
behind its back.
Reported-by: Jonathan Cameron <Jonathan.Cameron@Huawei.com>
Fixes: ccadf1310fb (cxl/mbox: Add background cmd handling machinery)
Signed-off-by: Davidlohr Bueso <dave@stgolabs.net>
Reviewed-by: Dave Jiang <dave.jiang@intel.com>
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Link: https://lore.kernel.org/r/20230612181038.14421-2-dave@stgolabs.net
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/cxl/cxlpci.h')
0 files changed, 0 insertions, 0 deletions