08 Dec, 2011
2 commits
-
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 -
SGI IP22/IP28 machines have GIO busses for adding graphics and other
extension cards. This patch adds support for GIO driver/device
handling and converts the newport console driver to a GIO driver.[ralf@linux-mips.org: Fixed build error caused by the modules.h -> export.h
changes.]Signed-off-by: Thomas Bogendoerfer
Acked-by: Florian Tobias Schandinat
To: linux-fbdev@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/2886/
Signed-off-by: Ralf Baechle
21 Sep, 2011
1 commit
-
Mark interrupts with no_action handler, cascade interrupts, low level
interrupts (bus error, halt ..) with IRQF_NO_THREAD to exclude them
from forced threading.Signed-off-by: Wu Zhangjin
Signed-off-by: Thomas Gleixner
Cc: linux-mips@linux-mips.org
Cc: Wu Zhangjin
Signed-off-by: Ralf Baechle
09 Jun, 2011
1 commit
-
Signed-off-by: Ralf Baechle
Cc: linux-mips@linux-mips.org
Link: http://lkml.kernel.org/r/20110601180610.054254048@duck.linux-mips.net
Signed-off-by: Thomas Gleixnerarch/arm/mach-footbridge/isa-timer.c | 2 +-
arch/mips/cobalt/time.c | 2 +-
arch/mips/jazz/irq.c | 2 +-
arch/mips/kernel/i8253.c | 2 +-
arch/mips/mti-malta/malta-time.c | 2 +-
arch/mips/sgi-ip22/ip22-time.c | 2 +-
arch/mips/sni/time.c | 2 +-
arch/x86/kernel/apic/apic.c | 2 +-
arch/x86/kernel/apm_32.c | 2 +-
arch/x86/kernel/hpet.c | 2 +-
arch/x86/kernel/i8253.c | 2 +-
arch/x86/kernel/time.c | 2 +-
drivers/block/hd.c | 2 +-
drivers/clocksource/i8253.c | 2 +-
drivers/input/gameport/gameport.c | 2 +-
drivers/input/joystick/analog.c | 2 +-
drivers/input/misc/pcspkr.c | 2 +-
include/linux/i8253.h | 11 +++++++++++
sound/drivers/pcsp/pcsp.h | 2 +-
19 files changed, 29 insertions(+), 18 deletions(-)
24 May, 2011
1 commit
-
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (39 commits)
b43: fix comment typo reqest -> request
Haavard Skinnemoen has left Atmel
cris: typo in mach-fs Makefile
Kconfig: fix copy/paste-ism for dell-wmi-aio driver
doc: timers-howto: fix a typo ("unsgined")
perf: Only include annotate.h once in tools/perf/util/ui/browsers/annotate.c
md, raid5: Fix spelling error in comment ('Ofcourse' --> 'Of course').
treewide: fix a few typos in comments
regulator: change debug statement be consistent with the style of the rest
Revert "arm: mach-u300/gpio: Fix mem_region resource size miscalculations"
audit: acquire creds selectively to reduce atomic op overhead
rtlwifi: don't touch with treewide double semicolon removal
treewide: cleanup continuations and remove logging message whitespace
ath9k_hw: don't touch with treewide double semicolon removal
include/linux/leds-regulator.h: fix syntax in example code
tty: fix typo in descripton of tty_termios_encode_baud_rate
xtensa: remove obsolete BKL kernel option from defconfig
m68k: fix comment typo 'occcured'
arch:Kconfig.locks Remove unused config option.
treewide: remove extra semicolons
...
11 May, 2011
2 commits
-
CC arch/mips/sgi-ip22/ip22-platform.o
arch/mips/sgi-ip22/ip22-platform.c: In function 'sgiseeq_devinit':
arch/mips/sgi-ip22/ip22-platform.c:135:15: error: variable 'tmp' set but not used [-Werror=unused-but-set-variable]
cc1: all warnings being treated as errorsWhile at it rename the variable to pbdma for readability; there is a
local variable tmp of different type being used in two nested blocks.Signed-off-by: Ralf Baechle
-
CC arch/mips/sgi-ip22/ip22-time.o
arch/mips/sgi-ip22/ip22-time.c: In function 'dosample':
arch/mips/sgi-ip22/ip22-time.c:35:10: error: variable 'lsb' set but not used [-Werror=unused-but-set-variable]
cc1: all warnings being treated as errorsSigned-off-by: Ralf Baechle
26 Apr, 2011
1 commit
-
Fast-forwarded to current state of Linus' tree as there are patches to be
applied for files that didn't exist on the old branch.
06 Apr, 2011
1 commit
-
Signed-off-by: Justin P. Mattock
Acked-by: David S. Miller
Signed-off-by: Jiri Kosina
29 Mar, 2011
1 commit
-
Scripted with coccinelle.
Signed-off-by: Thomas Gleixner
26 Mar, 2011
1 commit
-
Signed-off-by: Thomas Gleixner
To: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/2202/
Signed-off-by: Ralf Baechle
05 Aug, 2010
1 commit
-
Signed-off-by: Ralf Baechle
01 May, 2010
1 commit
-
The MIPS implementation of die() forgets to call notify_die() and thus notifiers
registered via register_die_notifier() are not called. This results in kgdb not
being activated on exceptions.The only subtlety is that notify_die declares its regs argument w/o const, so
the const had to be removed from mips die() as well.[Ralf: Fixed build error for SGI IP22 and IP28 platforms.]
Signed-off-by: Yury Polyanskiy
Cc: linux-mips@linux-mips.org
Patchworks: http://patchwork.linux-mips.org/patch/1142/
Acked-by: Jason Wessel
Signed-off-by: Ralf Baechle---
17 Dec, 2009
2 commits
-
Several static uninitialized variables are used in the scope of __init
functions but are themselves not marked as __initdata. This patch is to put
those variables to where they belong and to reduce the memory footprint a
little bit.Also, a couple of lines with spaces instead of tabs were fixed.
Signed-off-by: Dmitri Vorobiev
Cc: linux-mips@linux-mips.org
Patchwork: http://patchwork.linux-mips.org/patch/698/
Acked-by: Florian Fainelli
Signed-off-by: Ralf Baechle -
This patch add a new section for MIPS to record the block of the hardirq
handling for function graph tracer(print_graph_irq) via adding the
__irq_entry annotation to the the entrypoints of the hardirqs(the block
with irq_enter()...irq_exit()).Thanks goes to Steven & Frederic Weisbecker for their feedbacks.
Signed-off-by: Wu Zhangjin
Cc: Steven Rostedt
Cc: Nicholas Mc Guire
Cc: zhangfx@lemote.com
Cc: Wu Zhangjin
Cc: Ingo Molnar
Cc: Thomas Gleixner
Cc: Frederic Weisbecker
Cc: linux-kernel@vger.kernel.org
Cc: linux-mips@linux-mips.org
Reviewed-by: Frederic Weisbecker
Patchwork: http://patchwork.linux-mips.org/patch/676/
Signed-off-by: Ralf Baechle
18 Sep, 2009
1 commit
-
Signed-off-by: Ralf Baechle
21 May, 2009
1 commit
-
The hang was caused by the use of disable_irq() from the interrupt handler
itself. Fixed by the use of disable_irq_nosync(). The issue was
triggered by:commit 3aa551c9b4c40018f0e261a178e3d25478dc04a9
Author: Thomas Gleixner
Date: Mon Mar 23 18:28:15 2009 +0100genirq: add threaded interrupt handler support
Signed-off-by: Ralf Baechle
15 Jan, 2009
1 commit
-
Impact: fix build errors
Since the SPARSE IRQS changes redefined how the kstat irqs are
organized, arch's must use the new accessor function:kstat_incr_irqs_this_cpu(irq, DESC);
If CONFIG_SPARSE_IRQS is set, then DESC is a pointer to the
irq_desc which has a pointer to the kstat_irqs. If not, then
the .irqs field of struct kernel_stat is used instead.Signed-off-by: Mike Travis
Signed-off-by: Ingo Molnar
28 Oct, 2008
2 commits
-
Signed-off-by: Ralf Baechle
-
The following functions
disable_local1_irq()
disable_local2_irq()
disable_local3_irq()are needlessly defined global, so make them static. While at it, fix a
whitespace error in the same file.Signed-off-by: Dmitri Vorobiev
Signed-off-by: Ralf Baechle
15 Oct, 2008
1 commit
-
This patchset removes some dead code and creates a platform device
for the RTC class driver.Signed-off-by: Thomas Bogendoerfer
Signed-off-by: Ralf Baechle
09 Sep, 2008
1 commit
-
The second HPC3 could be found only on Guiness systems (Challenge-S),
but not on fullhouse (Indigo2) systems.Signed-off-by: Thomas Bogendoerfer
Signed-off-by: Ralf Baechle
31 Jul, 2008
1 commit
-
This patch explicitly removes the kgdb implementation, for mips which
is intended to be followed by a patch that adds a kgdb implementation
for MIPS that makes use of the kgdb core in the kernel.Signed-off-by: Jason Wessel
Signed-off-by: Ralf Baechle
20 Jul, 2008
2 commits
-
Commit 3e6ea3b0d7a93550a93a265e732413d3a5aaf0d2 (linux-mips.org) /
52f4f6bbcff5510f662a002ec1219660ea25af62 (kernel.org)
([MIPS] Use kernel-supplied ARRAY_SIZE() macro.)
causes the following compile error:...
CC arch/mips/sgi-ip22/ip28-berr.o
/home/bunk/linux/kernel-2.6/git/linux-2.6/arch/mips/sgi-ip22/ip28-berr.c: In function 'ip28_be_interrupt':
/home/bunk/linux/kernel-2.6/git/linux-2.6/arch/mips/sgi-ip22/ip28-berr.c:415: error: subscripted value is neither array nor pointer
/home/bunk/linux/kernel-2.6/git/linux-2.6/arch/mips/sgi-ip22/ip28-berr.c:415: error: subscripted value is neither array nor pointer
/home/bunk/linux/kernel-2.6/git/linux-2.6/arch/mips/sgi-ip22/ip28-berr.c:415: warning: type defaults to 'int' in declaration of 'type name'
/home/bunk/linux/kernel-2.6/git/linux-2.6/arch/mips/sgi-ip22/ip28-berr.c:424: error: subscripted value is neither array nor pointer
/home/bunk/linux/kernel-2.6/git/linux-2.6/arch/mips/sgi-ip22/ip28-berr.c:424: error: subscripted value is neither array nor pointer
/home/bunk/linux/kernel-2.6/git/linux-2.6/arch/mips/sgi-ip22/ip28-berr.c:424: warning: type defaults to 'int' in declaration of 'type name'
make[2]: *** [arch/mips/sgi-ip22/ip28-berr.o] Error 1Using ARRAY_SIZE in these places in arch/mips/sgi-ip22/ip28-berr.c was
bogus, and therefore gets reverted by this patch.Signed-off-by: Adrian Bunk
Signed-off-by: Ralf Baechle -
Use the Indy/O2 button driver.
Signed-off-by: Thomas Bogendoerfer
Signed-off-by: Ralf Baechle
16 Jul, 2008
4 commits
-
Create platform device for Indy volume buttons and remove button
handling from ip22-reset.cSigned-off-by: Thomas Bogendoerfer
Signed-off-by: Ralf Baechle -
Create platform devices for hal2 and add option for selecting HAL2 alsa
driver.Signed-off-by: Thomas Bogendoerfer
Signed-off-by: Ralf Baechle -
SGI-IP28 is running in so called slow mode, when kernel is started
from the PROM. PROM calls must be done in slow mode otherwise the
PROM will issue an error. To get better memory performance we now
switch to normal mode, when the PROM is no longer needed.Signed-off-by: Thomas Bogendoerfer
Signed-off-by: Ralf Baechle -
Signed-off-by: Robert P. J. Day
Signed-off-by: Ralf Baechle
29 Jan, 2008
1 commit
-
Add support for SGI IP28 machines (Indigo 2 with R10k CPUs)
This work is mainly based on Peter Fuersts work.Signed-off-by: Thomas Bogendoerfer
Signed-off-by: Ralf Baechle
30 Nov, 2007
1 commit
-
- fix lockup when switching from early console to real console
- make sysrq reliable
- fix panic, if sysrq is issued before console is openedSigned-off-by: Thomas Bogendoerfer
Acked-by: Ralf Baechle
Cc: Alan Cox
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
27 Nov, 2007
2 commits
-
Signed-off-by: Thomas Bogendoerfer
Signed-off-by: Ralf Baechle -
Signed-off-by: Thomas Bogendoerfer
Signed-off-by: Ralf Baechle
18 Oct, 2007
1 commit
-
As IP22 is now using do_IRQ for timer interrupt, don't mess with
interrupt handler any longerSigned-off-by: Thomas Bogendoerfer
Signed-off-by: Ralf Baechle
17 Oct, 2007
2 commits
-
Signed-off-by: Ralf Baechle
-
This fixes the warning:
CC arch/mips/sgi-ip22/ip22-reset.o
arch/mips/sgi-ip22/ip22-reset.c: In function 'reboot_setup':
arch/mips/sgi-ip22/ip22-reset.c:239: warning: ignoring return value of 'request_irq', declared with attribute warn_unused_resultSigned-off-by: Ralf Baechle
12 Oct, 2007
4 commits
-
Signed-off-by: Ralf Baechle
-
Derived from the i386 variant with a few x86 complexities chopped off.
Signed-off-by: Ralf Baechle
-
Signed-off-by: Ralf Baechle
-
Signed-off-by: Ralf Baechle