]> git.karo-electronics.de Git - karo-tx-linux.git/log
karo-tx-linux.git
12 years agoMerge branch 'next/move' into for-next
Arnd Bergmann [Fri, 16 Dec 2011 15:48:54 +0000 (15:48 +0000)]
Merge branch 'next/move' into for-next

Conflicts:
arch/arm/mach-imx/Kconfig
arch/arm/plat-mxc/Kconfig

12 years agoMerge branch 'depends/rmk/devel-stable' into for-next
Arnd Bergmann [Fri, 16 Dec 2011 15:46:47 +0000 (15:46 +0000)]
Merge branch 'depends/rmk/devel-stable' into for-next

12 years agoMerge branch 'next/soc' into for-next
Arnd Bergmann [Fri, 16 Dec 2011 15:45:07 +0000 (15:45 +0000)]
Merge branch 'next/soc' into for-next

12 years agoMerge branch 'next/pm' into for-next
Arnd Bergmann [Fri, 16 Dec 2011 15:44:57 +0000 (15:44 +0000)]
Merge branch 'next/pm' into for-next

12 years agoMerge branch 'next/timer' into for-next
Arnd Bergmann [Fri, 16 Dec 2011 15:44:52 +0000 (15:44 +0000)]
Merge branch 'next/timer' into for-next

12 years agoMerge branch 'next/boards' into for-next
Arnd Bergmann [Fri, 16 Dec 2011 15:44:35 +0000 (15:44 +0000)]
Merge branch 'next/boards' into for-next

Conflicts:
arch/arm/mach-at91/setup.c

12 years agoMerge branch 'next/drivers' into for-next
Arnd Bergmann [Fri, 16 Dec 2011 15:43:27 +0000 (15:43 +0000)]
Merge branch 'next/drivers' into for-next

12 years agoMerge branch 'next/cleanup' into for-next
Arnd Bergmann [Fri, 16 Dec 2011 15:43:07 +0000 (15:43 +0000)]
Merge branch 'next/cleanup' into for-next

12 years agoMerge branch 'next/fixes-non-critical' into for-next
Arnd Bergmann [Fri, 16 Dec 2011 15:42:59 +0000 (15:42 +0000)]
Merge branch 'next/fixes-non-critical' into for-next

12 years agoMerge branch 'samsung/board' into next/boards
Arnd Bergmann [Fri, 16 Dec 2011 15:25:33 +0000 (15:25 +0000)]
Merge branch 'samsung/board' into next/boards

Conflicts:
arch/arm/mach-s3c64xx/mach-crag6410.c

12 years agoMerge branch 'at91/macb' into next/drivers
Arnd Bergmann [Fri, 16 Dec 2011 14:32:28 +0000 (14:32 +0000)]
Merge branch 'at91/macb' into next/drivers

12 years agoMerge branch 'davinci/cleanup' into next/cleanup
Arnd Bergmann [Fri, 16 Dec 2011 14:20:49 +0000 (14:20 +0000)]
Merge branch 'davinci/cleanup' into next/cleanup

12 years agonet/at91_ether: use gpio_is_valid for phy IRQ line
Nicolas Ferre [Thu, 24 Nov 2011 21:21:14 +0000 (22:21 +0100)]
net/at91_ether: use gpio_is_valid for phy IRQ line

Use the generic gpiolib gpio_is_valid() function to test
if the phy IRQ line GPIO is actually provided.

For non-connected or non-existing phy IRQ lines, -EINVAL
value is used for phy_irq_pin field of struct at91_eth_data.

Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Acked-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Acked-by: David S. Miller <davem@davemloft.net>
12 years agoARM: at91/net: add macb ethernet controller in 9g45/9g20 DT
Nicolas Ferre [Mon, 5 Dec 2011 17:03:05 +0000 (18:03 +0100)]
ARM: at91/net: add macb ethernet controller in 9g45/9g20 DT

Add the Cadence macb ethernet controller in at91sam9g45 and at91sam9g20
.dtsi and enable it in at91sam9m10g45ek and usb_a9g20 board device tree file.

Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Acked-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
12 years agonet/macb: add DT support for Cadence macb/gem driver
Jean-Christophe PLAGNIOL-VILLARD [Fri, 18 Nov 2011 14:29:25 +0000 (15:29 +0100)]
net/macb: add DT support for Cadence macb/gem driver

Allow the device tree to provide the mac address and the phy mode.

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
[nicolas.ferre@atmel.com: change "compatible" node property, doc and DT hwaddr]
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
[jamie@jamieiles.com: add "gem" compatibility strings and doc]
Acked-by: Jamie Iles<jamie@jamieiles.com>
Acked-by: David S. Miller <davem@davemloft.net>
12 years agoMerge branch 'samsung-fixes-3' of git://git.kernel.org/pub/scm/linux/kernel/git/kgene...
Olof Johansson [Fri, 16 Dec 2011 07:34:17 +0000 (23:34 -0800)]
Merge branch 'samsung-fixes-3' of git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung into fixes

12 years agoMerge branch 'at91/defconfig' into next/cleanup
Olof Johansson [Fri, 16 Dec 2011 06:02:34 +0000 (22:02 -0800)]
Merge branch 'at91/defconfig' into next/cleanup

12 years agoMerge branch 'omap/soc' into next/soc
Olof Johansson [Fri, 16 Dec 2011 06:02:11 +0000 (22:02 -0800)]
Merge branch 'omap/soc' into next/soc

12 years agoMerge branch 'imx6/boards' into next/boards
Olof Johansson [Fri, 16 Dec 2011 06:01:20 +0000 (22:01 -0800)]
Merge branch 'imx6/boards' into next/boards

12 years agoMerge branch 'omap/musb' into next/boards
Olof Johansson [Fri, 16 Dec 2011 06:01:08 +0000 (22:01 -0800)]
Merge branch 'omap/musb' into next/boards

