08 Dec, 2011

1 commit

  • Since commit [e58aa3d2: genirq: Run irq handlers with interrupts disabled],
    We run all interrupt handlers with interrupts disabled and we even check
    and yell when an interrupt handler returns with interrupts enabled (see
    commit [b738a50a: genirq: Warn when handler enables interrupts]).

    So now this flag is a NOOP and can be removed.

    [ralf@linux-mips.org: Fixed up conflicts in
    arch/mips/alchemy/common/dbdma.c, arch/mips/cavium-octeon/smp.c and
    arch/mips/kernel/perf_event.c.]

    Signed-off-by: Yong Zhang
    To: linux-kernel@vger.kernel.org
    Cc: tglx@linutronix.de
    linux-mips@linux-mips.org
    Patchwork: https://patchwork.linux-mips.org/patch/2835/
    Signed-off-by: Ralf Baechle

    Yong Zhang
     

21 Sep, 2011

1 commit


29 Mar, 2011

1 commit


26 Mar, 2011

1 commit


14 Jan, 2011

1 commit

  • Occasionally the system gets into a state where the CMOS clock has gotten
    slightly ahead of current time and the periodic update of RTC fails. The
    message is a nuisance and repeats spamming the log.

    See: http://www.ntp.org/ntpfaq/NTP-s-trbl-spec.htm#Q-LINUX-SET-RTC-MMSS

    Rather than just removing the message, make it show only once and reduce
    severity since it indicates a normal and non urgent condition.

    Signed-off-by: Stephen Hemminger
    Cc: Richard Henderson
    Cc: Ivan Kokshaysky
    Cc: Matt Turner
    Cc: Ralf Baechle
    Cc: David Howells
    Cc: Paul Mundt
    Cc: Ingo Molnar
    Cc: "H. Peter Anvin"
    Cc: Thomas Gleixner
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Stephen Hemminger
     

22 Oct, 2010

1 commit

  • * git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-2.6-irqflags:
    Fix IRQ flag handling naming
    MIPS: Add missing #inclusions of
    smc91x: Add missing #inclusion of
    Drop a couple of unnecessary asm/system.h inclusions
    SH: Add missing consts to sys_execve() declaration
    Blackfin: Rename IRQ flags handling functions
    Blackfin: Add missing dep to asm/irqflags.h
    Blackfin: Rename DES PC2() symbol to avoid collision
    Blackfin: Split the BF532 BFIN_*_FIO_FLAG() functions to their own header
    Blackfin: Split PLL code from mach-specific cdef headers

    Linus Torvalds
     

20 Oct, 2010

1 commit

  • When running make clean, Kbuild doesn't process the .config file, so nothing
    generates a platform-y variable. We can get it to descend into the platform
    directories by setting $(obj-).

    The dec Platform file was unconditionally setting platform-, obliterating
    its previous contents and preventing some directories from being cleaned.
    This is change to an append operation '+=' to allow cavium-octeon to be
    cleaned.

    Signed-off-by: David Daney
    Cc: Sam Ravnborg
    Patchwork: https://patchwork.linux-mips.org/patch/1718/
    Signed-off-by: Ralf Baechle

    David Daney
     

07 Oct, 2010

1 commit

  • Add missing #inclusions of to a whole bunch of files that should
    really include it. Note that this can replace #inclusions of .

    This is required for the patch to sort out irqflags handling function naming to
    compile on MIPS.

    The problem is that these files require access to things like setup_irq() -
    which isn't available by #including

    Signed-off-by: David Howells
    Acked-by: Ralf Baechle

    David Howells
     

05 Aug, 2010

2 commits


27 Feb, 2010

3 commits


19 Sep, 2009

1 commit

  • * 'timers-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip: (34 commits)
    time: Prevent 32 bit overflow with set_normalized_timespec()
    clocksource: Delay clocksource down rating to late boot
    clocksource: clocksource_select must be called with mutex locked
    clocksource: Resolve cpu hotplug dead lock with TSC unstable, fix crash
    timers: Drop a function prototype
    clocksource: Resolve cpu hotplug dead lock with TSC unstable
    timer.c: Fix S/390 comments
    timekeeping: Fix invalid getboottime() value
    timekeeping: Fix up read_persistent_clock() breakage on sh
    timekeeping: Increase granularity of read_persistent_clock(), build fix
    time: Introduce CLOCK_REALTIME_COARSE
    x86: Do not unregister PIT clocksource on PIT oneshot setup/shutdown
    clocksource: Avoid clocksource watchdog circular locking dependency
    clocksource: Protect the watchdog rating changes with clocksource_mutex
    clocksource: Call clocksource_change_rating() outside of watchdog_lock
    timekeeping: Introduce read_boot_clock
    timekeeping: Increase granularity of read_persistent_clock()
    timekeeping: Update clocksource with stop_machine
    timekeeping: Add timekeeper read_clock helper functions
    timekeeping: Move NTP adjusted clock multiplier to struct timekeeper
    ...

    Fix trivial conflict due to MIPS lemote -> loongson renaming.

    Linus Torvalds
     

