Skip to content

Support for Netlogic XLR/XLS processors

Jayachandran C linux-mips 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8Netlogic XLR/XLS processor IDs.arch/mips/include/asm/cpu.h arch/mips/kernel/cpu-probe.c+82 -00 replies
2/8mach-netlogic include directory and files.arch/mips/include/asm/mach-netlogic/cpu-feature-overrides.h arch/mips/include/asm/mach-netlogic/irq.h arch/mips/include/asm/mach-netlogic/war.h+87 -00 replies
3/8Cache support, TLB support, asm/module.h entryarch/mips/include/asm/module.h arch/mips/mm/c-r4k.c arch/mips/mm/tlbex.c+4 -00 replies
4/8Platform files for XLR/XLS processor support.arch/mips/include/asm/netlogic/interrupt.h arch/mips/include/asm/netlogic/mips-extns.h arch/mips/include/asm/netlogic/psb-bootinfo.h +11 more+1637 -00 replies
5/8Kconfig and Makefile update for Netlogic XLR/XLSarch/mips/Kconfig arch/mips/Makefile arch/mips/kernel/Makefile +4 more+67 -00 replies
6/8Add default configuration for XLR/XLS processorsarch/mips/configs/nlm_xlr_defconfig+1705 -00 replies
7/8USB support for XLS platforms.arch/mips/Kconfig arch/mips/include/asm/netlogic/xlr/xlr.h arch/mips/netlogic/xlr/platform.c +4 more+445 -02 replies
7/8PCI support for XLR/XLSarch/mips/include/asm/netlogic/xlr/xlr.h arch/mips/netlogic/xlr/irq.c arch/mips/pci/Makefile +1 more+321 -10 replies
8/8PCI support for XLR/XLSarch/mips/include/asm/netlogic/pci.h arch/mips/include/asm/netlogic/xlr/xlr.h arch/mips/netlogic/xlr/irq.c +2 more+318 -10 replies
8/8USB support for XLS platforms.arch/mips/Kconfig arch/mips/netlogic/xlr/platform.c drivers/usb/host/ehci-hcd.c +3 more+413 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/8] Support for Netlogic XLR/XLS processors

Here's the latest version of the patchset for XLR/XLS support on Linux/MIPS, with PCI and USB support added.

I would really appreciate a ACK/NAK if there is any issue with the code or license, since at this point I'm not sure why this patchset has not been merged.

Thanks,
JC.

Changes from last version(v3):
* USB support for XLS processors
* PCI support for XLR/XLS processors
* irq code updated - added PCI interrupts, minor fixes.

Changes from last version(v2):
* Netlogic files updated to use a dual license (GPLv2 or Netlogic 2-clause BSD license.)
* irq.c updated to use new style of irq_data based handlers.
* Rebased to latest linux-mips master tip.
* Minor reshuffle of patches to group them better.

Changes from last version(v1):
* Initial 64-bit support
* cleanup irq.c, don't use irq_desc[] directly
* couple of checkpatch.pl white-space fixes

Changes from last version(v0):
* Remove c-netlogic.c for now, c-r4k works well enough for the first cut, so the custom cache handler can be considered later.
* More elaborate asm/mach-netlogic/cpu-feature-overrides.h (noted by David Daney)

These set of patches add support for the XLR and XLS multi-core MIPS64 SoCs from Netlogic Microsystems.

These changes enable us to boot linux-mips on Netlogic evaluation boards from the netlogic bootloader.

