29 Mar, 2011
1 commit
-
Scripted with coccinelle.
Signed-off-by: Thomas Gleixner
27 Oct, 2010
1 commit
-
Signed-off-by: Paul Mundt
23 Sep, 2010
1 commit
-
Replace EXTRA_CFLAGS with ccflags-y.
Signed-off-by: matt mooney
Signed-off-by: Paul Mundt
05 Feb, 2010
1 commit
-
With the sparseirq conversion there was a stray irq_desc reference left
over, this tidies it up and brings the demuxer in line with what the
solution engine boards are doing.Signed-off-by: Paul Mundt
02 Feb, 2010
1 commit
-
Follows the se7724 change and converts the hd64461 IRQ handling to
sparseirq.Signed-off-by: Paul Mundt
26 Jan, 2010
1 commit
-
The old ctrl in/out routines are non-portable and unsuitable for
cross-platform use. While drivers/sh has already been sanitized, there
is still quite a lot of code that is not. This converts the arch/sh/ bits
over, which permits us to flag the routines as deprecated whilst still
building with -Werror for the architecture code, and to ensure that
future users are not added.Signed-off-by: Paul Mundt
20 May, 2009
1 commit
-
Fixes several compile errors due to the recent hd64461 I/O base changes.
Signed-off-by: Paul Mundt
15 May, 2009
1 commit
-
hd64461 is mapped in a fixed location, so the I/O base itself is fairly
meaningless as a configuration item. Additionally, this makes it
impossible to share hd64461 code alongside generic drivers (in the case
of sh_dac_audio), so simply make it commonly defined and permit the
mach_is_foo() logic to work out the proper semantics.Signed-off-by: Paul Mundt
20 Mar, 2009
1 commit
-
Rework the hd64461 demuxer code to fix the HD64461 level-triggered
interrupts handling, using handle_level_irq() as needed.Signed-off-by: Rafael Ignacio Zurita
Signed-off-by: Paul Mundt
22 Dec, 2008
1 commit
-
Use struct irq_chip for the interrupt handler for the HD64461. Also
convert some in{b,w} and out{b,w} calls to the equivalent __raw_* calls.
Include and not to stop checkpatch.pl
complaining.This change should now allow machines with HD64461 to define
GENERIC_HARDIRQS_NO__DO_IRQ.Acked-by: Kristoffer Ericson
Signed-off-by: Matt Fleming
Signed-off-by: Paul Mundt
28 Oct, 2008
1 commit
-
This code has been dead for many years. The last update it received
was in 2003 in order to update it for the driver model changes, though
it had already been in disarray and unused before that point. The only
boards that ever used this chip have not had users in many years either,
so it is finally safe to just kill it off and move on with life.Signed-off-by: Paul Mundt
14 Feb, 2008
1 commit
-
Reported-by: Robert P. J. Day
Signed-off-by: Paul Mundt
28 Jan, 2008
2 commits
-
This patch removes redundant irq handling code together with unused
consistent alloc code. R2D uart setup code is changed to use
sm501-regs.h and unused header files are removed.Signed-off-by: Magnus Damm
Signed-off-by: Paul Mundt -
This patch removes interrupt priority tables from the intc code.
Optimal priority assignment varies with embedded application anyway,
so keeping the interrupt priority tables together with cpu-specific
code doesn't make sense.The function intc_set_priority() should be used instead to set the
desired interrupt priority level.Signed-off-by: Magnus Damm
Signed-off-by: Paul Mundt
07 Nov, 2007
1 commit
-
Follow the MIPS and sparc64 changes for -Werror instrumentation.
Signed-off-by: Paul Mundt
03 Oct, 2007
1 commit
-
Signed-off-by: Thomas Gleixner
Signed-off-by: Andrew Morton
Signed-off-by: Paul Mundt
21 Sep, 2007
5 commits
-
Some trivial fixes to get SH7709 + HD64461 building again.
Signed-off-by: Kristoffer Ericson
Signed-off-by: Paul Mundt -
With the intc core improved it is now possible to put the intc data
structures in the initdata section.Version two of this patch puts the __initdata inside DECLARE_INTC_DESC()
and removes the __initdata included in the board specific r2d code.Signed-off-by: Magnus Damm
Signed-off-by: Paul Mundt -
This patch replaces all instances of CONFIG_VOYAGERGX with
CONFIG_MFD_SM501. While at it we make sure the r2d code compiles
both with and without SM501.Signed-off-by: Magnus Damm
Signed-off-by: Paul Mundt -
This patch reworks the intc core, implementing the following features:
- Support dual priority registers - one set and one clear register
- All 8/16/32 bit register combinations are now supported
- Both single mask and single enable bitmap register are supported
- Add code to set interrupt priority
- Speedup sense and priority configuration code
- Allocate data using bootmem, allows intc data structures to be
__initdata
- Save memory - allocated memory footprint is smaller than intc
structuresSigned-off-by: Magnus Damm
Signed-off-by: Paul Mundt -
This patch converts the sh-specific voyagergx interrupt code to make use
of intc. A lot of "interesting" old cruft gets replaced with intc tables
and some simple demux code.- All interrupt sources in the sm501 data sheet are now in the header.
- The number and order of IRQ values are disconnected from register bits.
- Interrupt sources now start from IRQ 200.
- set_irq_chained_handler() is now used to hook up the demux function.In the future it would probably make sense to move the interrupt demuxer
into into the mfd driver, but this is probably a nice step in the right
direction until that happens.Tested on a R2D-1 board using the serial port hooked up to the sm501.
Signed-off-by: Magnus Damm
Signed-off-by: Paul Mundt
20 Jul, 2007
1 commit
-
Kill off the hd64461 io.c, as all of the hd64461 users are now
using the generic I/O routines.[ hd64461/ moved to hd64461.c by Paul ]
Signed-off-by: Kristoffer Ericson
Signed-off-by: Paul Mundt
11 Jun, 2007
1 commit
-
SH-2 can presently get in to some pretty bogus states, so
we tidy up the dependencies a bit and get it all building
again.This gets us a bit closer to a functional allyesconfig
and allmodconfig, though there are still a few things to
fix up.Signed-off-by: Paul Mundt
04 Jun, 2007
1 commit
-
pr_debug() was using a %x on an unsigned long, which was making
the build a bit noisy.Signed-off-by: Paul Mundt
15 Feb, 2007
1 commit
-
This tidies up some of the rts7751r2d mess and gets it booting
again. Update the defconfig, too.Signed-off-by: Masayuki Hosokawa
Signed-off-by: Paul Mundt
19 Oct, 2006
1 commit
-
Now with the ide.h mess sorted out, most of these boards
don't need their own directory. Move the headers out, and
update the driver paths.Signed-off-by: Paul Mundt
06 Oct, 2006
1 commit
-
Trivial fixes for build breakage introduced by IRQ handler changes.
Signed-off-by: Paul Mundt
27 Sep, 2006
6 commits
-
The generic hardirq layer already takes care of a lot of the
appropriate locking and disabling for us, no need to duplicate
it in the handlers..Signed-off-by: Paul Mundt
-
Other boards require this as well, so move it out of the
rts7751r2d directory.Signed-off-by: Paul Mundt
-
This adds the VoyagerGX UART to the RTS7751R2D setup
code, and cleans up a few build issues.Signed-off-by: Manuel Lauss
Signed-off-by: Paul Mundt -
This cleans up quite a lot of the PCI mess that we
currently have, and attempts to consolidate the
duplication in the SH7780 and SH7751 PCI controllers.Signed-off-by: Paul Mundt
-
This updates the various boards for some of the recent I/O routine
updates.Signed-off-by: Paul Mundt
-
With the I/O rework for hd64461 we're down to a single header,
so move it by itself and get rid of the directory.Signed-off-by: Paul Mundt
03 Jul, 2006
1 commit
-
Use the new IRQF_ constants and remove the SA_INTERRUPT define
Signed-off-by: Thomas Gleixner
Cc: Ingo Molnar
Cc: "David S. Miller"
Cc: Benjamin Herrenschmidt
Cc: Paul Mundt
Cc: Kazumoto Kojima
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
01 Jul, 2006
1 commit
-
Signed-off-by: Jörn Engel
Signed-off-by: Adrian Bunk
30 Jun, 2006
1 commit
-
This patch-queue improves the generic IRQ layer to be truly generic, by adding
various abstractions and features to it, without impacting existing
functionality.While the queue can be best described as "fix and improve everything in the
generic IRQ layer that we could think of", and thus it consists of many
smaller features and lots of cleanups, the one feature that stands out most is
the new 'irq chip' abstraction.The irq-chip abstraction is about describing and coding and IRQ controller
driver by mapping its raw hardware capabilities [and quirks, if needed] in a
straightforward way, without having to think about "IRQ flow"
(level/edge/etc.) type of details.This stands in contrast with the current 'irq-type' model of genirq
architectures, which 'mixes' raw hardware capabilities with 'flow' details.
The patchset supports both types of irq controller designs at once, and
converts i386 and x86_64 to the new irq-chip design.As a bonus side-effect of the irq-chip approach, chained interrupt controllers
(master/slave PIC constructs, etc.) are now supported by design as well.The end result of this patchset intends to be simpler architecture-level code
and more consolidation between architectures.We reused many bits of code and many concepts from Russell King's ARM IRQ
layer, the merging of which was one of the motivations for this patchset.This patch:
rename desc->handler to desc->chip.
Originally i did not want to do this, because it's a big patch. But having
both "desc->handler", "desc->handle_irq" and "action->handler" caused a
large degree of confusion and made the code appear alot less clean than it
truly is.I have also attempted a dual approach as well by introducing a
desc->chip alias - but that just wasnt robust enough and broke
frequently.So lets get over with this quickly. The conversion was done automatically
via scripts and converts all the code in the kernel.This renaming patch is the first one amongst the patches, so that the
remaining patches can stay flexible and can be merged and split up
without having some big monolithic patch act as a merge barrier.[akpm@osdl.org: build fix]
[akpm@osdl.org: another build fix]
Signed-off-by: Ingo Molnar
Signed-off-by: Thomas Gleixner
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
02 Feb, 2006
1 commit
-
Trivial patch updating the voyagergx cchip code to reference a platform device
instead, now that the dma mask is taken care of. Given this, there's no
longer any reason to drag around the SH-bus code, so kill that off entirely.Signed-off-by: Manuel Lauss
Signed-off-by: Paul Mundt
Cc: Greg KH
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
28 Oct, 2005
1 commit
-
Signed-off-by: Al Viro
Signed-off-by: Linus Torvalds
11 Sep, 2005
2 commits
-
Patch removes unnecessary min/max macros and changes calls to use kernel.h
macros instead.Signed-off-by: Michael Veeck
Signed-off-by: Maximilian Attems
Signed-off-by: Domen Puncer
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
Convert the initializers of hw_interrupt_type structures to C99 initializers.
Signed-off-by: Thomas Gleixner
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds