Commit graph

576674 commits

Author SHA1 Message Date
Syed Rameez Mustafa
740c2801a9 sched/hmp: Automatically add children threads to colocation group
When sched_enable_thread_grouping is turned on, the scheduler needs
to ensure that any pre-existing children of a task get added to the
co-location group. Upon removal from the co-location group, however,
the scheduler does not check for the thread grouping flag because
userspace cannot ensure correct behavior. Therefore as a
precautionary measure to avoid memory leaks the scheduler has to
forcefully remove children from the group regardless of the flag
setting.

While at it, also make group management a lot simpler. Without these
simplifications, we can end up in extremely complicated locking scenarios
where ensuring the correct order to avoid deadlocks is near impossible.

Change-Id: I4c13601b0fded6de9d8f897c6d471c6a40c90e4d
Signed-off-by: Syed Rameez Mustafa <rameezmustafa@codeaurora.org>
2016-10-27 19:21:00 -07:00
Nick Desaulniers
903aee4774 binder: prevent kptr leak by using %pK format specifier
Works in conjunction with kptr_restrict.
Bug: 30143283

Change-Id: Ibe0053e8bd4d8219098ba09041d66fcd5b4592fd
Git-repo: https://android.googlesource.com/kernel/msm.git
Git-commit: b884cbf06200b18e660514a30293931a61126ef5
Signed-off-by: Dennis Cagle <d-cagle@codeaurora.org>
Signed-off-by: Ravi Kumar Siddojigari <rsiddoji@codeaurora.org>
2016-10-27 18:16:46 -07:00
David Collins
e3e4132326 ARM: dts: msm: correct pmicobalt_bob regulator name for msmcobalt
The regulator name for the PMICOBALT BOB regulators uses the
prefix "pmcobalt_bob".  Change this to "pmicobalt_bob" so that
the regulator name correctly reflects which PMIC the regulator
is found on.

