]> git.baikalelectronics.ru Git - kernel.git/commit
PCI/MSI: Rename msi_desc::masked
authorThomas Gleixner <tglx@linutronix.de>
Thu, 29 Jul 2021 21:51:53 +0000 (23:51 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 10 Aug 2021 09:03:29 +0000 (11:03 +0200)
commit6d327ec7ed224831237cc07801ef8ac830c946e6
treef57162746df1956bccee3bdfd90707ecaa711844
parentae811a495b39709ba007efece3b906c06c030c79
PCI/MSI: Rename msi_desc::masked

msi_desc::masked is a misnomer. For MSI it's used to cache the MSI mask
bits when the device supports per vector masking. For MSI-X it's used to
cache the content of the vector control word which contains the mask bit
for the vector.

Replace it with a union of msi_mask and msix_ctrl to make the purpose clear
and fix up the usage sites.

No functional change

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/20210729222543.045993608@linutronix.de
drivers/pci/msi.c
include/linux/msi.h