Skip to content

Commit a3f3677

Browse files
committed
Merge tag 'mips_5.16' of git://git.kernel.org/pub/scm/linux/kernel/git/mips/linux
Pull MIPS updates from Thomas Bogendoerfer: - added printing of CPU options for /proc/cpuinfo - removed support for Netlogic SOCs - fixes and cleanup * tag 'mips_5.16' of git://git.kernel.org/pub/scm/linux/kernel/git/mips/linux: MIPS: Cobalt: Explain GT64111 early PCI fixup mips: fix HUGETLB function without THP enabled mips: cm: Convert to bitfield API to fix out-of-bounds access MIPS: Remove NETLOGIC support MIPS: kernel: proc: add CPU option reporting MIPS: kernel: proc: use seq_puts instead of seq_printf MIPS: kernel: proc: fix trivial style errors MIPS: Fix assembly error from MIPSr2 code used within MIPS_ISA_ARCH_LEVEL MIPS: octeon: Remove unused functions MIPS: Loongson64: Add of_node_put() before break bcm47xx: Replace printk(KERN_ALERT ... pci_devname(dev)) with pci_alert() bcm47xx: Get rid of redundant 'else' MIPS: sni: Fix the build MIPS: Avoid macro redefinitions MIPS: loongson64: Fix no screen display during boot-up MIPS: loongson64: make CPU_LOONGSON64 depends on MIPS_FP_SUPPORT
2 parents d4439a1 + 36de23a commit a3f3677

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

97 files changed

+412
-11780
lines changed

arch/mips/Kbuild.platforms

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ platform-$(CONFIG_MACH_LOONGSON32) += loongson32/
1919
platform-$(CONFIG_MACH_LOONGSON64) += loongson64/
2020
platform-$(CONFIG_MIPS_MALTA) += mti-malta/
2121
platform-$(CONFIG_MACH_NINTENDO64) += n64/
22-
platform-$(CONFIG_NLM_COMMON) += netlogic/
2322
platform-$(CONFIG_PIC32MZDA) += pic32/
2423
platform-$(CONFIG_RALINK) += ralink/
2524
platform-$(CONFIG_MIKROTIK_RB532) += rb532/

arch/mips/Kconfig

Lines changed: 3 additions & 89 deletions
Original file line numberDiff line numberDiff line change
@@ -995,60 +995,6 @@ config CAVIUM_OCTEON_SOC
995995
Hikari
996996
Say Y here for most Octeon reference boards.
997997

998-
config NLM_XLR_BOARD
999-
bool "Netlogic XLR/XLS based systems"
1000-
select BOOT_ELF32
1001-
select NLM_COMMON
1002-
select SYS_HAS_CPU_XLR
1003-
select SYS_SUPPORTS_SMP
1004-
select HAVE_PCI
1005-
select SWAP_IO_SPACE
1006-
select SYS_SUPPORTS_32BIT_KERNEL
1007-
select SYS_SUPPORTS_64BIT_KERNEL
1008-
select PHYS_ADDR_T_64BIT
1009-
select SYS_SUPPORTS_BIG_ENDIAN
1010-
select SYS_SUPPORTS_HIGHMEM
1011-
select NR_CPUS_DEFAULT_32
1012-
select CEVT_R4K
1013-
select CSRC_R4K
1014-
select IRQ_MIPS_CPU
1015-
select ZONE_DMA32 if 64BIT
1016-
select SYNC_R4K
1017-
select SYS_HAS_EARLY_PRINTK
1018-
select SYS_SUPPORTS_ZBOOT
1019-
select SYS_SUPPORTS_ZBOOT_UART16550
1020-
help
1021-
Support for systems based on Netlogic XLR and XLS processors.
1022-
Say Y here if you have a XLR or XLS based board.
1023-
1024-
config NLM_XLP_BOARD
1025-
bool "Netlogic XLP based systems"
1026-
select BOOT_ELF32
1027-
select NLM_COMMON
1028-
select SYS_HAS_CPU_XLP
1029-
select SYS_SUPPORTS_SMP
1030-
select HAVE_PCI
1031-
select SYS_SUPPORTS_32BIT_KERNEL
1032-
select SYS_SUPPORTS_64BIT_KERNEL
1033-
select PHYS_ADDR_T_64BIT
1034-
select GPIOLIB
1035-
select SYS_SUPPORTS_BIG_ENDIAN
1036-
select SYS_SUPPORTS_LITTLE_ENDIAN
1037-
select SYS_SUPPORTS_HIGHMEM
1038-
select NR_CPUS_DEFAULT_32
1039-
select CEVT_R4K
1040-
select CSRC_R4K
1041-
select IRQ_MIPS_CPU
1042-
select ZONE_DMA32 if 64BIT
1043-
select SYNC_R4K
1044-
select SYS_HAS_EARLY_PRINTK
1045-
select USE_OF
1046-
select SYS_SUPPORTS_ZBOOT
1047-
select SYS_SUPPORTS_ZBOOT_UART16550
1048-
help
1049-
This board is based on Netlogic XLP Processor.
1050-
Say Y here if you have a XLP based board.
1051-
1052998
endchoice
1053999

10541000
source "arch/mips/alchemy/Kconfig"
@@ -1071,7 +1017,6 @@ source "arch/mips/cavium-octeon/Kconfig"
10711017
source "arch/mips/loongson2ef/Kconfig"
10721018
source "arch/mips/loongson32/Kconfig"
10731019
source "arch/mips/loongson64/Kconfig"
1074-
source "arch/mips/netlogic/Kconfig"
10751020

10761021
endmenu
10771022

