]> git.baikalelectronics.ru Git - kernel.git/commit
PCI: brcmstb: Accommodate MSI for older chips
authorJim Quinlan <jquinlan@broadcom.com>
Fri, 11 Sep 2020 17:52:28 +0000 (13:52 -0400)
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Fri, 2 Oct 2020 11:40:40 +0000 (12:40 +0100)
commit0454847250486630eacbdf9839dd529c0bd1eb59
tree7b342c70aa021da3fbe3cf522bc73bedbeabbc94
parent95b4ed87f8b7f0cb5719f4a943e32d588a802f0d
PCI: brcmstb: Accommodate MSI for older chips

Older BrcmSTB chips do not have a separate register for MSI interrupts; the
MSIs are in a register that also contains unrelated interrupts.  In
addition, the interrupts lie in bits [31..24] for these legacy chips.  This
commit provides common code for both legacy and non-legacy MSI interrupt
registers.

Link: https://lore.kernel.org/r/20200911175232.19016-9-james.quinlan@broadcom.com
Signed-off-by: Jim Quinlan <jquinlan@broadcom.com>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
drivers/pci/controller/pcie-brcmstb.c