Commit graph

575511 commits

Author SHA1 Message Date
Deepak Katragadda
ad6061c9e0 clk: msm: clock-osm: Use read back instead of memory barrier on MSMCOBALT
Using memory barriers does not guarantee that the writes will
be completed before moving further unless the memory is marked
as strongly ordered. Use a read instead to make sure that the
previous writes take effect before the read can be processed
and we continue further.

CRs-Fixed: 1074277
Change-Id: Id1ec59664fb457c37dd63df008fbd6c540dffd67
Signed-off-by: Deepak Katragadda <dkatraga@codeaurora.org>
2016-10-05 18:06:30 -07:00
Deepak Katragadda
ad09c8ea85 clk: msm: clock-osm: Fix for programming the APM threshold on MSMCOBALT
The clock driver does not currently use the secure API to write the
APM threshold value. This leads to the value being always left as 0.
Fix the write.

CRs-Fixed: 1074198
Change-Id: I61d8f930f7fe8c3539803a1e9b942095df0b0f86
Signed-off-by: Deepak Katragadda <dkatraga@codeaurora.org>
2016-10-04 14:00:01 -07:00
Deepak Katragadda
c2fd04161e clk: msm: clock-osm: Fix check to write to the LLM OVERRIDE register
On MSMCOBALT v2, the qcom,llm-sw-overr flag is no longer needed.
This causes an issue where the corresponding array in code is not
filled up but the check to make the writes to the llm register
still succeeds. This leads to us writing 0 to the register
erroneously multiple times. Fix this check.

CRs-Fixed: 1074141
Change-Id: I2dd529a78d06ac08a34546df39cb01ad4c6cb3d5
Signed-off-by: Deepak Katragadda <dkatraga@codeaurora.org>
2016-10-04 12:10:10 -07:00
Linux Build Service Account
057bdafd97 Merge "clk: msm: clock-gpu-cobalt: Update the graphics core clock frequency" 2016-10-03 10:35:02 -07:00
Linux Build Service Account
f02700dfc6 Merge "sched: Fix CPU selection when all online CPUs are isolated" 2016-10-03 10:35:02 -07:00
Linux Build Service Account
73bc67e1ea Merge "ARM: dts: msm: enable mi2s and aux pcm on msmcobalt" 2016-10-03 10:35:01 -07:00
Linux Build Service Account
839e644e4e Merge "ARM: dts: msm: add support for TDM" 2016-10-03 10:35:00 -07:00
Linux Build Service Account
125777bed4 Merge "ARM: dts: msm: Remove clocks listed under GPU, PCIE, USB & MDSS GDSC nodes" 2016-10-03 10:34:59 -07:00
Linux Build Service Account
ae0165688c Merge "sched: Add a stub function for init_clusters()" 2016-10-03 10:34:59 -07:00
Linux Build Service Account
a6e4924acb Merge "sched: add a knob to prefer the waker CPU for sync wakeups" 2016-10-03 10:34:58 -07:00
Linux Build Service Account
5a313c5e74 Merge "ASoC: msm: qdsp6v2: Fix improper channel config for aac" 2016-10-03 10:34:57 -07:00
Linux Build Service Account
7a81402490 Merge "ASoC: msm: Update the error handling when APR sends packet failed" 2016-10-03 10:34:57 -07:00
Linux Build Service Account
08d58a723b Merge "hrtimer: Ensure timer is not running before migrating" 2016-10-03 10:34:56 -07:00
Linux Build Service Account
d1ba2d0b97 Merge "ARM: dts: msm: add TSPP support for msmcobalt" 2016-10-03 10:34:54 -07:00
Linux Build Service Account
ebe0e1b44c Merge "input: synaptics_dsx_core: make clocks as optional for secure touch" 2016-10-03 10:34:54 -07:00
Linux Build Service Account
abc3610d33 Merge "blk-mq: use static mapping" 2016-10-03 10:34:53 -07:00
Linux Build Service Account
a9849c7d7f Merge "defconfig: msmcortex: disable RMI4 dev module" 2016-10-03 10:34:51 -07:00
Linux Build Service Account
0b3886773c Merge "msm: vidc: Disable power collapse for HFR" 2016-10-03 05:54:41 -07:00
Linux Build Service Account
1221a4694b Merge "ASoC: msm: qdsp6v2: add routing map for multimedia6" 2016-10-03 05:54:41 -07:00
Linux Build Service Account
a79c822905 Merge "clk: qcom: Add support to force enable/disable the RCG" 2016-10-03 05:54:40 -07:00
Linux Build Service Account
45235de032 Merge "ARM: dts: msm: Add the pmfalcon and pm2falcon dtsi files" 2016-10-03 05:54:38 -07:00
Linux Build Service Account
7fb2ad9105 Merge "Bluetooth: HID: Add Bus type for specific HID Keyboard" 2016-10-03 05:54:37 -07:00
Naresh Tanniru
058d9ab161 ASoC: msm: qdsp6v2: Fix improper channel config for aac
AAC encode is failing in ADSP due to mismatch
in channel config datatype.
Update channel config data type for aac encoder.

Change-Id: I844d6e1ac1b2b171cd74a2601ae09280a22589c9
Signed-off-by: Naresh Tanniru <ntanniru@codeaurora.org>
2016-10-03 03:15:36 -07:00
Kuirong Wang
3a0f71b590 ARM: dts: msm: enable mi2s and aux pcm on msmcobalt
Add device tree changes to enable mi2s and aux pcm so audio
can be playback and capture via mi2s and aux pcm interfaces.

