Add PCI support on nios2 architecture
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest4 patches 2 repliesIn review
- v12 patches 6 repliesSuperseded
Changes in v2 from the cover letter
- nios2: remove PCI_SYSCALL from Kconfig
- nios2: set IO_SPACE_LIMIT to 0xffff
- nios2: remove arch/nios2/include/asm/pci.h and use asm-generic pci.h
- pci: add include <linux/dma-mapping.h> to pci.c
- asm-generic: add pci generic functions/defines to pci.h
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | asm-generic: add pci required defines and functionsinclude/ | +34 | 0 replies | |
| 2/4 | pci: add include <linux/dma-mapping.h>drivers/ | +1 | 0 replies | |
| 3/4 | PCI: Build setup-irq.o for nios2drivers/ | +1 | 0 replies | |
| 4/4 | nios2: Add architectural support for PCIearch/ arch/ arch/ +2 more | +66 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH v2 0/4] Add PCI support on nios2 architecture
This is 2nd version of patch to add pci support for nios2 architecture. This patchset also update asm-generic/pci.h to include PCI generic define/function as suggested by Arnd.
It requires pci_fixup_irqs() from setup-irq.c.
v1->v2 changes:
- nios2: remove PCI_SYSCALL from Kconfig
- nios2: set IO_SPACE_LIMIT to 0xffff
- nios2: remove arch/nios2/include/asm/pci.h and use asm-generic pci.h
- pci: add include <linux/dma-mapping.h> to pci.c
- asm-generic: add pci generic functions/defines to pci.h
History
-------
[v1]: https://lkml.org/lkml/2015/9/22/44
Ley Foon Tan (4):
asm-generic: add pci required defines and functions
pci: add include <linux/dma-mapping.h>
PCI: Build setup-irq.o for nios2
nios2: Add architectural support for PCIe
arch/nios2/Kconfig | 21 +++++++++++++++++++++ arch/nios2/include/asm/Kbuild | 1 + arch/nios2/include/asm/io.h | 12 ++++++++++-- arch/nios2/kernel/Makefile | 1 + arch/nios2/kernel/pci.c | 33 +++++++++++++++++++++++++++++++++ drivers/pci/Makefile | 1 + drivers/pci/pci.c | 1 + include/asm-generic/pci.h | 34 ++++++++++++++++++++++++++++++++++ 8 files changed, 102 insertions(+), 2 deletions(-) create mode 100644 arch/nios2/kernel/pci.c
Signature · 1 line
1.8.2.1