WSL2-Linux-Kernel/arch/mips/pci
David Daney 2b5987abaf MIPS: Octeon: Allow more than 3.75GB of memory with PCIe
We reserve the 3.75GB - 4GB region of PCIe address space for device to
device transfers, making the corresponding physical memory under
direct mapping unavailable for DMA.

To allow for PCIe DMA to all physical memory we map this chunk of
physical memory with BAR1.  Because of the resulting discontinuity in
the mapping function, we remove a page of memory at each end of the
range so multi-page DMA buffers can never be allocated that span the
range.

Signed-off-by: David Daney <ddaney@caviumnetworks.com>
To: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/1535/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2010-08-05 13:26:31 +01:00
..
Makefile MIPS: eXcite: Remove platform. 2009-12-17 01:57:35 +00:00
fixup-au1000.c [MIPS] Alchemy PCI code style cleanup 2008-05-12 16:46:52 +01:00
fixup-bcm63xx.c MIPS: BCM63xx: Add support for the Broadcom BCM63xx family of SOCs. 2009-09-17 20:07:52 +02:00
fixup-capcella.c Update Yoichi Yuasa's e-mail address 2009-07-03 15:45:29 +01:00
fixup-cobalt.c MIPS: Cobalt: convert legacy port addresses to GT-64111 bus addresses 2010-02-27 12:53:44 +01:00
fixup-emma2rh.c MIPS: Eleminate filenames from comments 2009-08-03 17:52:40 +01:00
fixup-fuloong2e.c MIPS: Bonito64: Make Loongson independent from Bonito64 code. 2009-12-17 01:57:06 +00:00
fixup-ip32.c [MIPS] PCI: Make dev pointer argument of pcibios_map_irq const. 2007-07-10 17:33:00 +01:00
fixup-jmr3927.c [MIPS] TXx9: Make single kernel can support multiple boards 2008-07-15 18:44:35 +01:00
fixup-lemote2f.c MIPS: Loongson: Lemote-2F: USB: Not Emulate Non-Posted Writes 2010-02-27 12:53:09 +01:00
fixup-malta.c [MIPS] PCI: Make dev pointer argument of pcibios_map_irq const. 2007-07-10 17:33:00 +01:00
fixup-mpc30x.c Update Yoichi Yuasa's e-mail address 2009-07-03 15:45:29 +01:00
fixup-pmcmsp.c Author: Ralf Baechle <ralf@linux-mips.org> 2007-10-29 19:35:37 +00:00
fixup-pnx8550.c [MIPS] PCI: Make dev pointer argument of pcibios_map_irq const. 2007-07-10 17:33:00 +01:00
fixup-rbtx4927.c [MIPS] TXx9: Make single kernel can support multiple boards 2008-07-15 18:44:35 +01:00
fixup-rbtx4938.c [MIPS] TXx9: Make single kernel can support multiple boards 2008-07-15 18:44:35 +01:00
fixup-rc32434.c MIPS: RB532: Fix build error 2008-10-27 16:18:26 +00:00
fixup-sb1250.c MIPS: Eleminate filenames from comments 2009-08-03 17:52:40 +01:00
fixup-sni.c [MIPS] SNI PCIT CPLUS: workaround for b0rked irq wiring of onboard PCI bus 1 2007-11-15 23:21:50 +00:00
fixup-tb0219.c Update Yoichi Yuasa's e-mail address 2009-07-03 15:45:29 +01:00
fixup-tb0226.c Update Yoichi Yuasa's e-mail address 2009-07-03 15:45:29 +01:00
fixup-tb0287.c Update Yoichi Yuasa's e-mail address 2009-07-03 15:45:29 +01:00
fixup-wrppmc.c [MIPS] PCI: Make dev pointer argument of pcibios_map_irq const. 2007-07-10 17:33:00 +01:00
fixup-yosemite.c [MIPS] PCI: Make dev pointer argument of pcibios_map_irq const. 2007-07-10 17:33:00 +01:00
msi-octeon.c MIPS: Octeon: Disallow MSI-X interrupt and fall back to MSI interrupts. 2010-08-05 13:26:27 +01:00
ops-au1000.c [MIPS] Alchemy PCI code style cleanup 2008-05-12 16:46:52 +01:00
ops-bcm63xx.c MIPS: BCM63xx: Add support for the Broadcom BCM63xx family of SOCs. 2009-09-17 20:07:52 +02:00
ops-bonito64.c MIPS: Bonito64: Make Loongson independent from Bonito64 code. 2009-12-17 01:57:06 +00:00
ops-bridge.c [MIPS] IP27: misc fixes 2008-06-05 18:13:15 +01:00
ops-emma2rh.c MIPS: Eleminate filenames from comments 2009-08-03 17:52:40 +01:00
ops-gt64xxx_pci0.c [MIPS] merge GT64111 PCI routines and GT64120 PCI_0 routines 2007-04-27 16:20:23 +01:00
ops-loongson2.c MIPS: Lemote 2F: Ensure atomic execution of _rdmsr and _wrmsr 2010-04-12 17:26:12 +01:00
ops-mace.c [MIPS] Enable FAST-20 for onboard scsi 2008-07-15 18:44:31 +01:00
ops-msc.c Fixes for system controllers for Atlas/Malta core cards. 2005-10-29 19:30:20 +01:00
ops-nile4.c [MIPS] Add back support for LASAT platforms 2007-10-11 23:46:00 +01:00
ops-pmcmsp.c MIPS: Set io_map_base for several PCI bridges lacking it 2010-07-26 19:08:19 +01:00
ops-pnx8550.c MIPS: Kill unused <asm/debug.h> inclusions 2008-10-15 12:46:52 +01:00
ops-rc32434.c [MIPS] Routerboard 532: Support for base system 2008-07-20 14:38:18 +01:00
ops-sni.c [MIPS] Fix "no space between function name and open parenthesis" warnings. 2007-10-11 23:46:15 +01:00
ops-titan-ht.c MIPS: PCI: RM9000 checkpatch cleanup 2010-08-05 13:25:44 +01:00
ops-titan.c [MIPS] Support for the RM9000-based Basler eXcite smart camera platform. 2006-06-19 17:39:26 +01:00
ops-tx3927.c [MIPS] TXx9: PCI error handling 2008-07-30 21:54:38 +01:00
ops-tx4927.c [MIPS] TXx9: PCI error handling 2008-07-30 21:54:38 +01:00
ops-vr41xx.c Update Yoichi Yuasa's e-mail address 2009-07-03 15:45:29 +01:00
pci-bcm47xx.c MIPS: Nuke trailing blank lines 2010-02-27 12:53:14 +01:00
pci-bcm63xx.c MIPS: BCM63xx: Add support for the Broadcom BCM63xx family of SOCs. 2009-09-17 20:07:52 +02:00
pci-bcm63xx.h MIPS: BCM63xx: Add support for the Broadcom BCM63xx family of SOCs. 2009-09-17 20:07:52 +02:00
pci-bcm1480.c MIPS: Remove useless zero initializations. 2009-09-17 20:07:51 +02:00
pci-bcm1480ht.c MIPS: Remove useless zero initializations. 2009-09-17 20:07:51 +02:00
pci-emma2rh.c MIPS: Eleminate filenames from comments 2009-08-03 17:52:40 +01:00
pci-ip27.c MIPS: Build fix - include <linux/smp.h> into all smp_processor_id() users. 2009-06-24 18:34:39 +01:00
pci-ip32.c [MIPS] Fix IP32 breakage 2008-01-07 15:32:03 +00:00
pci-lasat.c [MIPS] Remove mips_machtype for LASAT machines 2008-07-15 18:44:39 +01:00
pci-octeon.c MIPS: Cleanup switches with cases that can be merged 2010-02-27 12:53:14 +01:00
pci-rc32434.c MIPS: RC32434: Define io_map_base for PCI controller 2009-01-30 21:32:59 +00:00
pci-sb1250.c MIPS: SB1250: Include correct header and fix a warning 2010-04-30 20:52:43 +01:00
pci-tx4927.c MIPS: Eleminate filenames from comments 2009-08-03 17:52:40 +01:00
pci-tx4938.c MIPS: Eleminate filenames from comments 2009-08-03 17:52:40 +01:00
pci-tx4939.c MIPS: Eleminate filenames from comments 2009-08-03 17:52:40 +01:00
pci-vr41xx.c Update Yoichi Yuasa's e-mail address 2009-07-03 15:45:29 +01:00
pci-vr41xx.h Update Yoichi Yuasa's e-mail address 2009-07-03 15:45:29 +01:00
pci-yosemite.c MIPS: Set io_map_base for several PCI bridges lacking it 2010-07-26 19:08:19 +01:00
pci.c MIPS: Cobalt: convert legacy port addresses to GT-64111 bus addresses 2010-02-27 12:53:44 +01:00
pcie-octeon.c MIPS: Octeon: Allow more than 3.75GB of memory with PCIe 2010-08-05 13:26:31 +01:00