Age | Commit message (Collapse) | Author |
|
GPIO alternate configuration is set when the USB is
connected and reset at USB disconnect.
Change-Id: I07d9c2ed5028879ecff309aa9e4ac25deac148f5
Signed-off-by: Sakethram Bommisetti <sakethram.bommisetti@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/27203
Reviewed-by: QATOOLS
Reviewed-by: Praveena NADAHALLY <praveen.nadahally@stericsson.com>
Reviewed-by: Philippe LANGLAIS <philippe.langlais@stericsson.com>
|
|
ab5500 core driver appends device deviceid to the device name
and hence the order should be maintained in defining the
deviceid
Ex: sound/soc/ux500/u5500.c: .codec_name = "ab5500-codec.9",
Since 2 new devices chargalg and btemp were added prior to codec
audio stopped working.
ST-Ericsson Linux next: Not Tested
ST-Ericsson ID: WP256401
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: Id44e60a16d2c2b7181edd8fb553c3220788d6326
Signed-off-by: Arun Murthy <arun.murthy@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/25788
Reviewed-by: QATEST
Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
|
|
The possibility to use a fictive display that is
not using HW, is added.
Depends-On: I1ba92f35528518c9a9e2c805973dac8033a17f39
ST-Ericsson ID: 344358
ST-Ericsson Linux next: Not tested, ER 282779
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: I8ddc6069e037d879582c810f9298273b3d75cc15
Signed-off-by: Per Persson <per.xb.persson@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/24716
Reviewed-by: QATOOLS
Reviewed-by: QATEST
Reviewed-by: Marcel TUNNISSEN <marcel.tuennissen@stericsson.com>
Reviewed-by: Linus WALLEIJ <linus.walleij@stericsson.com>
|
|
A generic charging algorithm for all abx500 varants. It is a high
level algorithm and hence doesn't include any low level or hardware
interaction. Each of the abx500 charging drivers will implement low
level hardware interaction function and provide inputs to this
generic charging algorithm to monitor and implement the charging
functionality.
ST-Ericsson Linux next: Not Tested
ST-Ericsson ID: WP256401
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: I8634160b2e67132ae68a09fda7a9fd9d36dd23d2
Signed-off-by: Arun Murthy <arun.murthy@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/23150
Reviewed-by: QATEST
Reviewed-by: Johan PALSSON <johan.palsson@stericsson.com>
Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
|
|
Adds a power supply class for usb, used to charge the battery.
It includes enabling/disabling of usb charging and monitoring
the usb.
ST-Ericsson Linux next: Not Tested
ST-Ericsson ID: WP256401
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: I4fa42b3dbe82103ad49293b784243dc0edb61558
Signed-off-by: Arun Murthy <arun.murthy@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/23149
Reviewed-by: QATEST
Reviewed-by: Johan PALSSON <johan.palsson@stericsson.com>
Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
|
|
Add charger, fuel gauge, battery temperature as clients of ab5500.
Update the registers access privilege to each of the above mentioned and
also the interrupts being used.
ST-Ericsson Linux next: Not Tested
ST-Ericsson ID: WP256401
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: Ied7a7bc876459c3b96a62cda1ce29354f70c8573
Signed-off-by: Arun Murthy <arun.murthy@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/23148
Reviewed-by: QATEST
Reviewed-by: Karl KOMIEROWSKI <karl.komierowski@stericsson.com>
Reviewed-by: Johan PALSSON <johan.palsson@stericsson.com>
Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
|
|
Adds support for the CIQ L2Mux channel
ST-Ericsson ID: CR334399
Change-Id: Ib189a1090c11b3537fafd6f3b9bc8becf1c63c2f
Signed-off-by: Kumar Sanghvi <kumar.sanghvi@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/23373
Reviewed-by: QATEST
Tested-by: Sean SANDOVAL <sean.xx.sandoval@stericsson.com>
Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
|
|
There is quite a lot of code which does copy_from_user() + strict_strto*()
or simple_strto*() combo in slightly different ways.
Before doing conversions all over tree, let's get final API correct.
Enter kstrtoull_from_user() and friends.
Typical code which uses them looks very simple:
TYPE val;
int rv;
rv = kstrtoTYPE_from_user(buf, count, 0, &val);
if (rv < 0)
return rv;
[use val]
return count;
There is a tiny semantic difference from the plain kstrto*() API -- the
latter allows any amount of leading zeroes, while the former copies data
into buffer on stack and thus allows leading zeroes as long as it fits
into buffer.
This shouldn't be a problem for typical usecase "echo 42 > /proc/x".
The point is to make reading one integer from userspace _very_ simple and
very bug free.
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Change-Id: I2f9776b265fb4368abc955ed38ebe60958c01d12
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/25238
Tested-by: Jonas ABERG <jonas.aberg@stericsson.com>
Reviewed-by: QATEST
Reviewed-by: Linus WALLEIJ <linus.walleij@stericsson.com>
|
|
Moves shrm specific files from arch/arm/mach-ux500/mach/include
and drivers/misc to include/linux/modem/shrm and drivers/modem/shrm
respectively
ST-Ericsson ID: CR329459
Change-Id: I3a08f83e5302429d51eb865ee1c5e4e0ec73e31b
Signed-off-by: Kumar Sanghvi <kumar.sanghvi@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/23980
Reviewed-by: QATEST
Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
|
|
Adds Modem Access Framework, which allows for registering
platform specific modem access mechanisms. The framework also
exposes APIs for client drivers for getting and releasing access
to modem, regardless of the underlying platform specific access
mechanism.
ST-Ericsson ID: CR329459
Change-Id: I643c56892e4423ec27467cbcfe8a22586c1e3f6a
Signed-off-by: Kumar Sanghvi <kumar.sanghvi@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/23553
Reviewed-by: QATEST
Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
|
|
This patch provides the support for auto
calibration of ALS Zone boundaries based
on min/max ALS input voltage.
ST-Ericsson Linux next: (Tested and reviewed 2011-06-09, ER336280)
ST-Ericsson ID: 343609
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: I64f7dc5c72381fd5574b26d571ac4cfda7d86484
Signed-off-by: Shreshtha Kumar Sahu <shreshthakumar.sahu@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/24332
Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
|
|
The pointer to the charger from the ab8500 struct is no longer
needed.
ST-Ericsson ID: 256401
ST-Ericsson FOSS-OUT ID: Trivial
ST-Ericsson Linux next: NA
Signed-off-by: Mattias Wallin <mattias.wallin@stericsson.com>
Change-Id: Iec4d4fb69c54366f96283ab1e676a874637550f0
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/24710
Reviewed-by: Johan PALSSON <johan.palsson@stericsson.com>
Reviewed-by: QATOOLS
Reviewed-by: QATEST
Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
|
|
This change will allow users to use B5500/S5500 Camera
ST-Ericsson Linux next: NA
ST-Ericsson ID:
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: If26b76e2f400e2c67cdb555454e92cbcef5b65d4
Signed-off-by: Nikhil Bhandary <nikhil.bhandary@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/23087
Reviewed-by: QATEST
Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
Conflicts:
arch/arm/configs/u5500_defconfig
arch/arm/mach-ux500/Makefile
arch/arm/mach-ux500/board-u5500.c
drivers/staging/Kconfig
include/linux/mmio.h
|
|
Signed-off-by: Rajat Verma <rajat.verma@stericsson.com>
Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
Conflicts:
arch/arm/configs/u8500_defconfig
|
|
Put all sources from NMF/CM driver
in kernel source tree instead of having a link within Android environment.
u8500 NMF/CM: Use deferrable timer in the DSP-monitor threads
Use deferrable timer in the threads monitoring the DSP load,
to not wake up ARM just for that.
u8500 NMF/CM: update to NMF 2.10.106
- Remove useless (userland only) files
- Fix several ER (Null pointer, issue in multiprocess environment)
u8500 NMF/CM: enable NMF/CM driver by default
Enable the NMF/CM driver in the default config for u8500
instead of relying on Android's makefile.
Signed-off-by: Pierre Peiffer <pierre.peiffer@stericsson.com>
staging: nmf-cm: Remove u8500 v1 support
Signed-off-by: Jonas Aaberg <jonas.aberg@stericsson.com>
staging: nmf-cm: Adding support for cyclic DMA jobs
NMF-CM gets support for setting up cyclic DMA jobs.
Start/stop of the DMA job will be controlled by the DSP.
ST-Ericsson ID: 338329
Signed-off-by: anneli lundblom <anneli.lundblom@stericsson.com>
u8500 NMF/CM: do not call MMDSP if it is out
Do not do any call to MMDSP if it is not or no more
booted.
Signed-off-by: Pierre Peiffer <pierre.peiffer@stericsson.com>
Fix in moduleparam.h for compilation pb
Signed-off-by: Philippe Langlais <philippe.langlais@linaro.org>
|
|
Updates board_mop500.c so that mmio driver can obtain gpio
config from platform
Adds sensor clock configuration to board specific file.
Adds support for impplementing different power cycling schemes for
primary and secondary camera sensors.
Signed-off-by: rajat verma <rajat.verma@stericsson.com>
|
|
The hdcp management data sent to av8100 is synchronised
with the av8100 documentation.
ST-Ericsson ID: 344063
ST-Ericsson Linux next: Not tested, ER 282779
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: I00f54abe266178be0141ee1c4a46cc9bd2de91d5
Signed-off-by: Per Persson <per.xb.persson@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/24522
Reviewed-by: QATOOLS
Reviewed-by: Jimmy RUBIN <jimmy.rubin@stericsson.com>
Reviewed-by: QATEST
Reviewed-by: Marcel TUNNISSEN <marcel.tuennissen@stericsson.com>
|
|
A bug made the raw ADC value converted to voltage entity
twice. Renamed some gpadc function arguments to clarify
use.
ST-Ericsson ID: 344073
ST-Ericsson Linux next: Tested by ELINWAL
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: I53465c2e65c001c23d13929b4bdb59700eb7cf18
Signed-off-by: Kalle Komierowski <kalle.komierowski@gmail.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/24552
Tested-by: Karl KOMIEROWSKI <karl.komierowski@stericsson.com>
Reviewed-by: Mattias WALLIN <mattias.wallin@stericsson.com>
Reviewed-by: John BECKETT <john.beckett@stericsson.com>
Reviewed-by: QATEST
|
|
This patch adds function mcde_dsi_generic_write, used for
sending generic write commands to DSI display.
ST-Ericsson ID: 334291
ST-Ericsson FOSS-OUT ID: Trivial
ST-Ericsson Linux next: Not tested, ER 282779
Change-Id: I9c0bb3135321b7ab27067dc9d85a048bdce90f85
Signed-off-by: Anders Bauer <anders.bauer@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/23218
Reviewed-by: Per PERSSON <per.xb.persson@stericsson.com>
Reviewed-by: Linus WALLEIJ <linus.walleij@stericsson.com>
|
|
ST-Ericsson ID: 326039
ST-Ericsson FOSS-OUT ID: Trivial
ST-Ericsson Linux next: NA
Change-Id: I30ca4ef74046397d4b498b7cf5673a153a2f62e1
Signed-off-by: John Beckett <john.beckett@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/23456
Reviewed-by: Mattias WALLIN <mattias.wallin@stericsson.com>
|
|
Allows the setting of the initial GPIO direction & pullup registers.
ST-Ericsson Linux next: Ported & patch created
ST-Ericsson ID: 334609
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: I676ed8129a96a2fe41865117e4c864edc09d01ce
Signed-off-by: Chris Kimber <chris.kimber@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/23339
Reviewed-by: Andrew LYNN <andrew.lynn@stericsson.com>
|
|
This patch adds support for converting an overlay with YUV 422 pixel
format.
ST-Ericsson ID: 339423
ST-Ericsson Linux next: Not tested, ER 282779
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: I5a8536c12f12b6cf69f7053cc236e274d13295b4
Signed-off-by: Marcel Tunnissen <Marcel.Tuennissen@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/22867
Reviewed-by: Jimmy RUBIN <jimmy.rubin@stericsson.com>
Tested-by: Marcel TUNNISSEN <marcel.tuennissen@stericsson.com>
Reviewed-by: QATOOLS
Reviewed-by: Per PERSSON <per.xb.persson@stericsson.com>
|
|
Adding DocBook documentation for lsm303dlh accelerometer
and magnetometer drivers.
ST-Ericsson ID: 277198
Change-Id: Idfca43aa6ffaa39b7f73d0135dc6d2b01a0a44c6
Signed-off-by: Chethan Krishna N <chethan.krishna@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/23784
Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
|
|
AB5500 GPADC driver for battery/usb voltage, current
and temperature measurement
ST-Ericsson ID: WP332221
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: Ia841694711cbba168e7e705a5a2bc78c6e3db8dc
Signed-off-by: Vijaya Kumar Kilari <vijay.kilari@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/21775
Reviewed-by: Arun MURTHY <arun.murthy@stericsson.com>
Tested-by: Arun MURTHY <arun.murthy@stericsson.com>
Reviewed-by: Johan PALSSON <johan.palsson@stericsson.com>
Reviewed-by: QATEST
Reviewed-by: Linus WALLEIJ <linus.walleij@stericsson.com>
Fix to merge with 4e75305 "AB5500: AB5500 Analog to Digital conversion driver"
|
|
This patch adds the possbility to get info about an overlay
via the dss interface.
It will also add the virtual address to the overlay struct.
ST-Ericsson Linux next: not tested, ER 282779
ST-Ericsson ID: 339343
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: I2ece60331ccc0075358f4ea820c1dbab1d2402e7
Signed-off-by: Philippe Cornu <philippe.cornu@stericsson.com>
Signed-off-by: Emeric Vigier <emeric.vigier@stericsson.com>
Signed-off-by: Jimmy Rubin <jimmy.rubin@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/23298
Reviewed-by: QATOOLS
Reviewed-by: Per-Daniel OLSSON <per-daniel.olsson@stericsson.com>
Reviewed-by: QATEST
Reviewed-by: Marcel TUNNISSEN <marcel.tuennissen@stericsson.com>
Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
|
|
fix the potential kernel-doc warnings
ST-Ericsson Linux next: -
ST-Ericsson ID: 327425
ST-Ericsson FOSS-OUT ID: Trivial
Signed-off-by: om prakash <omprakash.pal@stericsson.com>
Change-Id: Ibaa302ddbaa8e223b81bd047fceaf7c3b97af491
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/23345
Reviewed-by: Rabin VINCENT <rabin.vincent@stericsson.com>
Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
Reviewed-by: QATEST
Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
|
|
Replace spin_lock with rcu_read_lock when accessing lists to layers
and cache. While packets are in flight rcu_read_lock should not be held,
instead ref-counters are used in combination with RCU.
Signed-off-by: Sjur Brændeland <sjur.brandeland@stericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Change-Id: I7685f33c3ca3511d523025dfc621761f204b5930
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/23230
Reviewed-by: Chris KIMBER <chris.kimber@stericsson.com>
Tested-by: Chris KIMBER <chris.kimber@stericsson.com>
Reviewed-by: Andrew LYNN <andrew.lynn@stericsson.com>
|
|
Signed-off-by: Sjur Brændeland <sjur.brandeland@stericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Change-Id: I9c15550efbc2f3251ab961543fa5b58bb5df864c
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/23229
Reviewed-by: Chris KIMBER <chris.kimber@stericsson.com>
Tested-by: Chris KIMBER <chris.kimber@stericsson.com>
Reviewed-by: Andrew LYNN <andrew.lynn@stericsson.com>
|
|
CAIF Socket Layer and ip-interface registers reference counters
in CAIF service layer. The functions sock_hold, sock_put and
dev_hold, dev_put are used by CAIF Stack to protect from freeing
memory while packets are in-flight.
Signed-off-by: Sjur Brændeland <sjur.brandeland@stericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Change-Id: I09fa96617c0ba75f7716a15fbf526c32b29eb04d
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/23228
Reviewed-by: Chris KIMBER <chris.kimber@stericsson.com>
Tested-by: Chris KIMBER <chris.kimber@stericsson.com>
Reviewed-by: Andrew LYNN <andrew.lynn@stericsson.com>
|
|
Instead of having reference counts in caif service layers,
we hook into existing refcount handling in socket layer and netdevice.
Signed-off-by: Sjur Brændeland <sjur.brandeland@stericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Change-Id: I410f0c404d145d3d4fc04410026e08e39d7ccf06
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/23227
Reviewed-by: Chris KIMBER <chris.kimber@stericsson.com>
Tested-by: Chris KIMBER <chris.kimber@stericsson.com>
Reviewed-by: Andrew LYNN <andrew.lynn@stericsson.com>
|
|
ST-Ericsson Linux next: -
ST-Ericsson ID: WP257121
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: I5feb1dea92e5cc5d4ce57120cfbd320fc54629af
Signed-off-by: Rabin Vincent <rabin.vincent@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/22993
Reviewed-by: Bibek BASU <bibek.basu@stericsson.com>
Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
Fix to merge with 335a4a "u5500: support RTC_CLK1/2"
|
|
The display device has to be protected by mutexes on
DSS level.
The framebuffer device and the dispdev both uses dss at the same
time.
ST-Ericsson ID: 338979
ST-Ericsson Linux next: Not tested, ER 282779
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: I10065488130a5c5400b4463ddffd71c3a7586f12
Signed-off-by: Jimmy Rubin <jimmy.rubin@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/22956
Reviewed-by: QATOOLS
Reviewed-by: QATEST
Reviewed-by: Marcel TUNNISSEN <marcel.tuennissen@stericsson.com>
Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
|
|
This is the driver that I got from Matteo Dameno and Carmine Iascone,
it doesn't currently compile for some missing symbols but I'd better
first commit what I got and then make my own changes over it.
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
Change-Id: I1dada398da9fe30d5e1f29c9785707c8a84c7a6c
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/24784
Tested-by: Robert MARKLUND <robert.marklund@stericsson.com>
Reviewed-by: Philippe LANGLAIS <philippe.langlais@stericsson.com>
|
|
FM radio driver now supports enabling, disabling, setting
parameters for internal Tone Generator and configuring
De-emphasis filter.
ST-Ericsson ID: 281539
ST-Ericsson ID: 317074
Change-Id: I5b4aacee58e7955a2aea52aeda3a99663bad3082
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/11412
Reviewed-by: Pradeep-mmc KUMAR <pradeep-mmc.kumar@stericsson.com>
Tested-by: Pradeep-mmc KUMAR <pradeep-mmc.kumar@stericsson.com>
Reviewed-by: Johan PALMAEUS <johan.xj.palmaeus@stericsson.com>
Reviewed-by: Andreas GUSTAFSSON <andreas.a.gustafsson@stericsson.com>
Reviewed-by: Hemant GUPTA <hemant.gupta@stericsson.com>
Reviewed-by: QATEST
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/24895
Reviewed-by: Philippe LANGLAIS <philippe.langlais@stericsson.com>
Tested-by: Said BAGHERI <said.m.bagheri@stericsson.com>
Reviewed-by: Said BAGHERI <said.m.bagheri@stericsson.com>
|
|
ST-Ericsson Linux next: 342252
ST-Ericsson ID: 342253
ST-Ericsson FOSS-OUT ID: Trivial
Signed-off-by: Robert Marklund <robert.marklund@stericsson.com>
Change-Id: I6d0b04aaa9f3e0d170cb3dd2510960f606c4435f
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/24728
Reviewed-by: Philippe LANGLAIS <philippe.langlais@stericsson.com>
|
|
Move the content of linux/mfd/abx500/ab5500.h
to the mainline header linux/mfd/abx500.h
Also change the clients of this file.
ST-Ericsson Linux next: OK
ST-Ericsson ID: 342253
ST-Ericsson FOSS-OUT ID: Trivial
Signed-off-by: Robert Marklund <robert.marklund@stericsson.com>
Change-Id: I30f7e2978d7bb00408597fdbdce8e7b6fdca397f
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/24725
Reviewed-by: Philippe LANGLAIS <philippe.langlais@stericsson.com>
|
|
Fix merge problems introduced in soc u8500 driver
when merging from main dev track
ST-Ericsson Linux next: 342252
ST-Ericsson ID: 342253
ST-Ericsson FOSS-OUT ID: Trivial
Signed-off-by: Robert Marklund <robert.marklund@stericsson.com>
Change-Id: I083638dddc34792b654d36b5aa967238614799c7
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/24724
Reviewed-by: Philippe LANGLAIS <philippe.langlais@stericsson.com>
|
|
ST-Ericsson Linux next: 342766
ST-Ericsson ID: 340139
ST-Ericsson FOSS-OUT ID: Trivial
Signed-off-by: Robert Marklund <robert.marklund@stericsson.com>
Change-Id: I47692d7a7993cbeda53dfca737d6346f043336f3
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/24059
Reviewed-by: Par-Gunnar HJALMDAHL <par-gunnar.p.hjalmdahl@stericsson.com>
Reviewed-by: Dmitry TARNYAGIN <dmitry.tarnyagin@stericsson.com>
Reviewed-by: Philippe LANGLAIS <philippe.langlais@stericsson.com>
|
|
|
|
Conflicts:
mm/memory.c
|
|
instances"
commit 86f315bbb2374f1f077500ad131dd9b71856e697 upstream.
This reverts commit 26fc8775b51484d8c0a671198639c6d5ae60533e, which has
been reported to cause boot/resume-time crashes for some users:
https://bbs.archlinux.org/viewtopic.php?id=118751.
Signed-off-by: Chris Ball <cjb@laptop.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
|
|
commit 8f389a99b652aab5b42297280bd94d95933ad12f upstream.
Stefan found nobootmem does not work on his system that has only 8M of
RAM. This causes an early panic:
BIOS-provided physical RAM map:
BIOS-88: 0000000000000000 - 000000000009f000 (usable)
BIOS-88: 0000000000100000 - 0000000000840000 (usable)
bootconsole [earlyser0] enabled
Notice: NX (Execute Disable) protection missing in CPU or disabled in BIOS!
DMI not present or invalid.
last_pfn = 0x840 max_arch_pfn = 0x100000
init_memory_mapping: 0000000000000000-0000000000840000
8MB LOWMEM available.
mapped low ram: 0 - 00840000
low ram: 0 - 00840000
Zone PFN ranges:
DMA 0x00000001 -> 0x00001000
Normal empty
Movable zone start PFN for each node
early_node_map[2] active PFN ranges
0: 0x00000001 -> 0x0000009f
0: 0x00000100 -> 0x00000840
BUG: Int 6: CR2 (null)
EDI c034663c ESI (null) EBP c0329f38 ESP c0329ef4
EBX c0346380 EDX 00000006 ECX ffffffff EAX fffffff4
err (null) EIP c0353191 CS c0320060 flg 00010082
Stack: (null) c030c533 000007cd (null) c030c533 00000001 (null) (null)
00000003 0000083f 00000018 00000002 00000002 c0329f6c c03534d6 (null)
(null) 00000100 00000840 (null) c0329f64 00000001 00001000 (null)
Pid: 0, comm: swapper Not tainted 2.6.36 #5
Call Trace:
[<c02e3707>] ? 0xc02e3707
[<c035e6e5>] 0xc035e6e5
[<c0353191>] ? 0xc0353191
[<c03534d6>] 0xc03534d6
[<c034f1cd>] 0xc034f1cd
[<c034a824>] 0xc034a824
[<c03513cb>] ? 0xc03513cb
[<c0349432>] 0xc0349432
[<c0349066>] 0xc0349066
It turns out that we should ignore the low limit of 16M.
Use alloc_bootmem_node_nopanic() in this case.
[akpm@linux-foundation.org: less mess]
Signed-off-by: Yinghai LU <yinghai@kernel.org>
Reported-by: Stefan Hellermann <stefan@the2masters.de>
Tested-by: Stefan Hellermann <stefan@the2masters.de>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: "H. Peter Anvin" <hpa@linux.intel.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
|
|
commit a09a79f66874c905af35d5bb5e5f2fdc7b6b894d upstream.
Linux kernel excludes guard page when performing mlock on a VMA with
down-growing stack. However, some architectures have up-growing stack
and locking the guard page should be excluded in this case too.
This patch fixes lvm2 on PA-RISC (and possibly other architectures with
up-growing stack). lvm2 calculates number of used pages when locking and
when unlocking and reports an internal error if the numbers mismatch.
[ Patch changed fairly extensively to also fix /proc/<pid>/maps for the
grows-up case, and to move things around a bit to clean it all up and
share the infrstructure with the /proc bits.
Tested on ia64 that has both grow-up and grow-down segments - Linus ]
Signed-off-by: Mikulas Patocka <mikulas@artax.karlin.mff.cuni.cz>
Tested-by: Tony Luck <tony.luck@gmail.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
|
|
Backport of 8aeb96f80232e9a701b5c4715504f4c9173978bd
(drm/radeon/kms: fix gart setup on fusion parts (v2))
to the stable tree.
Out of the entire GART/VM subsystem, the hw designers changed
the location of 3 regs.
v2: airlied: add parameter for userspace to work from.
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
Signed-off-by: Jerome Glisse <jglisse@redhat.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
|
|
commit bf26c018490c2fce7fe9b629083b96ce0e6ad019 upstream.
When a task is traced and is in a stopped state, the tracer
may execute a ptrace request to examine the tracee state and
get its task struct. Right after, the tracee can be killed
and thus its breakpoints released.
This can happen concurrently when the tracer is in the middle
of reading or modifying these breakpoints, leading to dereferencing
a freed pointer.
Hence, to prepare the fix, create a generic breakpoint reference
holding API. When a reference on the breakpoints of a task is
held, the breakpoints won't be released until the last reference
is dropped. After that, no more ptrace request on the task's
breakpoints can be serviced for the tracer.
Reported-by: Oleg Nesterov <oleg@redhat.com>
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Will Deacon <will.deacon@arm.com>
Cc: Prasad <prasad@linux.vnet.ibm.com>
Cc: Paul Mundt <lethal@linux-sh.org>
Link: http://lkml.kernel.org/r/1302284067-7860-2-git-send-email-fweisbec@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
|
|
Bring back AB5500 initial data setting structure in petra platform
data.Required by CG2900 chip driver
ST-Ericsson Linux next: NA
ST-Ericsson ID: 257121
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: I7626d10611a32ea18619e47f21ed7a53016592be
Signed-off-by: Bibek Basu <bibek.basu@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/22763
Reviewed-by: Lukasz RYMANOWSKI <lukasz.rymanowski@stericsson.com>
Reviewed-by: QATOOLS
Reviewed-by: QATEST
Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
Conflicts:
drivers/mfd/ab5500-core.c
|
|
Simple HV LED controller driver for AB5500v1.0 MFD chips
ST-Ericsson ID: WP 332221
ST-Ericsson Linux next: ER 336280
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: Ic787cd1a2277a4c5782dd18d3436cd95b763c81a
Signed-off-by: Shreshtha Kumar Sahu <shreshthakumar.sahu@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/21898
Reviewed-by: QATEST
Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
|
|
ST-Ericsson ID: 337171
ST Ericsson FOSS-OUT ID: Trivial
ST Ericsson Linux next: Not tested
Change-Id: I4c87bd550547a1fd90f1fef8c3c553246940b31e
Signed-off-by: Martin Hovang <martin.xm.hovang@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/22666
Reviewed-by: QATEST
Reviewed-by: Joakim BECH <joakim.xx.bech@stericsson.com>
Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
|
|
ST-Ericsson Linux next: -
ST-Ericsson ID: WP257121
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: I3fcc5c9f1d88c433edc3698da739ecdd11e51711
Signed-off-by: Rabin Vincent <rabin.vincent@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/22352
Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
|
|
This patch adds tripple buffer support to the mcde
driver. Useful for video mode devices (e.g. HDMI)
where a missed v-sync leads to half frame rate
(the client has to wait for the next v-sync).
Tripple buffering solves this problem since there
are two back buffers the client can use.
Tripple buffering for HDMI is activated in
menuconfig by enabling:
System Type -> Display selection -> Enable tripple
buffer for HDMI display
ST-Ericsson ID: 335004
ST-Ericsson Linux next: Not tested, ER 282779
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: Ice1f936a8a00e2fbc8fdf7e8c6621c539efe0ac4
Signed-off-by: Jimmy Rubin <jimmy.rubin@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/21839
Reviewed-by: QATOOLS
Reviewed-by: Per PERSSON <per.xb.persson@stericsson.com>
Reviewed-by: QATEST
Reviewed-by: Marcel TUNNISSEN <marcel.tuennissen@stericsson.com>
Conflicts:
arch/arm/configs/u8500_defconfig
drivers/misc/dispdev/dispdev.c
|