18 Sep, 2009

1 commit


15 Aug, 2009

1 commit

  • The persistent clock of some architectures (e.g. s390) have a
    better granularity than seconds. To reduce the delta between the
    host clock and the guest clock in a virtualized system change the
    read_persistent_clock function to return a struct timespec.

    Signed-off-by: Martin Schwidefsky
    Cc: Ingo Molnar
    Acked-by: John Stultz
    Cc: Daniel Walker
    LKML-Reference:
    Signed-off-by: Thomas Gleixner

    Martin Schwidefsky
     

04 Aug, 2009

1 commit

  • They tend to get not updated when files are moved around or copied and
    lack any obvious use. While at it zap some only too obvious comments and
    as per Shinya's suggestion, add a copyright header to extable.c.

    Signed-off-by: Ralf Baechle
    Acked-by: Shinya Kuribayashi
    Acked-by: Thadeu Lima de Souza Cascardo

    Ralf Baechle
     

20 Oct, 2008

1 commit

  • Changes mips to use the new bcd2bin/bin2bcd functions instead of the
    obsolete BCD_TO_BIN/BIN_TO_BCD/BCD2BIN/BIN2BCD macros.

    Signed-off-by: Adrian Bunk
    Cc: Ralf Baechle
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Adrian Bunk
     

29 Apr, 2008

2 commits


29 Jan, 2008

1 commit


12 Oct, 2007

4 commits


20 Sep, 2007

1 commit


01 Aug, 2007

1 commit


11 Jul, 2007

2 commits

  • This is an optimised implementation of early printk() for the DECstation.
    After the recent conversion to a MIPS-specific generic routine using a
    character-by-character output the performance dropped significantly.
    This change reverts to the previous speed -- even at 9600 bps of the
    serial console the difference is visible with a naked eye; I presume for a
    framebuffer it is even worse (it may depend on exactly which one is used
    though).

    Additionally the change includes a fix for a problem that the old
    implementation had -- the format used would not actually limit the length
    of the string output. This new implementation uses a local buffer to deal
    with it -- even with this additional copying it is much faster than the
    generic function.

    Plus this driver is registered much earlier than the generic one,
    allowing one to see critical messages, such as one about an incorrect CPU
    setting used, that are produced beforehand. :-)

    Signed-off-by: Maciej W. Rozycki
    Signed-off-by: Ralf Baechle

    Maciej W. Rozycki
     
  • Convert old/obsolete NORET_TYPE and ATTRIB_NORET macros to use the
    newer standard of "__noreturn" as defined in compiler-gcc.h.

    Signed-off-by: Robert P. J. Day
    Signed-off-by: Ralf Baechle

    Robert P. J. Day
     

09 Mar, 2007

1 commit


05 Mar, 2007

2 commits


27 Feb, 2007

1 commit

  • Many Makefiles in arch/mips have EXTRA_AFLAGS := $(CFLAGS) line. This
    is redundant while AFLAGS contains $(cflags-y) and any options only
    listed in CFLAGS (not in cflags-y) should be unnecessary for asm
    sources.

    Signed-off-by: Atsushi Nemoto
    Signed-off-by: Ralf Baechle

    Atsushi Nemoto
     

14 Feb, 2007

1 commit

  • When I post a patch (commit f431baa55abf8adeed0c718b51deacbc151f58f1),
    I just tried to not change behavior of existing codes, but it seems
    dec/int-handler.S had been broken since its previous commit
    937a801576f954bd030d7c4a5a94571710d87c0b.

    The caller of plat_irq_dispatch do setup/restore TI_REGS($28), so
    dec's plat_irq_dispatch should not do it, and there is no need to
    adjust RA.

    Signed-off-by: Atsushi Nemoto
    Signed-off-by: Ralf Baechle

    Atsushi Nemoto
     

10 Feb, 2007

1 commit

  • This is the platform-specific part of TURBOchannel bus support for the
    DECstation. It implements determining whether the bus is actually there,
    getting bus parameters, IRQ assignments for devices and protected accesses
    to possibly unoccupied slots that may trigger bus error exceptions.

    Signed-off-by: Maciej W. Rozycki
    Signed-off-by: Andrew Morton
    Signed-off-by: Ralf Baechle

    Maciej W. Rozycki
     

07 Feb, 2007

3 commits

  • The "typename" field was obsoleted by the "name" field.

    Signed-off-by: Atsushi Nemoto
    Signed-off-by: Ralf Baechle

    Atsushi Nemoto
     
  • 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

    Atsushi Nemoto
     
  • 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

    Atsushi Nemoto
     

25 Jan, 2007

1 commit


07 Dec, 2006

1 commit