Commit Graph
336963 Commits
Author SHA1 Message Date
wang, biao c7bd62aea1 klist: del waiter from klist_remove_waiters before wakeup waitting process
There is a race between klist_remove and klist_release. klist_remove
uses a local var waiter saved on stack. When klist_release calls
wake_up_process(waiter->process) to wake up the waiter, waiter might run
immediately and reuse the stack. Then, klist_release calls
list_del(&waiter->list) to change previous
wait data and cause prior waiter thread corrupt.

The patch fixes it against kernel 3.9.

Change-Id: I3c418c9ca5411a8ba934322172e33b93d6a480bb
Signed-off-by: wang, biao <biao.wang@intel.com>
Acked-by: Peter Zijlstra <peterz@infradead.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Git-commit: ac5a2962b02f57dea76d314ef2521a2170b28ab6
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
Signed-off-by: Matt Wagantall <mattw@codeaurora.org>
2013-10-20 16:48:49 -07:00
Linux Build Service Account ce6460619d Merge "msm: mdss: Replace the size check for gamut LUTs" 2013-10-15 10:34:30 -07:00
Linux Build Service Account 7bf2b147f0 Merge "msm: mdss: Validate input argument" 2013-10-15 10:34:13 -07:00
Linux Build Service Account 85123601cf Merge "ASoC: msm8x10-wcd: Update the gain for TX channel #3" 2013-10-15 06:36:41 -07:00
Linux Build Service Account 99f677386b Merge "ARM: dts: msm: tune LPM parameters for 8610v1 and v2" 2013-10-15 06:36:29 -07:00
Linux Build Service Account 6c41e6056e Merge "Kconfig: Add menu choice option to reclaim virtual memory" 2013-10-15 04:01:46 -07:00
Linux Build Service Account fdde471aa6 Merge "ARM: dt: msm8974pro: Update GPU frequency tables" 2013-10-15 04:01:33 -07:00
Linux Build Service Account 59033d7d44 Merge "ARM: dts: msm: Enable flash for imx135 on mtp and fluid" 2013-10-15 04:01:10 -07:00
Linux Build Service Account d87e037d01 Merge "defconfig: enable imx132 sensor" 2013-10-15 04:01:08 -07:00
Linux Build Service Account 7e58263dd0 Merge "msm: camera2: cpp: Reset MICRO block before clock enable" 2013-10-15 04:01:07 -07:00
Linux Build Service Account 61012a4ee0 Merge "ARM: dts: msm: add intermediate LPM level for 8226v1 & v2" 2013-10-15 01:32:31 -07:00
Linux Build Service Account 25bc984924 Merge "msm: spm: add intermediate LPM mode for L2 PC" 2013-10-15 01:32:30 -07:00
Linux Build Service Account d942127b2c Merge "ARM: dts: msm: tune LPM parameters for 8226v1 and v2" 2013-10-15 01:32:29 -07:00
Murali Nalajala cd7b28f18b ARM: dts: msm: add intermediate LPM level for 8226v1 & v2
Current LPM mode levels are not sufficient to reduce the
power consumption on all the APPS proc usecases(e.g HSDPA).
To address this adding a new LPM level wich takes less time
to collapse the APPS proc and L2 cache. Also this mode will
not inform the RPM about APPS PC state.

CRs-fixed: 552743
Change-Id: I9511c147b85c21693636a2667c9040f111a9e9bf
Signed-off-by: Murali Nalajala <mnalajal@codeaurora.org>
2013-10-15 10:53:07 +05:30
Murali Nalajala 82123b0253 msm: spm: add intermediate LPM mode for L2 PC
Currently when the core decide to enter into "PC + L2 PC"
LPM mode it informs to RPM and there is a chance of
system can enter into either XO or VDDmin. But this LPM
mode take longer time to enter and exit. Because of this
limitation some of the usecases where there is a less
latency APPS proc stays at lower LPM level (i.e GDFS) and
causing more power consumption. To address this issue adding
an intermediate LPM mode where L2 goes to PC but not inform
to RPM.

