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
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
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/2178/
Signed-off-by: Ralf Baechle
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
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
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
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 #includingSigned-off-by: David Howells
Acked-by: Ralf Baechle
05 Aug, 2010
2 commits
-
Signed-off-by: Ralf Baechle
-
arch/mips/dec/promcon.c:37: ERROR: that open brace { should be on the previous line
Signed-off-by: Andrea Gelmini
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/1270/
Signed-off-by: Ralf Baechle
27 Feb, 2010
3 commits
-
Signed-off-by: Ralf Baechle
-
Signed-off-by: Ralf Baechle
-
Recent git versions now warn about those and they've always been a bit of
an annoyance.Signed-off-by: Ralf Baechle
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.
18 Sep, 2009
1 commit
-
Signed-off-by: Ralf Baechle
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
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
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
29 Apr, 2008
2 commits
-
Signed-off-by: Yoichi Yuasa
Signed-off-by: Ralf Baechle -
Add DECstation I/O ASIC clocksource
Signed-off-by: Yoichi Yuasa
Signed-off-by: Ralf Baechle
29 Jan, 2008
1 commit
-
Signed-off-by: Yoichi Yuasa
Signed-off-by: Ralf Baechle
12 Oct, 2007
4 commits
-
This saves a few k on systems which only ever ship with a single CPU type.
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
-
This has not been any serious user of this ill conceived thing since the
original invention in like '95.Signed-off-by: Ralf Baechle
-
Signed-off-by: Maciej W. Rozycki
Signed-off-by: Ralf Baechle
20 Sep, 2007
1 commit
-
Fix the definition of the ioasic_ssr_lock spinlock to include a proper
initialisation.Signed-off-by: Maciej W. Rozycki
Signed-off-by: Ralf Baechle
01 Aug, 2007
1 commit
-
Signed-off-by: Ralf Baechle
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 -
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
09 Mar, 2007
1 commit
-
Register_prom_console was removed when mips was converted to early printk.
Signed-off-by: Ralf Baechle
05 Mar, 2007
2 commits
-
early_printk is a so much saner thing.
Signed-off-by: Ralf Baechle
-
Signed-off-by: Ralf Baechle
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
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
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
07 Feb, 2007
3 commits
-
The "typename" field was obsoleted by the "name" field.
Signed-off-by: Atsushi Nemoto
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
25 Jan, 2007
1 commit
-
While at it, change message on DEC for consistency.
Signed-off-by: Thiemo Seufer
Signed-off-by: Ralf Baechle
07 Dec, 2006
1 commit
-
A fixup to add missing header inclusions for bus error handlers for
DECstation system after the recent switch to get_irq_regs().Signed-off-by: Maciej W. Rozycki
Signed-off-by: Ralf Baechle