CRs-Fixed: 1047362 1047365
Change-Id: I6d8f31cf841cb977bd1d7af3441b9d2c1da9b85c
Signed-off-by: Kuirong Wang <kuirongw@codeaurora.org>
2016-10-02 09:59:53 -07:00
Pavankumar Kondeti
c7e3dde08c sched: Add a stub function for init_clusters()
Add a stub function for init_cluster() and remove a ifdefry
for SCHED_HMP in sched_init()

Change-Id: I6745485152d735436d8398818f7fb5e70ce5ee65
Signed-off-by: Pavankumar Kondeti <pkondeti@codeaurora.org>
2016-10-02 10:52:15 +05:30
Pavankumar Kondeti
f1e9995fe4 sched: add a knob to prefer the waker CPU for sync wakeups
The current policy has a preference to select an idle CPU in the waker
cluster compared to the waker CPU running only 1 task. By selecting
an idle CPU, it eliminates the chance of waker migrating to a
different CPU after the wakee preempts it. This policy is also not
susceptible to the incorrect "sync" usage i.e the waker does not
goto sleep after waking up the wakee.

However LPM exit latency associated with an idle CPU outweigh the
above benefits on some targets. So add a knob to prefer the waker
CPU having only 1 runnable task over idle CPUs in the waker cluster.

Change-Id: Id974748c07625c1b19112235f426a5d204dfdb33
Signed-off-by: Pavankumar Kondeti <pkondeti@codeaurora.org>
2016-10-02 10:52:06 +05:30
Linux Build Service Account
e4e58248ef Merge "usb: gadget: f_cdev: Fix memory leak with func_name" 2016-10-01 10:41:53 -07:00
Linux Build Service Account
2c2e30e5f3 Merge "usb: gadget: f_cdev: Remove func_name and port_num attributes" 2016-10-01 10:41:52 -07:00
Linux Build Service Account
0c1bf6e64e Merge "ASoC: soc: change audio cpe drivers to use %pK" 2016-09-30 18:24:04 -07:00
Linux Build Service Account
b9a2515e19 Merge "msm: secure_buffer: Add VMID_CP_CAMERA_PREVIEW" 2016-09-30 18:24:04 -07:00
Linux Build Service Account
9ee3ab3d93 Merge "scsi: ufs: gate ref_clk during aggressive clk gating" 2016-09-30 18:24:03 -07:00
Linux Build Service Account
d764916497 Merge "clk: qcom: Add support to register rpm-smd clocks" 2016-09-30 18:24:02 -07:00
Linux Build Service Account
8bfc0b3d0a Merge "msm: kgsl: Change GPU clock gating sequence for A4XX and A5XX" 2016-09-30 18:24:01 -07:00
Linux Build Service Account
456cfbdf20 Merge "msm: kgsl: Fix dispatch_q NULL dereference" 2016-09-30 18:24:01 -07:00
Linux Build Service Account
36b28a7842 Merge "ASoC: wcd934x: Add support for HPH surge recovery" 2016-09-30 18:23:59 -07:00
Linux Build Service Account
e33b7f64d3 Merge "ASoC: wcd934x: Use correct API for force enable micbias" 2016-09-30 18:23:58 -07:00
Linux Build Service Account
d556394bb8 Merge "ASoC: wcd934x: send TX/RX PGD register CFG to AFE" 2016-09-30 18:23:57 -07:00
Linux Build Service Account
cb9f10e366 Merge "ASoC: wcd934x: add decimator 5 and 6 volume controls" 2016-09-30 18:23:57 -07:00
Linux Build Service Account
4fdc1c78bc Merge "usb: pd: Print out source/sink subtypes" 2016-09-30 18:23:56 -07:00
Linux Build Service Account
bbcb8ab2b1 Merge "clk: qcom: Add support for GCC clock for MSMFalcon" 2016-09-30 18:23:55 -07:00
Linux Build Service Account
eabd3dd413 Merge "msm: ipa: Recycle wan buffer" 2016-09-30 18:23:55 -07:00
Linux Build Service Account
778103250b Merge "power: qpnp-fg-gen3: fix SRAM encodings" 2016-09-30 18:23:53 -07:00
Linux Build Service Account
511ce51b85 Merge "qpnp-smb2: add missing battery psy properties for healthd" 2016-09-30 18:23:53 -07:00
Linux Build Service Account
7d60e8e05c Merge "icnss: Add support for disabling vbatt notification" 2016-09-30 18:23:51 -07:00
Linux Build Service Account
0af03e722d Merge "msm: kgsl: Do not free gpuaddr range if unmap fails" 2016-09-30 18:23:50 -07:00
Linux Build Service Account
e8200cdfa9 Merge "clk: msm: clock-mmss-cobalt: Update the video core clock frequencies" 2016-09-30 18:23:50 -07:00
Linux Build Service Account
92d0361094 Merge "clk: msm: clock: Add the non_local_control_timeout flag to ahb_clk_src" 2016-09-30 18:23:49 -07:00
Linux Build Service Account
21be302cb3 Merge "mam: ipa: always add default flt rule at the end" 2016-09-30 18:23:48 -07:00
Linux Build Service Account
818156d2ac Merge "sched: don't assume higher capacity means higher power in lb" 2016-09-30 18:23:48 -07:00
Linux Build Service Account
627381d09a Merge "msm: sde: Adjust SDE rotator clock and BW calculation" 2016-09-30 18:23:47 -07:00