summaryrefslogtreecommitdiff
path: root/arch
AgeCommit message (Collapse)Author
2012-06-18android: Enable Android alarm drivercoremathieu.poirier@linaro.org
Please apply to: stable-android-ux500-3.3-1 stable-android-ux500-3.4 integration-android-ux500 From d9136de15feb9ad6d938012a697f7c04c48fea96 Mon Sep 17 00:00:00 2001 From: "Mathieu J. Poirier" <mathieu.poirier@linaro.org> Date: Mon, 18 Jun 2012 08:16:47 -0600 Subject: [PATCH] android: Enable Android alarm driver Setting INTF_ALARM_DEV allows time related services to work properly. LP: https://bugs.launchpad.net/linaro-android/+bug/987236 Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
2012-05-22config: Enable PCCARD to set IO_SPACE_LIMIT to 0xffff to avoid failure in ↵Philippe Langlais
IORESOURCE_IO allocation This is a temporary workaround until cg2900-uart & cw1200 drivers change their way to manage the GPIO reservations Signed-off-by: Philippe Langlais <philippe.langlais@linaro.org>
2012-05-22power: ab8500: bm: Temporary workaround to reuse old ab8500 platform data ↵Philippe Langlais
managment Signed-off-by: Philippe Langlais <philippe.langlais@linaro.org>
2012-05-22Enable USB Video in Snowball kernel configsupriya karanth
Enable the USB VIDEO CLASS for android https://bugs.launchpad.net/igloocommunity/+bug/975593 Signed-off-by: supriya karanth <supriya.karanth@stericsson.com>
2012-05-22ux500: bm: Update board mop500 battery management to 3.4 bm driversPhilippe Langlais
Signed-off-by: Philippe Langlais <philippe.langlais@linaro.org>
2012-05-22ux500: configs: u8500 defconfigs cleanup and alignmentPhilippe Langlais
Signed-off-by: Philippe Langlais <philippe.langlais@linaro.org>
2012-05-22mach_ux500:config:Removed suspend flagPhilippe Langlais
By disbaling the suspend we could avoid the hangs in suspend and resume. This workaround will be removed once the power management supports for all other peripheral drivers. Signed-off-by: Naveen Kumar Gaddipati <naveen.gaddipati@stericsson.com> Signed-off-by: Philippe Langlais <philippe.langlais@stericsson.com>
2012-05-22config: ux500: android: Disable UX500_SUSPEND_DBG, needs STE cpuidlePhilippe Langlais
Signed-off-by: Philippe Langlais <philippe.langlais@linaro.org>
2012-05-22ARM: ux500: Remove unused include fileJonas Aaberg
ST-Ericsson Linux next: - ST-Ericsson ID: 370799 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I9bb0d97f8562d6abef8b0a6d424ad38bf7f58a1c Signed-off-by: Jonas Aaberg <jonas.aberg@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/50944 Reviewed-by: QABUILD Reviewed-by: Arun MURTHY <arun.murthy@stericsson.com> Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
2012-05-22config: u8500: power: idle testJonas Aaberg
Add power module test. This test, in debugfs/pwr_test/idle shall pass when the screen is black, but suspend is not yet reached. This module test checks clocks, prcmu-regulators, db8500 regulators and ab8500 regulators. The reason why not adding this to LTP is that later this module test will contain tests for voicecall and low-power-audio, which require Android to run. ST-Ericsson ID: 367599 Signed-off-by: Jonas Aaberg <jonas.aberg@stericsson.com>
2012-05-22ARM: configs: u8500: Enable per UID net statisticsDominik Sliwa
Sets CONFIG_UID_STAT=y in u8500_defconfig to enable network usage statistics per UID. ST-Ericsson Linux next: - ST-Ericsson ID: 410876 ST-Ericsson FOSS-OUT ID: NA Change-Id: I812748a9997fb30a15810892b7a829f9e9c4cb7c Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/50545 Reviewed-by: Dominik SLIWA <dominik.sliwa@tieto.com> Tested-by: Dominik SLIWA <dominik.sliwa@tieto.com> Reviewed-by: QABUILD Reviewed-by: Tomasz HLIWIAK <tomasz.hliwiak@tieto.com> Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2012-05-22ARM: configs: u8500: Enable lockup detectionJonas Aaberg
ST-Ericsson ID: 370799 Signed-off-by: Jonas Aaberg <jonas.aberg@stericsson.com>
2012-05-22pm: mach-ux500: platform data for pwm driverNaga Radhesh
platform data for pwm driver, which contains no.of supported pwm and pwm out led's ST-Ericsson ID: 366316 Signed-off-by: Naga Radhesh <naga.radheshy@stericsson.com>
2012-05-22ARM: kexec: Call the per cpu calls on crashing cpu as wellJonas Aaberg
Previous the per cpu callbacks where only executed on the none-crashing cpu. ST-Ericsson Linux next: - ST-Ericsson ID: 370799 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I0640f9121fb55e94f3939104d0a0fef224d35e7c Signed-off-by: Jonas Aaberg <jonas.aberg@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/42666 Reviewed-by: QABUILD Reviewed-by: Johan BJORNSTEDT <johan.bjornstedt@stericsson.com>
2012-05-22config: ux500: Add U8520 machineBengt Jonsson
ST-Ericsson ID: 371953 Signed-off-by: Bengt Jonsson <bengt.g.jonsson@stericsson.com>
2012-05-22ARM: configs: Add support for 9540Yann Gautier
ST-Ericsson Linux next: NA ST-Ericsson ID: 398896 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I3962c34e9eb84e808f4d31dc0d9050bdac993abf Signed-off-by: Yann Gautier <yann.gautier@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/44916 Reviewed-by: QATOOLS Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
2012-05-22ARM: Update mach-typesJohan Rudholm
ST-Ericsson Linux next: NA ST-Ericsson ID: 371953 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I57af85e8d2b40cc21a6ba4260e94ba03c436c625 Signed-off-by: Johan Rudholm <johan.rudholm@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/47588 Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com> Reviewed-by: Linus WALLEIJ <linus.walleij@stericsson.com>
2012-05-22config: mcde: remove synchronized_updatePhilippe Langlais
The synchronized_update parameter is removed and replaced by SYNCSRC_OFF when disabling vertical synchronization for display. Signed-off-by: Anders Bauer <anders.bauer@stericsson.com>
2012-05-22net: add support for datausageMarkus Grape
This will add support for datausage that is located in the google Settings application. ST-Ericsson Linux next: NA ST-Ericsson ID: 350337 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: Ie824b09788c09ec6723f6f6af22ffef8ab0b3d2c Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/46415 Tested-by: Markus GRAPE <markus.grape@stericsson.com> Reviewed-by: QATEST Reviewed-by: Hakan GARDRUP <hakan.gardrup@stericsson.com> Reviewed-by: Anders NILSSON2 <anders.o.nilsson@stericsson.com> Reviewed-by: Rabin VINCENT <rabin.vincent@stericsson.com>
2012-05-22defconfig: Add CONFIG_HIDRAW defconfig optionSzymon Janc
This is needed by test application used for BT HID PTS qualification. Also usefull when making userspace drivers for custom HID devices. ST-Ericsson Linux next: NA ST-Ericsson ID: 405447 ST-Ericsson FOSS-OUT ID: Trivial Signed-off-by: Szymon Janc <szymon.janc@tieto.com> Change-Id: If3b0f9d416b5ab28fccdfad3a9fe9397af818eb1 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/43721 Tested-by: SZYMON JANC <szymon.janc@tieto.com> Reviewed-by: QATOOLS Reviewed-by: QABUILD Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
2012-05-22power: ab5500-btemp: enable btemp auto triggerRajagopala V
Fix and enable battery temperature auto trigger. ST-Ericsson Linux next: NA ST-Ericsson ID: 372448 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I83d57133d5bebea00b658d170139a62be8e6f79f Signed-off-by: Rajagopala V <rajagopala.v@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/43250 Reviewed-by: QABUILD Reviewed-by: Arun MURTHY <arun.murthy@stericsson.com> Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
2012-05-22power: ab5500-btemp: manual mode monitoring as platform dataRajagopala V
Move battery temperature manual mode monitoring selection to platform data. ST-Ericsson Linux next: NA ST-Ericsson ID: 372448 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I9224e5cc8bed77be6a10344d32e480a7717a1d22 Signed-off-by: Rajagopala V <rajagopala.v@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/43248 Reviewed-by: QABUILD Reviewed-by: Arun MURTHY <arun.murthy@stericsson.com> Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
2012-05-22net: add ipv6 multiple tables supportSean Sandoval
ST-Ericsson Linux next: NA ST-Ericsson ID: 410101 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: Ic8c6e6aedc1c30fb96bd468b0fbdb395328c841a Signed-off-by: Sean Sandoval <sean.xx.sandoval@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/45222 Reviewed-by: Markus GRAPE <markus.grape@stericsson.com> Tested-by: Markus GRAPE <markus.grape@stericsson.com> Reviewed-by: Hakan GARDRUP <hakan.gardrup@stericsson.com> Reviewed-by: QATOOLS Reviewed-by: QABUILD Reviewed-by: Rabin VINCENT <rabin.vincent@stericsson.com>
2012-05-22config: android: sound: Now CONFIG_STM_MSP_SPI is enabled by defaultPhilippe Langlais
Fix for audio doesn't work in IK 3.3 Signed-off-by: Philippe Langlais <philippe.langlais@stericsson.com>
2012-05-22config: sound: Fix for audio doesn't work in IK 3.3ramesh.chandrasekaran
Enable CONFIG_STM_MSP_SPI kernel config which initializes MSPs and audio codecs. Signed-off-by: Ramesh Chandrasekaran <ramesh.chandrasekaran@stericsson.com>
2012-05-22snowball: android: automatic creation of frame buffer deviceMathieu J. Poirier
This is normally done by HDMIServices but the daemon is not running in the linaro-android environment, hence enabling by default. Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
2012-05-22config: Add u8500 Android default configPhilippe Langlais
Signed-off-by: Philippe Langlais <philippe.langlais@stericsson.com>
2012-05-22config: Enable built-in USB_GADGET_MUSB_HDRC to get USB OTG working on U8500Philippe Langlais
Signed-off-by: Lee Jones <lee.jones@linaro.org> Signed-off-by: Philippe Langlais <philippe.langlais@linaro.org>
2012-05-22config: Align u8500_defconfig with STE internal defconfigPhilippe Langlais
Signed-off-by: Philippe Langlais <philippe.langlais@linaro.org>
2012-05-22Add support for the 9100 Li-ION battery and adjust the bkup battery charger ↵Gregory Hermant
parameters Signed-off-by: Gregory Hermant <gregory.hermant@calao-systems.com>
2012-05-22ux500: disable Old ABI compatibility support (OABI_COMPAT)Shreshtha Kumar Sahu
This patch disables support for legacy ABI binaries. Only new ARM ABI i.e. EABI compiled user space is supported. If legacy ABI binary is executed, results will be unpredictable. This is done because race condition is seen in swap-out code on SMP in following kernel panic dump - <1>[35225.247131] Unable to handle kernel paging request at virtual address afd0c638 <1>[35225.247131] pgd = e0020000 <1>[35225.247161] [afd0c638] *pgd=2005a031, *pte=2331971d, *ppte=00000000 <0>[35225.247253] Internal error: Oops: 17 [#1] PREEMPT SMP <6>[35225.247283] dbx500_dump notified of crash <4>[35225.249298] PC is at vector_swi+0x28/0x88 <4>[35225.249328] LR is at 0xafd0c63c <4>[35225.249328] pc : [<c0293828>] lr : [<afd0c63c>] psr: 60000093 <4>[35225.249359] sp : e013bfb0 ip : 82d08528 fp : 82d0731c <4>[35225.249359] r10: 00000000 r9 : 47ac2738 r8 : 20000010 <4>[35225.249389] r7 : 000000a8 r6 : 00000000 r5 : 00000010 r4 : 001341d0 <4>[35225.249389] r3 : 00000001 r2 : ffffffff r1 : 00000008 r0 : 0013421c <4>[35225.249420] Flags: nZCv IRQs off FIQs on Mode SVC_32 ISA ARM Segment user <4>[35225.249420] Control: 10c57c7d Table: 2002004a DAC: 00000015 <4>[35225.249450] <4>[35225.249450] PC: 0xc02937a8: <4>[35225.249450] 37a8 e59d1040 e5bde03c e16ff001 f57ff01f e95d7fff e1a00000 e28dd00c e1b0f00e <4>[35225.249511] 37c8 eb00f275 e1a096ad e1a09689 e5991000 e3a08001 e3110c01 0affffec e1a0100d <4>[35225.249542] 37e8 e3a00001 eb0006f0 eaffffe8 e320f000 e320f000 e320f000 e24dd048 e88d1fff <4>[35225.249603] 3808 e28d803c e9486000 e14f8000 e58de03c e58d8040 e58d0044 e3180020 13a0a000 <4>[35225.249664] 3828 051ea004 e59fc0ac e59cc000 ee01cf10 f1080080 e1a096ad e1a09689 e28f809c <4>[35225.249694] 3848 e599c000 e3daa4ff 122a7609 159f8088 e92d0030 e31c0c01 1a000008 e3570e17 <4>[35225.249755] 3868 e24fee13 3798f107 e28d1008 e3a08000 e357080f e2270000 2a0010fc ea0173f0 <4>[35225.249786] 3888 e1a02007 e28d1008 e3a00000 eb0006c6 e28fe014 e1a07000 e28d1008 e3570e17 <4>[35225.249847] <4>[35225.249847] SP: 0xe013bf30: <4>[35225.249847] bf30 00000000 00000102 c0978064 c0322794 e013a000 00000001 00000024 c09d9cc0 <4>[35225.249908] bf50 00000000 ffffffff e013bf9c 00000000 000000a8 c02931ec 0013421c 00000008 <4>[35225.249938] bf70 ffffffff 00000001 001341d0 00000010 00000000 000000a8 20000010 47ac2738 <4>[35225.249969] bf90 00000000 82d0731c 82d08528 e013bfb0 afd0c63c c0293828 60000093 ffffffff <4>[35225.250030] bfb0 0013421c 00000008 ffffffff 00000001 001341d0 00000010 00000000 000000a8 <4>[35225.250091] bfd0 00000000 47ac2738 00000000 82d0731c 82d08528 47ac2050 82d0340b afd0c63c <4>[35225.250122] bff0 20000010 0013421c 40990310 d0610c09 00000000 00000001 bf000000 e00ba180 <4>[35225.250183] c010 c0999f28 00000000 00000015 c1639940 e00ba180 e013c000 c0ab67bc e1fb9720 <0>[35225.250244] Stack: (0xe013bfb0 to 0xe013c000) <0>[35225.250274] bfa0: 0013421c 00000008 ffffffff 00000001 <0>[35225.250274] bfc0: 001341d0 00000010 00000000 000000a8 00000000 47ac2738 00000000 82d0731c <0>[35225.250305] bfe0: 82d08528 47ac2050 82d0340b afd0c63c 20000010 0013421c 40990310 d0610c09 <0>[35225.250335] Code: e58d8040 e58d0044 e3180020 13a0a000 (051ea004) <2>[35225.250366] CPU0: stopping <4>[35225.250396] [<c029a84c>] (unwind_backtrace+0x0/0xf0) from [<c0776c88>] (dump_stack+0x10/0x24) <4>[35225.250427] [<c0776c88>] (dump_stack+0x10/0x24) from [<c0292304>] (do_IPI+0xc8/0x164) <4>[35225.250457] [<c0292304>] (do_IPI+0xc8/0x164) from [<c029324c>] (__irq_svc+0x4c/0xe4) <4>[35225.250457] Exception stack(0xc0977ed8 to 0xc0977f20) <4>[35225.250488] 7ec0: c09deb84 00000000 <4>[35225.250488] 7ee0: 00000000 c09deb48 00000001 00000001 6b99a329 c09deb48 159c928a 00000006 <4>[35225.250518] 7f00: 6b9c6db8 000017c4 00000002 c0977f20 c02a3774 c02a3790 60000113 ffffffff <4>[35225.250549] [<c029324c>] (__irq_svc+0x4c/0xe4) from [<c02a3790>] (enter_sleep+0x6e8/0x728) <4>[35225.250579] [<c02a3790>] (enter_sleep+0x6e8/0x728) from [<c05d88f0>] (cpuidle_idle_call+0xb0/0x190) <4>[35225.250610] [<c05d88f0>] (cpuidle_idle_call+0xb0/0x190) from [<c0294c98>] (cpu_idle+0x94/0xf0) <4>[35225.250610] [<c0294c98>] (cpu_idle+0x94/0xf0) from [<c0008bd4>] (start_kernel+0x310/0x380) <4>[35225.250640] unwind: Unknown symbol address c0008bd4 <4>[35225.250640] unwind: Index not found c0008bd4 <4>[35225.251861] ---[ end trace 58829f802d64ca85 ]--- <0>[35225.251861] Kernel panic - not syncing: Fatal exception <4>[35225.251892] [<c029a84c>] (unwind_backtrace+0x0/0xf0) from [<c0776c88>] (dump_stack+0x10/0x24) <4>[35225.251922] [<c0776c88>] (dump_stack+0x10/0x24) from [<c0776d08>] (panic+0x6c/0x1ac) <4>[35225.251953] [<c0776d08>] (panic+0x6c/0x1ac) from [<c02979d4>] (die+0x1b0/0x1f8) <4>[35225.251983] [<c02979d4>] (die+0x1b0/0x1f8) from [<c029da48>] (__do_kernel_fault+0x64/0x84) <4>[35225.251983] [<c029da48>] (__do_kernel_fault+0x64/0x84) from [<c029dd10>] (do_page_fault+0x2a8/0x2cc) <4>[35225.252014] [<c029dd10>] (do_page_fault+0x2a8/0x2cc) from [<c02924e8>] (do_DataAbort+0x34/0x94) <4>[35225.252044] [<c02924e8>] (do_DataAbort+0x34/0x94) from [<c02931ec>] (__dabt_svc+0x4c/0x60) <4>[35225.252044] Exception stack(0xe013bf68 to 0xe013bfb0) <4>[35225.252044] bf60: 0013421c 00000008 ffffffff 00000001 001341d0 00000010 <4>[35225.252075] bf80: 00000000 000000a8 20000010 47ac2738 00000000 82d0731c 82d08528 e013bfb0 <4>[35225.252075] bfa0: afd0c63c c0293828 60000093 ffffffff <4>[35225.252105] [<c02931ec>] (__dabt_svc+0x4c/0x60) from [<c0293828>] (vector_swi+0x28/0x88) Solution is proposed based on discussion in following link - http://lists.infradead.org/pipermail/linux-arm-kernel/2011-January/038059.html ST-Ericsson ID: 408168 ST-Ericsson Linux next: NA ST-Ericsson FOSS-OUT ID: Trivial Change-Id: Ief923b60fd4cb93ce96af1a6af87ade691ec6770 Signed-off-by: Shreshtha Kumar Sahu <shreshthakumar.sahu@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/44267 Reviewed-by: Rabin VINCENT <rabin.vincent@stericsson.com>
2012-05-22u8500_defconfig: Update the watchdog config nameVirupax Sadashivpetimath
ST-Ericsson Linux next: NA ST-Ericsson ID: 316540 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I1abe08f4b5ab5b5911583568ff935b78ae12b763 Signed-off-by: Virupax Sadashivpetimath <virupax.sadashivpetimath@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/42703 Reviewed-by: QABUILD Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2012-05-22power:ab8500_charger autopower settingsPeter Enderborg
Change the power loss handling so we do a reboot instead of poweroff when charger is connected. ST-Ericsson Linux next: NA ST-Ericsson ID: 373445 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: Idfafba3f359829b87a0725d89cf86a72652dc1be Signed-off-by: pender01 <peter.enderborg@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/40696 Reviewed-by: QATOOLS Reviewed-by: QABUILD Reviewed-by: Johan BJORNSTEDT <johan.bjornstedt@stericsson.com>
2012-05-22u8500_defconfig: set CONFIG_LSM303DLHC to yNaga Radhesh
Add LSM303DLHC in u8500 defconfig ST-Ericsson ID: 374970 ST-Ericsson Linux next: NA ST-Ericsson FOSS-OUT ID: Trivial Change-Id:Ie6cf0571dd7532ba4490cd821ad98692a3517710 Signed-off-by: Naga Radhesh <naga.radheshy@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/40028 Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
2012-05-22power: ab8500_bm: Estimate capacity in maintenanceJohan Bjornstedt
Battery capacity will be estimated when the charging algorithm reports that we're in maintenance state. Previously we always reported "100%" in maintenance. ST-Ericsson ID: 398336 ST-Ericsson Linux next: NA ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I931b570a26733ced091d7f3cfb1f6ad9d9a5f8f6 Signed-off-by: Johan Bjornstedt <johan.bjornstedt@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/39748 Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2012-05-22mach-ux500: update the battery capacityArun Murthy
ST-Ericsson Linux next: NA ST-Ericsson ID: 375503 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I89f912270ab7852aa03c944b6ec7794fdb2d03b0 Signed-off-by: Arun Murthy <arun.murthy@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/40449 Reviewed-by: Rabin VINCENT <rabin.vincent@stericsson.com>
2012-05-22config : misc : stm driver not functionalPhilippe Langlais
configure stm mode to software to fix the broken driver Signed-off-by: Bibek Basu <bibek.basu@stericsson.com>
2012-05-22ARM: Set bit 22 in the PL310 (cache controller) AuxCtlr registerCatalin Marinas
Clearing bit 22 in the PL310 Auxiliary Control register (shared attribute override enable) has the side effect of transforming Normal Shared Non-cacheable reads into Cacheable no-allocate reads. Coherent DMA buffers in Linux always have a Cacheable alias via the kernel linear mapping and the processor can speculatively load cache lines into the PL310 controller. With bit 22 cleared, Non-cacheable reads would unexpectedly hit such cache lines leading to buffer corruption. This patch ensures that bit 22 is set in the l2x0_init() function if PL310 and not rely on the platform code to specify it. It also modifies the 'aux' variable only if the actual register is written so that the final printk displays the real hardware value. ST-Ericsson ID: 281924 ST-Ericsson Linux next: Already in patch tracker Change-Id: I9175c4ca935db4072d944202741e744f55927092 Signed-off-by: srinidhi kasagar <srinidhi.kasagar@stericsson.com> Signed-off-by: Catalin Marinas <catalin.marinas@arm.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/21841 Reviewed-by: Vijaya Kumar K-1 <vijay.kilari@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/40015 Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2012-05-22power:ab5500-fg: Move battery threshold to plat dataRajagopala V
Move battery low and over battery threshold to platform data. ST-Ericsson Linux next: NA ST-Ericsson ID: 372448 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I63127e9753a7ec946afc3261af4c1dad6523d7ad Signed-off-by: Rajagopala V <rajagopala.v@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/37269 Reviewed-by: QABUILD Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
2012-05-22power: ab8500_bm: Use FG resistance value in calculationJohan Bjornstedt
The fuel gauge resistor value was only used for the instant current calculation. This patch will use this value in the average calculation. The unit for the FG resistance is now in 0.1mOhm to increase precision ST-Ericsson ID: 370883 ST-Ericsson Linux next: Not tested ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I62af322addd8af7c049cfaccd449a0349faa7946 Signed-off-by: Johan Bjornstedt <johan.bjornstedt@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/37524 Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com> Reviewed-by: Karl KOMIEROWSKI <karl.komierowski@stericsson.com>
2012-05-22bm: ux500: Coding style fixesPhilippe Langlais
Fix the most obvious violations of the kernel coding style Signed-off-by: Jonas Aaberg <jonas.aberg@stericsson.com>
2012-05-22power: ab8500_bm: Configuration of battok levelspender01
Added board config parameters for battok levels and applying them in startup. ST-Ericsson Linux next: NA ST-Ericsson ID: 358904 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: Ic377b86e12d4e8c6b2199a2f4c82b62643ad7ece Signed-off-by: pender01 <peter.enderborg@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/35821 Reviewed-by: QATOOLS Reviewed-by: Johan BJORNSTEDT <johan.bjornstedt@stericsson.com> Reviewed-by: QABUILD
2012-05-22ARM: configs: u8500|snowball|u9500: Disable MMC_CLKGATEUlf Hansson
This change will have positive effect on throughput. The corresponding clock is controlled by the mmci host driver by using PM runtime instead. Change-Id: I53349b9b2b393c46f6040133a200f17255452036 Signed-off-by: Ulf Hansson <ulf.hansson@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/36219
2012-05-22u8500/u5500: Increase number of MMC minor devicesJohan Rudholm
Increase the number of MMC minor devices from 8 to 32. This is because Android recovery mode needs access to additional partitions, and it is neat to keep MMC device partitions within major number 179 (otherwise any partition >8 would be assigned major number BLOCK_EXT_MAJOR, 259). 32 was chosen as the highest possible number when considering that the two eMMC devices contain two boot partitions each. ST-Ericsson ID: 356788 ST-Ericsson Linux next: NA ST-Ericsson FOSS-OUT ID: Trivial Change-Id: Iffc42c595f655fe6ddc874875ae2606366f964ef Signed-off-by: Johan Rudholm <johan.rudholm@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/35465 Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2012-05-22ARM: hw_breakpoint: don't fault when debug is not poweredRabin Vincent
If the debug logic is not powered, the processor can unfortunately raise an undefined instruction exception on the instruction that we use to check if the debug logic is powered up or not. Handle this with an undef hook, so that the kernel doesn't crash on boot on such setups. ST-Ericsson ID: 370131 ST-Ericsson Linux next: NA ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I5802811ac0676d3d13782897b6941dcaee3e4721 Signed-off-by: Rabin Vincent <rabin.vincent@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/35326 Reviewed-by: QABUILD Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2012-05-22configs: mcde: Remove static board configurationPhilippe Langlais
Make device registration more dynamic using mach_is_xxx() and uib_is_xxx() type of calls instead of having compile time Kconfig settings. And clean out most unused static configuration data. ST-Ericsson ID: 368402 ST-Ericsson FOSS-OUT ID: Trivial ST-Ericsson Linux next: NA Signed-off-by: Marcus Lorentzon <marcus.xm.lorentzon@stericsson.com>
2012-05-22u8500_defconfig: Add support for active FTP in NAPChristian Nilsson
Allowing active ftp to work when running NAP by adding support in conntrack and nat for it. ST-Ericsson ID: 364593 ST-Ericsson FOSS-OUT ID: NA Change-Id: I1f17ab1ccdef0db7d9a82a60fec686abbf6c2d5f Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/34953 Reviewed-by: Christian NILSSON <christian.c.nilsson@stericsson.com> Tested-by: Christian NILSSON <christian.c.nilsson@stericsson.com> Reviewed-by: Carl-Johan SALOMONSSON <carl-johan.salomonsson@stericsson.com> Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2012-05-22config: ux500: sensors: Enable ux500 gpio keys handlingPhilippe Langlais
Signed-off-by: Jonas Aaberg <jonas.aberg@stericsson.com>
2012-05-22config: Enable profiling support for Linaro & DS-5 (Gator) and cleanupPhilippe Langlais
Signed-off-by: Philippe Langlais <philippe.langlais@linaro.org> Signed-off-by: Lee Jones <lee.jones@linaro.org>
2012-05-22config: Update u8500_defconfig vs new MUSB driver in 3.1Philippe Langlais
Signed-off-by: Philippe Langlais <philippe.langlais@linaro.org>