PCI/MSI: Use msi_mask_irq() in pci_msi_shutdown()
authorThomas Gleixner <tglx@linutronix.de>
Thu, 29 Jul 2021 21:51:46 +0000 (23:51 +0200)
committerSasha Levin <sashal@kernel.org>
Thu, 26 Aug 2021 12:37:24 +0000 (08:37 -0400)
commit9c2266da9a3117880c60dc67ce62278c33061d1c
tree202d35f1531b782c857a2f8c81ac8427b07eef8d
parent73a00b002f6c0a412124f2fd280d267201e7f1f7
PCI/MSI: Use msi_mask_irq() in pci_msi_shutdown()

commit d28d4ad2a1aef27458b3383725bb179beb8d015c upstream.

No point in using the raw write function from shutdown. Preparatory change
to introduce proper serialization for the msi_desc::masked cache.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Tested-by: Marc Zyngier <maz@kernel.org>
Reviewed-by: Marc Zyngier <maz@kernel.org>
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/r/20210729222542.674391354@linutronix.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/pci/msi.c