CRs-fixed: 552743
Change-Id: I321ff260d5baf8ac44917d67e9c9dfd260c8d5ca
Signed-off-by: Murali Nalajala <mnalajal@codeaurora.org>
2013-10-15 10:52:55 +05:30
Murali Nalajala 0c8150bcae ARM: dts: msm: tune LPM parameters for 8226v1 and v2
Platform PM driver takes LPM parameters as one of the input
and decide the best idle system low power mode. Current LPM
parameters are not optimal and this can lead to more power
consumption for APPS proc active usecases. This change tunes
the low power mode parameters such as "latency",
"time overhead", "steady state power" and "energy overhead"
for 8226v1 and 8226v2.

CRs-fixed: 506262
Change-Id: Iecfc1d7f722c8416b70ddf4c447a5050f0c1187c
Signed-off-by: Murali Nalajala <mnalajal@codeaurora.org>
2013-10-15 10:52:54 +05:30
Linux Build Service Account e35c34f0cf Merge "msm: clock-8226: Fix compile errors when CONFIG_DEBUG_FS is removed" 2013-10-14 16:18:31 -07:00
Linux Build Service Account e5e9bea9f6 Merge "msm: mdss: release all overlay resources on last fb release" 2013-10-14 16:18:14 -07:00
Linux Build Service Account b66ca247c6 Merge "kernel: alarm: add dedicated alarm type for poweroff alarm" 2013-10-14 13:15:57 -07:00
Linux Build Service Account ccf5f4f93d Merge "slub: tid must be retrieved from the percpu area of the current processor" 2013-10-14 13:15:40 -07:00
Linux Build Service Account a7e93871e2 Merge "ASoC: msm: Route low latency frontend to in-call music backend" 2013-10-14 10:42:31 -07:00
Linux Build Service Account 29f6c83c6d Merge "input: touchscreen: add multiple config data support for GT9xx" 2013-10-14 06:30:35 -07:00
Linux Build Service Account aafa15ab95 Merge "input: touchscreen: Use proper conventional functions for debug" 2013-10-14 06:30:35 -07:00
Linux Build Service Account c746a798d7 Merge "input: touchscreen: Add dynamic detection support to Goodix driver" 2013-10-14 06:30:34 -07:00
Linux Build Service Account 6e6986d08b Merge "ASoC: wcd9xxx: Register callback for external micbias" 2013-10-14 04:50:32 -07:00
Linux Build Service Account aa63b43fa7 Merge "ASoC: msm: qdsp6v2: Copy frame data based on frame length" 2013-10-14 04:50:21 -07:00
Linux Build Service Account dd3019f2d3 Merge "ASoC: msm: 8226: Fix button detection voltage thresholds" 2013-10-14 04:50:11 -07:00
Figo Wang 091c9afe14 kernel: alarm: add dedicated alarm type for poweroff alarm
Now we use type of RTC_WAKEUP for the poweroff alarm.
Actually lots of other applications also use this type.
But these applications never expect the device will
power on after it has been shut down. So we need to
add dedicated alarm type for the Deskclock or similar
applications.

CRs-fixed: 529674
Change-Id: I9b7911906446daa1aeb5835478c9837f8ef797f2
Signed-off-by: Figo Wang <figow@codeaurora.org>
2013-10-14 17:33:31 +08:00
Bingzhe Cai 15d144659f input: touchscreen: add multiple config data support for GT9xx
Goodix GT9xx touchscreen driver supports up to six groups of config
data and uses hardware GPIO configuration to select which one will
be used. This change allows these six config groups to be loaded
from devicetree.

Change-Id: I9dfd698e7084164688dd964ed914d5eecc75ecd3
Signed-off-by: Bingzhe Cai <bingzhec@codeaurora.org>
2013-10-14 17:19:29 +08:00
Shantanu Jain 7dc2b470a6 input: touchscreen: Use proper conventional functions for debug
Replace non-standard debug function with the conventional
functions in Goodix driver. And remove unnecessary debug
function used in Goodix driver.

Change-Id: Ia89d225333c1309710aab67b9c406784567e3050
Signed-off-by: Shantanu Jain <shjain@codeaurora.org>
2013-10-14 17:09:42 +08:00
Shantanu Jain 3f80befce8 input: touchscreen: Add dynamic detection support to Goodix driver
Add dynamic detection support to goodix driver, where
the driver tries to read the chip id and make sure
it is communicating with the right chip.

