projects/linux·commit d936cfc7

Merge branch 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-linus

d936cfc7 · Linus Torvalds <[email protected]> · 2006-01-10 09:00:55 -08:00

Commit
d936cfc72032fb4af03d1edd99596d18ea1f081c
Parents
4f47707b · adfc7641

Merge commit. Changes below are compared with the first parent: 4f47707b.

Changes

98 files changed · +285 −190

FileStatusAddDelContent
arch/mips/Kconfigmodified+1−9View file
arch/mips/Makefilemodified+0−1View file
arch/mips/configs/bigsur_defconfigmodified+0−1View file
arch/mips/configs/cobalt_defconfigmodified+0−1View file
arch/mips/configs/ddb5476_defconfigmodified+0−1View file
arch/mips/configs/ddb5477_defconfigmodified+0−1View file
arch/mips/configs/ev64120_defconfigmodified+0−1View file
arch/mips/configs/ev96100_defconfigmodified+0−1View file
arch/mips/configs/ip22_defconfigmodified+0−1View file
arch/mips/configs/ip27_defconfigmodified+0−1View file
arch/mips/configs/ip32_defconfigmodified+0−1View file
arch/mips/configs/it8172_defconfigmodified+0−1View file
arch/mips/configs/ivr_defconfigmodified+0−1View file
arch/mips/configs/jaguar-atx_defconfigmodified+0−1View file
arch/mips/configs/lasat200_defconfigmodified+0−1View file
arch/mips/configs/malta_defconfigmodified+5−5View file
arch/mips/configs/ocelot_3_defconfigmodified+0−1View file
arch/mips/configs/ocelot_c_defconfigmodified+0−1View file
arch/mips/configs/ocelot_defconfigmodified+0−1View file
arch/mips/configs/ocelot_g_defconfigmodified+0−1View file
arch/mips/configs/pnx8550-v2pci_defconfigmodified+0−1View file
arch/mips/configs/rbhma4500_defconfigmodified+0−1View file
arch/mips/configs/rm200_defconfigmodified+0−1View file
arch/mips/configs/sb1250-swarm_defconfigmodified+0−1View file
arch/mips/configs/yosemite_defconfigmodified+0−1View file
arch/mips/defconfigmodified+0−1View file
arch/mips/kernel/cpu-probe.cmodified+32−7View file
arch/mips/kernel/process.cmodified+2−2View file
arch/mips/kernel/ptrace.cmodified+2−6View file
arch/mips/kernel/ptrace32.cmodified+2−6View file
arch/mips/kernel/signal32.cmodified+1−1View file
arch/mips/kernel/time.cmodified+28−4View file
arch/mips/kernel/vpe.cmodified+4−4View file
arch/mips/lib/iomap.cmodified+1−1View file
arch/mips/math-emu/dp_fint.cmodified+0−2View file
arch/mips/math-emu/dp_flong.cmodified+0−2View file
arch/mips/math-emu/sp_fint.cmodified+0−2View file
arch/mips/math-emu/sp_flong.cmodified+0−2View file
arch/mips/mips-boards/generic/time.cmodified+18−15View file
arch/mips/mm/c-r4k.cmodified+2−2View file
arch/mips/oprofile/common.cmodified+3−0View file
arch/mips/oprofile/op_impl.hmodified+2−2View file
arch/mips/oprofile/op_model_mipsxx.cmodified+20−2View file
arch/mips/pci/fixup-capcella.cmodified+1−1View file
arch/mips/pci/fixup-mpc30x.cmodified+1−1View file
arch/mips/pci/fixup-tb0219.cmodified+1−1View file
arch/mips/pci/fixup-tb0226.cmodified+1−1View file
arch/mips/pci/fixup-tb0287.cmodified+1−1View file
arch/mips/pci/ops-vr41xx.cmodified+1−1View file
arch/mips/pci/pci-vr41xx.cmodified+1−1View file
arch/mips/pci/pci-vr41xx.hmodified+1−1View file
arch/mips/vr41xx/casio-e55/setup.cmodified+1−1View file
arch/mips/vr41xx/common/bcu.cmodified+2−2View file
arch/mips/vr41xx/common/cmu.cmodified+2−2View file
arch/mips/vr41xx/common/icu.cmodified+2−2View file
arch/mips/vr41xx/common/init.cmodified+1−1View file
arch/mips/vr41xx/common/int-handler.Smodified+1−1View file
arch/mips/vr41xx/common/irq.cmodified+1−1View file
arch/mips/vr41xx/common/pmu.cmodified+1−1View file
arch/mips/vr41xx/common/type.cmodified+1−1View file
arch/mips/vr41xx/common/vrc4173.cmodified+1−1View file
arch/mips/vr41xx/ibm-workpad/setup.cmodified+1−1View file
drivers/char/tb0219.cmodified+2−2View file
drivers/char/vr41xx_giu.cmodified+2−2View file
drivers/char/vr41xx_rtc.cmodified+2−2View file
drivers/pcmcia/vrc4171_card.cmodified+2−2View file
drivers/pcmcia/vrc4173_cardu.cmodified+2−2View file
drivers/pcmcia/vrc4173_cardu.hmodified+1−1View file
drivers/serial/vr41xx_siu.cmodified+1−1View file
include/asm-mips/atomic.hmodified+21−22View file
include/asm-mips/cpu-features.hmodified+21−0View file
include/asm-mips/cpu.hmodified+11−9View file
include/asm-mips/delay.hmodified+2−4View file
include/asm-mips/dsp.hmodified+3−1View file
include/asm-mips/elf.hmodified+2−2View file
include/asm-mips/hazards.hmodified+15−5View file
include/asm-mips/interrupt.hmodified+1−0View file
include/asm-mips/mach-au1x00/au1000.hmodified+5−2View file
include/asm-mips/mach-ip22/cpu-feature-overrides.hmodified+5−0View file
include/asm-mips/mach-ip27/cpu-feature-overrides.hmodified+5−0View file
include/asm-mips/mach-ip32/cpu-feature-overrides.hmodified+5−0View file
include/asm-mips/mach-ja/cpu-feature-overrides.hmodified+5−0View file
include/asm-mips/mach-ocelot3/cpu-feature-overrides.hmodified+5−0View file
include/asm-mips/mach-rm200/cpu-feature-overrides.hmodified+5−0View file
include/asm-mips/mach-yosemite/cpu-feature-overrides.hmodified+5−0View file
include/asm-mips/mipsregs.hmodified+1−1View file
include/asm-mips/processor.hmodified+0−1View file
include/asm-mips/vr41xx/capcella.hmodified+1−1View file
include/asm-mips/vr41xx/e55.hmodified+1−1View file
include/asm-mips/vr41xx/giu.hmodified+1−1View file
include/asm-mips/vr41xx/mpc30x.hmodified+1−1View file
include/asm-mips/vr41xx/pci.hmodified+1−1View file
include/asm-mips/vr41xx/siu.hmodified+1−1View file
include/asm-mips/vr41xx/tb0219.hmodified+1−1View file
include/asm-mips/vr41xx/tb0226.hmodified+1−1View file
include/asm-mips/vr41xx/vr41xx.hmodified+1−1View file
include/asm-mips/vr41xx/vrc4173.hmodified+1−1View file
include/asm-mips/vr41xx/workpad.hmodified+1−1View file