12 years agoMerge branch 'omap/board' into next/boards
Olof Johansson [Fri, 16 Dec 2011 06:00:47 +0000 (22:00 -0800)]
Merge branch 'omap/board' into next/boards

12 years agoMerge branch 'davinci/features' into next/devel
Olof Johansson [Fri, 16 Dec 2011 05:59:39 +0000 (21:59 -0800)]
Merge branch 'davinci/features' into next/devel

* davinci/features:
  ARM: davinci: add support for multiple power domains

12 years agoMerge branch 'for-arnd-3.3-defconfig' of git://github.com/at91linux/linux-at91 into...
Olof Johansson [Fri, 16 Dec 2011 05:27:18 +0000 (21:27 -0800)]
Merge branch 'for-arnd-3.3-defconfig' of git://github.com/at91linux/linux-at91 into at91/defconfig

12 years agoMerge branch 'imx6/boards' of git://git.linaro.org/people/shawnguo/linux-2.6 into...
Olof Johansson [Fri, 16 Dec 2011 05:23:44 +0000 (21:23 -0800)]
Merge branch 'imx6/boards' of git://git.linaro.org/people/shawnguo/linux-2.6 into imx6/boards

12 years agoMerge branch 'musb' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux...
Olof Johansson [Fri, 16 Dec 2011 05:21:08 +0000 (21:21 -0800)]
Merge branch 'musb' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap into omap/musb

12 years agoMerge branch 'board' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux...
Olof Johansson [Fri, 16 Dec 2011 05:18:53 +0000 (21:18 -0800)]
Merge branch 'board' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap into omap/board

12 years agoMerge branch 'soc' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux...
Olof Johansson [Fri, 16 Dec 2011 05:11:47 +0000 (21:11 -0800)]
Merge branch 'soc' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap into omap/soc

12 years agoMerge branch 'v3.3/features' of git://gitorious.org/linux-davinci/linux-davinci into...
Olof Johansson [Fri, 16 Dec 2011 05:07:10 +0000 (21:07 -0800)]
Merge branch 'v3.3/features' of git://gitorious.org/linux-davinci/linux-davinci into davinci/features

12 years agoMerge branch 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux...
Olof Johansson [Fri, 16 Dec 2011 04:58:37 +0000 (20:58 -0800)]
Merge branch 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap into fixes

12 years agoARM: at91: delete the pcontrol_g20_defconfig
Paul Gortmaker [Thu, 8 Dec 2011 01:47:29 +0000 (20:47 -0500)]
ARM: at91: delete the pcontrol_g20_defconfig

In routine testing I found this file should not specify a site
specific toolchain path.  I suggested that the defconfigs should
not be calling out site specific toolchain locations, so we should
delete the setting of CROSS_COMPILE.  In response, it was indicated
that this is an obsolete defconfig and it should simply be deleted.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Acked-by: Jean-Christophe Plagniol-Villard <plagnioj@jcrosoft.com>
12 years agoARM: imx6q: generate imx6q dtb files
Eric Miao [Wed, 7 Dec 2011 14:44:11 +0000 (22:44 +0800)]
ARM: imx6q: generate imx6q dtb files

Signed-off-by: Eric Miao <eric.miao@linaro.org>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
12 years agoarm/imx6q: Rename Sabreauto to Armadillo2
Dirk Behme [Thu, 8 Dec 2011 07:22:01 +0000 (08:22 +0100)]
arm/imx6q: Rename Sabreauto to Armadillo2

The Sabreauto board was renamed to Armadillo2 recently. To avoid
confusion, rename Sabreauto to Armadillo2/arm2.

Signed-off-by: Dirk Behme <dirk.behme@de.bosch.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
12 years agoarm/imx6q-sabrelite: add enet phy ksz9021rn fixup
Richard Zhao [Wed, 14 Dec 2011 01:26:47 +0000 (09:26 +0800)]
arm/imx6q-sabrelite: add enet phy ksz9021rn fixup

The default phy RGMII pad settings can not work, tune pad skew.

Signed-off-by: Richard Zhao <richard.zhao@linaro.org>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
12 years agoarm/imx6: add imx6q sabrelite board support
Richard Zhao [Wed, 14 Dec 2011 01:26:46 +0000 (09:26 +0800)]
arm/imx6: add imx6q sabrelite board support

- Add basic board dts file
- Add board compatible string to mach-imx6q.
- Update fsl DT board doc.

Signed-off-by: Richard Zhao <richard.zhao@linaro.org>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
12 years agodts/imx: rename uart labels to consistent with hw spec
Richard Zhao [Wed, 14 Dec 2011 01:26:45 +0000 (09:26 +0800)]
dts/imx: rename uart labels to consistent with hw spec

UART1/UART2/... is more readable than UART0/UART1/... .
Remove redundant UART comments.

Signed-off-by: Richard Zhao <richard.zhao@linaro.org>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
12 years agodts/imx: rename gpio labels to consistent with hw spec
Richard Zhao [Wed, 14 Dec 2011 01:26:44 +0000 (09:26 +0800)]
dts/imx: rename gpio labels to consistent with hw spec

GPIO1/GPIO2/... is more readable than GPIO0/GPIO1/... .
Remove redundant gpio comments.

Signed-off-by: Richard Zhao <richard.zhao@linaro.org>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
12 years agoMerge branch 'orion/devel' into next/devel
Olof Johansson [Wed, 14 Dec 2011 03:35:03 +0000 (19:35 -0800)]
Merge branch 'orion/devel' into next/devel

