PCI/MSI: Provide a new set of mask and unmask functions
authorThomas Gleixner <tglx@linutronix.de>
Mon, 9 Aug 2021 19:08:56 +0000 (21:08 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 10 Aug 2021 09:03:30 +0000 (11:03 +0200)
commitfcacdfbef5a1633211ebfac1b669a7739f5b553e
treeb2df4d67780aabb76dd8a998a912ee7442cf97d2
parent7327cefebb85d440fa6a589fdf53979d55b29a5a
PCI/MSI: Provide a new set of mask and unmask functions

The existing mask/unmask functions are convoluted and generate suboptimal
assembly code.

Provide a new set of functions which will be used in later patches to
replace the exisiting ones.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Tested-by: Marc Zyngier <maz@kernel.org>
Reviewed-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/875ywetozb.ffs@tglx
drivers/pci/msi.c