Skip to content

Commit e31a94e

Browse files
committed
Merge branch 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-linus
* 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-linus: (45 commits) [MIPS] Pb1200/DBAu1200: move platform code to its proper place [MIPS] Fix handling of trap and breakpoint instructions [MIPS] Pb1200: do register SMC 91C111 [MIPS] DBAu1200: fix bad SMC 91C111 resource size [NET] Kconfig: Rename MIKROTIK_RB500 -> MIKROTIK_RB532 [MIPS] IP27: Fix build bug due to missing include [MIPS] Fix some sparse warnings on traps.c and irq-msc01.c [MIPS] cevt-gt641xx: Kill unnecessary include [MIPS] DS1287: Add clockevent driver [MIPS] add DECstation I/O ASIC clocksource [MIPS] rbtx4938: minor cleanup [MIPS] Alchemy: kill unused PCI_IRQ_TABLE_LOOKUP macro [MIPS] rbtx4938: misc cleanups [MIPS] jmr3927: use generic txx9 gpio [MIPS] rbhma4500: use generic txx9 gpio [MIPS] generic txx9 gpio support [MIPS] make fallback gpio.h gpiolib-friendly [MIPS] unexport null_perf_irq() and make it static [MIPS] unexport rtc_mips_set_time() [MIPS] unexport copy_from_user_page() ...
2 parents 9d9ad4b + fcbd3b4 commit e31a94e

File tree

157 files changed

+4102
-2221
lines changed

Some content is hidden

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

157 files changed

+4102
-2221
lines changed

arch/mips/Kconfig

Lines changed: 35 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,9 @@ config MIPS_COBALT
8181
config MACH_DECSTATION
8282
bool "DECstations"
8383
select BOOT_ELF32
84+
select CEVT_DS1287
8485
select CEVT_R4K
86+
select CSRC_IOASIC
8587
select CSRC_R4K
8688
select CPU_DADDI_WORKAROUNDS if 64BIT
8789
select CPU_R4000_WORKAROUNDS if 64BIT
@@ -221,6 +223,7 @@ config MIPS_MALTA
221223
select DMA_NONCOHERENT
222224
select GENERIC_ISA_DMA
223225
select IRQ_CPU
226+
select IRQ_GIC
224227
select HW_HAS_PCI
225228
select I8253
226229
select I8259
@@ -309,12 +312,12 @@ config MACH_VR41XX
309312
select GENERIC_HARDIRQS_NO__DO_IRQ
310313

311314
config PNX8550_JBS
312-
bool "Philips PNX8550 based JBS board"
315+
bool "NXP PNX8550 based JBS board"
313316
select PNX8550
314317
select SYS_SUPPORTS_LITTLE_ENDIAN
315318

316319
config PNX8550_STB810
317-
bool "Philips PNX8550 based STB810 board"
320+
bool "NXP PNX8550 based STB810 board"
318321
select PNX8550
319322
select SYS_SUPPORTS_LITTLE_ENDIAN
320323

@@ -612,6 +615,7 @@ config TOSHIBA_JMR3927
612615
select SYS_SUPPORTS_LITTLE_ENDIAN
613616
select SYS_SUPPORTS_BIG_ENDIAN
614617
select GENERIC_HARDIRQS_NO__DO_IRQ
618+
select GPIO_TXX9
615619

616620
config TOSHIBA_RBTX4927
617621
bool "Toshiba RBTX49[23]7 board"
@@ -653,7 +657,7 @@ config TOSHIBA_RBTX4938
653657
select SYS_SUPPORTS_BIG_ENDIAN
654658
select SYS_SUPPORTS_KGDB
655659
select GENERIC_HARDIRQS_NO__DO_IRQ
656-
select GENERIC_GPIO
660+
select GPIO_TXX9
657661
help
658662
This Toshiba board is based on the TX4938 processor. Say Y here to
659663
support this machine type
@@ -767,6 +771,9 @@ config BOOT_RAW
767771
config CEVT_BCM1480
768772
bool
769773

774+
config CEVT_DS1287
775+
bool
776+
770777
config CEVT_GT641XX
771778
bool
772779

@@ -782,12 +789,20 @@ config CEVT_TXX9
782789
config CSRC_BCM1480
783790
bool
784791

792+
config CSRC_IOASIC
793+
bool
794+
785795
config CSRC_R4K
786796
bool
787797

788798
config CSRC_SB1250
789799
bool
790800

801+
config GPIO_TXX9
802+
select GENERIC_GPIO
803+
select HAVE_GPIO_LIB
804+
bool
805+
791806
config CFE
792807
bool
793808

@@ -840,6 +855,9 @@ config MIPS_NILE4
840855
config MIPS_DISABLE_OBSOLETE_IDE
841856
bool
842857

858+
config SYNC_R4K
859+
bool
860+
843861
config NO_IOPORT
844862
def_bool n
845863

@@ -909,6 +927,9 @@ config IRQ_TXX9
909927
config IRQ_GT641XX
910928
bool
911929

930+
config IRQ_GIC
931+
bool
932+
912933
config MIPS_BOARDS_GEN
913934
bool
914935

@@ -1811,6 +1832,17 @@ config NR_CPUS
18111832
performance should round up your number of processors to the next
18121833
power of two.
18131834

1835+
config MIPS_CMP
1836+
bool "MIPS CMP framework support"
1837+
depends on SMP
1838+
select SYNC_R4K
1839+
select SYS_SUPPORTS_SCHED_SMT
1840+
select WEAK_ORDERING
1841+
default n
1842+
help
1843+
This is a placeholder option for the GCMP work. It will need to
1844+
be handled differently...
1845+
18141846
source "kernel/time/Kconfig"
18151847

18161848
#

arch/mips/Kconfig.debug

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -73,14 +73,4 @@ config RUNTIME_DEBUG
7373
include/asm-mips/debug.h for debuging macros.
7474
If unsure, say N.
7575

76-
config MIPS_UNCACHED
77-
bool "Run uncached"
78-
depends on DEBUG_KERNEL && !SMP && !SGI_IP27
79-
help
80-
If you say Y here there kernel will disable all CPU caches. This will
81-
reduce the system's performance dramatically but can help finding
82-
otherwise hard to track bugs. It can also useful if you're doing
83-
hardware debugging with a logic analyzer and need to see all traffic
84-
on the bus.
85-
8676
endmenu

arch/mips/Makefile

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -410,21 +410,21 @@ load-$(CONFIG_CASIO_E55) += 0xffffffff80004000
410410
load-$(CONFIG_TANBAC_TB022X) += 0xffffffff80000000
411411

412412
#
413-
# Common Philips PNX8550
413+
# Common NXP PNX8550
414414
#
415-
core-$(CONFIG_SOC_PNX8550) += arch/mips/philips/pnx8550/common/
415+
core-$(CONFIG_SOC_PNX8550) += arch/mips/nxp/pnx8550/common/
416416
cflags-$(CONFIG_SOC_PNX8550) += -Iinclude/asm-mips/mach-pnx8550
417417

418418
#
419-
# Philips PNX8550 JBS board
419+
# NXP PNX8550 JBS board
420420
#
421-
libs-$(CONFIG_PNX8550_JBS) += arch/mips/philips/pnx8550/jbs/
421+
libs-$(CONFIG_PNX8550_JBS) += arch/mips/nxp/pnx8550/jbs/
422422
#cflags-$(CONFIG_PNX8550_JBS) += -Iinclude/asm-mips/mach-pnx8550
423423
load-$(CONFIG_PNX8550_JBS) += 0xffffffff80060000
424424

425-
# Philips PNX8550 STB810 board
425+
# NXP PNX8550 STB810 board
426426
#
427-
libs-$(CONFIG_PNX8550_STB810) += arch/mips/philips/pnx8550/stb810/
427+
libs-$(CONFIG_PNX8550_STB810) += arch/mips/nxp/pnx8550/stb810/
428428
load-$(CONFIG_PNX8550_STB810) += 0xffffffff80060000
429429

430430
# NEC EMMA2RH boards

arch/mips/au1000/common/cputable.c

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,7 @@
1111
* as published by the Free Software Foundation; either version
1212
* 2 of the License, or (at your option) any later version.
1313
*/
14-
#include <linux/string.h>
15-
#include <linux/sched.h>
16-
#include <linux/threads.h>
17-
#include <linux/init.h>
14+
1815
#include <asm/mach-au1x00/au1000.h>
1916

2017
struct cpu_spec* cur_cpu_spec[NR_CPUS];