Only the first 600 diff lines are shown. Download the complete patch.

arch/mips/Kconfig

View file
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
index b50be44..c3e852e 100644
--- a/arch/mips/Kconfig
+++ b/arch/mips/Kconfig
@@ -1471,7 +1471,7 @@ config SB1_PASS_2_1_WORKAROUNDS
config 64BIT_PHYS_ADDR
bool "Support for 64-bit physical address space"
- depends on (CPU_R4X00 || CPU_R5000 || CPU_RM7000 || CPU_RM9000 || CPU_R10000 || CPU_SB1 || CPU_MIPS32_R1 || CPU_MIPS64_R1) && 32BIT
+ depends on (CPU_R4X00 || CPU_R5000 || CPU_RM7000 || CPU_RM9000 || CPU_R10000 || CPU_SB1 || CPU_MIPS32 || CPU_MIPS64) && 32BIT
config CPU_ADVANCED
bool "Override CPU Options"
@@ -1492,14 +1492,6 @@ config CPU_HAS_LLSC
for better performance, N if you don't know. You must say Y here
for multiprocessor machines.
-config CPU_HAS_LLDSCD
- bool "lld/scd Instructions available" if CPU_ADVANCED
- default y if !CPU_ADVANCED && !CPU_R3000 && !CPU_VR41XX && !CPU_TX39XX && !CPU_MIPS32_R1
- help
- Say Y here if your CPU has the lld and scd instructions, the 64-bit
- equivalents of ll and sc. Say Y here for better performance, N if
- you don't know. You must say Y here for multiprocessor machines.
-
config CPU_HAS_WB
bool "Writeback Buffer available" if CPU_ADVANCED
default y if !CPU_ADVANCED && CPU_R3000 && MACH_DECSTATION

arch/mips/Makefile

View file
diff --git a/arch/mips/Makefile b/arch/mips/Makefile
index e14ba5e..2a9f2ef 100644
--- a/arch/mips/Makefile
+++ b/arch/mips/Makefile
@@ -93,7 +93,6 @@ endif
#
cflags-y += -I $(TOPDIR)/include/asm/gcc
cflags-y += -G 0 -mno-abicalls -fno-pic -pipe
-cflags-y += $(call cc-option, -finline-limit=100000)
LDFLAGS_vmlinux += -G 0 -static -n -nostdlib
MODFLAGS += -mlong-calls

arch/mips/configs/bigsur_defconfig

View file
diff --git a/arch/mips/configs/bigsur_defconfig b/arch/mips/configs/bigsur_defconfig
index 069f9d1..6fd3537 100644
--- a/arch/mips/configs/bigsur_defconfig
+++ b/arch/mips/configs/bigsur_defconfig
@@ -130,7 +130,6 @@ CONFIG_PAGE_SIZE_4KB=y
# CONFIG_SIBYTE_DMA_PAGEOPS is not set
# CONFIG_MIPS_MT is not set
CONFIG_CPU_HAS_LLSC=y
-CONFIG_CPU_HAS_LLDSCD=y
CONFIG_CPU_HAS_SYNC=y
CONFIG_GENERIC_HARDIRQS=y
CONFIG_GENERIC_IRQ_PROBE=y

arch/mips/configs/cobalt_defconfig

View file
diff --git a/arch/mips/configs/cobalt_defconfig b/arch/mips/configs/cobalt_defconfig
index 216f402..1d3ee18 100644
--- a/arch/mips/configs/cobalt_defconfig
+++ b/arch/mips/configs/cobalt_defconfig
@@ -115,7 +115,6 @@ CONFIG_PAGE_SIZE_4KB=y
# CONFIG_MIPS_MT is not set
# CONFIG_CPU_ADVANCED is not set
CONFIG_CPU_HAS_LLSC=y
-CONFIG_CPU_HAS_LLDSCD=y
CONFIG_CPU_HAS_SYNC=y
CONFIG_GENERIC_HARDIRQS=y
CONFIG_GENERIC_IRQ_PROBE=y

arch/mips/configs/ddb5476_defconfig

View file
diff --git a/arch/mips/configs/ddb5476_defconfig b/arch/mips/configs/ddb5476_defconfig
index bea00a9..a81e2de 100644
--- a/arch/mips/configs/ddb5476_defconfig
+++ b/arch/mips/configs/ddb5476_defconfig
@@ -116,7 +116,6 @@ CONFIG_PAGE_SIZE_4KB=y
# CONFIG_MIPS_MT is not set
# CONFIG_CPU_ADVANCED is not set
CONFIG_CPU_HAS_LLSC=y
-CONFIG_CPU_HAS_LLDSCD=y
CONFIG_CPU_HAS_SYNC=y
CONFIG_GENERIC_HARDIRQS=y
CONFIG_GENERIC_IRQ_PROBE=y