Change-Id: I018729af22dbd787f42fc3788cbff018be7b4014
CRs-Fixed: 1083306
Signed-off-by: David Collins <collinsd@codeaurora.org>
2016-10-27 17:03:21 -07:00
Linux Build Service Account
ce610f2fc9 Merge "ASoC: msm: Add routes for all TDM modes" 2016-10-27 15:49:28 -07:00
Linux Build Service Account
a8a45f5fcb Merge "ASoC: msmcobalt: Add support for all TDM modes" 2016-10-27 15:49:26 -07:00
Linux Build Service Account
4578a0a555 Merge "ARM: dts: msm: fix sd card detection for msmcobalt QRD SKUK board" 2016-10-27 15:49:25 -07:00
Linux Build Service Account
dbcf7687b3 Merge "ASoC: msm: Enable Media Format converter for all resampling usecases" 2016-10-27 15:49:24 -07:00
Linux Build Service Account
dceddf2339 Merge "msm: mdss: Fix memleak in framebuffer register and remove" 2016-10-27 15:49:22 -07:00
Linux Build Service Account
d4d8e11cce Merge "msm: mdss: Correct settings when on/off happens in dest-scaler" 2016-10-27 15:49:21 -07:00
Linux Build Service Account
57054d8cd6 Merge "msm: mdss: Avoid adaptive variable refresh during dynaminc FPS" 2016-10-27 15:49:20 -07:00
Linux Build Service Account
8493ec68b0 Merge "msm: mdss: dp: remove programming of maud/naud for audio" 2016-10-27 15:49:19 -07:00
Linux Build Service Account
c2e7ee2c2a Merge "ARM: dts: msm: enable esd for jdi qhd cmd mode panel in msmcobalt" 2016-10-27 15:49:18 -07:00
Linux Build Service Account
a04b622efd Merge "qcom-charger: set optimal buck switching frequency" 2016-10-27 15:49:17 -07:00
Linux Build Service Account
66f8ffa044 Merge "ARM: dts: msm: add SLPI fw name property for msmcobalt" 2016-10-27 15:49:16 -07:00
Linux Build Service Account
8779c92e1a Merge "sensors: ssc: add support to read SLPI fw name" 2016-10-27 15:49:15 -07:00
Linux Build Service Account
e155d614ea Merge "msm: ipa: Fix the memory leak in error cases" 2016-10-27 15:49:14 -07:00
Linux Build Service Account
42d02f4156 Merge "qseecom: check buffer size when loading firmware images" 2016-10-27 15:49:13 -07:00
Linux Build Service Account
e223d02cbb Merge "leds: qpnp-flash-v2: fix safety timer configuration" 2016-10-27 15:49:12 -07:00
Linux Build Service Account
a7981f61bc Merge "msm: ipa: fix ioctl input param validation" 2016-10-27 15:49:11 -07:00
Linux Build Service Account
6600841f13 Merge "defconfig: Enable CONFIG_ICNSS_DEBUG for 32-bit msmfalcon" 2016-10-27 15:49:10 -07:00
Linux Build Service Account
7f8343eaa4 Merge "defconfig: Enable CONFIG_ICNSS_DEBUG for 32-bit msmcortex" 2016-10-27 15:49:09 -07:00
Linux Build Service Account
97d4de6ccb Merge "ASoC: msmcobalt: Fix MCLK routing on msmcobalt for WCD9340" 2016-10-27 15:49:08 -07:00
Linux Build Service Account
201f4347e2 Merge "ARM: dts: msm: Add dmic clock rate on ECPP path for msmcobalt" 2016-10-27 15:49:07 -07:00
Linux Build Service Account
10fb467dd6 Merge "soc: qcom: add support for fingerprint sensor driver" 2016-10-27 15:49:06 -07:00
Linux Build Service Account
c60241fc75 Merge "ASoC: wcd-dsp-mgr: fix restart logic when codec comes back online" 2016-10-27 15:49:05 -07:00
Linux Build Service Account
59ba1d179c Merge "ASoC: wcd934x-dsp-cntl: fix memory enable/disable sequence" 2016-10-27 15:49:04 -07:00
Linux Build Service Account
5df4ae6428 Merge "USB: dwc3-msm: Disable pipe clock requirement for HS/FS only mode" 2016-10-27 15:49:04 -07:00
Linux Build Service Account
094d9bc859 Merge "clk: qcom: Change clock index for mmssnoc_axi clock for MSMfalcon" 2016-10-27 15:49:03 -07:00
Linux Build Service Account
df255661d4 Merge "msm: sde: Fix SDE rotator clock disable sequence" 2016-10-27 15:49:02 -07:00
Linux Build Service Account
a893d7854b Merge "input: misc: hbtp_input: Add support for multiple AFE" 2016-10-27 15:49:01 -07:00
Linux Build Service Account
206ef38970 Merge "msm: mdss: edid: fix dtd parsing" 2016-10-27 15:49:00 -07:00
Linux Build Service Account
35021f91c8 Merge "clk: msm: clock: Remove controlling some graphics clocks in Linux" 2016-10-27 15:49:00 -07:00
Linux Build Service Account
2a676929f1 Merge "sched: Fix compilation issue with reset_hmp_stats" 2016-10-27 15:48:59 -07:00
Linux Build Service Account
77a8b4c9a8 Merge "ASoC: wcd934x: Trigger codec DSP subsystem restart" 2016-10-27 15:48:57 -07:00
Linux Build Service Account
3ff6b4cb95 Merge "usb: dwc3: gadget: Remove dev_WARN_ONCE in dwc3_gadget_ep_disable" 2016-10-27 15:48:56 -07:00
Linux Build Service Account
4c06faec54 Merge "ARM: dts: msm: Add support for Modem PIL on msmfalcon" 2016-10-27 15:48:54 -07:00
Linux Build Service Account
28c2768ca1 Merge "ARM: dts: msm: Add support for Modem PIL on msmtriton" 2016-10-27 15:48:54 -07:00
Linux Build Service Account
4efc0ba57b Merge "leds: qpnp-wled: Fix configuration of AVDD TRIM and OVP registers" 2016-10-27 15:48:51 -07:00
Linux Build Service Account
6250b19938 Merge "cfg80211: Add support to configure a beacon data rate" 2016-10-27 15:48:50 -07:00
Linux Build Service Account
95a99fbf30 Merge "icnss: Do not parse VBATT DT entry if VBATT feature is disabled" 2016-10-27 15:48:50 -07:00
Linux Build Service Account
3896b5e4d8 Merge "ARM: dts: msm: add PCIe PHY sequence for msmcobalt v2" 2016-10-27 15:48:49 -07:00
Linux Build Service Account
970b543f51 Merge "input: touchscreen: fix compilation errors for Goodix driver" 2016-10-27 15:48:48 -07:00
Linux Build Service Account
118b930531 Merge "ASoC: qdsp6v2: fix potential bug of infinite loop" 2016-10-27 15:48:47 -07:00
Abhijeet Dharmapurikar
ca3b5f6d7e pmic-voter: Add the votable name in debugfs
Add the votable name in the first line of the debug output. This helps
in understanding which voter the output is for.