arch/mips/au1000/common/dbdma.c

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,18 +31,12 @@
3131
*/
3232

3333
#include <linux/kernel.h>
34-
#include <linux/errno.h>
35-
#include <linux/sched.h>
3634
#include <linux/slab.h>
3735
#include <linux/spinlock.h>
38-
#include <linux/string.h>
39-
#include <linux/delay.h>
4036
#include <linux/interrupt.h>
4137
#include <linux/module.h>
4238
#include <asm/mach-au1x00/au1000.h>
4339
#include <asm/mach-au1x00/au1xxx_dbdma.h>
44-
#include <asm/system.h>
45-
4640

4741
#if defined(CONFIG_SOC_AU1550) || defined(CONFIG_SOC_AU1200)
4842

arch/mips/au1000/common/dbg_io.c

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11

2-
#include <asm/io.h>
32
#include <asm/mach-au1x00/au1000.h>
43

54
#ifdef CONFIG_KGDB
@@ -55,16 +54,15 @@ typedef unsigned int uint32;
5554
#define UART16550_READ(y) (au_readl(DEBUG_BASE + y) & 0xff)
5655
#define UART16550_WRITE(y, z) (au_writel(z&0xff, DEBUG_BASE + y))
5756

58-
extern unsigned long get_au1x00_uart_baud_base(void);
59-
extern unsigned long cal_r4koff(void);
57+
extern unsigned long calc_clock(void);
6058

6159
void debugInit(uint32 baud, uint8 data, uint8 parity, uint8 stop)
6260
{
6361

6462
if (UART16550_READ(UART_MOD_CNTRL) != 0x3) {
6563
UART16550_WRITE(UART_MOD_CNTRL, 3);
6664
}
67-
cal_r4koff();
65+
calc_clock();
6866

6967
/* disable interrupts */
7068
UART16550_WRITE(UART_IER, 0);

arch/mips/au1000/common/dma.c

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,9 @@
3333
#include <linux/module.h>
3434
#include <linux/kernel.h>
3535
#include <linux/errno.h>
36-
#include <linux/sched.h>
3736
#include <linux/spinlock.h>
38-
#include <linux/string.h>
39-
#include <linux/delay.h>
4037
#include <linux/interrupt.h>
41-
#include <asm/system.h>
38+
4239
#include <asm/mach-au1x00/au1000.h>
4340
#include <asm/mach-au1x00/au1000_dma.h>
4441

arch/mips/au1000/common/gpio.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,8 @@
2727
* others have a second one : GPIO2
2828
*/
2929

30-
#include <linux/init.h>
31-
#include <linux/io.h>
32-
#include <linux/types.h>
3330
#include <linux/module.h>
3431

35-
#include <asm/addrspace.h>
36-
3732
#include <asm/mach-au1x00/au1000.h>
3833
#include <asm/gpio.h>
3934

arch/mips/au1000/common/irq.c

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
/*
2-
* Copyright 2001 MontaVista Software Inc.
3-
* Author: MontaVista Software, Inc.
4-
2+
* Copyright 2001, 2007-2008 MontaVista Software Inc.
3+
* Author: MontaVista Software, Inc. <[email protected]>
54
*
65
* Copyright (C) 2007 Ralf Baechle ([email protected])
76
*
@@ -27,7 +26,6 @@
2726
*/
2827
#include <linux/bitops.h>
2928
#include <linux/init.h>
30-
#include <linux/io.h>
3129
#include <linux/interrupt.h>
3230
#include <linux/irq.h>
3331

@@ -591,7 +589,7 @@ void __init arch_init_irq(void)
591589
imp++;
592590
}
593591

594-
set_c0_status(ALLINTS);
592+
set_c0_status(IE_IRQ0 | IE_IRQ1 | IE_IRQ2 | IE_IRQ3 | IE_IRQ4);
595593

596594
/* Board specific IRQ initialization.
597595
*/

arch/mips/au1000/common/pci.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
* with this program; if not, write to the Free Software Foundation, Inc.,
3131
* 675 Mass Ave, Cambridge, MA 02139, USA.
3232
*/
33-
#include <linux/types.h>
33+
3434
#include <linux/pci.h>
3535
#include <linux/kernel.h>
3636
#include <linux/init.h>

0 commit comments

Comments
 (0)