Dave Airlie
de1b28989e
drm/radeon/kms: cut down indirects in register accesses.
...
We really don't want to be doing all these indirects, updating
the GPU gart table is something we do often so the less overhead the
better.
Signed-off-by: Dave Airlie <airlied@redhat.com >
2009-08-16 08:36:34 +10:00
Michel Dänzer
7ed220d738
drm/radeon/kms: Fix up vertical blank interrupt support.
...
Fixes 3D apps timing out in the WAIT_VBLANK ioctl.
AVIVO bits compile-tested only.
Signed-off-by: Michel Dänzer <daenzer@vmware.com >
Signed-off-by: Dave Airlie <airlied@redhat.com >
2009-08-16 08:36:19 +10:00
Dave Airlie
3f8befec95
drm/radeon/kms: add rv530 R300_SU_REG_DEST + reloc for ZPASS_ADDR
...
These are needed for Occulsion Query support.
Signed-off-by: Dave Airlie <airlied@redhat.com >
2009-08-16 08:33:17 +10:00
Paul Mundt
1b3edd9745
sh: Merge the _32/_64 variants of arch/sh/mm/Makefile.
...
Now that there is sufficient shared infrastructure, merge the Makefiles.
Signed-off-by: Paul Mundt <lethal@linux-sh.org >
2009-08-16 03:49:21 +09:00
Paul Mundt
38f9ddf441
sh: Merge the _32/_64 variants of arch/sh/kernel/Makefile.
...
This uses the BITS export as per x86 in order to allow the same Makefile
to be used.
Signed-off-by: Paul Mundt <lethal@linux-sh.org >
2009-08-16 03:35:26 +09:00
Paul Mundt
2b4315185a
sh: Wire up sh5_cache_init().
...
Now that the SH-5 code is more or less behaving with the new cacheflush
interface, wire up the initialization code.
Signed-off-by: Paul Mundt <lethal@linux-sh.org >
2009-08-16 02:16:44 +09:00
Paul Mundt
8c41cdcaff
sh64: Kill off dead i/d-cache disabled bits.
...
These will be handled through the shared cache interface instead, and
they are presently undefined anyways.
Signed-off-by: Paul Mundt <lethal@linux-sh.org >
2009-08-16 02:15:50 +09:00
Josh Triplett
684ca5cc9a
rcu: Fix typo in rcu_irq_exit() comment header
...
Signed-off-by: Josh Triplett <josh@joshtriplett.org >
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com >
Cc: laijs@cn.fujitsu.com
Cc: dipankar@in.ibm.com
Cc: josht@linux.vnet.ibm.com
Cc: akpm@linux-foundation.org
Cc: mathieu.desnoyers@polymtl.ca
Cc: dvhltc@us.ibm.com
Cc: niv@us.ibm.com
Cc: peterz@infradead.org
Cc: rostedt@goodmis.org
Cc: hugh.dickins@tiscali.co.uk
Cc: benh@kernel.crashing.org
LKML-Reference: <1250355231169-git-send-email->
Signed-off-by: Ingo Molnar <mingo@elte.hu >
2009-08-15 19:02:09 +02:00
Paul E. McKenney
b612ba804b
rcu: Make rcupreempt_trace.c look at offline CPUs
...
Given that offline CPUs can now have non-zero counters, we need
to dump counters for offline CPUs as well as for online CPUs.
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com >
Cc: laijs@cn.fujitsu.com
Cc: dipankar@in.ibm.com
Cc: josht@linux.vnet.ibm.com
Cc: akpm@linux-foundation.org
Cc: mathieu.desnoyers@polymtl.ca
Cc: dvhltc@us.ibm.com
Cc: niv@us.ibm.com
Cc: peterz@infradead.org
Cc: rostedt@goodmis.org
Cc: hugh.dickins@tiscali.co.uk
Cc: benh@kernel.crashing.org
LKML-Reference: <12503552313921-git-send-email->
Signed-off-by: Ingo Molnar <mingo@elte.hu >
2009-08-15 19:02:09 +02:00
Paul E. McKenney
8064d54929
rcu: Make preemptable RCU scan all CPUs when summing RCU counters
...
This patch eliminates the counter-moving during CPU-offline
notifiers, eliminating potential confusion if counters are
scanned during counter-movement process.
This confusion could result in premature ending of an RCU grace
period. For example, if there are two tasks in RCU read-side
critical sections (so that the sum of the counters is two), and
the counter for the CPU going offline is -2, then moving the
count to another CPU can result in the sum momentarily
appearing to be zero. Since there are no memory barriers in
either case, many more such scenarios are possible.
So just don't move the counts!!!
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com >
Cc: laijs@cn.fujitsu.com
Cc: dipankar@in.ibm.com
Cc: josht@linux.vnet.ibm.com
Cc: akpm@linux-foundation.org
Cc: mathieu.desnoyers@polymtl.ca
Cc: dvhltc@us.ibm.com
Cc: niv@us.ibm.com
Cc: peterz@infradead.org
Cc: rostedt@goodmis.org
Cc: hugh.dickins@tiscali.co.uk
Cc: benh@kernel.crashing.org
LKML-Reference: <12503552312863-git-send-email->
Signed-off-by: Ingo Molnar <mingo@elte.hu >
2009-08-15 19:02:08 +02:00
Paul E. McKenney
2e59755808
rcu: Simplify RCU CPU-hotplug notification
...
Use the new cpu_notifier() API to simplify RCU's CPU-hotplug
notifiers, collapsing down to a single such notifier.
This makes it trivial to provide the notifier-ordering
guarantee that rcu_barrier() depends on.
Also remove redundant open_softirq() calls from Hierarchical
RCU notifier.
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com >
Cc: laijs@cn.fujitsu.com
Cc: dipankar@in.ibm.com
Cc: josht@linux.vnet.ibm.com
Cc: akpm@linux-foundation.org
Cc: mathieu.desnoyers@polymtl.ca
Cc: dvhltc@us.ibm.com
Cc: niv@us.ibm.com
Cc: peterz@infradead.org
Cc: rostedt@goodmis.org
Cc: hugh.dickins@tiscali.co.uk
Cc: benh@kernel.crashing.org
LKML-Reference: <12503552312510-git-send-email->
Signed-off-by: Ingo Molnar <mingo@elte.hu >
2009-08-15 19:02:08 +02:00
Paul E. McKenney
799e64f05f
cpu hotplug: Introduce cpu_notifier() to handle !HOTPLUG_CPU case
...
This patch introduces a new cpu_notifier() API that is similar
to hotcpu_notifier(), but which also notifies of CPUs coming
online during boot in the !HOTPLUG_CPU case.
Reported-by: Ingo Molnar <mingo@elte.hu >
Reported-by: Hugh Dickins <hugh.dickins@tiscali.co.uk >
Tested-by: Hugh Dickins <hugh.dickins@tiscali.co.uk >
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com >
Cc: laijs@cn.fujitsu.com
Cc: dipankar@in.ibm.com
Cc: josht@linux.vnet.ibm.com
Cc: akpm@linux-foundation.org
Cc: mathieu.desnoyers@polymtl.ca
Cc: dvhltc@us.ibm.com
Cc: niv@us.ibm.com
Cc: peterz@infradead.org
Cc: rostedt@goodmis.org
Cc: benh@kernel.crashing.org
LKML-Reference: <12503552312611-git-send-email->
Signed-off-by: Ingo Molnar <mingo@elte.hu >
2009-08-15 19:02:07 +02:00
Paul E. McKenney
27569620c7
rcu: Split hierarchical RCU initialization into boot-time and CPU-online pieces
...
This patch divides the rcutree initialization into boot-time
and hotplug-time components, so that the tree data structures
are guaranteed to be fully linked at boot time regardless of
what might happen in CPU hotplug operations.
This makes RCU more resilient against CPU hotplug misbehavior
(and vice versa), but more importantly, does a better job of
compartmentalizing the code.
Reported-by: Ingo Molnar <mingo@elte.hu >
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com >
Cc: laijs@cn.fujitsu.com
Cc: dipankar@in.ibm.com
Cc: josht@linux.vnet.ibm.com
Cc: akpm@linux-foundation.org
Cc: mathieu.desnoyers@polymtl.ca
Cc: dvhltc@us.ibm.com
Cc: niv@us.ibm.com
Cc: peterz@infradead.org
Cc: rostedt@goodmis.org
Cc: hugh.dickins@tiscali.co.uk
Cc: benh@kernel.crashing.org
LKML-Reference: <1250355231152-git-send-email->
Signed-off-by: Ingo Molnar <mingo@elte.hu >
2009-08-15 19:02:07 +02:00
Ingo Molnar
fa08661af8
Merge commit 'v2.6.31-rc6' into core/rcu
...
Merge reason: the branch was on pre-rc1 .30, update to latest.
Signed-off-by: Ingo Molnar <mingo@elte.hu >
2009-08-15 18:56:13 +02:00
Paul Mundt
94ecd224c9
sh: Fix up the SH-5 build with caches enabled.
...
Signed-off-by: Paul Mundt <lethal@linux-sh.org >
2009-08-16 01:50:17 +09:00
Paul Mundt
1ee4ab09f3
sh64: Build in support for generic stacktrace ops.
...
Signed-off-by: Paul Mundt <lethal@linux-sh.org >
2009-08-16 00:55:38 +09:00
Paul Mundt
65305ae816
sh: Convert cache disabled SH-5 over to new cache interface.
...
The caches enabled case needs more work, but is presently broken
regardless, so this can be done incrementally.
Signed-off-by: Paul Mundt <lethal@linux-sh.org >
2009-08-16 00:53:56 +09:00
Russell King
9b2616c2e8
Merge branch 'for-rmk-2.6.32' of git://git.pengutronix.de/git/ukl/linux-2.6 into devel-stable
2009-08-15 16:51:48 +01:00
Russell King
590a94d934
Merge branch 'for-rmk' of git://git.pengutronix.de/git/imx/linux-2.6 into devel-stable
2009-08-15 16:49:31 +01:00
Leo Chen
57a473f2f9
ARM: 5671/1: bcmring: add maintainer entry
...
add maintainer entry
Signed-off-by: Leo Chen <leochen@broadcom.com >
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk >
2009-08-15 16:06:47 +01:00
Leo Chen
7f33527f54
ARM: 5670/1: bcmring: add default configuration for bcmring arch
...
add default configuration for bcmring arch
Signed-off-by: Leo Chen <leochen@broadcom.com >
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk >
2009-08-15 16:01:51 +01:00
Leo Chen
6288e28dce
ARM: 5641/1: bcmring: add Kconfig and Makefile entries in arch/arm
...
add bcmring option in Kconfig and add entry in Makefile
in arch/arm directory
Signed-off-by: Leo Chen <leochen@broadcom.com >
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk >
2009-08-15 16:01:51 +01:00
Leo Chen
831f1f73a6
ARM: 5642/1: bcmring: add Makefile/Kconfig/Makefile.boot in mach-bcmring
...
add arch/arm/mach-bcmring directory
add Kconfig, Makefile, and Makefile.boot in mach-bcmring
Signed-off-by: Leo Chen <leochen@broadcom.com >
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk >
2009-08-15 16:01:50 +01:00
Leo Chen
bc5739005f
ARM: 5653/1: bcmring: add Makefile of csp code
...
add Makefile of csp code
Signed-off-by: Leo Chen <leochen@broadcom.com >
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk >
2009-08-15 16:01:49 +01:00
Leo Chen
a364143127
ARM: 5661/1: bcmring: add csp security hardware headers
...
add csp security hardware headers
Signed-off-by: Leo Chen <leochen@broadcom.com >
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk >
2009-08-15 16:01:49 +01:00
Leo Chen
7ba0902028
ARM: 5660/1: bcmring: add csp timer block header and source files
...
add csp timer block header and source files
Signed-off-by: Leo Chen <leochen@broadcom.com >
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk >
2009-08-15 16:01:48 +01:00
Leo Chen
cf2ddacb56
ARM: 5659/1: bcmring: add csp dmac source files
...
add csp dmac source files
Signed-off-by: Leo Chen <leochen@broadcom.com >
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk >
2009-08-15 16:01:47 +01:00
Leo Chen
1a4a561bdd
ARM: 5658/1: bcmring: add csp dmac header files
...
add csp dmac header files
Signed-off-by: Leo Chen <leochen@broadcom.com >
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk >
2009-08-15 16:01:47 +01:00
Leo Chen
638ee2db19
ARM: 5657/1: bcmring: add csp chipc block source code
...
add csp chipc block source code
Signed-off-by: Leo Chen <leochen@broadcom.com >
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk >
2009-08-15 16:01:46 +01:00
Leo Chen
4818a4727d
ARM: 5656/1: bcmring: add csp chipc inline functions
...
add csp chipc inline functions
Signed-off-by: Leo Chen <leochen@broadcom.com >
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk >
2009-08-15 16:01:45 +01:00
Leo Chen
2c4b57a204
ARM: 5655/1: bcmring: add csp chipc hardware definition file
...
add csp chipc hardware definition file
Signed-off-by: Leo Chen <leochen@broadcom.com >
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk >
2009-08-15 16:01:45 +01:00
Leo Chen
f1947c7a67
ARM: 5654/1: bcmring: add csp chipc hardware register file
...
add csp chipc hardware register file
Signed-off-by: Leo Chen <leochen@broadcom.com >
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk >
2009-08-15 16:01:44 +01:00
Leo Chen
9133760f4b
ARM: 5652/1: bcmring: add misc headers for csp code
...
add misc wrapper headers for csp code
add ddrc register header file
Signed-off-by: Leo Chen <leochen@broadcom.com >
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk >
2009-08-15 16:01:43 +01:00
Leo Chen
7bab8bfc7f
ARM: 5651/1: bcmring: csp capability header files
...
add mach-bcmring csp capability header files
Signed-off-by: Leo Chen <leochen@broadcom.com >
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk >
2009-08-15 16:01:43 +01:00
Leo Chen
16f5875034
ARM: 5650/1: bcmring: add io.h, uncompress. h, and entry-macro.S
...
add remaining header files in include/mach directory
add entry-macro.S file
Signed-off-by: Leo Chen <leochen@broadcom.com >
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk >
2009-08-15 16:01:42 +01:00
Leo Chen
3455912574
ARM: 5649/1: bcmring: add bcmring timer function
...
bcmring timer helper function, hardware register headers
Signed-off-by: Leo Chen <leochen@broadcom.com >
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk >
2009-08-15 16:01:41 +01:00
Leo Chen
859277f7db
ARM: 5648/1: bcmring: add bmcring dma.c
...
implement dma support for bcmring
Signed-off-by: Leo Chen <leochen@broadcom.com >
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk >
2009-08-15 16:01:41 +01:00
Leo Chen
7c4c2951c0
ARM: 5647/1: bcmring: add bcmring dma.h and dma_device.c
...
add bcmring dma.h and dma_device.c
Signed-off-by: Leo Chen <leochen@broadcom.com >
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk >
2009-08-15 16:01:40 +01:00
Leo Chen
661f78d809
ARM: 5646/1: bcmring: add mach-bcmring/mm.c and memory headers
...
memory map addresses
memory map description and init functions
Signed-off-by: Leo Chen <leochen@broadcom.com >
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk >
2009-08-15 16:01:40 +01:00
Leo Chen
b7462d654f
ARM: 5645/1: bcmring: add bcmring irq.c
...
init irq and handler
add irq controller register file and header files
Signed-off-by: Leo Chen <leochen@broadcom.com >
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk >
2009-08-15 16:01:39 +01:00
Leo Chen
278a6752e8
ARM: 5644/1: add bcmring core.c, clock.c, clock.h
...
add core.c, clock.c, and clock.h in mach-bcmring
implement timer init, clocksource init, amba device init
implement clock set/get enable/disable API
add dummy clkdev.h
Signed-off-by: Leo Chen <leochen@broadcom.com >
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk >
2009-08-15 16:01:38 +01:00
Leo Chen
4663712cc7
ARM: 5643/1: bcmring: arch.c and header files
...
add arch.c in mach-bcmring
add related header files in mach-bcmring
Signed-off-by: Leo Chen <leochen@broadcom.com >
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk >
2009-08-15 16:01:38 +01:00
wanzongshun
a8bc4eadd9
ARM: 5676/1: Provide more useful introduction for w90x900
...
Provide more useful introduction for w90x900
Signed-off-by: Wan ZongShun <mcuos.com@gmail.com >
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk >
2009-08-15 15:49:04 +01:00
wanzongshun
f346becf2f
ARM: 5675/1: The semaphore is used as mutex so make it a mutex
...
The semaphore is used as mutex so make it a mutex.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de >
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de >
Signed-off-by: Wan ZongShun <mcuos.com@gmail.com >
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk >
2009-08-15 15:49:03 +01:00
wanzongshun
58b5369e6e
ARM: 5674/1: Add clocksource/clockevent support for w90p910 platform
...
Add clocksource/clockevent support for w90p910 platform.
Signed-off-by: Wan ZongShun <mcuos.com@gmail.com >
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk >
2009-08-15 15:49:02 +01:00
Linus Walleij
a2bb9f4d6a
ARM: 5673/1: U300 fix initsection compile warning
...
The u300_init_check_chip() function was not properly tagged with
the __init macro and provided a initsection mismatch on
compilation.
Signed-off-by: Linus Walleij <linus.walleij@stericsson.com >
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk >
2009-08-15 15:36:52 +01:00
Linus Walleij
6be2a0cacc
ARM: 5668/2: U300 I2C board setup
...
This sets up the U300 I2C subdevices so that the AB3100
analog baseband ASIC is properly detected and also the
camera devices in the U335 reference design get properly
registered.
Signed-off-by: Linus Walleij <linus.walleij@stericsson.com >
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk >
2009-08-15 15:36:29 +01:00
Linus Walleij
c7c8c78fdf
ARM: 5667/3: U300 SSP/SPI board setup and test
...
This adds a U300 board configuration for the PL022 SSP/SPI
PrimeCell driver recently merged to the 2.6.31-rc series.
Further it adds a dummy loopback SPI chip that can be used
for testing the SPI functionality on a running system using
the loopback mode of PL022.
Signed-off-by: Linus Walleij <linus.walleij@stericsson.com >
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk >
2009-08-15 15:36:29 +01:00
Linus Walleij
df1e0520f9
ARM: 5666/1: Revamped U300 padmux API
...
This abstracts the hackish padmux API on the U300 platform into
something more manageable. It provides a way for drivers to
activate/deactivate a certain padmux setting. It will also switch
the users of the old API over to using the new style, pushing
muxing into the apropriate setup files.
Signed-off-by: Linus Walleij <linus.walleij@stericsson.com >
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk >
2009-08-15 15:36:28 +01:00
Linus Walleij
5ad73d0717
ARM: 5665/1: U300 syscon register updates
...
This adds in a few new register and defines for improved padmux
support and some figures that were plain wrong on the targeted
U300 platforms.
Signed-off-by: Linus Walleij <linus.walleij@stericsson.com >
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk >
2009-08-15 15:36:28 +01:00