arch/mips/configs/ddb5477_defconfig

View file
diff --git a/arch/mips/configs/ddb5477_defconfig b/arch/mips/configs/ddb5477_defconfig
index 61f7171..f1c27c2 100644
--- a/arch/mips/configs/ddb5477_defconfig
+++ b/arch/mips/configs/ddb5477_defconfig
@@ -116,7 +116,6 @@ CONFIG_PAGE_SIZE_4KB=y
# CONFIG_MIPS_MT is not set
# CONFIG_CPU_ADVANCED is not set
CONFIG_CPU_HAS_LLSC=y
-CONFIG_CPU_HAS_LLDSCD=y
CONFIG_CPU_HAS_SYNC=y
CONFIG_GENERIC_HARDIRQS=y
CONFIG_GENERIC_IRQ_PROBE=y

arch/mips/configs/ev64120_defconfig

View file
diff --git a/arch/mips/configs/ev64120_defconfig b/arch/mips/configs/ev64120_defconfig
index 14e3815..aa24d85 100644
--- a/arch/mips/configs/ev64120_defconfig
+++ b/arch/mips/configs/ev64120_defconfig
@@ -118,7 +118,6 @@ CONFIG_PAGE_SIZE_4KB=y
# CONFIG_64BIT_PHYS_ADDR is not set
# CONFIG_CPU_ADVANCED is not set
CONFIG_CPU_HAS_LLSC=y
-CONFIG_CPU_HAS_LLDSCD=y
CONFIG_CPU_HAS_SYNC=y
CONFIG_GENERIC_HARDIRQS=y
CONFIG_GENERIC_IRQ_PROBE=y

arch/mips/configs/ev96100_defconfig

View file
diff --git a/arch/mips/configs/ev96100_defconfig b/arch/mips/configs/ev96100_defconfig
index 5108195..eeed0e5 100644
--- a/arch/mips/configs/ev96100_defconfig
+++ b/arch/mips/configs/ev96100_defconfig
@@ -121,7 +121,6 @@ CONFIG_CPU_HAS_PREFETCH=y
# CONFIG_64BIT_PHYS_ADDR is not set
# CONFIG_CPU_ADVANCED is not set
CONFIG_CPU_HAS_LLSC=y
-CONFIG_CPU_HAS_LLDSCD=y
CONFIG_CPU_HAS_SYNC=y
CONFIG_GENERIC_HARDIRQS=y
CONFIG_GENERIC_IRQ_PROBE=y

arch/mips/configs/ip22_defconfig

View file
diff --git a/arch/mips/configs/ip22_defconfig b/arch/mips/configs/ip22_defconfig
index 67979e3..e56351a 100644
--- a/arch/mips/configs/ip22_defconfig
+++ b/arch/mips/configs/ip22_defconfig
@@ -123,7 +123,6 @@ CONFIG_IP22_CPU_SCACHE=y
# CONFIG_64BIT_PHYS_ADDR is not set
# CONFIG_CPU_ADVANCED is not set
CONFIG_CPU_HAS_LLSC=y
-CONFIG_CPU_HAS_LLDSCD=y
CONFIG_CPU_HAS_SYNC=y
CONFIG_GENERIC_HARDIRQS=y
CONFIG_GENERIC_IRQ_PROBE=y

arch/mips/configs/ip27_defconfig

View file
diff --git a/arch/mips/configs/ip27_defconfig b/arch/mips/configs/ip27_defconfig
index 03af44d..e17d3ad 100644
--- a/arch/mips/configs/ip27_defconfig
+++ b/arch/mips/configs/ip27_defconfig
@@ -119,7 +119,6 @@ CONFIG_PAGE_SIZE_4KB=y
CONFIG_CPU_HAS_PREFETCH=y
# CONFIG_MIPS_MT is not set
CONFIG_CPU_HAS_LLSC=y
-CONFIG_CPU_HAS_LLDSCD=y
CONFIG_CPU_HAS_SYNC=y
CONFIG_GENERIC_HARDIRQS=y
CONFIG_GENERIC_IRQ_PROBE=y

arch/mips/configs/ip32_defconfig

View file
diff --git a/arch/mips/configs/ip32_defconfig b/arch/mips/configs/ip32_defconfig
index cba2a49..967e7ac 100644
--- a/arch/mips/configs/ip32_defconfig
+++ b/arch/mips/configs/ip32_defconfig
@@ -121,7 +121,6 @@ CONFIG_R5000_CPU_SCACHE=y
CONFIG_RM7000_CPU_SCACHE=y
# CONFIG_MIPS_MT is not set
CONFIG_CPU_HAS_LLSC=y
-CONFIG_CPU_HAS_LLDSCD=y
CONFIG_CPU_HAS_SYNC=y
CONFIG_GENERIC_HARDIRQS=y
CONFIG_GENERIC_IRQ_PROBE=y

arch/mips/configs/it8172_defconfig

View file
diff --git a/arch/mips/configs/it8172_defconfig b/arch/mips/configs/it8172_defconfig
index e7ee167..b5fa963 100644
--- a/arch/mips/configs/it8172_defconfig
+++ b/arch/mips/configs/it8172_defconfig
@@ -117,7 +117,6 @@ CONFIG_PAGE_SIZE_4KB=y
# CONFIG_MIPS_MT is not set
# CONFIG_CPU_ADVANCED is not set
CONFIG_CPU_HAS_LLSC=y
-CONFIG_CPU_HAS_LLDSCD=y
CONFIG_CPU_HAS_SYNC=y
CONFIG_GENERIC_HARDIRQS=y
CONFIG_GENERIC_IRQ_PROBE=y

arch/mips/configs/ivr_defconfig

View file
diff --git a/arch/mips/configs/ivr_defconfig b/arch/mips/configs/ivr_defconfig
index 138c8a6..7138693 100644
--- a/arch/mips/configs/ivr_defconfig
+++ b/arch/mips/configs/ivr_defconfig
@@ -114,7 +114,6 @@ CONFIG_PAGE_SIZE_4KB=y
# CONFIG_MIPS_MT is not set
# CONFIG_CPU_ADVANCED is not set
CONFIG_CPU_HAS_LLSC=y
-CONFIG_CPU_HAS_LLDSCD=y
CONFIG_CPU_HAS_SYNC=y
CONFIG_GENERIC_HARDIRQS=y
CONFIG_GENERIC_IRQ_PROBE=y

arch/mips/configs/jaguar-atx_defconfig

View file
diff --git a/arch/mips/configs/jaguar-atx_defconfig b/arch/mips/configs/jaguar-atx_defconfig
index 6238e0d..14fb468 100644
--- a/arch/mips/configs/jaguar-atx_defconfig
+++ b/arch/mips/configs/jaguar-atx_defconfig
@@ -124,7 +124,6 @@ CONFIG_CPU_HAS_PREFETCH=y
# CONFIG_64BIT_PHYS_ADDR is not set
# CONFIG_CPU_ADVANCED is not set
CONFIG_CPU_HAS_LLSC=y
-CONFIG_CPU_HAS_LLDSCD=y
CONFIG_CPU_HAS_SYNC=y
CONFIG_GENERIC_HARDIRQS=y
CONFIG_GENERIC_IRQ_PROBE=y

arch/mips/configs/lasat200_defconfig

View file
diff --git a/arch/mips/configs/lasat200_defconfig b/arch/mips/configs/lasat200_defconfig
index a7ad99b..6c5df76 100644
--- a/arch/mips/configs/lasat200_defconfig
+++ b/arch/mips/configs/lasat200_defconfig
@@ -121,7 +121,6 @@ CONFIG_R5000_CPU_SCACHE=y
# CONFIG_64BIT_PHYS_ADDR is not set
# CONFIG_CPU_ADVANCED is not set
CONFIG_CPU_HAS_LLSC=y
-CONFIG_CPU_HAS_LLDSCD=y
CONFIG_CPU_HAS_SYNC=y
CONFIG_GENERIC_HARDIRQS=y
CONFIG_GENERIC_IRQ_PROBE=y

arch/mips/configs/malta_defconfig

View file
diff --git a/arch/mips/configs/malta_defconfig b/arch/mips/configs/malta_defconfig
index d1c4421..da0677a 100644
--- a/arch/mips/configs/malta_defconfig
+++ b/arch/mips/configs/malta_defconfig
@@ -1,7 +1,7 @@
#
# Automatically generated make config: don't edit
-# Linux kernel version: 2.6.15-rc2
-# Thu Nov 24 01:06:35 2005
+# Linux kernel version: 2.6.15-rc5
+# Fri Dec 23 02:21:03 2005
#
CONFIG_MIPS=y
@@ -87,8 +87,8 @@ CONFIG_HAVE_STD_PC_SERIAL_PORT=y
#
# CPU selection
#
-CONFIG_CPU_MIPS32_R1=y
-# CONFIG_CPU_MIPS32_R2 is not set
+# CONFIG_CPU_MIPS32_R1 is not set
+CONFIG_CPU_MIPS32_R2=y
# CONFIG_CPU_MIPS64_R1 is not set
# CONFIG_CPU_MIPS64_R2 is not set
# CONFIG_CPU_R3000 is not set
@@ -112,7 +112,7 @@ CONFIG_SYS_HAS_CPU_MIPS64_R1=y
CONFIG_SYS_HAS_CPU_NEVADA=y
CONFIG_SYS_HAS_CPU_RM7000=y
CONFIG_CPU_MIPS32=y
-CONFIG_CPU_MIPSR1=y
+CONFIG_CPU_MIPSR2=y
CONFIG_SYS_SUPPORTS_32BIT_KERNEL=y
CONFIG_SYS_SUPPORTS_64BIT_KERNEL=y
CONFIG_CPU_SUPPORTS_32BIT_KERNEL=y

arch/mips/configs/ocelot_3_defconfig

View file
diff --git a/arch/mips/configs/ocelot_3_defconfig b/arch/mips/configs/ocelot_3_defconfig
index 9081ea5..7ad8718 100644
--- a/arch/mips/configs/ocelot_3_defconfig
+++ b/arch/mips/configs/ocelot_3_defconfig
@@ -122,7 +122,6 @@ CONFIG_CPU_HAS_PREFETCH=y
# CONFIG_64BIT_PHYS_ADDR is not set
# CONFIG_CPU_ADVANCED is not set
CONFIG_CPU_HAS_LLSC=y
-CONFIG_CPU_HAS_LLDSCD=y
CONFIG_CPU_HAS_SYNC=y
CONFIG_GENERIC_HARDIRQS=y
CONFIG_GENERIC_IRQ_PROBE=y

arch/mips/configs/ocelot_c_defconfig

View file
diff --git a/arch/mips/configs/ocelot_c_defconfig b/arch/mips/configs/ocelot_c_defconfig
index 570fc4d..e8d6bb3 100644
--- a/arch/mips/configs/ocelot_c_defconfig
+++ b/arch/mips/configs/ocelot_c_defconfig
@@ -118,7 +118,6 @@ CONFIG_RM7000_CPU_SCACHE=y
CONFIG_CPU_HAS_PREFETCH=y
# CONFIG_MIPS_MT is not set
CONFIG_CPU_HAS_LLSC=y
-CONFIG_CPU_HAS_LLDSCD=y
CONFIG_CPU_HAS_SYNC=y
CONFIG_GENERIC_HARDIRQS=y
CONFIG_GENERIC_IRQ_PROBE=y

arch/mips/configs/ocelot_defconfig

View file
diff --git a/arch/mips/configs/ocelot_defconfig b/arch/mips/configs/ocelot_defconfig
index 6634ab2..f3787b6 100644
--- a/arch/mips/configs/ocelot_defconfig
+++ b/arch/mips/configs/ocelot_defconfig
@@ -123,7 +123,6 @@ CONFIG_CPU_HAS_PREFETCH=y
# CONFIG_64BIT_PHYS_ADDR is not set
# CONFIG_CPU_ADVANCED is not set
CONFIG_CPU_HAS_LLSC=y
-CONFIG_CPU_HAS_LLDSCD=y
CONFIG_CPU_HAS_SYNC=y
CONFIG_GENERIC_HARDIRQS=y
CONFIG_GENERIC_IRQ_PROBE=y

arch/mips/configs/ocelot_g_defconfig

View file
diff --git a/arch/mips/configs/ocelot_g_defconfig b/arch/mips/configs/ocelot_g_defconfig
index 4c396e1..b6126ad 100644
--- a/arch/mips/configs/ocelot_g_defconfig
+++ b/arch/mips/configs/ocelot_g_defconfig
@@ -121,7 +121,6 @@ CONFIG_RM7000_CPU_SCACHE=y
CONFIG_CPU_HAS_PREFETCH=y
# CONFIG_MIPS_MT is not set
CONFIG_CPU_HAS_LLSC=y
-CONFIG_CPU_HAS_LLDSCD=y
CONFIG_CPU_HAS_SYNC=y
CONFIG_GENERIC_HARDIRQS=y
CONFIG_GENERIC_IRQ_PROBE=y

arch/mips/configs/pnx8550-v2pci_defconfig

View file
diff --git a/arch/mips/configs/pnx8550-v2pci_defconfig b/arch/mips/configs/pnx8550-v2pci_defconfig
index d9a0d2f..4c650e7 100644
--- a/arch/mips/configs/pnx8550-v2pci_defconfig
+++ b/arch/mips/configs/pnx8550-v2pci_defconfig
@@ -116,7 +116,6 @@ CONFIG_CPU_HAS_PREFETCH=y
# CONFIG_64BIT_PHYS_ADDR is not set
CONFIG_CPU_ADVANCED=y
CONFIG_CPU_HAS_LLSC=y
-# CONFIG_CPU_HAS_LLDSCD is not set
# CONFIG_CPU_HAS_WB is not set
CONFIG_CPU_HAS_SYNC=y
CONFIG_GENERIC_HARDIRQS=y

arch/mips/configs/rbhma4500_defconfig

View file
diff --git a/arch/mips/configs/rbhma4500_defconfig b/arch/mips/configs/rbhma4500_defconfig
index 1cc1450..9aaa430 100644
--- a/arch/mips/configs/rbhma4500_defconfig
+++ b/arch/mips/configs/rbhma4500_defconfig
@@ -124,7 +124,6 @@ CONFIG_PAGE_SIZE_4KB=y
# CONFIG_MIPS_MT is not set
CONFIG_CPU_ADVANCED=y
CONFIG_CPU_HAS_LLSC=y
-CONFIG_CPU_HAS_LLDSCD=y
CONFIG_CPU_HAS_WB=y
CONFIG_CPU_HAS_SYNC=y
CONFIG_GENERIC_HARDIRQS=y

arch/mips/configs/rm200_defconfig

View file
diff --git a/arch/mips/configs/rm200_defconfig b/arch/mips/configs/rm200_defconfig
index 30975b3..abf6109 100644
--- a/arch/mips/configs/rm200_defconfig
+++ b/arch/mips/configs/rm200_defconfig
@@ -124,7 +124,6 @@ CONFIG_PAGE_SIZE_4KB=y
# CONFIG_64BIT_PHYS_ADDR is not set
# CONFIG_CPU_ADVANCED is not set
CONFIG_CPU_HAS_LLSC=y
-CONFIG_CPU_HAS_LLDSCD=y
CONFIG_CPU_HAS_SYNC=y
CONFIG_GENERIC_HARDIRQS=y
CONFIG_GENERIC_IRQ_PROBE=y

arch/mips/configs/sb1250-swarm_defconfig

View file
diff --git a/arch/mips/configs/sb1250-swarm_defconfig b/arch/mips/configs/sb1250-swarm_defconfig
index 63f1be1..52048c9 100644
--- a/arch/mips/configs/sb1250-swarm_defconfig
+++ b/arch/mips/configs/sb1250-swarm_defconfig
@@ -133,7 +133,6 @@ CONFIG_CPU_HAS_PREFETCH=y
# CONFIG_MIPS_MT is not set
CONFIG_SB1_PASS_1_WORKAROUNDS=y
CONFIG_CPU_HAS_LLSC=y
-CONFIG_CPU_HAS_LLDSCD=y
CONFIG_CPU_HAS_SYNC=y
CONFIG_GENERIC_HARDIRQS=y
CONFIG_GENERIC_IRQ_PROBE=y

arch/mips/configs/yosemite_defconfig

View file
diff --git a/arch/mips/configs/yosemite_defconfig b/arch/mips/configs/yosemite_defconfig
index d51d5d1..468c2e4 100644
--- a/arch/mips/configs/yosemite_defconfig
+++ b/arch/mips/configs/yosemite_defconfig
@@ -118,7 +118,6 @@ CONFIG_CPU_HAS_PREFETCH=y
# CONFIG_64BIT_PHYS_ADDR is not set
# CONFIG_CPU_ADVANCED is not set
CONFIG_CPU_HAS_LLSC=y
-CONFIG_CPU_HAS_LLDSCD=y
CONFIG_CPU_HAS_SYNC=y
CONFIG_GENERIC_HARDIRQS=y
CONFIG_GENERIC_IRQ_PROBE=y

arch/mips/defconfig

