12 Oct, 2007
6 commits
-
Signed-off-by: Ralf Baechle
-
Signed-off-by: Ralf Baechle
-
This replaces the MIPS-specific to_tm function with the generic
rtc_time_to_tm function. The big difference between the two functions is
that rtc_time_to_tm uses epoch 70 while to_tm uses 1970, so the result of
rtc_time_to_tm needs to be fixed up.Signed-off-by: Ralf Baechle
-
Hard to follow who is pointing what to where and why so it's simply getting
in the way of the time code renovation.Signed-off-by: Ralf Baechle
-
Signed-off-by: Ahmed S. Darwish
Signed-off-by: Ralf Baechle -
This has not been any serious user of this ill conceived thing since the
original invention in like '95.Signed-off-by: Ralf Baechle
27 Aug, 2007
1 commit
-
MIPS doesn't do CPU hotplugging yet but since many of the functions don't
even have an __init let's fix this right.Signed-off-by: Ralf Baechle
01 Aug, 2007
6 commits
-
arch/mips/pmc-sierra/yosemite/smp.c: In function 'titan_mailbox_irq':
arch/mips/pmc-sierra/yosemite/smp.c:112: warning: 'status' may be used uninitialized in this functionSigned-off-by: Ralf Baechle
-
Signed-off-by: Ralf Baechle
-
Signed-off-by: Ralf Baechle
-
Signed-off-by: Ralf Baechle
-
arch/mips/pmc-sierra/yosemite/i2c-yosemite.c: In function 'titan_i2c_xfer':
arch/mips/pmc-sierra/yosemite/i2c-yosemite.c:98: warning: 'data' may be used uninitialized in this functionSigned-off-by: Ralf Baechle
-
commit e436d80085133858bf2613a630365e8a0459fd58
Author: Ingo Molnar
Date: Thu Jul 19 21:28:35 2007 +0200[PATCH] sched: implement cpu_clock(cpu) high-speed time source
broke the build of several MIPS platforms which were already using the
symbol cpu_clock for the own purposes.Signed-off-by: Ralf Baechle
18 Jul, 2007
1 commit
-
early_serial_setup was removed from serial.h, but forgot to put in
serial_8250.hSigned-off-by: Yinghai Lu
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
11 Jul, 2007
4 commits
-
MODPOST vmlinux
WARNING: arch/mips/pmc-sierra/yosemite/built-in.o(.text+0x974): Section mismatch: reference to .init.data: (between 'prom_boot_secondary' and 'prom_cpus_done')
WARNING: arch/mips/pmc-sierra/yosemite/built-in.o(.text+0x980): Section mismatch: reference to .init.data: (between 'prom_boot_secondary' and 'prom_cpus_done')
WARNING: arch/mips/pmc-sierra/yosemite/built-in.o(.text+0x978): Section mismatch: reference to .init.data: (between 'prom_boot_secondary' and 'prom_cpus_done')
WARNING: arch/mips/pmc-sierra/yosemite/built-in.o(.text+0x984): Section mismatch: reference to .init.data: (between 'prom_boot_secondary' and 'prom_cpus_done')
WARNING: arch/mips/pmc-sierra/yosemite/built-in.o(.text+0x98c): Section mismatch: reference to .init.data: (between 'prom_boot_secondary' and 'prom_cpus_done')
WARNING: arch/mips/pmc-sierra/yosemite/built-in.o(.text+0x990): Section mismatch: reference to .init.data: (between 'prom_boot_secondary' and 'prom_cpus_done')Signed-off-by: Ralf Baechle
-
Patch to add PCI support for the PMC-Sierra MSP71xx devices.
Signed-off-by: Marc St-Jean
Signed-off-by: Ralf Baechle -
Patch to add mips common support for the PMC-Sierra MSP71xx devices.
Signed-off-by: Marc St-Jean
Signed-off-by: Ralf Baechle -
Patch to add core platform support for the PMC-Sierra MSP71xx devices.
Signed-off-by: Marc St-Jean
Signed-off-by: Ralf Baechle
08 May, 2007
1 commit
-
Serial driver patch for the PMC-Sierra MSP71xx devices.
There are three different fixes:
1 Fix for DesignWare APB THRE errata: In brief, this is a non-standard
16550 in that the THRE interrupt will not re-assert itself simply by
disabling and re-enabling the THRI bit in the IER, it is only re-enabled
if a character is actually sent out.It appears that the "8250-uart-backup-timer.patch" in the "mm" tree
also fixes it so we have dropped our initial workaround. This patch now
needs to be applied on top of that "mm" patch.2 Fix for Busy Detect on LCR write: The DesignWare APB UART has a feature
which causes a new Busy Detect interrupt to be generated if it's busy
when the LCR is written. This fix saves the value of the LCR and
rewrites it after clearing the interrupt.3 Workaround for interrupt/data concurrency issue: The SoC needs to
ensure that writes that can cause interrupts to be cleared reach the UART
before returning from the ISR. This fix reads a non-destructive register
on the UART so the read transaction completion ensures the previously
queued write transaction has also completed.Signed-off-by: Marc St-Jean
Cc: Russell King
Cc: Ralf Baechle
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
05 Mar, 2007
1 commit
-
early_printk is a so much saner thing.
Signed-off-by: Ralf Baechle
07 Feb, 2007
4 commits
-
Signed-off-by: Ralf Baechle
-
early_serial_setup is only defined when CONFIG_SERIAL_8250 is set.
Signed-off-by: Mathieu Desnoyers
Signed-off-by: Ralf Baechle -
Current prom_free_prom_memory() implementations are almost same as
free_init_pages(), or no-op. Make free_init_pages() extern (again)
and make prom_free_prom_memory() use it.Signed-off-by: Atsushi Nemoto
Signed-off-by: Ralf Baechle -
The irq_base for {mips,rm7k,rm9k}_cpu_irq_init() are constant on all
platforms and are same value on most platforms (0 or 16, depends on
CONFIG_I8259). Define them in asm-mips/mach-generic/irq.h and make
them customizable. This will save a few cycle on each CPU interrupt.A good side effect is removing some dependencies to MALTA in generic
SMTC code.Although MIPS_CPU_IRQ_BASE is customizable, this patch changes irq
mappings on DDB5477, EMMA2RH and MIPS_SIM, since really customizing
them might cause some header dependency problem and there seems no
good reason to customize it. So currently only VR41XX is using custom
MIPS_CPU_IRQ_BASE value, which is 0 regardless of CONFIG_I8259.Testing this patch on those platforms is greatly appreciated. Thank
you.Signed-off-by: Atsushi Nemoto
Signed-off-by: Ralf Baechle
30 Nov, 2006
1 commit
-
Currently nobody outside time.c require mips_hpt_init(). Remove it
and call c0_hpt_timer_init() directly if R4k counter was used for
timer interrupt.Signed-off-by: Atsushi Nemoto
Signed-off-by: Ralf Baechle
01 Nov, 2006
2 commits
-
Since we already moved to GENERIC_TIME, we should implement alternatives
of old do_gettimeoffset routines to get sub-jiffies resolution from
gettimeofday(). This patch includes:* MIPS clocksource support (based on works by Manish Lachwani).
* remove unused gettimeoffset routines and related codes.
* remove unised 64bit do_div64_32().
* simplify mips_hpt_init. (no argument needed, __init tag)
* simplify c0_hpt_timer_init. (no need to write to c0_count)
* remove some hpt_init routines.
* mips_hpt_mask variable to specify bitmask of hpt value.
* convert jmr3927_do_gettimeoffset to jmr3927_hpt_read.
* convert ip27_do_gettimeoffset to ip27_hpt_read.
* convert bcm1480_do_gettimeoffset to bcm1480_hpt_read.
* simplify sb1250 hpt functions. (no need to subtract and shift)Signed-off-by: Atsushi Nemoto
Signed-off-by: Ralf Baechle -
Signed-off-by: Yoichi Yuasa
Signed-off-by: Ralf Baechle
09 Oct, 2006
1 commit
-
Signed-off-by: Ralf Baechle
08 Oct, 2006
1 commit
-
Signed-off-by: Ralf Baechle
14 Jul, 2006
1 commit
-
Signed-off-by: Ralf Baechle
---
01 Jul, 2006
1 commit
-
Signed-off-by: Jörn Engel
Signed-off-by: Adrian Bunk
28 Jun, 2006
1 commit
-
Based on a patch series originally from Vivek Goyal
Cc: Vivek Goyal
Signed-off-by: Andrew Morton
Signed-off-by: Greg Kroah-Hartman
20 Jun, 2006
1 commit
-
Historically plat_mem_setup did the entire platform initialization. This
was rather impractical because it meant plat_mem_setup had to get away
without any kind of memory allocator. To keep old code from breaking
plat_setup was just renamed to plat_setup and a second platform
initialization hook for anything else was introduced.Signed-off-by: Ralf Baechle
19 Apr, 2006
1 commit
-
Saves like 1,600 lines of code, is way easier to debug, compilers
frequently do a better job than the cut and paste type of handlers many
boards had. And finally having all the stuff done in a single place
also means alot of bug potencial for the MT ASE is gone.The only surviving handler in assembler is the DECstation one; I hope
Maciej will rewrite it.Signed-off-by: Ralf Baechle
28 Mar, 2006
1 commit
-
Fix the collision of rtc function name.
Signed-off-by: Yoichi Yuasa
Cc: Alessandro Zummo
Cc: Ralf Baechle
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
28 Feb, 2006
1 commit
-
A recent change requires cpu_possible_map to be initialized before
smp_sched_init() but most MIPS platforms were initializing their
processors in the prom_prepare_cpus callback of smp_prepare_cpus. The
simple fix of calling prom_prepare_cpus from one of the earlier SMP
initialization hooks doesn't work well either since IPIs may require
init_IRQ() to have completed, so bit the bullet and split
prom_prepare_cpus into two initialization functions, plat_smp_setup
which is called early from setup_arch and plat_prepare_cpus called where
prom_prepare_cpus used to be called.Signed-off-by: Ralf Baechle
22 Feb, 2006
1 commit
-
Signed-off-by: Ralf Baechle
09 Feb, 2006
1 commit
07 Feb, 2006
1 commit
-
Signed-off-by: Ralf Baechle
05 Feb, 2006
1 commit
-
Convert usage of ASYNC_* to UPF_*.
Signed-off-by: Russell King