Change-Id: I7c3d321f9f062037d85efba437a3fc1012b64d4b
Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>
2016-10-27 15:16:45 -07:00
Satish kumar sugasi
63288e7dc9 Bluetooth:Add ioctl to power control connectivity chip
Added new ioctl command to perform power on/off operations
on connectivity chipset from userspace process.

CRs-Fixed: 1049512
Change-Id: Id254a12ba8fc2d57951d158c8fce80168375586d
Signed-off-by: Satish kumar sugasi <ssugas@codeaurora.org>
Signed-off-by: Bhakthavatsala Raghavendra <braghave@codeaurora.org>
2016-10-27 14:58:42 -07:00
Bhalchandra Gajare
c26d6b5861 ASoC: wcd934x: fix default value for FLL threshold
The default value of CPE FLL threshold register needs to be updated
to 0x20 as per the hardware specification. Change fixes this by
adding this register to the codec register defaults.

CRs-Fixed: 1083199
Change-Id: Ib19d78f0834803c75b255ee3a119e043ffb8a988
Signed-off-by: Bhalchandra Gajare <gajare@codeaurora.org>
2016-10-27 14:42:43 -07:00
Yuanyuan Liu
fd0549cf6a icnss: Enable PMM_TCXO_CLK before switch to cxo
Enable PMM_TCXO_CLK before swith to cxo. Also, add
debug logs of reading WCSS_SR_PMM_SR_MSB register
multiple times to check whether ref clock is shut off
or not when xo disable command failed.

CRs-Fixed: 1082643
Change-Id: I1aae776d5e6cc8f1cc2af9278c0e3d6ac37804a9
Signed-off-by: Yuanyuan Liu <yuanliu@codeaurora.org>
2016-10-27 14:08:58 -07:00
Hemant Kumar
59caa12279 usb: dwc3: Turn on memory core and periphery upon resume
Memory core and memory peripheral blocks should remain
on upon host bus suspend otherwise XHCI controller
fails to respond to XHCI commands upon host bus resume.
These memory blocks will be turned off only upon stopping
host mode or vbus off in device mode.

Change-Id: I1f53c9536b6896111707b77954d2b6cf4d227db8
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
2016-10-27 12:20:00 -07:00
Zhen Kong
492459ec60 msm: crypto: Fix integer over flow check in qce driver
Integer overflow check is invalid when ULONG_MAX is used,
as ULONG_MAX has typeof 'unsigned long', while areq->assoclen,
q_req->crytlen, and qreq.ivsize are 'unsigned int'. Make change
to use UINT_MAX instead of ULONG_MAX.

Change-Id: If2bb1900c07af1ea162da362c913d4880b0bc755
Signed-off-by: Zhen Kong <zkong@codeaurora.org>
2016-10-27 12:14:09 -07:00
Neeraj Upadhyay
536965ebca ARM: qcom: add board entries for msmtriton
Add board entries to support msmtriton 32-bit boot.

Change-Id: Idfc139ff63f6268f836694e0680c1e44582dfbb3
Signed-off-by: Neeraj Upadhyay <neeraju@codeaurora.org>
2016-10-27 06:29:30 -07:00