1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/pci/controller
Marc Zyngier 161260e7f7 PCI: xilinx: Don't allocate extra memory for the MSI capture address
A long cargo-culted behaviour of PCI drivers is to allocate memory
to obtain an address that is fed to the controller as the MSI
capture address (i.e. the MSI doorbell).

But there is no actual requirement for this address to be RAM.
All it needs to be is a suitable aligned address that will
*not* be DMA'd to.

Use the physical address of the 'port' data structure as the MSI
capture address, aligned on a 4K boundary.

Link: https://lore.kernel.org/r/20210330151145.997953-5-maz@kernel.org
Tested-by: Bharat Kumar Gogada <bharatku@xilinx.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
2021-04-20 14:11:21 +01:00
..
cadence Merge branch 'pci/ntb' 2021-02-24 14:59:23 -06:00
dwc Merge branch 'remotes/lorenzo/pci/misc' 2021-02-24 14:59:25 -06:00
mobiveil PCI: mobiveil: Use irq_data_get_irq_chip_data() 2020-12-15 16:19:33 +01:00
Kconfig PCI: rcar: Convert to MSI domains 2021-04-20 14:11:21 +01:00
Makefile Merge branch 'remotes/lorenzo/pci/tango' 2021-02-24 14:59:25 -06:00
pci-aardvark.c Merge branch 'remotes/lorenzo/pci/aardvark' 2020-12-15 15:11:10 -06:00
pci-ftpci100.c PCI: Set bridge map_irq and swizzle_irq to default functions 2020-08-04 16:36:30 +01:00
pci-host-common.c PCI: Call platform_set_drvdata earlier in devm_pci_alloc_host_bridge 2021-02-23 14:00:11 -06:00
pci-host-generic.c PCI: Unify ECAM constants in native PCI Express drivers 2020-12-10 14:55:49 -06:00
pci-hyperv-intf.c PCI: hv: Add a Hyper-V PCI interface driver for software backchannel interface 2019-08-22 00:25:12 -07:00
pci-hyperv.c pci-v5.12-changes 2021-02-25 09:56:08 -08:00
pci-loongson.c PCI: loongson: Simplify loongson_pci_probe() return expression 2020-10-02 12:56:31 +01:00
pci-mvebu.c PCI: mvebu: Fix duplicate resource requests 2020-11-04 13:55:30 -06:00
pci-rcar-gen2.c PCI: rcar-gen2: Use fallthrough pseudo-keyword 2020-09-07 15:17:20 +01:00
pci-tegra.c PCI: tegra: Convert to MSI domains 2021-04-20 14:11:01 +01:00
pci-thunder-ecam.c PCI: Unify ECAM constants in native PCI Express drivers 2020-12-10 14:55:49 -06:00
pci-thunder-pem.c PCI: thunder-pem: Add constant for custom ".bus_shift" initialiser 2020-12-10 14:55:55 -06:00
pci-v3-semi.c PCI: v3-semi: Remove unneeded break 2020-10-20 10:59:55 -05:00
pci-versatile.c PCI: Set bridge map_irq and swizzle_irq to default functions 2020-08-04 16:36:30 +01:00
pci-xgene-msi.c PCI: xgene-msi: Fix race in installing chained irq handler 2021-01-18 15:48:06 +00:00
pci-xgene.c PCI: xgene: Fix CRS SV comment 2021-01-28 10:46:43 +00:00
pcie-altera-msi.c PCI: altera-msi: Remove IRQ handler and data in one go 2021-01-18 15:48:06 +00:00
pcie-altera.c Merge branch 'pci/irq-error' 2020-08-05 18:24:22 -05:00
pcie-brcmstb.c Merge branch 'remotes/lorenzo/pci/misc' 2021-02-24 14:59:25 -06:00
pcie-hisi-error.c PCI: hip: Add handling of HiSilicon HIP PCIe controller errors 2020-09-16 10:30:42 +01:00
pcie-iproc-bcma.c PCI: iproc: Use module_bcma_driver to simplify the code 2020-10-02 12:45:26 +01:00
pcie-iproc-msi.c PCI: iproc: Set affinity mask on MSI interrupts 2020-09-08 22:04:27 +01:00
pcie-iproc-platform.c PCI: iproc: Fix using plain integer as NULL pointer in iproc_pcie_pltfm_probe 2020-10-09 13:37:57 +01:00
pcie-iproc.c Merge branch 'remotes/lorenzo/pci/iproc' 2020-12-15 15:11:12 -06:00
pcie-iproc.h PCI: iproc: Use pci_host_probe() to register host 2020-07-10 11:50:23 +01:00
pcie-mediatek.c PCI: mediatek: Add missing of_node_put() to fix reference leak 2021-01-25 17:33:28 +00:00
pcie-microchip-host.c PCI: microchip: Add Microchip PolarFire PCIe controller driver 2021-02-23 14:00:27 -06:00
pcie-rcar-ep.c PCI: rcar: Add endpoint mode support 2020-05-22 12:35:32 +01:00
pcie-rcar-host.c PCI: rcar: Convert to MSI domains 2021-04-20 14:11:21 +01:00
pcie-rcar.c PCI: rcar: Fix calculating mask for PCIEPAMR register 2020-05-11 11:29:48 +01:00
pcie-rcar.h PCI: rcar: Add endpoint mode support 2020-05-22 12:35:32 +01:00
pcie-rockchip-ep.c PCI: Fix kerneldoc warnings 2020-08-05 18:23:14 -05:00
pcie-rockchip-host.c PCI: Unify ECAM constants in native PCI Express drivers 2020-12-10 14:55:49 -06:00
pcie-rockchip.c PCI: rockchip: Make 'ep-gpios' DT property optional 2021-02-23 14:23:50 -06:00
pcie-rockchip.h PCI: Unify ECAM constants in native PCI Express drivers 2020-12-10 14:55:49 -06:00
pcie-xilinx-cpm.c PCI: xilinx-cpm: Fix reference count leak on error path 2021-01-25 17:27:41 +00:00
pcie-xilinx-nwl.c A treewide cleanup of interrupt descriptor (ab)use with all sorts of racy 2020-12-24 13:50:23 -08:00
pcie-xilinx.c PCI: xilinx: Don't allocate extra memory for the MSI capture address 2021-04-20 14:11:21 +01:00
vmd.c pci-v5.11-changes 2020-12-15 16:49:59 -08:00