gtp_read_version is modified to gtp_read_fw_version
which reads the firmware version from the controller
and will be used during fw update process.

CRs-fixed: 538818
Change-Id: I2dc51b84f817413da6bf9b266e2fe7e0bb09c4bc
Signed-off-by: Shantanu Jain <shjain@codeaurora.org>
2013-10-14 17:07:20 +08:00
Linux Build Service Account fe4be60c9a Merge "defconfig: msm8610: enable Qualcomm NFC NCI driver" 2013-10-14 00:00:39 -07:00
Linux Build Service Account 16116c6ae3 Merge "msm: clock-8610: Update lookup table for NFC clocks" 2013-10-14 00:00:38 -07:00
Linux Build Service Account 35ba5fd71b Merge "msm: 8610: gpiomux: Configure nfc gpio clock source" 2013-10-14 00:00:37 -07:00
Linux Build Service Account 0536223363 Merge "ARM: dts: msm: Add NFC device for msm8610" 2013-10-14 00:00:36 -07:00
Linux Build Service Account 2197cd2e58 Merge "ARM: dts: msm: Support APQ8074Pro-AA on the 8974Pro-AB CDP" 2013-10-14 00:00:26 -07:00
Linux Build Service Account 85d6a3ba10 Merge "ARM: dts: msm8226: Add skuf pvt device tree" 2013-10-14 00:00:15 -07:00
Linux Build Service Account 797b9e2290 Merge "ARM: dts: msm8226: Add common dts file for qrd skuf" 2013-10-14 00:00:15 -07:00
Linux Build Service Account 38564b755d Merge "qseecom: Fix issues with failure to release client handle" 2013-10-13 22:00:45 -07:00
Linux Build Service Account 7d5378ffde Merge "qseecom: Add frequency scaling in send_service_cmd()" 2013-10-13 22:00:26 -07:00
Linux Build Service Account 6a13cf4097 Merge "qseecom: Check for invalid registration of secapp region" 2013-10-13 22:00:00 -07:00
Simmi Pateriya faf0429670 ASoC: wcd9xxx: Register callback for external micbias
Even if external micbias is used for recording, callback
needs to be registered to setup for recording. Register
same callback as used with internal micbias.

CRs-Fixed: 550513
Change-Id: If7f606f265d46aa20a29fc97afd2468e7fe97379
Signed-off-by: Simmi Pateriya <simmip@codeaurora.org>
2013-10-13 19:52:51 -07:00
Linux Build Service Account 1f660587d4 Merge "ASoC: wcd9xxx: Avoid plug type re-determination" 2013-10-12 08:32:12 -07:00
Linux Build Service Account 7cff7f15ea Merge "ARM: dts: msm: enable ovp monitor for 8226 qrd" 2013-10-12 06:55:19 -07:00
Linux Build Service Account 028e000886 Merge "power: qpnp-charger: add charger OVP status monitor" 2013-10-12 06:55:18 -07:00
Linux Build Service Account b2ce96bb22 Merge "qdsp6v2: Fix access issues in adsp loader." 2013-10-11 19:38:40 -07:00
Linux Build Service Account 1f6c713d4e Merge "ASoC: msm: Add missing backends for Multimedia4" 2013-10-11 17:41:27 -07:00
Patrick Daly 54a5c2f760 msm: clock-8226: Fix compile errors when CONFIG_DEBUG_FS is removed
Declare variables used only if CONFIG_DEBUG_FS is defined within ifdef
statements.

CRs-fixed: 554999
Change-Id: I28d2104ebd7baba8a151fc34946463f2429709b1
Signed-off-by: Patrick Daly <pdaly@codeaurora.org>
2013-10-11 16:34:40 -07:00
Linux Build Service Account 9404625026 Merge "msm: mdss: initialize pipe to NULL" 2013-10-11 15:16:02 -07:00
Linux Build Service Account a2f617203b Merge "ASoC: msm: qdsp6v2: Avoid double free of hw_delay structure" 2013-10-11 15:15:43 -07:00