Jayachandran C (8):
Netlogic XLR/XLS processor IDs. mach-netlogic include directory and files. Cache support, TLB support, asm/module.h entry Platform files for XLR/XLS processor support. Kconfig and Makefile update for Netlogic XLR/XLS Add default configuration for XLR/XLS processors USB support for XLS platforms.
PCI support for XLR/XLS

 arch/mips/Kconfig                                  |   44 +
 arch/mips/Makefile                                 |   12 +
 arch/mips/configs/nlm_xlr_defconfig                | 1705 ++++++++++++++++++++
 arch/mips/include/asm/cpu.h                        |   27 +
 .../asm/mach-netlogic/cpu-feature-overrides.h      |   47 +
 arch/mips/include/asm/mach-netlogic/irq.h          |   14 +
 arch/mips/include/asm/mach-netlogic/war.h          |   26 +
 arch/mips/include/asm/module.h                     |    2 +
 arch/mips/include/asm/netlogic/interrupt.h         |   45 +
 arch/mips/include/asm/netlogic/mips-extns.h        |   76 +
 arch/mips/include/asm/netlogic/pci.h               |    8 +
 arch/mips/include/asm/netlogic/psb-bootinfo.h      |  109 ++
 arch/mips/include/asm/netlogic/xlr/gpio.h          |   73 +
 arch/mips/include/asm/netlogic/xlr/iomap.h         |  131 ++
 arch/mips/include/asm/netlogic/xlr/pic.h           |  231 +++
 arch/mips/include/asm/netlogic/xlr/xlr.h           |   75 +
 arch/mips/kernel/Makefile                          |    1 +
 arch/mips/kernel/cpu-probe.c                       |   55 +
 arch/mips/lib/Makefile                             |    1 +
 arch/mips/mm/Makefile                              |    1 +
 arch/mips/mm/c-r4k.c                               |    1 +
 arch/mips/mm/tlbex.c                               |    1 +
 arch/mips/netlogic/Kconfig                         |    5 +
 arch/mips/netlogic/xlr/Makefile                    |    5 +
 arch/mips/netlogic/xlr/irq.c                       |  300 ++++
 arch/mips/netlogic/xlr/platform.c                  |  189 +++
 arch/mips/netlogic/xlr/setup.c                     |  188 +++
 arch/mips/netlogic/xlr/smp.c                       |  225 +++
 arch/mips/netlogic/xlr/smpboot.S                   |   94 ++
 arch/mips/netlogic/xlr/time.c                      |   51 +
 arch/mips/netlogic/xlr/xlr_console.c               |   46 +
 arch/mips/pci/Makefile                             |    1 +
 arch/mips/pci/pci-xlr.c                            |  215 +++
 drivers/usb/host/ehci-hcd.c                        |    5 +
 drivers/usb/host/ehci-xls.c                        |  170 ++
 drivers/usb/host/ohci-hcd.c                        |    5 +
 drivers/usb/host/ohci-xls.c                        |  160 ++
 37 files changed, 4344 insertions(+), 0 deletions(-)
 create mode 100644 arch/mips/configs/nlm_xlr_defconfig
 create mode 100644 arch/mips/include/asm/mach-netlogic/cpu-feature-overrides.h
 create mode 100644 arch/mips/include/asm/mach-netlogic/irq.h
 create mode 100644 arch/mips/include/asm/mach-netlogic/war.h
 create mode 100644 arch/mips/include/asm/netlogic/interrupt.h
 create mode 100644 arch/mips/include/asm/netlogic/mips-extns.h
 create mode 100644 arch/mips/include/asm/netlogic/pci.h
 create mode 100644 arch/mips/include/asm/netlogic/psb-bootinfo.h
 create mode 100644 arch/mips/include/asm/netlogic/xlr/gpio.h
 create mode 100644 arch/mips/include/asm/netlogic/xlr/iomap.h
 create mode 100644 arch/mips/include/asm/netlogic/xlr/pic.h
 create mode 100644 arch/mips/include/asm/netlogic/xlr/xlr.h
 create mode 100644 arch/mips/netlogic/Kconfig
 create mode 100644 arch/mips/netlogic/xlr/Makefile
 create mode 100644 arch/mips/netlogic/xlr/irq.c
 create mode 100644 arch/mips/netlogic/xlr/platform.c
 create mode 100644 arch/mips/netlogic/xlr/setup.c
 create mode 100644 arch/mips/netlogic/xlr/smp.c
 create mode 100644 arch/mips/netlogic/xlr/smpboot.S
 create mode 100644 arch/mips/netlogic/xlr/time.c
 create mode 100644 arch/mips/netlogic/xlr/xlr_console.c
 create mode 100644 arch/mips/pci/pci-xlr.c
 create mode 100644 drivers/usb/host/ehci-xls.c
 create mode 100644 drivers/usb/host/ohci-xls.c
Signature · 2 lines
Jayachandran C.
[email protected]                  (Netlogic Microsystems)