PCI: aardvark: Refactor unmasking summary MSI interrupt
authorPali Rohár <pali@kernel.org>
Wed, 4 May 2022 16:57:43 +0000 (18:57 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 12 May 2022 10:30:31 +0000 (12:30 +0200)
commitd4bd61f99d1371073111c59e80ad8beabbb3c5d0
tree518197218e376c8f9757ae7fd5e71aedefbc887a
parentb904c90a46242763ef3551500b300635993ea4c8
PCI: aardvark: Refactor unmasking summary MSI interrupt

commit 4689c0916320f112a8a33f2689d3addc3262f02c upstream.

Refactor the masking of ISR0/1 Sources and unmasking of summary MSI interrupt
so that it corresponds to the comments:
- first mask all ISR0/1
- then unmask all MSIs
- then unmask summary MSI interrupt

Link: https://lore.kernel.org/r/20220110015018.26359-10-kabel@kernel.org
Signed-off-by: Pali Rohár <pali@kernel.org>
Signed-off-by: Marek Behún <kabel@kernel.org>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Signed-off-by: Marek Behún <kabel@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/pci/controller/pci-aardvark.c