@@ -1371,6 +1316,7 @@ config CPU_LOONGSON64
13711316
select MIPS_ASID_BITS_VARIABLE
13721317
select MIPS_PGD_C0_CONTEXT
13731318
select MIPS_L1_CACHE_SHIFT_6
1319+
select MIPS_FP_SUPPORT
13741320
select GPIOLIB
13751321
select SWIOTLB
13761322
select HAVE_KVM
@@ -1778,32 +1724,6 @@ config CPU_BMIPS
17781724
help
17791725
Support for BMIPS32/3300/4350/4380 and BMIPS5000 processors.
17801726

1781-
config CPU_XLR
1782-
bool "Netlogic XLR SoC"
1783-
depends on SYS_HAS_CPU_XLR
1784-
select CPU_SUPPORTS_32BIT_KERNEL
1785-
select CPU_SUPPORTS_64BIT_KERNEL
1786-
select CPU_SUPPORTS_HIGHMEM
1787-
select CPU_SUPPORTS_HUGEPAGES
1788-
select WEAK_ORDERING
1789-
select WEAK_REORDERING_BEYOND_LLSC
1790-
help
1791-
Netlogic Microsystems XLR/XLS processors.
1792-
1793-
config CPU_XLP
1794-
bool "Netlogic XLP SoC"
1795-
depends on SYS_HAS_CPU_XLP
1796-
select CPU_SUPPORTS_32BIT_KERNEL
1797-
select CPU_SUPPORTS_64BIT_KERNEL
1798-
select CPU_SUPPORTS_HIGHMEM
1799-
select WEAK_ORDERING
1800-
select WEAK_REORDERING_BEYOND_LLSC
1801-
select CPU_HAS_PREFETCH
1802-
select CPU_MIPSR2
1803-
select CPU_SUPPORTS_HUGEPAGES
1804-
select MIPS_ASID_BITS_VARIABLE
1805-
help
1806-
Netlogic Microsystems XLP processors.
18071727
endchoice
18081728

18091729
config CPU_MIPS32_3_5_FEATURES
@@ -2050,12 +1970,6 @@ config SYS_HAS_CPU_BMIPS5000
20501970
select SYS_HAS_CPU_BMIPS
20511971
select ARCH_HAS_SYNC_DMA_FOR_CPU
20521972

2053-
config SYS_HAS_CPU_XLR
2054-
bool
2055-
2056-
config SYS_HAS_CPU_XLP
2057-
bool
2058-
20591973
#
20601974
# CPU may reorder R->R, R->W, W->R, W->W
20611975
# Reordering beyond LL and SC is handled in WEAK_REORDERING_BEYOND_LLSC
@@ -2150,7 +2064,7 @@ config CPU_SUPPORTS_HUGEPAGES
21502064
config MIPS_PGD_C0_CONTEXT
21512065
bool
21522066
depends on 64BIT
2153-
default y if (CPU_MIPSR2 || CPU_MIPSR6) && !CPU_XLP
2067+
default y if (CPU_MIPSR2 || CPU_MIPSR6)
21542068

21552069
#
21562070
# Set to y for ptrace access to watch registers.
@@ -2833,7 +2747,7 @@ config NODES_SHIFT
28332747

28342748
config HW_PERF_EVENTS
28352749
bool "Enable hardware performance counter support for perf events"
2836-
depends on PERF_EVENTS && (CPU_MIPS32 || CPU_MIPS64 || CPU_R10000 || CPU_SB1 || CPU_CAVIUM_OCTEON || CPU_XLP || CPU_LOONGSON64)
2750+
depends on PERF_EVENTS && (CPU_MIPS32 || CPU_MIPS64 || CPU_R10000 || CPU_SB1 || CPU_CAVIUM_OCTEON || CPU_LOONGSON64)
28372751
default y
28382752
help
28392753
Enable hardware performance counter support for perf events. If

arch/mips/boot/compressed/uart-16550.c

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -23,18 +23,6 @@
2323
#define PORT(offset) (CKSEG1ADDR(INGENIC_UART_BASE_ADDR) + (4 * offset))
2424
#endif
2525

26-
#ifdef CONFIG_CPU_XLR
27-
#define UART0_BASE 0x1EF14000
28-
#define PORT(offset) (CKSEG1ADDR(UART0_BASE) + (4 * offset))
29-
#define IOTYPE unsigned int
30-
#endif
31-
32-
#ifdef CONFIG_CPU_XLP
33-
#define UART0_BASE 0x18030100
34-
#define PORT(offset) (CKSEG1ADDR(UART0_BASE) + (4 * offset))
35-
#define IOTYPE unsigned int
36-
#endif
37-
3826
#ifndef IOTYPE
3927
#define IOTYPE char
4028
#endif

arch/mips/boot/dts/Makefile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ subdir-$(CONFIG_MACH_LOONGSON64) += loongson
99
subdir-$(CONFIG_SOC_VCOREIII) += mscc
1010
subdir-$(CONFIG_MIPS_MALTA) += mti
1111
subdir-$(CONFIG_LEGACY_BOARD_SEAD3) += mti
12-
subdir-$(CONFIG_NLM_XLP_BOARD) += netlogic
1312
subdir-$(CONFIG_FIT_IMAGE_FDT_NI169445) += ni
1413
subdir-$(CONFIG_MACH_PIC32) += pic32
1514
subdir-$(CONFIG_ATH79) += qca

arch/mips/boot/dts/netlogic/Makefile

Lines changed: 0 additions & 8 deletions
This file was deleted.

arch/mips/boot/dts/netlogic/xlp_evp.dts

Lines changed: 0 additions & 131 deletions
This file was deleted.

0 commit comments

Comments
 (0)