mirror of
https://github.com/Ysurac/openmptcprouter.git
synced 2025-03-09 15:40:20 +00:00
Add kernel 5.15 for RPI4 support
This commit is contained in:
parent
e961d478cd
commit
df88a19bbd
638 changed files with 239907 additions and 0 deletions
|
@ -0,0 +1,32 @@
|
|||
From 0fd01ebca05f72d33d630a868e9f6617503f6c08 Mon Sep 17 00:00:00 2001
|
||||
From: Phil Elwell <phil@raspberrypi.com>
|
||||
Date: Thu, 3 Dec 2020 13:44:42 +0000
|
||||
Subject: [PATCH 337/634] PCI: brcmstb: Advertise MSI-X support
|
||||
|
||||
Although the BRCMSTB PCIe interface doesn't technically support the
|
||||
MSI-X spec, in practise it seems to work provided no more than 32
|
||||
MSI-Xs are required. Add the required flag to the driver to allow
|
||||
experimentation with devices that demand MSI-X support.
|
||||
|
||||
Signed-off-by: Phil Elwell <phil@raspberrypi.com>
|
||||
---
|
||||
drivers/pci/controller/pcie-brcmstb.c | 3 ++-
|
||||
1 file changed, 2 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/drivers/pci/controller/pcie-brcmstb.c b/drivers/pci/controller/pcie-brcmstb.c
|
||||
index d26844f03e25..44f0ea66b60b 100644
|
||||
--- a/drivers/pci/controller/pcie-brcmstb.c
|
||||
+++ b/drivers/pci/controller/pcie-brcmstb.c
|
||||
@@ -471,7 +471,8 @@ static struct irq_chip brcm_msi_irq_chip = {
|
||||
|
||||
static struct msi_domain_info brcm_msi_domain_info = {
|
||||
/* Multi MSI is supported by the controller, but not by this driver */
|
||||
- .flags = (MSI_FLAG_USE_DEF_DOM_OPS | MSI_FLAG_USE_DEF_CHIP_OPS),
|
||||
+ .flags = (MSI_FLAG_USE_DEF_DOM_OPS | MSI_FLAG_USE_DEF_CHIP_OPS |
|
||||
+ MSI_FLAG_PCI_MSIX),
|
||||
.chip = &brcm_msi_irq_chip,
|
||||
};
|
||||
|
||||
--
|
||||
2.33.1
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue