diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2014-04-02 16:40:50 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-04-02 16:40:50 -0400 |
commit | bdfc7cbdeef8cadba0e5793079ac0130b8e2220c (patch) | |
tree | 82af0cae4898e259edcc6cbdad639087dc1189a8 /arch/mips/kernel/idle.c | |
parent | 62d1a3ba5adc5653d43f6cd3a90758bb6ad5d5bd (diff) | |
parent | ade63aada79c61bcd5f51cbd310f237399892268 (diff) |
Merge branch 'mips-for-linux-next' of git://git.linux-mips.org/pub/scm/ralf/upstream-sfr
Pull MIPS updates from Ralf Baechle:
- Support for Imgtec's Aptiv family of MIPS cores.
- Improved detection of BCM47xx configurations.
- Fix hiberation for certain configurations.
- Add support for the Chinese Loongson 3 CPU, a MIPS64 R2 core and
systems.
- Detection and support for the MIPS P5600 core.
- A few more random fixes that didn't make 3.14.
- Support for the EVA Extended Virtual Addressing
- Switch Alchemy to the platform PATA driver
- Complete unification of Alchemy support
- Allow availability of I/O cache coherency to be runtime detected
- Improvments to multiprocessing support for Imgtec platforms
- A few microoptimizations
- Cleanups of FPU support
- Paul Gortmaker's fixes for the init stuff
- Support for seccomp
* 'mips-for-linux-next' of git://git.linux-mips.org/pub/scm/ralf/upstream-sfr: (165 commits)
MIPS: CPC: Use __raw_ memory access functions
MIPS: CM: use __raw_ memory access functions
MIPS: Fix warning when including smp-ops.h with CONFIG_SMP=n
MIPS: Malta: GIC IPIs may be used without MT
MIPS: smp-mt: Use common GIC IPI implementation
MIPS: smp-cmp: Remove incorrect core number probe
MIPS: Fix gigaton of warning building with microMIPS.
MIPS: Fix core number detection for MT cores
MIPS: MT: core_nvpes function to retrieve VPE count
MIPS: Provide empty mips_mt_set_cpuoptions when CONFIG_MIPS_MT=n
MIPS: Lasat: Replace del_timer by del_timer_sync
MIPS: Malta: Setup PM I/O region on boot
MIPS: Loongson: Add a Loongson-3 default config file
MIPS: Loongson 3: Add CPU hotplug support
MIPS: Loongson 3: Add Loongson-3 SMP support
MIPS: Loongson: Add Loongson-3 Kconfig options
MIPS: Loongson: Add swiotlb to support All-Memory DMA
MIPS: Loongson 3: Add serial port support
MIPS: Loongson 3: Add IRQ init and dispatch support
MIPS: Loongson 3: Add HT-linked PCI support
...
Diffstat (limited to 'arch/mips/kernel/idle.c')
-rw-r--r-- | arch/mips/kernel/idle.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/arch/mips/kernel/idle.c b/arch/mips/kernel/idle.c index 3553243bf9d6..837ff27950bc 100644 --- a/arch/mips/kernel/idle.c +++ b/arch/mips/kernel/idle.c | |||
@@ -64,7 +64,7 @@ void r4k_wait_irqoff(void) | |||
64 | if (!need_resched()) | 64 | if (!need_resched()) |
65 | __asm__( | 65 | __asm__( |
66 | " .set push \n" | 66 | " .set push \n" |
67 | " .set mips3 \n" | 67 | " .set arch=r4000 \n" |
68 | " wait \n" | 68 | " wait \n" |
69 | " .set pop \n"); | 69 | " .set pop \n"); |
70 | local_irq_enable(); | 70 | local_irq_enable(); |
@@ -82,7 +82,7 @@ static void rm7k_wait_irqoff(void) | |||
82 | if (!need_resched()) | 82 | if (!need_resched()) |
83 | __asm__( | 83 | __asm__( |
84 | " .set push \n" | 84 | " .set push \n" |
85 | " .set mips3 \n" | 85 | " .set arch=r4000 \n" |
86 | " .set noat \n" | 86 | " .set noat \n" |
87 | " mfc0 $1, $12 \n" | 87 | " mfc0 $1, $12 \n" |
88 | " sync \n" | 88 | " sync \n" |
@@ -103,7 +103,7 @@ static void au1k_wait(void) | |||
103 | unsigned long c0status = read_c0_status() | 1; /* irqs on */ | 103 | unsigned long c0status = read_c0_status() | 1; /* irqs on */ |
104 | 104 | ||
105 | __asm__( | 105 | __asm__( |
106 | " .set mips3 \n" | 106 | " .set arch=r4000 \n" |
107 | " cache 0x14, 0(%0) \n" | 107 | " cache 0x14, 0(%0) \n" |
108 | " cache 0x14, 32(%0) \n" | 108 | " cache 0x14, 32(%0) \n" |
109 | " sync \n" | 109 | " sync \n" |
@@ -184,8 +184,11 @@ void __init check_wait(void) | |||
184 | case CPU_24K: | 184 | case CPU_24K: |
185 | case CPU_34K: | 185 | case CPU_34K: |
186 | case CPU_1004K: | 186 | case CPU_1004K: |
187 | case CPU_1074K: | ||
187 | case CPU_INTERAPTIV: | 188 | case CPU_INTERAPTIV: |
188 | case CPU_PROAPTIV: | 189 | case CPU_PROAPTIV: |
190 | case CPU_P5600: | ||
191 | case CPU_M5150: | ||
189 | cpu_wait = r4k_wait; | 192 | cpu_wait = r4k_wait; |
190 | if (read_c0_config7() & MIPS_CONF7_WII) | 193 | if (read_c0_config7() & MIPS_CONF7_WII) |
191 | cpu_wait = r4k_wait_irqoff; | 194 | cpu_wait = r4k_wait_irqoff; |