···1471147114721472config 64BIT_PHYS_ADDR14731473 bool "Support for 64-bit physical address space"14741474- depends on (CPU_R4X00 || CPU_R5000 || CPU_RM7000 || CPU_RM9000 || CPU_R10000 || CPU_SB1 || CPU_MIPS32_R1 || CPU_MIPS64_R1) && 32BIT14741474+ depends on (CPU_R4X00 || CPU_R5000 || CPU_RM7000 || CPU_RM9000 || CPU_R10000 || CPU_SB1 || CPU_MIPS32 || CPU_MIPS64) && 32BIT1475147514761476config CPU_ADVANCED14771477 bool "Override CPU Options"···14911491 Say Y here if your CPU has the ll and sc instructions. Say Y here14921492 for better performance, N if you don't know. You must say Y here14931493 for multiprocessor machines.14941494-14951495-config CPU_HAS_LLDSCD14961496- bool "lld/scd Instructions available" if CPU_ADVANCED14971497- default y if !CPU_ADVANCED && !CPU_R3000 && !CPU_VR41XX && !CPU_TX39XX && !CPU_MIPS32_R114981498- help14991499- Say Y here if your CPU has the lld and scd instructions, the 64-bit15001500- equivalents of ll and sc. Say Y here for better performance, N if15011501- you don't know. You must say Y here for multiprocessor machines.1502149415031495config CPU_HAS_WB15041496 bool "Writeback Buffer available" if CPU_ADVANCED
···130130# CONFIG_SIBYTE_DMA_PAGEOPS is not set131131# CONFIG_MIPS_MT is not set132132CONFIG_CPU_HAS_LLSC=y133133-CONFIG_CPU_HAS_LLDSCD=y134133CONFIG_CPU_HAS_SYNC=y135134CONFIG_GENERIC_HARDIRQS=y136135CONFIG_GENERIC_IRQ_PROBE=y
-1
arch/mips/configs/cobalt_defconfig
···115115# CONFIG_MIPS_MT is not set116116# CONFIG_CPU_ADVANCED is not set117117CONFIG_CPU_HAS_LLSC=y118118-CONFIG_CPU_HAS_LLDSCD=y119118CONFIG_CPU_HAS_SYNC=y120119CONFIG_GENERIC_HARDIRQS=y121120CONFIG_GENERIC_IRQ_PROBE=y
-1
arch/mips/configs/ddb5476_defconfig
···116116# CONFIG_MIPS_MT is not set117117# CONFIG_CPU_ADVANCED is not set118118CONFIG_CPU_HAS_LLSC=y119119-CONFIG_CPU_HAS_LLDSCD=y120119CONFIG_CPU_HAS_SYNC=y121120CONFIG_GENERIC_HARDIRQS=y122121CONFIG_GENERIC_IRQ_PROBE=y
-1
arch/mips/configs/ddb5477_defconfig
···116116# CONFIG_MIPS_MT is not set117117# CONFIG_CPU_ADVANCED is not set118118CONFIG_CPU_HAS_LLSC=y119119-CONFIG_CPU_HAS_LLDSCD=y120119CONFIG_CPU_HAS_SYNC=y121120CONFIG_GENERIC_HARDIRQS=y122121CONFIG_GENERIC_IRQ_PROBE=y
-1
arch/mips/configs/ev64120_defconfig
···118118# CONFIG_64BIT_PHYS_ADDR is not set119119# CONFIG_CPU_ADVANCED is not set120120CONFIG_CPU_HAS_LLSC=y121121-CONFIG_CPU_HAS_LLDSCD=y122121CONFIG_CPU_HAS_SYNC=y123122CONFIG_GENERIC_HARDIRQS=y124123CONFIG_GENERIC_IRQ_PROBE=y
-1
arch/mips/configs/ev96100_defconfig
···121121# CONFIG_64BIT_PHYS_ADDR is not set122122# CONFIG_CPU_ADVANCED is not set123123CONFIG_CPU_HAS_LLSC=y124124-CONFIG_CPU_HAS_LLDSCD=y125124CONFIG_CPU_HAS_SYNC=y126125CONFIG_GENERIC_HARDIRQS=y127126CONFIG_GENERIC_IRQ_PROBE=y
-1
arch/mips/configs/ip22_defconfig
···123123# CONFIG_64BIT_PHYS_ADDR is not set124124# CONFIG_CPU_ADVANCED is not set125125CONFIG_CPU_HAS_LLSC=y126126-CONFIG_CPU_HAS_LLDSCD=y127126CONFIG_CPU_HAS_SYNC=y128127CONFIG_GENERIC_HARDIRQS=y129128CONFIG_GENERIC_IRQ_PROBE=y
-1
arch/mips/configs/ip27_defconfig
···119119CONFIG_CPU_HAS_PREFETCH=y120120# CONFIG_MIPS_MT is not set121121CONFIG_CPU_HAS_LLSC=y122122-CONFIG_CPU_HAS_LLDSCD=y123122CONFIG_CPU_HAS_SYNC=y124123CONFIG_GENERIC_HARDIRQS=y125124CONFIG_GENERIC_IRQ_PROBE=y
-1
arch/mips/configs/ip32_defconfig
···121121CONFIG_RM7000_CPU_SCACHE=y122122# CONFIG_MIPS_MT is not set123123CONFIG_CPU_HAS_LLSC=y124124-CONFIG_CPU_HAS_LLDSCD=y125124CONFIG_CPU_HAS_SYNC=y126125CONFIG_GENERIC_HARDIRQS=y127126CONFIG_GENERIC_IRQ_PROBE=y
-1
arch/mips/configs/it8172_defconfig
···117117# CONFIG_MIPS_MT is not set118118# CONFIG_CPU_ADVANCED is not set119119CONFIG_CPU_HAS_LLSC=y120120-CONFIG_CPU_HAS_LLDSCD=y121120CONFIG_CPU_HAS_SYNC=y122121CONFIG_GENERIC_HARDIRQS=y123122CONFIG_GENERIC_IRQ_PROBE=y
-1
arch/mips/configs/ivr_defconfig
···114114# CONFIG_MIPS_MT is not set115115# CONFIG_CPU_ADVANCED is not set116116CONFIG_CPU_HAS_LLSC=y117117-CONFIG_CPU_HAS_LLDSCD=y118117CONFIG_CPU_HAS_SYNC=y119118CONFIG_GENERIC_HARDIRQS=y120119CONFIG_GENERIC_IRQ_PROBE=y
-1
arch/mips/configs/jaguar-atx_defconfig
···124124# CONFIG_64BIT_PHYS_ADDR is not set125125# CONFIG_CPU_ADVANCED is not set126126CONFIG_CPU_HAS_LLSC=y127127-CONFIG_CPU_HAS_LLDSCD=y128127CONFIG_CPU_HAS_SYNC=y129128CONFIG_GENERIC_HARDIRQS=y130129CONFIG_GENERIC_IRQ_PROBE=y
-1
arch/mips/configs/lasat200_defconfig
···121121# CONFIG_64BIT_PHYS_ADDR is not set122122# CONFIG_CPU_ADVANCED is not set123123CONFIG_CPU_HAS_LLSC=y124124-CONFIG_CPU_HAS_LLDSCD=y125124CONFIG_CPU_HAS_SYNC=y126125CONFIG_GENERIC_HARDIRQS=y127126CONFIG_GENERIC_IRQ_PROBE=y
+5-5
arch/mips/configs/malta_defconfig
···11#22# Automatically generated make config: don't edit33-# Linux kernel version: 2.6.15-rc244-# Thu Nov 24 01:06:35 200533+# Linux kernel version: 2.6.15-rc544+# Fri Dec 23 02:21:03 200555#66CONFIG_MIPS=y77···8787#8888# CPU selection8989#9090-CONFIG_CPU_MIPS32_R1=y9191-# CONFIG_CPU_MIPS32_R2 is not set9090+# CONFIG_CPU_MIPS32_R1 is not set9191+CONFIG_CPU_MIPS32_R2=y9292# CONFIG_CPU_MIPS64_R1 is not set9393# CONFIG_CPU_MIPS64_R2 is not set9494# CONFIG_CPU_R3000 is not set···112112CONFIG_SYS_HAS_CPU_NEVADA=y113113CONFIG_SYS_HAS_CPU_RM7000=y114114CONFIG_CPU_MIPS32=y115115-CONFIG_CPU_MIPSR1=y115115+CONFIG_CPU_MIPSR2=y116116CONFIG_SYS_SUPPORTS_32BIT_KERNEL=y117117CONFIG_SYS_SUPPORTS_64BIT_KERNEL=y118118CONFIG_CPU_SUPPORTS_32BIT_KERNEL=y
-1
arch/mips/configs/ocelot_3_defconfig
···122122# CONFIG_64BIT_PHYS_ADDR is not set123123# CONFIG_CPU_ADVANCED is not set124124CONFIG_CPU_HAS_LLSC=y125125-CONFIG_CPU_HAS_LLDSCD=y126125CONFIG_CPU_HAS_SYNC=y127126CONFIG_GENERIC_HARDIRQS=y128127CONFIG_GENERIC_IRQ_PROBE=y
-1
arch/mips/configs/ocelot_c_defconfig
···118118CONFIG_CPU_HAS_PREFETCH=y119119# CONFIG_MIPS_MT is not set120120CONFIG_CPU_HAS_LLSC=y121121-CONFIG_CPU_HAS_LLDSCD=y122121CONFIG_CPU_HAS_SYNC=y123122CONFIG_GENERIC_HARDIRQS=y124123CONFIG_GENERIC_IRQ_PROBE=y
-1
arch/mips/configs/ocelot_defconfig
···123123# CONFIG_64BIT_PHYS_ADDR is not set124124# CONFIG_CPU_ADVANCED is not set125125CONFIG_CPU_HAS_LLSC=y126126-CONFIG_CPU_HAS_LLDSCD=y127126CONFIG_CPU_HAS_SYNC=y128127CONFIG_GENERIC_HARDIRQS=y129128CONFIG_GENERIC_IRQ_PROBE=y
-1
arch/mips/configs/ocelot_g_defconfig
···121121CONFIG_CPU_HAS_PREFETCH=y122122# CONFIG_MIPS_MT is not set123123CONFIG_CPU_HAS_LLSC=y124124-CONFIG_CPU_HAS_LLDSCD=y125124CONFIG_CPU_HAS_SYNC=y126125CONFIG_GENERIC_HARDIRQS=y127126CONFIG_GENERIC_IRQ_PROBE=y
-1
arch/mips/configs/pnx8550-v2pci_defconfig
···116116# CONFIG_64BIT_PHYS_ADDR is not set117117CONFIG_CPU_ADVANCED=y118118CONFIG_CPU_HAS_LLSC=y119119-# CONFIG_CPU_HAS_LLDSCD is not set120119# CONFIG_CPU_HAS_WB is not set121120CONFIG_CPU_HAS_SYNC=y122121CONFIG_GENERIC_HARDIRQS=y
-1
arch/mips/configs/rbhma4500_defconfig
···124124# CONFIG_MIPS_MT is not set125125CONFIG_CPU_ADVANCED=y126126CONFIG_CPU_HAS_LLSC=y127127-CONFIG_CPU_HAS_LLDSCD=y128127CONFIG_CPU_HAS_WB=y129128CONFIG_CPU_HAS_SYNC=y130129CONFIG_GENERIC_HARDIRQS=y
-1
arch/mips/configs/rm200_defconfig
···124124# CONFIG_64BIT_PHYS_ADDR is not set125125# CONFIG_CPU_ADVANCED is not set126126CONFIG_CPU_HAS_LLSC=y127127-CONFIG_CPU_HAS_LLDSCD=y128127CONFIG_CPU_HAS_SYNC=y129128CONFIG_GENERIC_HARDIRQS=y130129CONFIG_GENERIC_IRQ_PROBE=y
-1
arch/mips/configs/sb1250-swarm_defconfig
···133133# CONFIG_MIPS_MT is not set134134CONFIG_SB1_PASS_1_WORKAROUNDS=y135135CONFIG_CPU_HAS_LLSC=y136136-CONFIG_CPU_HAS_LLDSCD=y137136CONFIG_CPU_HAS_SYNC=y138137CONFIG_GENERIC_HARDIRQS=y139138CONFIG_GENERIC_IRQ_PROBE=y
-1
arch/mips/configs/yosemite_defconfig
···118118# CONFIG_64BIT_PHYS_ADDR is not set119119# CONFIG_CPU_ADVANCED is not set120120CONFIG_CPU_HAS_LLSC=y121121-CONFIG_CPU_HAS_LLDSCD=y122121CONFIG_CPU_HAS_SYNC=y123122CONFIG_GENERIC_HARDIRQS=y124123CONFIG_GENERIC_IRQ_PROBE=y
-1
arch/mips/defconfig
···123123# CONFIG_64BIT_PHYS_ADDR is not set124124# CONFIG_CPU_ADVANCED is not set125125CONFIG_CPU_HAS_LLSC=y126126-CONFIG_CPU_HAS_LLDSCD=y127126CONFIG_CPU_HAS_SYNC=y128127CONFIG_GENERIC_HARDIRQS=y129128CONFIG_GENERIC_IRQ_PROBE=y
···507507 return IRQ_HANDLED;508508}509509510510+int null_perf_irq(struct pt_regs *regs)511511+{512512+ return 0;513513+}514514+515515+int (*perf_irq)(struct pt_regs *regs) = null_perf_irq;516516+517517+EXPORT_SYMBOL(null_perf_irq);518518+EXPORT_SYMBOL(perf_irq);519519+510520asmlinkage void ll_timer_interrupt(int irq, struct pt_regs *regs)511521{522522+ int r2 = cpu_has_mips_r2;523523+512524 irq_enter();513525 kstat_this_cpu.irqs[irq]++;514526515515- /* we keep interrupt disabled all the time */516516- timer_interrupt(irq, NULL, regs);527527+ /*528528+ * Suckage alert:529529+ * Before R2 of the architecture there was no way to see if a530530+ * performance counter interrupt was pending, so we have to run the531531+ * performance counter interrupt handler anyway.532532+ */533533+ if (!r2 || (read_c0_cause() & (1 << 26)))534534+ if (perf_irq(regs))535535+ goto out;517536537537+ /* we keep interrupt disabled all the time */538538+ if (!r2 || (read_c0_cause() & (1 << 30)))539539+ timer_interrupt(irq, NULL, regs);540540+541541+out:518542 irq_exit();519543}520544···652628 mips_hpt_init = c0_hpt_init;653629 }654630655655- if ((current_cpu_data.isa_level == MIPS_CPU_ISA_M32) ||656656- (current_cpu_data.isa_level == MIPS_CPU_ISA_I) ||657657- (current_cpu_data.isa_level == MIPS_CPU_ISA_II))631631+ if (cpu_has_mips32r1 || cpu_has_mips32r2 ||632632+ (current_cpu_data.isa_level == MIPS_CPU_ISA_I) ||633633+ (current_cpu_data.isa_level == MIPS_CPU_ISA_II))658634 /*659635 * We need to calibrate the counter but we don't have660636 * 64-bit division.
+4-4
arch/mips/kernel/vpe.c
···9999100100 /* elfloader stuff */101101 void *load_addr;102102- u32 len;102102+ unsigned long len;103103 char *pbuffer;104104- u32 plen;104104+ unsigned long plen;105105106106 unsigned long __start;107107···253253}254254255255/* Find some VPE program space */256256-static void *alloc_progmem(u32 len)256256+static void *alloc_progmem(unsigned long len)257257{258258#ifdef CONFIG_MIPS_VPE_LOADER_TOM259259 /* this means you must tell linux to use less memory than you physically have */260260- return (void *)((max_pfn * PAGE_SIZE) + KSEG0);260260+ return pfn_to_kaddr(max_pfn);261261#else262262 // simple grab some mem for now263263 return kmalloc(len, GFP_KERNEL);
+1-1
arch/mips/lib/iomap.c
···33 *44 * This code is based on lib/iomap.c, by Linus Torvalds.55 *66- * Copyright (C) 2004-2005 Yoichi Yuasa <yuasa@hh.iij4u.or.jp>66+ * Copyright (C) 2004-2005 Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>77 *88 * This program is free software; you can redistribute it and/or modify99 * it under the terms of the GNU General Public License as published by
-2
arch/mips/math-emu/dp_fint.c
···33333434 CLEARCX;35353636- xc = ( 0 ? xc : xc );3737-3836 if (x == 0)3937 return ieee754dp_zero(0);4038 if (x == 1 || x == -1)
-2
arch/mips/math-emu/dp_flong.c
···33333434 CLEARCX;35353636- xc = ( 0 ? xc : xc );3737-3836 if (x == 0)3937 return ieee754dp_zero(0);4038 if (x == 1 || x == -1)
-2
arch/mips/math-emu/sp_fint.c
···33333434 CLEARCX;35353636- xc = ( 0 ? xc : xc );3737-3836 if (x == 0)3937 return ieee754sp_zero(0);4038 if (x == 1 || x == -1)
-2
arch/mips/math-emu/sp_flong.c
···33333434 CLEARCX;35353636- xc = ( 0 ? xc : xc );3737-3836 if (x == 0)3937 return ieee754sp_zero(0);4038 if (x == 1 || x == -1)
+18-15
arch/mips/mips-boards/generic/time.c
···7575 do_IRQ (mips_cpu_timer_irq, regs);7676}77777878+extern int null_perf_irq(struct pt_regs *regs);7979+8080+extern int (*perf_irq)(struct pt_regs *regs);8181+7882irqreturn_t mips_timer_interrupt(int irq, void *dev_id, struct pt_regs *regs)7983{8080-#ifdef CONFIG_SMP8484+ int r2 = cpu_has_mips_r2;8185 int cpu = smp_processor_id();82868387 if (cpu == 0) {8488 /*8585- * CPU 0 handles the global timer interrupt job and process accounting8686- * resets count/compare registers to trigger next timer int.8989+ * CPU 0 handles the global timer interrupt job and process9090+ * accounting resets count/compare registers to trigger next9191+ * timer int.8792 */8888- (void) timer_interrupt(irq, dev_id, regs);9393+ if (!r2 || (read_c0_cause() & (1 << 26)))9494+ if (perf_irq(regs))9595+ goto out;9696+9797+ /* we keep interrupt disabled all the time */9898+ if (!r2 || (read_c0_cause() & (1 << 30)))9999+ timer_interrupt(irq, NULL, regs);100100+89101 scroll_display_message();9090- }9191- else {102102+ } else {92103 /* Everyone else needs to reset the timer int here as93104 ll_local_timer_interrupt doesn't */94105 /*···114103 local_timer_interrupt (irq, dev_id, regs);115104 }116105106106+out:117107 return IRQ_HANDLED;118118-#else119119- irqreturn_t r;120120-121121- r = timer_interrupt(irq, dev_id, regs);122122-123123- scroll_display_message();124124-125125- return r;126126-#endif127108}128109129110/*
+2-2
arch/mips/mm/c-r4k.c
···11831183 if (!sc_present)11841184 return;1185118511861186- if ((c->isa_level == MIPS_CPU_ISA_M32 ||11871187- c->isa_level == MIPS_CPU_ISA_M64) &&11861186+ if ((c->isa_level == MIPS_CPU_ISA_M32R1 ||11871187+ c->isa_level == MIPS_CPU_ISA_M64R1) &&11881188 !(c->scache.flags & MIPS_CACHE_NOT_PRESENT))11891189 panic("Dunno how to handle MIPS32 / MIPS64 second level cache");11901190
+3
arch/mips/oprofile/common.c
···7575 int res;76767777 switch (current_cpu_data.cputype) {7878+ case CPU_5KC:7979+ case CPU_20KC:7880 case CPU_24K:8181+ case CPU_25KF:7982 lmodel = &op_model_mipsxx;8083 break;8184
+2-2
arch/mips/oprofile/op_impl.h
···12121313struct pt_regs;14141515-extern void null_perf_irq(struct pt_regs *regs);1616-extern void (*perf_irq)(struct pt_regs *regs);1515+extern int null_perf_irq(struct pt_regs *regs);1616+extern int (*perf_irq)(struct pt_regs *regs);17171818/* Per-counter configuration as set via oprofilefs. */1919struct op_counter_config {
+20-2
arch/mips/oprofile/op_model_mipsxx.c
···114114 }115115}116116117117-static void mipsxx_perfcount_handler(struct pt_regs *regs)117117+static int mipsxx_perfcount_handler(struct pt_regs *regs)118118{119119 unsigned int counters = op_model_mipsxx.num_counters;120120 unsigned int control;121121 unsigned int counter;122122+ int handled = 0;122123123124 switch (counters) {124125#define HANDLE_COUNTER(n) \···130129 (counter & M_COUNTER_OVERFLOW)) { \131130 oprofile_add_sample(regs, n); \132131 write_c0_perfcntr ## n(reg.counter[n]); \132132+ handled = 1; \133133 }134134 HANDLE_COUNTER(3)135135 HANDLE_COUNTER(2)136136 HANDLE_COUNTER(1)137137 HANDLE_COUNTER(0)138138 }139139+140140+ return handled;139141}140142141143#define M_CONFIG1_PC (1 << 4)···180176 int counters;181177182178 counters = n_counters();183183- if (counters == 0)179179+ if (counters == 0) {180180+ printk(KERN_ERR "Oprofile: CPU has no performance counters\n");184181 return -ENODEV;182182+ }185183186184 reset_counters(counters);187185188186 op_model_mipsxx.num_counters = counters;189187 switch (current_cpu_data.cputype) {188188+ case CPU_20KC:189189+ op_model_mipsxx.cpu_type = "mips/20K";190190+ break;191191+190192 case CPU_24K:191193 op_model_mipsxx.cpu_type = "mips/24K";194194+ break;195195+196196+ case CPU_25KF:197197+ op_model_mipsxx.cpu_type = "mips/25K";198198+ break;199199+200200+ case CPU_5KC:201201+ op_model_mipsxx.cpu_type = "mips/5K";192202 break;193203194204 default:
+1-1
arch/mips/pci/fixup-capcella.c
···11/*22 * fixup-cappcela.c, The ZAO Networks Capcella specific PCI fixups.33 *44- * Copyright (C) 2002,2004 Yoichi Yuasa <yuasa@hh.iij4u.or.jp>44+ * Copyright (C) 2002,2004 Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>55 *66 * This program is free software; you can redistribute it and/or modify77 * it under the terms of the GNU General Public License as published by
+1-1
arch/mips/pci/fixup-mpc30x.c
···11/*22 * fixup-mpc30x.c, The Victor MP-C303/304 specific PCI fixups.33 *44- * Copyright (C) 2002,2004 Yoichi Yuasa <yuasa@hh.iij4u.or.jp>44+ * Copyright (C) 2002,2004 Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>55 *66 * This program is free software; you can redistribute it and/or modify77 * it under the terms of the GNU General Public License as published by
+1-1
arch/mips/pci/fixup-tb0219.c
···22 * fixup-tb0219.c, The TANBAC TB0219 specific PCI fixups.33 *44 * Copyright (C) 2003 Megasolution Inc. <matsu@megasolution.jp>55- * Copyright (C) 2004 Yoichi Yuasa <yuasa@hh.iij4u.or.jp>55+ * Copyright (C) 2004 Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>66 *77 * This program is free software; you can redistribute it and/or modify88 * it under the terms of the GNU General Public License as published by
+1-1
arch/mips/pci/fixup-tb0226.c
···11/*22 * fixup-tb0226.c, The TANBAC TB0226 specific PCI fixups.33 *44- * Copyright (C) 2002-2005 Yoichi Yuasa <yuasa@hh.iij4u.or.jp>44+ * Copyright (C) 2002-2005 Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>55 *66 * This program is free software; you can redistribute it and/or modify77 * it under the terms of the GNU General Public License as published by
+1-1
arch/mips/pci/fixup-tb0287.c
···11/*22 * fixup-tb0287.c, The TANBAC TB0287 specific PCI fixups.33 *44- * Copyright (C) 2005 Yoichi Yuasa <yuasa@hh.iij4u.or.jp>44+ * Copyright (C) 2005 Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>55 *66 * This program is free software; you can redistribute it and/or modify77 * it under the terms of the GNU General Public License as published by
+1-1
arch/mips/pci/ops-vr41xx.c
···33 *44 * Copyright (C) 2001-2003 MontaVista Software Inc.55 * Author: Yoichi Yuasa <yyuasa@mvista.com or source@mvista.com>66- * Copyright (C) 2004-2005 Yoichi Yuasa <yuasa@hh.iij4u.or.jp>66+ * Copyright (C) 2004-2005 Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>77 *88 * This program is free software; you can redistribute it and/or modify99 * it under the terms of the GNU General Public License as published by
+1-1
arch/mips/pci/pci-vr41xx.c
···33 *44 * Copyright (C) 2001-2003 MontaVista Software Inc.55 * Author: Yoichi Yuasa <yyuasa@mvista.com or source@mvista.com>66- * Copyright (C) 2004-2005 Yoichi Yuasa <yuasa@hh.iij4u.or.jp>66+ * Copyright (C) 2004-2005 Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>77 * Copyright (C) 2004 by Ralf Baechle (ralf@linux-mips.org)88 *99 * This program is free software; you can redistribute it and/or modify
+1-1
arch/mips/pci/pci-vr41xx.h
···33 *44 * Copyright (C) 2002 MontaVista Software Inc.55 * Author: Yoichi Yuasa <yyuasa@mvista.com or source@mvista.com>66- * Copyright (C) 2004-2005 Yoichi Yuasa <yuasa@hh.iij4u.or.jp>66+ * Copyright (C) 2004-2005 Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>77 *88 * This program is free software; you can redistribute it and/or modify99 * it under the terms of the GNU General Public License as published by
+1-1
arch/mips/vr41xx/casio-e55/setup.c
···11/*22 * setup.c, Setup for the CASIO CASSIOPEIA E-11/15/55/65.33 *44- * Copyright (C) 2002-2005 Yoichi Yuasa <yuasa@hh.iij4u.or.jp>44+ * Copyright (C) 2002-2005 Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>55 *66 * This program is free software; you can redistribute it and/or modify77 * it under the terms of the GNU General Public License as published by
+2-2
arch/mips/vr41xx/common/bcu.c
···33 *44 * Copyright (C) 2002 MontaVista Software Inc.55 * Author: Yoichi Yuasa <yyuasa@mvista.com, or source@mvista.com>66- * Copyright (C) 2003-2005 Yoichi Yuasa <yuasa@hh.iij4u.or.jp>66+ * Copyright (C) 2003-2005 Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>77 *88 * This program is free software; you can redistribute it and/or modify99 * it under the terms of the GNU General Public License as published by···2525 * - New creation, NEC VR4122 and VR4131 are supported.2626 * - Added support for NEC VR4111 and VR4121.2727 *2828- * Yoichi Yuasa <yuasa@hh.iij4u.or.jp>2828+ * Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>2929 * - Added support for NEC VR4133.3030 */3131#include <linux/kernel.h>
+2-2
arch/mips/vr41xx/common/cmu.c
···33 *44 * Copyright (C) 2001-2002 MontaVista Software Inc.55 * Author: Yoichi Yuasa <yyuasa@mvista.com or source@mvista.com>66- * Copuright (C) 2003-2005 Yoichi Yuasa <yuasa@hh.iij4u.or.jp>66+ * Copuright (C) 2003-2005 Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>77 *88 * This program is free software; you can redistribute it and/or modify99 * it under the terms of the GNU General Public License as published by···2525 * - New creation, NEC VR4122 and VR4131 are supported.2626 * - Added support for NEC VR4111 and VR4121.2727 *2828- * Yoichi Yuasa <yuasa@hh.iij4u.or.jp>2828+ * Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>2929 * - Added support for NEC VR4133.3030 */3131#include <linux/init.h>
+2-2
arch/mips/vr41xx/common/icu.c
···33 *44 * Copyright (C) 2001-2002 MontaVista Software Inc.55 * Author: Yoichi Yuasa <yyuasa@mvista.com or source@mvista.com>66- * Copyright (C) 2003-2005 Yoichi Yuasa <yuasa@hh.iij4u.or.jp>66+ * Copyright (C) 2003-2005 Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>77 *88 * This program is free software; you can redistribute it and/or modify99 * it under the terms of the GNU General Public License as published by···2525 * - New creation, NEC VR4122 and VR4131 are supported.2626 * - Added support for NEC VR4111 and VR4121.2727 *2828- * Yoichi Yuasa <yuasa@hh.iij4u.or.jp>2828+ * Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>2929 * - Coped with INTASSIGN of NEC VR4133.3030 */3131#include <linux/errno.h>
+1-1
arch/mips/vr41xx/common/init.c
···11/*22 * init.c, Common initialization routines for NEC VR4100 series.33 *44- * Copyright (C) 2003-2005 Yoichi Yuasa <yuasa@hh.iij4u.or.jp>44+ * Copyright (C) 2003-2005 Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>55 *66 * This program is free software; you can redistribute it and/or modify77 * it under the terms of the GNU General Public License as published by
+1-1
arch/mips/vr41xx/common/int-handler.S
···3535 * MontaVista Software Inc. <yyuasa@mvista.com> or <source@mvista.com>3636 * - New creation, NEC VR4100 series are supported.3737 *3838- * Yoichi Yuasa <yuasa@hh.iij4u.or.jp>3838+ * Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>3939 * - Coped with INTASSIGN of NEC VR4133.4040 */4141#include <asm/asm.h>
+1-1
arch/mips/vr41xx/common/irq.c
···11/*22 * Interrupt handing routines for NEC VR4100 series.33 *44- * Copyright (C) 2005 Yoichi Yuasa <yuasa@hh.iij4u.or.jp>44+ * Copyright (C) 2005 Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>55 *66 * This program is free software; you can redistribute it and/or modify77 * it under the terms of the GNU General Public License as published by
+1-1
arch/mips/vr41xx/common/pmu.c
···11/*22 * pmu.c, Power Management Unit routines for NEC VR4100 series.33 *44- * Copyright (C) 2003-2005 Yoichi Yuasa <yuasa@hh.iij4u.or.jp>44+ * Copyright (C) 2003-2005 Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>55 *66 * This program is free software; you can redistribute it and/or modify77 * it under the terms of the GNU General Public License as published by
+1-1
arch/mips/vr41xx/common/type.c
···11/*22 * type.c, System type for NEC VR4100 series.33 *44- * Copyright (C) 2005 Yoichi Yuasa <yuasa@hh.iij4u.or.jp>44+ * Copyright (C) 2005 Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>55 *66 * This program is free software; you can redistribute it and/or modify77 * it under the terms of the GNU General Public License as published by
+1-1
arch/mips/vr41xx/common/vrc4173.c
···33 *44 * Copyright (C) 2001-2003 MontaVista Software Inc.55 * Author: Yoichi Yuasa <yyuasa@mvista.com, or source@mvista.com>66- * Copyright (C) 2004 Yoichi Yuasa <yuasa@hh.iij4u.or.jp>66+ * Copyright (C) 2004 Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>77 * Copyright (C) 2005 Ralf Baechle (ralf@linux-mips.org)88 *99 * This program is free software; you can redistribute it and/or modify
+1-1
arch/mips/vr41xx/ibm-workpad/setup.c
···11/*22 * setup.c, Setup for the IBM WorkPad z50.33 *44- * Copyright (C) 2002-2005 Yoichi Yuasa <yuasa@hh.iij4u.or.jp>44+ * Copyright (C) 2002-2005 Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>55 *66 * This program is free software; you can redistribute it and/or modify77 * it under the terms of the GNU General Public License as published by
+2-2
drivers/char/tb0219.c
···11/*22 * Driver for TANBAC TB0219 base board.33 *44- * Copyright (C) 2005 Yoichi Yuasa <yuasa@hh.iij4u.or.jp>44+ * Copyright (C) 2005 Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>55 *66 * This program is free software; you can redistribute it and/or modify77 * it under the terms of the GNU General Public License as published by···2727#include <asm/vr41xx/giu.h>2828#include <asm/vr41xx/tb0219.h>29293030-MODULE_AUTHOR("Yoichi Yuasa <yuasa@hh.iij4u.or.jp>");3030+MODULE_AUTHOR("Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>");3131MODULE_DESCRIPTION("TANBAC TB0219 base board driver");3232MODULE_LICENSE("GPL");3333
+2-2
drivers/char/vr41xx_giu.c
···33 *44 * Copyright (C) 2002 MontaVista Software Inc.55 * Author: Yoichi Yuasa <yyuasa@mvista.com or source@mvista.com>66- * Copyright (C) 2003-2005 Yoichi Yuasa <yuasa@hh.iij4u.or.jp>66+ * Copyright (C) 2003-2005 Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>77 *88 * This program is free software; you can redistribute it and/or modify99 * it under the terms of the GNU General Public License as published by···3535#include <asm/vr41xx/giu.h>3636#include <asm/vr41xx/vr41xx.h>37373838-MODULE_AUTHOR("Yoichi Yuasa <yuasa@hh.iij4u.or.jp>");3838+MODULE_AUTHOR("Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>");3939MODULE_DESCRIPTION("NEC VR4100 series General-purpose I/O Unit driver");4040MODULE_LICENSE("GPL");4141
+2-2
drivers/char/vr41xx_rtc.c
···11/*22 * Driver for NEC VR4100 series Real Time Clock unit.33 *44- * Copyright (C) 2003-2005 Yoichi Yuasa <yuasa@hh.iij4u.or.jp>44+ * Copyright (C) 2003-2005 Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>55 *66 * This program is free software; you can redistribute it and/or modify77 * it under the terms of the GNU General Public License as published by···3737#include <asm/uaccess.h>3838#include <asm/vr41xx/vr41xx.h>39394040-MODULE_AUTHOR("Yoichi Yuasa <yuasa@hh.iij4u.or.jp>");4040+MODULE_AUTHOR("Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>");4141MODULE_DESCRIPTION("NEC VR4100 series RTC driver");4242MODULE_LICENSE("GPL");4343
+2-2
drivers/pcmcia/vrc4171_card.c
···11/*22 * vrc4171_card.c, NEC VRC4171 Card Controller driver for Socket Services.33 *44- * Copyright (C) 2003-2005 Yoichi Yuasa <yuasa@hh.iij4u.or.jp>44+ * Copyright (C) 2003-2005 Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>55 *66 * This program is free software; you can redistribute it and/or modify77 * it under the terms of the GNU General Public License as published by···3333#include "i82365.h"34343535MODULE_DESCRIPTION("NEC VRC4171 Card Controllers driver for Socket Services");3636-MODULE_AUTHOR("Yoichi Yuasa <yuasa@hh.iij4u.or.jp>");3636+MODULE_AUTHOR("Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>");3737MODULE_LICENSE("GPL");38383939#define CARD_MAX_SLOTS 2
+2-2
drivers/pcmcia/vrc4173_cardu.c
···66 * NEC VRC4173 CARDU driver for Socket Services77 * (This device doesn't support CardBus. it is supporting only 16bit PC Card.)88 *99- * Copyright 2002,2003 Yoichi Yuasa <yuasa@hh.iij4u.or.jp>99+ * Copyright 2002,2003 Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>1010 *1111 * This program is free software; you can redistribute it and/or modify it1212 * under the terms of the GNU General Public License as published by the···4141#include "vrc4173_cardu.h"42424343MODULE_DESCRIPTION("NEC VRC4173 CARDU driver for Socket Services");4444-MODULE_AUTHOR("Yoichi Yuasa <yuasa@hh.iij4u.or.jp>");4444+MODULE_AUTHOR("Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>");4545MODULE_LICENSE("GPL");46464747static int vrc4173_cardu_slots;
+1-1
drivers/pcmcia/vrc4173_cardu.h
···55 * BRIEF MODULE DESCRIPTION66 * Include file for NEC VRC4173 CARDU.77 *88- * Copyright 2002 Yoichi Yuasa <yuasa@hh.iij4u.or.jp>88+ * Copyright 2002 Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>99 *1010 * This program is free software; you can redistribute it and/or modify it1111 * under the terms of the GNU General Public License as published by the
+1-1
drivers/serial/vr41xx_siu.c
···11/*22 * Driver for NEC VR4100 series Serial Interface Unit.33 *44- * Copyright (C) 2004-2005 Yoichi Yuasa <yuasa@hh.iij4u.or.jp>44+ * Copyright (C) 2004-2005 Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>55 *66 * Based on drivers/serial/8250.c, by Russell King.77 *
+21-22
include/asm-mips/atomic.h
···2424#define _ASM_ATOMIC_H25252626#include <asm/cpu-features.h>2727+#include <asm/interrupt.h>2728#include <asm/war.h>2828-2929-extern spinlock_t atomic_lock;30293130typedef struct { volatile int counter; } atomic_t;3231···8485 } else {8586 unsigned long flags;86878787- spin_lock_irqsave(&atomic_lock, flags);8888+ local_irq_save(flags);8889 v->counter += i;8989- spin_unlock_irqrestore(&atomic_lock, flags);9090+ local_irq_restore(flags);9091 }9192}9293···126127 } else {127128 unsigned long flags;128129129129- spin_lock_irqsave(&atomic_lock, flags);130130+ local_irq_save(flags);130131 v->counter -= i;131131- spin_unlock_irqrestore(&atomic_lock, flags);132132+ local_irq_restore(flags);132133 }133134}134135···172173 } else {173174 unsigned long flags;174175175175- spin_lock_irqsave(&atomic_lock, flags);176176+ local_irq_save(flags);176177 result = v->counter;177178 result += i;178179 v->counter = result;179179- spin_unlock_irqrestore(&atomic_lock, flags);180180+ local_irq_restore(flags);180181 }181182182183 return result;···219220 } else {220221 unsigned long flags;221222222222- spin_lock_irqsave(&atomic_lock, flags);223223+ local_irq_save(flags);223224 result = v->counter;224225 result -= i;225226 v->counter = result;226226- spin_unlock_irqrestore(&atomic_lock, flags);227227+ local_irq_restore(flags);227228 }228229229230 return result;···276277 } else {277278 unsigned long flags;278279279279- spin_lock_irqsave(&atomic_lock, flags);280280+ local_irq_save(flags);280281 result = v->counter;281282 result -= i;282283 if (result >= 0)283284 v->counter = result;284284- spin_unlock_irqrestore(&atomic_lock, flags);285285+ local_irq_restore(flags);285286 }286287287288 return result;···432433 } else {433434 unsigned long flags;434435435435- spin_lock_irqsave(&atomic_lock, flags);436436+ local_irq_save(flags);436437 v->counter += i;437437- spin_unlock_irqrestore(&atomic_lock, flags);438438+ local_irq_restore(flags);438439 }439440}440441···474475 } else {475476 unsigned long flags;476477477477- spin_lock_irqsave(&atomic_lock, flags);478478+ local_irq_save(flags);478479 v->counter -= i;479479- spin_unlock_irqrestore(&atomic_lock, flags);480480+ local_irq_restore(flags);480481 }481482}482483···520521 } else {521522 unsigned long flags;522523523523- spin_lock_irqsave(&atomic_lock, flags);524524+ local_irq_save(flags);524525 result = v->counter;525526 result += i;526527 v->counter = result;527527- spin_unlock_irqrestore(&atomic_lock, flags);528528+ local_irq_restore(flags);528529 }529530530531 return result;···567568 } else {568569 unsigned long flags;569570570570- spin_lock_irqsave(&atomic_lock, flags);571571+ local_irq_save(flags);571572 result = v->counter;572573 result -= i;573574 v->counter = result;574574- spin_unlock_irqrestore(&atomic_lock, flags);575575+ local_irq_restore(flags);575576 }576577577578 return result;···624625 } else {625626 unsigned long flags;626627627627- spin_lock_irqsave(&atomic_lock, flags);628628+ local_irq_save(flags);628629 result = v->counter;629630 result -= i;630631 if (result >= 0)631632 v->counter = result;632632- spin_unlock_irqrestore(&atomic_lock, flags);633633+ local_irq_restore(flags);633634 }634635635636 return result;
···233233#endif234234235235#ifdef CONFIG_CPU_MIPSR2236236+/*237237+ * gcc has a tradition of misscompiling the previous construct using the238238+ * address of a label as argument to inline assembler. Gas otoh has the239239+ * annoying difference between la and dla which are only usable for 32-bit240240+ * rsp. 64-bit code, so can't be used without conditional compilation.241241+ * The alterantive is switching the assembler to 64-bit code which happens242242+ * to work right even for 32-bit code ...243243+ */236244#define instruction_hazard() \237245do { \238238-__label__ __next; \246246+ unsigned long tmp; \247247+ \239248 __asm__ __volatile__( \249249+ " .set mips64r2 \n" \250250+ " dla %0, 1f \n" \240251 " jr.hb %0 \n" \241241- : \242242- : "r" (&&__next)); \243243-__next: \244244- ; \252252+ " .set mips0 \n" \253253+ "1: \n" \254254+ : "=r" (tmp)); \245255} while (0)246256247257#else
···103103struct mips_dsp_state {104104 dspreg_t dspr[NUM_DSP_REGS];105105 unsigned int dspcontrol;106106- unsigned short used_dsp;107106};108107109108#define INIT_DSP {{0,},}
+1-1
include/asm-mips/vr41xx/capcella.h
···11/*22 * capcella.h, Include file for ZAO Networks Capcella.33 *44- * Copyright (C) 2002-2004 Yoichi Yuasa <yuasa@hh.iij4u.or.jp>44+ * Copyright (C) 2002-2004 Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>55 *66 * This program is free software; you can redistribute it and/or modify77 * it under the terms of the GNU General Public License as published by
+1-1
include/asm-mips/vr41xx/e55.h
···11/*22 * e55.h, Include file for CASIO CASSIOPEIA E-10/15/55/65.33 *44- * Copyright (C) 2002-2004 Yoichi Yuasa <yuasa@hh.iij4u.or.jp>44+ * Copyright (C) 2002-2004 Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>55 *66 * This program is free software; you can redistribute it and/or modify77 * it under the terms of the GNU General Public License as published by
+1-1
include/asm-mips/vr41xx/giu.h
···11/*22 * Include file for NEC VR4100 series General-purpose I/O Unit.33 *44- * Copyright (C) 2005 Yoichi Yuasa <yuasa@hh.iij4u.or.jp>44+ * Copyright (C) 2005 Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>55 *66 * This program is free software; you can redistribute it and/or modify77 * it under the terms of the GNU General Public License as published by
+1-1
include/asm-mips/vr41xx/mpc30x.h
···11/*22 * mpc30x.h, Include file for Victor MP-C303/304.33 *44- * Copyright (C) 2002-2004 Yoichi Yuasa <yuasa@hh.iij4u.or.jp>44+ * Copyright (C) 2002-2004 Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>55 *66 * This program is free software; you can redistribute it and/or modify77 * it under the terms of the GNU General Public License as published by
+1-1
include/asm-mips/vr41xx/pci.h
···11/*22 * Include file for NEC VR4100 series PCI Control Unit.33 *44- * Copyright (C) 2004-2005 Yoichi Yuasa <yuasa@hh.iij4u.or.jp>44+ * Copyright (C) 2004-2005 Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>55 *66 * This program is free software; you can redistribute it and/or modify77 * it under the terms of the GNU General Public License as published by
+1-1
include/asm-mips/vr41xx/siu.h
···11/*22 * Include file for NEC VR4100 series Serial Interface Unit.33 *44- * Copyright (C) 2005 Yoichi Yuasa <yuasa@hh.iij4u.or.jp>44+ * Copyright (C) 2005 Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>55 *66 * This program is free software; you can redistribute it and/or modify77 * it under the terms of the GNU General Public License as published by
+1-1
include/asm-mips/vr41xx/tb0219.h
···11/*22 * tb0219.h, Include file for TANBAC TB0219.33 *44- * Copyright (C) 2002-2004 Yoichi Yuasa <yuasa@hh.iij4u.or.jp>44+ * Copyright (C) 2002-2004 Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>55 *66 * Modified for TANBAC TB0219:77 * Copyright (C) 2003 Megasolution Inc. <matsu@megasolution.jp>
+1-1
include/asm-mips/vr41xx/tb0226.h
···11/*22 * tb0226.h, Include file for TANBAC TB0226.33 *44- * Copyright (C) 2002-2004 Yoichi Yuasa <yuasa@hh.iij4u.or.jp>44+ * Copyright (C) 2002-2004 Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>55 *66 * This program is free software; you can redistribute it and/or modify77 * it under the terms of the GNU General Public License as published by
+1-1
include/asm-mips/vr41xx/vr41xx.h
···77 * Copyright (C) 2001, 2002 Paul Mundt88 * Copyright (C) 2002 MontaVista Software, Inc.99 * Copyright (C) 2002 TimeSys Corp.1010- * Copyright (C) 2003-2005 Yoichi Yuasa <yuasa@hh.iij4u.or.jp>1010+ * Copyright (C) 2003-2005 Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>1111 *1212 * This program is free software; you can redistribute it and/or modify it1313 * under the terms of the GNU General Public License as published by the
+1-1
include/asm-mips/vr41xx/vrc4173.h
···44 * Copyright (C) 2000 Michael R. McDonald55 * Copyright (C) 2001-2003 Montavista Software Inc.66 * Author: Yoichi Yuasa <yyuasa@mvista.com, or source@mvista.com>77- * Copyright (C) 2004 Yoichi Yuasa <yuasa@hh.iij4u.or.jp>77+ * Copyright (C) 2004 Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>88 * Copyright (C) 2005 Ralf Baechle (ralf@linux-mips.org)99 *1010 * This program is free software; you can redistribute it and/or modify
+1-1
include/asm-mips/vr41xx/workpad.h
···11/*22 * workpad.h, Include file for IBM WorkPad z50.33 *44- * Copyright (C) 2002-2004 Yoichi Yuasa <yuasa@hh.iij4u.or.jp>44+ * Copyright (C) 2002-2004 Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>55 *66 * This program is free software; you can redistribute it and/or modify77 * it under the terms of the GNU General Public License as published by