History log of /arch/mips/kernel/cevt-gt641xx.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
8b5690f8847490c1e3ea47266819833a13621253 22-Nov-2011 Yong Zhang <yong.zhang0@gmail.com> MIPS: irq: Remove IRQF_DISABLED

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 <yong.zhang0@gmail.com>
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 <ralf@linux-mips.org>
/arch/mips/kernel/cevt-gt641xx.c
ca4d3e6746bdcfccb517349bce2d2c5b5614fb6f 07-Oct-2010 David Howells <dhowells@redhat.com> MIPS: Add missing #inclusions of <linux/irq.h>

Add missing #inclusions of <linux/irq.h> to a whole bunch of files that should
really include it. Note that this can replace #inclusions of <asm/irq.h>.

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 <linux/interrupt.h>

Signed-off-by: David Howells <dhowells@redhat.com>
Acked-by: Ralf Baechle <ralf@linux-mips.org>
/arch/mips/kernel/cevt-gt641xx.c
34ee4148472996c5fd25fbb5697982914cfe955a 27-Feb-2010 Ralf Baechle <ralf@linux-mips.org> MIPS: GT641xx: Convert timer lock to raw spinlock.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
/arch/mips/kernel/cevt-gt641xx.c
f45e5183618e41e3c8dbf87b74dc47d0c531462a 08-Oct-2009 Wu Zhangjin <wuzhangjin@gmail.com> MIPS: Add IRQF_TIMER flag for timer interrupts

Along the lines of d6c585a4342a2ff627a29f9aea77c5ed4cd76023, add IRQF_TIMER
flag for all timer interrupts This ensures that timer interrupts won't be
disabled on suspend and not threaded for PREEMPT_RT.

Signed-off-by: Wu Zhangjin <wuzhangjin@gmail.com>
Acked-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
/arch/mips/kernel/cevt-gt641xx.c
ada8e9514b5880f81cdbbd212d121380ceef7acc 02-Jul-2009 Yoichi Yuasa <yuasa@linux-mips.org> Update Yoichi Yuasa's e-mail address

Signed-off-by: Yoichi Yuasa <yuasa@linux-mips.org>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
/arch/mips/kernel/cevt-gt641xx.c
320ab2b0b1e08e3805a3e1084a2f0eb1938d5d67 13-Dec-2008 Rusty Russell <rusty@rustcorp.com.au> cpumask: convert struct clock_event_device to cpumask pointers.

Impact: change calling convention of existing clock_event APIs

struct clock_event_timer's cpumask field gets changed to take pointer,
as does the ->broadcast function.

Another single-patch change. For safety, we BUG_ON() in
clockevents_register_device() if it's not set.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Cc: Ingo Molnar <mingo@elte.hu>
/arch/mips/kernel/cevt-gt641xx.c
855808392adf499a29e6bdb418f9474726ecbace 24-Apr-2008 Atsushi Nemoto <anemo@mba.ocn.ne.jp> [MIPS] cevt-gt641xx: Kill unnecessary include

Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
/arch/mips/kernel/cevt-gt641xx.c
11c03a6faa471ae37f4fd3db79389ae6297b66db 23-Oct-2007 Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp> [MIPS] time: set clock before clockevent_delta2ns() in GT641xx.

clockevent_delta2ns() use the shift and mult value, so
clockevent_set_clock() should be called first.
Pointed out by Atsushi Nemoto.

Signed-off-by: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
/arch/mips/kernel/cevt-gt641xx.c
c984c87826a6e3b2adae1fab8d5bddcf26af8c78 23-Oct-2007 Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp> [MIPS] time: Use non-interrupt locks in GT641xx clockevent driver

set_next_event() and set_mode() are always called with interrupt disabled.
irqsave and irqrestore are not necessary for spinlock.
Pointed out by Atsushi Nemoto.

Signed-off-by: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
/arch/mips/kernel/cevt-gt641xx.c
1097c6ac33defae6cf501b7919c23faf240601f0 22-Oct-2007 Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp> [MIPS] time: Add GT641xx timer0 clockevent driver

And make use of it for Cobalt. A few others such as the Malta could make
use of it as well.

Signed-off-by: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
/arch/mips/kernel/cevt-gt641xx.c