12 years agoARM: Orion: Remove address map info from all platform data structures
Andrew Lunn [Wed, 7 Dec 2011 20:48:08 +0000 (21:48 +0100)]
ARM: Orion: Remove address map info from all platform data structures

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Tested-by: Michael Walle <michael@walle.cc>
Acked-by: Nicolas Pitre <nico@linaro.org>
Signed-off-by: Nicolas Pitre <nico@fluxnic.net>
12 years agoARM: Orion: Get address map from plat-orion instead of via platform_data
Andrew Lunn [Wed, 7 Dec 2011 20:48:07 +0000 (21:48 +0100)]
ARM: Orion: Get address map from plat-orion instead of via platform_data

Use an getter function in plat-orion/addr-map.c to get the address map
structure, rather than pass it to drivers in the platform_data
structures. When the drivers are built for none orion platforms, a
dummy function is provided instead which returns NULL.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Tested-by: Michael Walle <michael@walle.cc>
Acked-by: Nicolas Pitre <nico@linaro.org>
Signed-off-by: Nicolas Pitre <nico@fluxnic.net>
12 years agoARM: Orion: mbus_dram_info consolidation
Andrew Lunn [Wed, 7 Dec 2011 20:48:06 +0000 (21:48 +0100)]
ARM: Orion: mbus_dram_info consolidation

Move the *_mbus_dram_info structure into the orion platform and call it
orion_mbus_dram_info everywhere.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Tested-by: Michael Walle <michael@walle.cc>
Acked-by: Nicolas Pitre <nico@linaro.org>
Signed-off-by: Nicolas Pitre <nico@fluxnic.net>
12 years agoARM: Orion: Consolidate the address map setup
Andrew Lunn [Wed, 7 Dec 2011 20:48:05 +0000 (21:48 +0100)]
ARM: Orion: Consolidate the address map setup

Compile tested on Dove, orion5x, mv78xx0. Boot tested on Kirkwood.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Tested-by: Michael Walle <michael@walle.cc>
Acked-by: Nicolas Pitre <nico@linaro.org>
Signed-off-by: Nicolas Pitre <nico@fluxnic.net>
12 years agoARM: Kirkwood: Add configuration for MPP12 as GPIO
Arnaud Patard [Thu, 1 Dec 2011 10:58:25 +0000 (11:58 +0100)]
ARM: Kirkwood: Add configuration for MPP12 as GPIO