View file
diff --git a/arch/mips/defconfig b/arch/mips/defconfig
index 2a1b844..4f125e9 100644
--- a/arch/mips/defconfig
+++ b/arch/mips/defconfig
@@ -123,7 +123,6 @@ CONFIG_IP22_CPU_SCACHE=y
# CONFIG_64BIT_PHYS_ADDR is not set
# CONFIG_CPU_ADVANCED is not set
CONFIG_CPU_HAS_LLSC=y
-CONFIG_CPU_HAS_LLDSCD=y
CONFIG_CPU_HAS_SYNC=y
CONFIG_GENERIC_HARDIRQS=y
CONFIG_GENERIC_IRQ_PROBE=y

arch/mips/kernel/cpu-probe.c

View file
diff --git a/arch/mips/kernel/cpu-probe.c b/arch/mips/kernel/cpu-probe.c
index 5e1b08b..fac48ad 100644
--- a/arch/mips/kernel/cpu-probe.c
+++ b/arch/mips/kernel/cpu-probe.c
@@ -435,6 +435,9 @@ static inline void cpu_probe_legacy(struct cpuinfo_mips *c)
}
}
+static char unknown_isa[] __initdata = KERN_ERR \
+ "Unsupported ISA type, c0.config0: %d.";
+
static inline unsigned int decode_config0(struct cpuinfo_mips *c)
{
unsigned int config0;
@@ -447,16 +450,37 @@ static inline unsigned int decode_config0(struct cpuinfo_mips *c)
isa = (config0 & MIPS_CONF_AT) >> 13;
switch (isa) {
case 0:
- c->isa_level = MIPS_CPU_ISA_M32;
+ switch ((config0 >> 10) & 7) {
+ case 0:
+ c->isa_level = MIPS_CPU_ISA_M32R1;
+ break;
+ case 1:
+ c->isa_level = MIPS_CPU_ISA_M32R2;
+ break;
+ default:
+ goto unknown;
+ }
break;
case 2:
- c->isa_level = MIPS_CPU_ISA_M64;
+ switch ((config0 >> 10) & 7) {
+ case 0:
+ c->isa_level = MIPS_CPU_ISA_M64R1;
+ break;
+ case 1:
+ c->isa_level = MIPS_CPU_ISA_M64R2;
+ break;
+ default:
+ goto unknown;
+ }
break;
default:
- panic("Unsupported ISA type, cp0.config0.at: %d.", isa);
+ goto unknown;
}
return config0 & MIPS_CONF_M;
+
+unknown:
+ panic(unknown_isa, config0);
}
static inline unsigned int decode_config1(struct cpuinfo_mips *c)
@@ -568,7 +592,6 @@ static inline void cpu_probe_mips(struct cpuinfo_mips *c)
break;
case PRID_IMP_34K:
c->cputype = CPU_34K;
- c->isa_level = MIPS_CPU_ISA_M32;
break;
}
}
@@ -647,7 +670,7 @@ static inline void cpu_probe_philips(struct cpuinfo_mips *c)
switch (c->processor_id & 0xff00) {
case PRID_IMP_PR4450:
c->cputype = CPU_PR4450;
- c->isa_level = MIPS_CPU_ISA_M32;
+ c->isa_level = MIPS_CPU_ISA_M32R1;
break;
default:
panic("Unknown Philips Core!"); /* REVISIT: die? */
@@ -690,8 +713,10 @@ __init void cpu_probe(void)
if (c->options & MIPS_CPU_FPU) {
c->fpu_id = cpu_get_fpu_id();
- if (c->isa_level == MIPS_CPU_ISA_M32 ||
- c->isa_level == MIPS_CPU_ISA_M64) {
+ if (c->isa_level == MIPS_CPU_ISA_M32R1 ||
+ c->isa_level == MIPS_CPU_ISA_M32R2 ||
+ c->isa_level == MIPS_CPU_ISA_M64R1 ||
+ c->isa_level == MIPS_CPU_ISA_M64R2) {
if (c->fpu_id & MIPS_FPIR_3D)
c->ases |= MIPS_ASE_MIPS3D;
}

arch/mips/kernel/process.c

View file
diff --git a/arch/mips/kernel/process.c b/arch/mips/kernel/process.c
index dd72577..0476a4d 100644
--- a/arch/mips/kernel/process.c
+++ b/arch/mips/kernel/process.c
@@ -205,7 +205,7 @@ int dump_fpu(struct pt_regs *regs, elf_fpregset_t *r)
return 1;
}
-void dump_regs(elf_greg_t *gp, struct pt_regs *regs)
+void elf_dump_regs(elf_greg_t *gp, struct pt_regs *regs)
{
int i;
@@ -231,7 +231,7 @@ int dump_task_regs (struct task_struct *tsk, elf_gregset_t *regs)
{
struct thread_info *ti = tsk->thread_info;
long ksp = (unsigned long)ti + THREAD_SIZE - 32;
- dump_regs(&(*regs)[0], (struct pt_regs *) ksp - 1);
+ elf_dump_regs(&(*regs)[0], (struct pt_regs *) ksp - 1);
return 1;
}

arch/mips/kernel/ptrace.c

View file
diff --git a/arch/mips/kernel/ptrace.c b/arch/mips/kernel/ptrace.c
index 510da5f..8d25493 100644
--- a/arch/mips/kernel/ptrace.c
+++ b/arch/mips/kernel/ptrace.c
@@ -280,12 +280,8 @@ long arch_ptrace(struct task_struct *child, long request, long addr, long data)
ret = -EIO;
goto out;
}
- if (child->thread.dsp.used_dsp) {
- dregs = __get_dsp_regs(child);
- tmp = (unsigned long) (dregs[addr - DSP_BASE]);
- } else {
- tmp = -1; /* DSP registers yet used */
- }
+ dregs = __get_dsp_regs(child);
+ tmp = (unsigned long) (dregs[addr - DSP_BASE]);
break;
}
case DSP_CONTROL:

arch/mips/kernel/ptrace32.c

View file
diff --git a/arch/mips/kernel/ptrace32.c b/arch/mips/kernel/ptrace32.c
index 7e55457..1f998bf 100644
--- a/arch/mips/kernel/ptrace32.c
+++ b/arch/mips/kernel/ptrace32.c
@@ -201,12 +201,8 @@ asmlinkage int sys32_ptrace(int request, int pid, int addr, int data)
ret = -EIO;
goto out_tsk;
}
- if (child->thread.dsp.used_dsp) {
- dspreg_t *dregs = __get_dsp_regs(child);
- tmp = (unsigned long) (dregs[addr - DSP_BASE]);
- } else {
- tmp = -1; /* DSP registers yet used */
- }
+ dspreg_t *dregs = __get_dsp_regs(child);
+ tmp = (unsigned long) (dregs[addr - DSP_BASE]);
break;
case DSP_CONTROL:
if (!cpu_has_dsp) {

arch/mips/kernel/signal32.c

View file
diff --git a/arch/mips/kernel/signal32.c b/arch/mips/kernel/signal32.c
index c856dbc..98b185b 100644
--- a/arch/mips/kernel/signal32.c
+++ b/arch/mips/kernel/signal32.c
@@ -588,7 +588,7 @@ static inline int setup_sigcontext32(struct pt_regs *regs,
err |= __put_user(regs->hi, &sc->sc_mdhi);
err |= __put_user(regs->lo, &sc->sc_mdlo);
if (cpu_has_dsp) {
- err |= __put_user(rddsp(DSP_MASK), &sc->sc_hi1);
+ err |= __put_user(rddsp(DSP_MASK), &sc->sc_dsp);
err |= __put_user(mfhi1(), &sc->sc_hi1);
err |= __put_user(mflo1(), &sc->sc_lo1);
err |= __put_user(mfhi2(), &sc->sc_hi2);

arch/mips/kernel/time.c

View file
diff --git a/arch/mips/kernel/time.c b/arch/mips/kernel/time.c
index 787ed54..7050b4f 100644
--- a/arch/mips/kernel/time.c
+++ b/arch/mips/kernel/time.c
@@ -507,14 +507,38 @@ irqreturn_t timer_interrupt(int irq, void *dev_id, struct pt_regs *regs)
return IRQ_HANDLED;
}
+int null_perf_irq(struct pt_regs *regs)
+{
+ return 0;
+}
+
+int (*perf_irq)(struct pt_regs *regs) = null_perf_irq;
+
+EXPORT_SYMBOL(null_perf_irq);
+EXPORT_SYMBOL(perf_irq);
+
asmlinkage void ll_timer_interrupt(int irq, struct pt_regs *regs)
{
+ int r2 = cpu_has_mips_r2;
+
irq_enter();
kstat_this_cpu.irqs[irq]++;
+ /*
+ * Suckage alert:
+ * Before R2 of the architecture there was no way to see if a
+ * performance counter interrupt was pending, so we have to run the
+ * performance counter interrupt handler anyway.
+ */
+ if (!r2 || (read_c0_cause() & (1 << 26)))
+ if (perf_irq(regs))
+ goto out;
+
/* we keep interrupt disabled all the time */
- timer_interrupt(irq, NULL, regs);
+ if (!r2 || (read_c0_cause() & (1 << 30)))
+ timer_interrupt(irq, NULL, regs);
+out:
irq_exit();
}
@@ -628,9 +652,9 @@ void __init time_init(void)
mips_hpt_init = c0_hpt_init;
}
- if ((current_cpu_data.isa_level == MIPS_CPU_ISA_M32) ||
- (current_cpu_data.isa_level == MIPS_CPU_ISA_I) ||
- (current_cpu_data.isa_level == MIPS_CPU_ISA_II))
+ if (cpu_has_mips32r1 || cpu_has_mips32r2 ||
+ (current_cpu_data.isa_level == MIPS_CPU_ISA_I) ||
+ (current_cpu_data.isa_level == MIPS_CPU_ISA_II))
/*
* We need to calibrate the counter but we don't have
* 64-bit division.

arch/mips/kernel/vpe.c

View file
diff --git a/arch/mips/kernel/vpe.c b/arch/mips/kernel/vpe.c
index 9c89eeb..ae83b75 100644
--- a/arch/mips/kernel/vpe.c
+++ b/arch/mips/kernel/vpe.c
@@ -99,9 +99,9 @@ struct vpe {
/* elfloader stuff */
void *load_addr;
- u32 len;
+ unsigned long len;
char *pbuffer;
- u32 plen;
+ unsigned long plen;
unsigned long __start;
@@ -253,11 +253,11 @@ void dump_mtregs(void)
}
/* Find some VPE program space */
-static void *alloc_progmem(u32 len)
+static void *alloc_progmem(unsigned long len)
{
#ifdef CONFIG_MIPS_VPE_LOADER_TOM
/* this means you must tell linux to use less memory than you physically have */
- return (void *)((max_pfn * PAGE_SIZE) + KSEG0);
+ return pfn_to_kaddr(max_pfn);
#else
// simple grab some mem for now
return kmalloc(len, GFP_KERNEL);

arch/mips/lib/iomap.c

View file
diff --git a/arch/mips/lib/iomap.c b/arch/mips/lib/iomap.c
index b5d5fa8..7e2ced7 100644
--- a/arch/mips/lib/iomap.c
+++ b/arch/mips/lib/iomap.c
@@ -3,7 +3,7 @@

This diff is incomplete. Download the complete patch.

arch/mips/math-emu/dp_fint.c

View file

This diff is incomplete. Download the complete patch.

arch/mips/math-emu/dp_flong.c

View file

This diff is incomplete. Download the complete patch.

arch/mips/math-emu/sp_fint.c

View file

This diff is incomplete. Download the complete patch.

arch/mips/math-emu/sp_flong.c

View file

This diff is incomplete. Download the complete patch.

arch/mips/mips-boards/generic/time.c

View file

This diff is incomplete. Download the complete patch.

arch/mips/mm/c-r4k.c

View file

This diff is incomplete. Download the complete patch.

arch/mips/oprofile/common.c

View file

This diff is incomplete. Download the complete patch.

arch/mips/oprofile/op_impl.h

View file

This diff is incomplete. Download the complete patch.

arch/mips/oprofile/op_model_mipsxx.c

View file

This diff is incomplete. Download the complete patch.

arch/mips/pci/fixup-capcella.c

View file

This diff is incomplete. Download the complete patch.

arch/mips/pci/fixup-mpc30x.c

View file

This diff is incomplete. Download the complete patch.

arch/mips/pci/fixup-tb0219.c

View file

This diff is incomplete. Download the complete patch.

arch/mips/pci/fixup-tb0226.c

View file

This diff is incomplete. Download the complete patch.

arch/mips/pci/fixup-tb0287.c

View file

This diff is incomplete. Download the complete patch.

arch/mips/pci/ops-vr41xx.c

View file

This diff is incomplete. Download the complete patch.

arch/mips/pci/pci-vr41xx.c

View file

This diff is incomplete. Download the complete patch.

arch/mips/pci/pci-vr41xx.h

View file

This diff is incomplete. Download the complete patch.

arch/mips/vr41xx/casio-e55/setup.c

View file

This diff is incomplete. Download the complete patch.

arch/mips/vr41xx/common/bcu.c

View file

This diff is incomplete. Download the complete patch.

arch/mips/vr41xx/common/cmu.c

View file

This diff is incomplete. Download the complete patch.

arch/mips/vr41xx/common/icu.c

View file

This diff is incomplete. Download the complete patch.

arch/mips/vr41xx/common/init.c

View file

This diff is incomplete. Download the complete patch.

arch/mips/vr41xx/common/int-handler.S

View file

This diff is incomplete. Download the complete patch.

arch/mips/vr41xx/common/irq.c

View file

This diff is incomplete. Download the complete patch.

arch/mips/vr41xx/common/pmu.c

View file

This diff is incomplete. Download the complete patch.

arch/mips/vr41xx/common/type.c

View file

This diff is incomplete. Download the complete patch.

arch/mips/vr41xx/common/vrc4173.c

View file

This diff is incomplete. Download the complete patch.

arch/mips/vr41xx/ibm-workpad/setup.c

View file

This diff is incomplete. Download the complete patch.

drivers/char/tb0219.c

View file

This diff is incomplete. Download the complete patch.

drivers/char/vr41xx_giu.c

View file

This diff is incomplete. Download the complete patch.

drivers/char/vr41xx_rtc.c

View file

This diff is incomplete. Download the complete patch.

drivers/pcmcia/vrc4171_card.c

View file

This diff is incomplete. Download the complete patch.

drivers/pcmcia/vrc4173_cardu.c

View file

This diff is incomplete. Download the complete patch.

drivers/pcmcia/vrc4173_cardu.h

View file

This diff is incomplete. Download the complete patch.

drivers/serial/vr41xx_siu.c

View file

This diff is incomplete. Download the complete patch.

include/asm-mips/atomic.h

View file

This diff is incomplete. Download the complete patch.

include/asm-mips/cpu-features.h

View file

This diff is incomplete. Download the complete patch.

include/asm-mips/cpu.h

View file

This diff is incomplete. Download the complete patch.

include/asm-mips/delay.h

View file

This diff is incomplete. Download the complete patch.

include/asm-mips/dsp.h

View file

This diff is incomplete. Download the complete patch.

include/asm-mips/elf.h

View file

This diff is incomplete. Download the complete patch.

include/asm-mips/hazards.h

View file

This diff is incomplete. Download the complete patch.

include/asm-mips/interrupt.h

View file

This diff is incomplete. Download the complete patch.

include/asm-mips/mach-au1x00/au1000.h

View file

This diff is incomplete. Download the complete patch.

include/asm-mips/mach-ip22/cpu-feature-overrides.h

View file

This diff is incomplete. Download the complete patch.

include/asm-mips/mach-ip27/cpu-feature-overrides.h

View file

This diff is incomplete. Download the complete patch.

include/asm-mips/mach-ip32/cpu-feature-overrides.h

View file

This diff is incomplete. Download the complete patch.

include/asm-mips/mach-ja/cpu-feature-overrides.h

View file

This diff is incomplete. Download the complete patch.

include/asm-mips/mach-ocelot3/cpu-feature-overrides.h

View file

This diff is incomplete. Download the complete patch.

include/asm-mips/mach-rm200/cpu-feature-overrides.h

View file

This diff is incomplete. Download the complete patch.

include/asm-mips/mach-yosemite/cpu-feature-overrides.h

View file

This diff is incomplete. Download the complete patch.

include/asm-mips/mipsregs.h

View file

This diff is incomplete. Download the complete patch.

include/asm-mips/processor.h

View file

This diff is incomplete. Download the complete patch.

include/asm-mips/vr41xx/capcella.h

View file

This diff is incomplete. Download the complete patch.

include/asm-mips/vr41xx/e55.h

View file

This diff is incomplete. Download the complete patch.

include/asm-mips/vr41xx/giu.h

View file

This diff is incomplete. Download the complete patch.

include/asm-mips/vr41xx/mpc30x.h

View file

This diff is incomplete. Download the complete patch.

include/asm-mips/vr41xx/pci.h

View file

This diff is incomplete. Download the complete patch.

include/asm-mips/vr41xx/siu.h

View file

This diff is incomplete. Download the complete patch.

include/asm-mips/vr41xx/tb0219.h

View file

This diff is incomplete. Download the complete patch.

include/asm-mips/vr41xx/tb0226.h

View file

This diff is incomplete. Download the complete patch.

include/asm-mips/vr41xx/vr41xx.h

View file

This diff is incomplete. Download the complete patch.

include/asm-mips/vr41xx/vrc4173.h

View file

This diff is incomplete. Download the complete patch.

include/asm-mips/vr41xx/workpad.h

View file

This diff is incomplete. Download the complete patch.