diff options
author | Álvaro Fernández Rojas <noltari@gmail.com> | 2021-08-21 10:54:34 +0200 |
---|---|---|
committer | Álvaro Fernández Rojas <noltari@gmail.com> | 2021-08-21 19:07:07 +0200 |
commit | 8299d1f057439f94c6a4412e2e5c5082b82a30c9 (patch) | |
tree | 1bf678d61f11f7394493be464c7876e496f7faed /target/linux/bcm27xx/patches-5.10/950-0396-PCI-brcmstb-Advertise-MSI-X-support.patch | |
parent | 33b6885975ce376ff075362b7f0890326043111b (diff) | |
download | upstream-8299d1f057439f94c6a4412e2e5c5082b82a30c9.tar.gz upstream-8299d1f057439f94c6a4412e2e5c5082b82a30c9.tar.bz2 upstream-8299d1f057439f94c6a4412e2e5c5082b82a30c9.zip |
bcm27xx: add kernel 5.10 support
Rebased RPi foundation patches on linux 5.10.59, removed applied and reverted
patches, wireless patches and defconfig patches.
bcm2708: boot tested on RPi B+ v1.2
bcm2709: boot tested on RPi 4B v1.1 4G
bcm2711: boot tested on RPi 4B v1.1 4G
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Diffstat (limited to 'target/linux/bcm27xx/patches-5.10/950-0396-PCI-brcmstb-Advertise-MSI-X-support.patch')
-rw-r--r-- | target/linux/bcm27xx/patches-5.10/950-0396-PCI-brcmstb-Advertise-MSI-X-support.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/target/linux/bcm27xx/patches-5.10/950-0396-PCI-brcmstb-Advertise-MSI-X-support.patch b/target/linux/bcm27xx/patches-5.10/950-0396-PCI-brcmstb-Advertise-MSI-X-support.patch new file mode 100644 index 0000000000..a7145c0c4e --- /dev/null +++ b/target/linux/bcm27xx/patches-5.10/950-0396-PCI-brcmstb-Advertise-MSI-X-support.patch @@ -0,0 +1,27 @@ +From 9cd85b8b4c18c913ac1d63eb2b6d13e3230516a3 Mon Sep 17 00:00:00 2001 +From: Phil Elwell <phil@raspberrypi.com> +Date: Thu, 3 Dec 2020 13:44:42 +0000 +Subject: [PATCH] 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(-) + +--- a/drivers/pci/controller/pcie-brcmstb.c ++++ b/drivers/pci/controller/pcie-brcmstb.c +@@ -463,7 +463,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, + }; + |