The MPP12 is listed in the 6281 HW manual as output only but the iconnect
board from iomega is using it as GPIO (there's a button connected on it). So,
I'm adding a definition for the MPP12 as GPIO. As I've no informations about
this and which kirkwood are "affected", I'm adding a new #define instead of
modifying the current one for MPP12.

Signed-off-by: Arnaud Patard <arnaud.patard@rtp-net.org>
Signed-off-by: Nicolas Pitre <nico@fluxnic.net>
12 years agoARM: Kirkwood: Recognize A1 revision of 6282 chip
Martin Michlmayr [Thu, 3 Nov 2011 12:57:43 +0000 (12:57 +0000)]
ARM: Kirkwood: Recognize A1 revision of 6282 chip

Recognize the Kirkwood 6282 revision A1 chip since products using
this chip are shipping now, such as the QNAP TS-x19P II devices.

Signed-off-by: Martin Michlmayr <tbm@cyrius.com>
Acked-by: Lennert Buytenhek <buytenh@wantstofly.org>
Signed-off-by: Nicolas Pitre <nico@fluxnic.net>
12 years agoMerge branch 'highbank/devel' into next/devel
Olof Johansson [Tue, 13 Dec 2011 23:01:23 +0000 (15:01 -0800)]
Merge branch 'highbank/devel' into next/devel

12 years agoMerge branch 'for-3.3' of git://sources.calxeda.com/kernel/linux into highbank/devel
Olof Johansson [Tue, 13 Dec 2011 23:01:07 +0000 (15:01 -0800)]
Merge branch 'for-3.3' of git://sources.calxeda.com/kernel/linux into highbank/devel

12 years agoARM: OMAP: rx51: fix USB
Felipe Contreras [Thu, 8 Dec 2011 20:23:00 +0000 (22:23 +0200)]
ARM: OMAP: rx51: fix USB

Commit 10299e2e4e3ed3b16503d4e04edd48b33083f4e2 (ARM: RX-51:
Enable isp1704 power on/off) added power management for isp1704.

However, the transceiver should be powered on by default,
otherwise USB doesn't work at all for networking during
boot.

All kernels after v3.0 are affected.

Cc: stable@kernel.org
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
Reviewed-by: Sebastian Reichel <sre@debian.org>
[tony@atomide.com: updated comments]
Signed-off-by: Tony Lindgren <tony@atomide.com>
12 years agoMerge branch 'ux500/devel' into next/devel
Olof Johansson [Tue, 13 Dec 2011 20:18:29 +0000 (12:18 -0800)]
Merge branch 'ux500/devel' into next/devel

12 years agoMerge branch 'omap/fixes-non-critical' into next/fixes-non-critical
Olof Johansson [Tue, 13 Dec 2011 20:16:55 +0000 (12:16 -0800)]
Merge branch 'omap/fixes-non-critical' into next/fixes-non-critical

12 years agoMerge branch 'omap/hsmmc' into next/drivers
Olof Johansson [Tue, 13 Dec 2011 20:12:59 +0000 (12:12 -0800)]
Merge branch 'omap/hsmmc' into next/drivers

12 years agoMerge branch 'fixes-non-critical' of git://git.kernel.org/pub/scm/linux/kernel/git...
Olof Johansson [Tue, 13 Dec 2011 20:10:02 +0000 (12:10 -0800)]
Merge branch 'fixes-non-critical' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap into omap/fixes-non-critical

12 years agoMerge branch 'hsmmc' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux...
Olof Johansson [Tue, 13 Dec 2011 20:09:28 +0000 (12:09 -0800)]
Merge branch 'hsmmc' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap into omap/hsmmc

12 years agoARM: OMAP: musb: Add support for ti816evm
Ravi Babu [Tue, 13 Dec 2011 18:50:59 +0000 (10:50 -0800)]
ARM: OMAP: musb: Add support for ti816evm

Adding musb support in ti816 EVM board file.

Signed-off-by: Ajay Kumar Gupta <ajay.gupta@ti.com>
Signed-off-by: Ravi Babu <ravibabu@ti.com>
Acked-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
12 years agoARM: OMAP: musb: Add ti81xx phy power function
Ajay Kumar Gupta [Tue, 13 Dec 2011 18:50:58 +0000 (10:50 -0800)]
ARM: OMAP: musb: Add ti81xx phy power function

Adding ti81xx_musb_phy_power() which will be used by musb driver through
its function pointer in board_data.

Signed-off-by: Ajay Kumar Gupta <ajay.gupta@ti.com>
Signed-off-by: Ravi Babu <ravibabu@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
12 years agoARM: OMAP: musb: Adding support for ti81xx
Ravi Babu [Tue, 13 Dec 2011 18:50:58 +0000 (10:50 -0800)]
ARM: OMAP: musb: Adding support for ti81xx

Added musb support for ti81xx platform which has two instances of musb
interface and uses CPPI4.1 DMA. The current patch set adds support for
single instance and in PIO mode only.

Signed-off-by: Ajay Kumar Gupta <ajay.gupta@ti.com>
Signed-off-by: Ravi Babu <ravibabu@ti.com>
Acked-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
12 years agoARM: OMAP: TI814X: Create board support and enable build for TI8148 EVM
Hemant Pedanekar [Tue, 13 Dec 2011 18:48:55 +0000 (10:48 -0800)]
ARM: OMAP: TI814X: Create board support and enable build for TI8148 EVM

This patch adds minimal support and build configuration for TI8148 EVM. Also
adds support for low level debugging on UART1 console on the EVM.

Note that existing TI8168 EVM file (board-ti8168evm.c) is updated with machine
info for TI8148 EVM.

Signed-off-by: Hemant Pedanekar <hemantp@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
12 years agoARM: OMAP4: board-4430sdp: Register platform device for digimic codec
Peter Ujfalusi [Tue, 13 Dec 2011 18:48:54 +0000 (10:48 -0800)]
ARM: OMAP4: board-4430sdp: Register platform device for digimic codec

OMAP4 SDP/Blaze boards have onboard digital microphones.
Register the platform device for the dmic-codec to be
able to use the microphones.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
12 years agoARM: OMAP4: devices: Register OMAP4 DMIC platform device
Peter Ujfalusi [Tue, 13 Dec 2011 18:48:54 +0000 (10:48 -0800)]
ARM: OMAP4: devices: Register OMAP4 DMIC platform device

Add platform device registration for OMAP4 DMIC.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
12 years agoARM: OMAP3: sdram-nokia: add 200 MHz memory timings info
Igor Dmitriev [Tue, 13 Dec 2011 18:48:54 +0000 (10:48 -0800)]
ARM: OMAP3: sdram-nokia: add 200 MHz memory timings info

Add memory timing info regarding the 200 MHz memory in sdram-nokia.
Note that 100 MHz mode uses these same timings too.

Signed-off-by: Igor Dmitriev <ext-dmitriev.igor@nokia.com>
Signed-off-by: Eduardo Valentin <eduardo.valentin@nokia.com>
Signed-off-by: Aaro Koskinen <aaro.koskinen@nokia.com>
[tony@atomide.com: updated comments for 100 MHz timings]
Signed-off-by: Tony Lindgren <tony@atomide.com>
12 years agoARM: OMAP3: rx51: enable tsc2005 touchscreen
Aaro Koskinen [Tue, 13 Dec 2011 18:48:53 +0000 (10:48 -0800)]
ARM: OMAP3: rx51: enable tsc2005 touchscreen

Enable TSC2005 touchscreen driver on the RX-51 board by providing the
needed platform data.

Signed-off-by: Aaro Koskinen <aaro.koskinen@nokia.com>
Reviewed-by: Sebastian Reichel <sre@debian.org>
Signed-off-by: Tony Lindgren <tony@atomide.com>
12 years agoARM: OMAP3: cm-t35: fix mux mode for DSS pins
Igor Grinberg [Tue, 13 Dec 2011 18:48:53 +0000 (10:48 -0800)]
ARM: OMAP3: cm-t35: fix mux mode for DSS pins

OMAP pin mux configuration API has been used incorrectly resulting
in wrong mux mode set for several DSS pins.

Signed-off-by: Igor Grinberg <grinberg@compulab.co.il>
Signed-off-by: Tony Lindgren <tony@atomide.com>
12 years agoARM: OMAP3: cm-t35: Add reset for USB hub
Igor Grinberg [Tue, 13 Dec 2011 18:48:53 +0000 (10:48 -0800)]
ARM: OMAP3: cm-t35: Add reset for USB hub

USB hub is not functional until is reset.
Reset the USB hub on SB-T35.

Signed-off-by: Igor Grinberg <grinberg@compulab.co.il>
[tony@atomide.com: updated subject]
Signed-off-by: Tony Lindgren <tony@atomide.com>
12 years agoARM: OMAP3: cm-t35: enable audio
Igor Grinberg [Tue, 13 Dec 2011 18:48:52 +0000 (10:48 -0800)]
ARM: OMAP3: cm-t35: enable audio

TWL4030 audio codec is not being registered if no platform data is
supplied. Provide platform data for the TWL4030 audio codec.

Signed-off-by: Igor Grinberg <grinberg@compulab.co.il>
[tony@atomide.com: updated subject]
Signed-off-by: Tony Lindgren <tony@atomide.com>
12 years agoARM: OMAP3: cm-t35: Use correct DSS regulator supply
Igor Grinberg [Tue, 13 Dec 2011 18:48:52 +0000 (10:48 -0800)]
ARM: OMAP3: cm-t35: Use correct DSS regulator supply

cm-t35 DSS suplies are connected to VIO.
In fact, TPS65930 does not have VPLL2.

Signed-off-by: Igor Grinberg <grinberg@compulab.co.il>
[tony@atomide.com: updated subject]
Signed-off-by: Tony Lindgren <tony@atomide.com>
12 years agoARM: OMAP3: cm-t35: Add regulator for ads7846 touchscreen
Igor Grinberg [Tue, 13 Dec 2011 18:48:51 +0000 (10:48 -0800)]
ARM: OMAP3: cm-t35: Add regulator for ads7846 touchscreen

ads7846 driver fails to find the regulator supply and
as a result the touchscreen is not working.
Fix this by adding a regulator supply for the ads7846 driver.

Signed-off-by: Igor Grinberg <grinberg@compulab.co.il>
[tony@atomide.com: updated subject]
Signed-off-by: Tony Lindgren <tony@atomide.com>
12 years agoARM: OMAP: TI814X: Add cpu type macros and detection support
Hemant Pedanekar [Tue, 13 Dec 2011 18:46:45 +0000 (10:46 -0800)]
ARM: OMAP: TI814X: Add cpu type macros and detection support

This patch adds cpu type, macros for identification of TI814X device.

Signed-off-by: Hemant Pedanekar <hemantp@ti.com>
[tony@atomide.com: left out CK_TI814X for now]
Signed-off-by: Tony Lindgren <tony@atomide.com>
12 years agoARM: OMAP: TI81XX: Prepare for addition of TI814X support
Hemant Pedanekar [Tue, 13 Dec 2011 18:46:44 +0000 (10:46 -0800)]
ARM: OMAP: TI81XX: Prepare for addition of TI814X support

This patch updates existing macros, functions used for TI816X, to enable
addition of other SoCs belonging to TI81XX family (e.g., TI814X).

The approach taken is to use TI81XX/ti81xx for code/data going to be common
across all TI81XX devices.

cpu_is_ti81xx() is introduced to handle code common across TI81XX devices.

In addition, ti8168_evm_map_io() is now replaced with ti81xx_map_io() and moved
in mach-omap2/common.c as same will be used for TI814X and is not board
specific.

Signed-off-by: Hemant Pedanekar <hemantp@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
12 years agoARM: OMAP: ID: Chip detection for OMAP4470
Leonid Iziumtsev [Tue, 13 Dec 2011 18:46:44 +0000 (10:46 -0800)]
ARM: OMAP: ID: Chip detection for OMAP4470

Add support for detection of the next chip in the OMAP4 family: OMAP4470 ES1.0

For more details on OMAP4470, visit:
http://focus.ti.com/general/docs/wtbu/wtbuproductcontent.tsp?templateId=6123&navigationId=12869&contentId=123362

Signed-off-by: Leonid Iziumtsev <x0153368@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
12 years agoARM: OMAP: id: add chip id recognition for omap4430 es2.3
David Anders [Tue, 13 Dec 2011 18:46:44 +0000 (10:46 -0800)]
ARM: OMAP: id: add chip id recognition for omap4430 es2.3

allow for the omap4430 es2.3 revision to be recognized in the
omap4_check_revision() function.

most aspects of all omap4430 es2.x versions are identical, however
a number of small variations such as default pullup or pulldown
resistor configurations vary between revisions.

detailed information on silicon errata for omap4430 revisions can
be found at http://focus.ti.com/pdfs/wtbu/swpz009D.pdf

Signed-off-by: David Anders <x0132446@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
12 years agoARM: OMAP: am33xx: Update common OMAP machine specific sources
Afzal Mohammed [Tue, 13 Dec 2011 18:46:43 +0000 (10:46 -0800)]
ARM: OMAP: am33xx: Update common OMAP machine specific sources

This patch updates the common machine specific source files for
support for AM33XX/AM335x with cpu type, macros for identification of
AM33XX/AM335X device.

Signed-off-by: Afzal Mohammed <afzal@ti.com>
Signed-off-by: Vaibhav Hiremath <hvaibhav@ti.com>
Reviewed-by: Kevin Hilman <khilman@ti.com>
Tested-by: Kevin Hilman <khilman@ti.com>
[tony@atomide.com: updated for map_io and common.h changes, dropped CK_AM33XX]
Signed-off-by: Tony Lindgren <tony@atomide.com>
12 years agoARM: OMAP: am33xx: Update common omap platform files
Afzal Mohammed [Tue, 13 Dec 2011 18:46:43 +0000 (10:46 -0800)]
ARM: OMAP: am33xx: Update common omap platform files

This patch updates the common platform files with AM335X device
support (AM33XX family).

The approach taken in this patch is,
AM33XX device will be considered as OMAP3 variant, and a separate
SoC class created for AM33XX family of devices with a subclass type
for AM335X device, which is newly added device in the family.

This means, cpu_is_omap34xx(), cpu_is_am33xx() and cpu_is_am335x()
checks will return success on AM335X device.
A kernel config option CONFIG_SOC_OMAPAM33XX is added under OMAP3
to include support for AM33XX build.

Also, cpu_mask and RATE_IN_XXX flags have crossed 8 bit hence
struct clksel_rate.flags, struct prcm_config.flags and cpu_mask
are changed to u16 from u8.

Signed-off-by: Afzal Mohammed <afzal@ti.com>
Signed-off-by: Vaibhav Hiremath <hvaibhav@ti.com>
Cc: Hemant Pedanekar <hemantp@ti.com>
[tony@atomide.com: left out CK_AM33XX for now]
Signed-off-by: Tony Lindgren <tony@atomide.com>
12 years agoMerge branch 'imx-fixes-for-arnd' of git://git.pengutronix.de/git/imx/linux-2.6 into...
Arnd Bergmann [Tue, 13 Dec 2011 16:34:25 +0000 (16:34 +0000)]
Merge branch 'imx-fixes-for-arnd' of git://git.pengutronix.de/git/imx/linux-2.6 into fixes

12 years agoARM: OMAP: mcbsp: Fix possible memory corruption
Jarkko Nikula [Mon, 12 Dec 2011 08:38:26 +0000 (10:38 +0200)]
ARM: OMAP: mcbsp: Fix possible memory corruption

Commits 09d28d ("ARM: OMAP: mcbsp: Start generalize omap2_mcbsp_set_clks_src")
and 7bc0c4 ("ARM: OMAP: mcbsp: Start generalize signal muxing functions")
incorrectly set two struct omap_mcbsp_platform_data fields after
omap_device_build_ss and kfree calls.

Fix this by moving these pdata assignments before those calls.

Signed-off-by: Jarkko Nikula <jarkko.nikula@bitmer.com>
Reported-by: NeilBrown <neilb@suse.de>
Signed-off-by: Tony Lindgren <tony@atomide.com>
12 years agoARM: kexec: use soft_restart for branching to the reboot buffer
Will Deacon [Mon, 6 Jun 2011 11:35:46 +0000 (12:35 +0100)]
ARM: kexec: use soft_restart for branching to the reboot buffer

Now that there is a common way to reset the machine, let's use it
instead of reinventing the wheel in the kexec backend.

Signed-off-by: Will Deacon <will.deacon@arm.com>
12 years agoARM: stop: execute platform callback from cpu_stop code
Will Deacon [Mon, 6 Jun 2011 14:49:23 +0000 (15:49 +0100)]
ARM: stop: execute platform callback from cpu_stop code

Sending IPI_CPU_STOP to a CPU causes it to execute a busy cpu_relax
loop forever. This makes it impossible to kexec successfully on an SMP
system since the secondary CPUs do not reset.

This patch adds a callback to platform_cpu_kill, defined when
CONFIG_HOTPLUG_CPU=y, from the ipi_cpu_stop handling code. This function
currently just returns 1 on all platforms that define it but allows them
to do something more sophisticated in the future.

Signed-off-by: Will Deacon <will.deacon@arm.com>
12 years agoARM: reset: implement soft_restart for jumping to a physical address
Will Deacon [Mon, 6 Jun 2011 11:28:54 +0000 (12:28 +0100)]
ARM: reset: implement soft_restart for jumping to a physical address

Tools such as kexec and CPU hotplug require a way to reset the processor
and branch to some code in physical space. This requires various bits of
jiggery pokery with the caches and MMU which, when it goes wrong, tends
to lock up the system.

This patch fleshes out the soft_restart implementation so that it
branches to the reset code using the identity mapping. This requires us
to change to a temporary stack, held within the kernel image as a static
array, to avoid conflicting with the new view of memory.

Signed-off-by: Will Deacon <will.deacon@arm.com>
12 years agoARM: lib: add call_with_stack function for safely changing stack
Will Deacon [Wed, 8 Jun 2011 14:29:00 +0000 (15:29 +0100)]
ARM: lib: add call_with_stack function for safely changing stack

When disabling the MMU, it is necessary to take out a 1:1 identity map
of the reset code so that it can safely be executed with and without
the MMU active. To avoid the situation where the physical address of the
reset code aliases with the virtual address of the active stack (which
cannot be included in the 1:1 mapping), it is desirable to change to a
new stack at a location which is less likely to alias.

This code adds a new lib function, call_with_stack:

void call_with_stack(void (*fn)(void *), void *arg, void *sp);

which changes the stack to point at the sp parameter, before invoking
fn(arg) with the new stack selected.

Reviewed-by: Nicolas Pitre <nicolas.pitre@linaro.org>
Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Dave Martin <dave.martin@linaro.org>
Signed-off-by: Will Deacon <will.deacon@arm.com>
12 years agoARM: ux500: update the MOP500 GPIO assignments
Linus Walleij [Fri, 11 Nov 2011 17:48:52 +0000 (18:48 +0100)]
ARM: ux500: update the MOP500 GPIO assignments

This is a more complete list of the MOP500 GPIO pins, especially
for those used with the Snowball board. Sort GPIO number in
falling number order so there is some structure to this file.
Fix some whitespace issues in the process.

Cc: Mian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
12 years agoARM: ux500: add device sdi1 for SDIO
Stefan Nilsson XK [Wed, 26 Oct 2011 08:50:42 +0000 (10:50 +0200)]
ARM: ux500: add device sdi1 for SDIO

Adds device sdi1 for ST-Ericsson HREFv60 and later to enable
the possiblity of using the onboard CW1200 chip for WLAN.

Signed-off-by: Stefan Nilsson XK <stefan.xk.nilsson@stericsson.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
12 years agoARM: ux500: support SD cards on HREFv60 boards
Stefan Nilsson XK [Wed, 26 Oct 2011 08:49:35 +0000 (10:49 +0200)]
ARM: ux500: support SD cards on HREFv60 boards

Properly support the correct SDI-init sequence on the
ST-Ericsson HREFv60 and later boards in order to get
support for SD cards.

Signed-off-by: Stefan Nilsson XK <stefan.xk.nilsson@stericsson.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
12 years agoMerge branch 'omap/omap1' into next/devel
Olof Johansson [Sun, 11 Dec 2011 23:57:59 +0000 (15:57 -0800)]
Merge branch 'omap/omap1' into next/devel

12 years agoMerge branch 'omap/omap4' into next/pm
Olof Johansson [Sun, 11 Dec 2011 23:56:44 +0000 (15:56 -0800)]
Merge branch 'omap/omap4' into next/pm

12 years agoMerge branch 'omap4' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux...
Olof Johansson [Sun, 11 Dec 2011 23:56:22 +0000 (15:56 -0800)]
Merge branch 'omap4' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap into omap/omap4

12 years agoARM: 7183/1: vic: register the VIC for ST-modified VIC's
Jamie Iles [Thu, 1 Dec 2011 10:16:46 +0000 (11:16 +0100)]
ARM: 7183/1: vic: register the VIC for ST-modified VIC's

When probing the VIC, the ST variant has a different probing method to
account for the extra interrupts which meant we didn't previously call
vic_register() which registered the irq_domain.

Acked-by: Linus Walleij <linus.walleij@stericsson.com>
Cc: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Jamie Iles <jamie@jamieiles.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
12 years agoLinux 3.2-rc5 v3.2-rc5
Linus Torvalds [Fri, 9 Dec 2011 23:09:32 +0000 (15:09 -0800)]
Linux 3.2-rc5

12 years agoMerge git://git.samba.org/sfrench/cifs-2.6
Linus Torvalds [Fri, 9 Dec 2011 22:45:44 +0000 (14:45 -0800)]
Merge git://git.samba.org/sfrench/cifs-2.6

* git://git.samba.org/sfrench/cifs-2.6:
  cifs: check for NULL last_entry before calling cifs_save_resume_key
  cifs: attempt to freeze while looping on a receive attempt
  cifs: Fix sparse warning when calling cifs_strtoUCS
  CIFS: Add descriptions to the brlock cache functions

12 years agoMerge branch 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
Linus Torvalds [Fri, 9 Dec 2011 22:45:12 +0000 (14:45 -0800)]
Merge branch 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip

* 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
  x86, efi: Calling __pa() with an ioremap()ed address is invalid
  x86, hpet: Immediately disable HPET timer 1 if rtc irq is masked
  x86/intel_mid: Kconfig select fix
  x86/intel_mid: Fix the Kconfig for MID selection

12 years agoMerge branch 'spi/for-3.2' of git://git.pengutronix.de/git/wsa/linux-2.6
Linus Torvalds [Fri, 9 Dec 2011 22:41:50 +0000 (14:41 -0800)]
Merge branch 'spi/for-3.2' of git://git.pengutronix.de/git/wsa/linux-2.6

* 'spi/for-3.2' of git://git.pengutronix.de/git/wsa/linux-2.6:
  spi/gpio: fix section mismatch warning
  spi/fsl-espi: disable CONFIG_SPI_FSL_ESPI=m build
  spi/nuc900: Include linux/module.h
  spi/ath79: fix compile error due to missing include

12 years agoARM: OMAP2+: DMA: Workaround for invalid destination position
Peter Ujfalusi [Fri, 9 Dec 2011 21:38:00 +0000 (13:38 -0800)]
ARM: OMAP2+: DMA: Workaround for invalid destination position

If the DMA destination position has been asked before the
first actual data transfer has been done, the CDAC
register still contains 0 (it is initialized to 0 at
omsp_dma_start).
If CDAC == 0, return the programmed start address.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Reviewed-by: Jarkko Nikula <jarkko.nikula@bitmer.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
12 years agoARM: OMAP2+: DMA: Workaround for invalid source position
Peter Ujfalusi [Fri, 9 Dec 2011 21:38:00 +0000 (13:38 -0800)]
ARM: OMAP2+: DMA: Workaround for invalid source position

If the DMA source position has been asked before the
first actual data transfer has been done, the CSAC
register does not contain valid information.
We can identify this situation by checking the CDAC
register:
CDAC != 0 indicates that the DMA transfer on the channel has
been started already.
When CDAC == 0 we can not trust the CSAC value since it has
not been updated, and can contain random number.
Return the start address in case the DMA has not jet started.

Note: The CDAC register has been initialized to 0 at dma_start
time.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Reviewed-by: Jarkko Nikula <jarkko.nikula@bitmer.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
12 years agoARM: OMAP: hsmmc: Add support for AM3517EVM base-board MMC slot
Vaibhav Hiremath [Fri, 9 Dec 2011 20:27:55 +0000 (12:27 -0800)]
ARM: OMAP: hsmmc: Add support for AM3517EVM base-board MMC slot

Add support for base-board MMC slot

Signed-off-by: Vaibhav Hiremath <hvaibhav@ti.com>
Signed-off-by: Abhilash K V <abhilash.kv@ti.com>
[tony@atomide.com: updated subject]
Signed-off-by: Tony Lindgren <tony@atomide.com>
12 years agoARM: OMAP: hsmmc: Support for AM3517 MMC1 voltages
Abhilash K V [Fri, 9 Dec 2011 20:27:36 +0000 (12:27 -0800)]
ARM: OMAP: hsmmc: Support for AM3517 MMC1 voltages

This patch fixes the following error message which appears
while intializing MMC1 on the AM3517 EVM base-board:
    mmc0: host doesn't support card's voltages
    mmc0: error -22 whilst initialising SD card
The ocr_mask, which enumerates the volatges supported by the
MMC card was not being indicated before, assuming that a separate
Vcc regulator maybe another controllable regulator driver would be
doing this. This patch statically specifies a subset of the voltages
supported by the MMC driver, which are provided by the current fixed
voltage regulator on AM3517 EVM.

Signed-off-by: Vaibhav Hiremath <hvaibhav@ti.com>
Signed-off-by: Abhilash K V <abhilash.kv@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
12 years agoARM: OMAP: hsmmc: Add support for non-OMAP pins
Thomas Weber [Thu, 17 Nov 2011 21:39:40 +0000 (22:39 +0100)]
ARM: OMAP: hsmmc: Add support for non-OMAP pins

The Devkit8000 uses a TWL4030 pin for card detection.
Thats why the error:
_omap_mux_init_gpio: Could not set gpio192
occurs.

This patch checks that the pin is on OMAP before
calling omap_mux_init_gpio.

Signed-off-by: Thomas Weber <weber@corscience.de>
[tony@atomide.com: updated comments]
Signed-off-by: Tony Lindgren <tony@atomide.com>
12 years agoARM: OMAP: hsmmc: Add support for MMC 2 setup for AM35x
Igor Grinberg [Tue, 29 Nov 2011 09:37:48 +0000 (11:37 +0200)]
ARM: OMAP: hsmmc: Add support for MMC 2 setup for AM35x

AM35x MMC 2 controller has internal clock loopback setting which cannot
be utilized without this patch and thus SDIO devices connected to this
controller and depend on this setting will fail to initialize.

Signed-off-by: Igor Grinberg <grinberg@compulab.co.il>
[tony@atomide.com: updated comments]
Signed-off-by: Tony Lindgren <tony@atomide.com>
12 years agoARM: OMAP: hsmmc: board-sdp4430: declare support for MMC_PM_KEEP_POWER
Eliad Peller [Tue, 22 Nov 2011 14:02:19 +0000 (16:02 +0200)]
ARM: OMAP: hsmmc: board-sdp4430: declare support for MMC_PM_KEEP_POWER

Declare support for keeping the power of the wlan chip
while suspended. this is needed for Wakeup-On-Wireless.

Signed-off-by: Eliad Peller <eliad@wizery.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
12 years agoMerge branch 'for-linus' of git://neil.brown.name/md
Linus Torvalds [Fri, 9 Dec 2011 16:18:08 +0000 (08:18 -0800)]
Merge branch 'for-linus' of git://neil.brown.name/md

* 'for-linus' of git://neil.brown.name/md:
  md: raid5 crash during degradation
  md/raid5: never wait for bad-block acks on failed device.
  md: ensure new badblocks are handled promptly.
  md: bad blocks shouldn't cause a Blocked status on a Faulty device.
  md: take a reference to mddev during sysfs access.
  md: refine interpretation of "hold_active == UNTIL_IOCTL".
  md/lock: ensure updates to page_attrs are properly locked.

12 years agoMerge git://git.kernel.org/pub/scm/linux/kernel/git/cmetcalf/linux-tile
Linus Torvalds [Fri, 9 Dec 2011 16:08:57 +0000 (08:08 -0800)]
Merge git://git.kernel.org/pub/scm/linux/kernel/git/cmetcalf/linux-tile

* git://git.kernel.org/pub/scm/linux/kernel/git/cmetcalf/linux-tile:
  arch/tile: use new generic {enable,disable}_percpu_irq() routines
  drivers/net/ethernet/tile: use skb_frag_page() API
  asm-generic/unistd.h: support new process_vm_{readv,write} syscalls
  arch/tile: fix double-free bug in homecache_free_pages()
  arch/tile: add a few #includes and an EXPORT to catch up with kernel changes.

12 years agoMerge branch 'iommu/fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/joro...
Linus Torvalds [Fri, 9 Dec 2011 16:08:14 +0000 (08:08 -0800)]
Merge branch 'iommu/fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu

* 'iommu/fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu:
  MAINTAINERS: Update amd-iommu F: patterns
  iommu/amd: Fix typo in kernel-parameters.txt
  iommu/msm: Fix compile error in mach-msm/devices-iommu.c
  Fix comparison using wrong pointer variable in dma debug code

12 years agoMerge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound
Linus Torvalds [Fri, 9 Dec 2011 16:07:42 +0000 (08:07 -0800)]
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound

* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound:
  ALSA: hda/realtek - Fix lost speaker volume controls
  ALSA: hda/realtek - Create "Bass Speaker" for two speaker pins
  ALSA: hda/realtek - Don't create extra controls with channel suffix
  ALSA: hda - Fix remaining VREF mute-LED NID check in post-3.1 changes
  ALSA: hda - Fix GPIO LED setup for IDT 92HD75 codecs
  ASoC: Provide a more complete DMA driver stub
  ASoC: Remove references to corgi and spitz from machine driver document
  ASoC: Make SND_SOC_MX27VIS_AIC32X4 depend on I2C
  ASoC: Fix dependency for SND_SOC_RAUMFELD and SND_PXA2XX_SOC_HX4700
  ASoC: uda1380: Return proper error in uda1380_modinit failure path
  ASoC: kirkwood: Make SND_KIRKWOOD_SOC_OPENRD and SND_KIRKWOOD_SOC_T5325 depend on I2C
  ASoC: Mark WM8994 ADC muxes as virtual
  ALSA: hda/realtek - Fix Oops in alc_mux_select()
  ALSA: sis7019 - give slow codecs more time to reset

12 years agoMerge branch 'perf-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
Linus Torvalds [Fri, 9 Dec 2011 16:07:24 +0000 (08:07 -0800)]
Merge branch 'perf-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip

* 'perf-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
  perf: Do no try to schedule task events if there are none
  lockdep, kmemcheck: Annotate ->lock in lockdep_init_map()
  perf header: Use event_name() to get an event name
  perf stat: Failure with "Operation not supported"

12 years agosys_getppid: add missing rcu_dereference
Mandeep Singh Baines [Thu, 8 Dec 2011 22:34:44 +0000 (14:34 -0800)]
sys_getppid: add missing rcu_dereference

In order to safely dereference current->real_parent inside an
rcu_read_lock, we need an rcu_dereference.

Signed-off-by: Mandeep Singh Baines <msb@chromium.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Pavel Emelyanov <xemul@openvz.org>
Cc: Oleg Nesterov <oleg@redhat.com>
Cc: Kees Cook <keescook@chromium.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>