Commit graph

570358 commits

Author SHA1 Message Date
Subbaraman Narayanamurthy
a2fbdffc0d ARM: dts: msm: Add snapshot of power-on.h
This DT bindings header file snapshot is taken as of msm-3.18
'commit 0b20839e37187 ("Merge "slim-msm: Synchronize SSR callbacks"")'.

CRs-Fixed: 1001210
Change-Id: Ic132efb650d4e8de561c3d1f95a281afeef4ce42
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
2016-05-18 13:40:47 -07:00
Sureshnaidu Laveti
a466370203 msm: camera: sensor: Updating soc layer clock API for i2c drivers
Updating SOC layer clock API to support both platform drivers and
i2c driver.

Change-Id: I3d4a2e5c778c23dd80644080fdad7512c5e71e33
Signed-off-by: Sureshnaidu Laveti <lsuresh@codeaurora.org>
2016-05-18 13:40:34 -07:00
Satya Durga Srinivasu Prabhala
ba93957617 block: zram: Fix compilation issues
While porting changes to 4.4, looks like some functionality lost
and causing below compilation issues if we try to enable ZRAM.

[1]
drivers/block/zram/zram_drv.c: In function 'zram_bvec_write':
drivers/block/zram/zram_drv.c:724:9: error: 'ALLOC_ERROR_LOG_RATE_MS' \
undeclared (first use in this function)
         ALLOC_ERROR_LOG_RATE_MS))
         ^
drivers/block/zram/zram_drv.c:724:9: note: each undeclared identifier \
is reported only once for each function it appears in
drivers/block/zram/zram_drv.c: In function 'zram_add':
drivers/block/zram/zram_drv.c:1239:34: error: 'struct zram' has no \
member named 'queue'
  __set_bit(QUEUE_FLAG_FAST, &zram->queue->queue_flags);
                                  ^
make[4]: *** [drivers/block/zram/zram_drv.o] Error 1
make[3]: *** [drivers/block/zram] Error 2
make[2]: *** [drivers/block] Error 2
make[1]: *** [drivers] Error 2

[2]
drivers/block/zram/zram_drv.c: In function 'zram_add':
drivers/block/zram/zram_drv.c:1241:34: error: 'struct zram' \
has no member named 'queue'
  __set_bit(QUEUE_FLAG_FAST, &zram->queue->queue_flags);
                                  ^
make[4]: *** [drivers/block/zram/zram_drv.o] Error 1
make[3]: *** [drivers/block/zram] Error 2
make[2]: *** [drivers/block] Error 2

CRs-Fixed: 1013947
Change-Id: I4f7944069306ba92e1fd82625bc15c7fa3bcdb0c
Signed-off-by: Satya Durga Srinivasu Prabhala <satyap@codeaurora.org>
2016-05-18 13:40:22 -07:00
JinHee Kim
7e4efcc82f ARM: dts: msm: Enable Camera VFE, Pproc, jpeg nodes for msmcobalt
Enable camera VFE, Pproc and jpeg nodes in dtsi.

CRs-Fixed: 1017151
Change-Id: I33b172ca712064dcc86a87ae413f868f8d7d4342
Signed-off-by: JinHee Kim <jinheek@codeaurora.org>
2016-05-18 13:40:12 -07:00
Srinivasarao P
06ae01888e perf: duplicate deletion of perf event
a malicious app can open a perf event with constraint_duplicate
bit set, disable the event, and close the fd.  On closing the fd,
the perf_release() modification causes the kernel to clean up
the event as if it still were enabled, leading to the event
being removed from a list twice.

CRs-Fixed: 977563
Change-Id: I5fbec3722407d2f3d0ff0d9f7097c5889e31fd62
Signed-off-by: Srinivasarao P <spathi@codeaurora.org>
2016-05-18 13:39:58 -07:00
Hemant Kumar
fe77e53229 extcon: Add support for type-c connector orientation
Type-C cable can be connected in two different orientations.
Connector orientation information is required to configure
super speed phy lane. Extcon driver provides this information
using EXTCON_USB_CC.

Change-Id: Ib2c86970b30cb575146438611a11fde17ab106e8
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
2016-05-18 13:39:47 -07:00
Osvaldo Banuelos
066d3d627b clk: msm: osm: fix cores in retention as inactive selection
When SPM_CORE_RET_MAPPING is set to 1, cores in retention
are treated as inactive by the OSM. However, currently
this register is programmed to 0 when the flag to treat
cores in retention as inactive is specified. Fix this.

Change-Id: Ibc5df71ddd0cfdabf82d3c1e47efca0d88823a2f
CRs-Fixed: 1017123
Signed-off-by: Osvaldo Banuelos <osvaldob@codeaurora.org>
2016-05-18 13:39:35 -07:00
Mayank Rana
1b30680459 usb: gadget: gsi: Decrement USB gadget pm usage count on cable disconnect
Currently USB GSI function driver increments USB gadget device's
pm usage count on set_alt() and decrements on USB bus suspend or
USB cable disconnect case. Current code is not decrementing this
usage count when sm_state is STATE_INITIALIZED and USB cable is
disconnected (i.e. event EVT_DISCONNECTED posted). Fix this issue
by decrementing USB gadget device's pm usage count by addding check
for event EVT_DISCONNECTED when sm_state is STATE_INITIALIZED.

CRs-Fixed: 1003242
Change-Id: I4d6c9ce254f4c4139313dfd33da6c8745f34a1d3
Signed-off-by: Mayank Rana <mrana@codeaurora.org>
2016-05-18 13:39:23 -07:00
Jeykumar Sankaran
e02de095f4 msm: mdss: Add support for concurrent writeback
This change adds support for concurrent writeback in supported
targets. The client requests for concurrent writeback by
selecting the data point in output buffer flags.

Change-Id: Ic108ce94daef4f96d1fa27b4057e49c01b9e9b8e
Signed-off-by: Jeykumar Sankaran <jsanka@codeaurora.org>
Signed-off-by: Ingrid Gallardo <ingridg@codeaurora.org>
2016-05-18 13:39:12 -07:00
Joonwoo Park
198fb28282 sched: fix compile error where !CONFIG_SCHED_HMP
Move trace event sched_get_task_cpu_cycles() under CONFIG_SCHED_HMP=y
to fix compile error.

Change-Id: Ie00cafeaceedb44100bda97f996ac3efa0e6c91f
Signed-off-by: Joonwoo Park <joonwoop@codeaurora.org>
2016-05-18 13:39:01 -07:00
Deepak Katragadda
85e3adb457 clk: msm: clock-alpha-pll: Program the fabia PLL calibration register
Add programming the PLL_CAL_L_VAL register to the fabia PLL
set_rate sequence. This is required on MSMCOBALT v1 as a
workaround.

CRs-Fixed: 1016938
Change-Id: I298acf633228b2c565736bf7bfd446d96f4e1983
Signed-off-by: Deepak Katragadda <dkatraga@codeaurora.org>
2016-05-18 13:38:47 -07:00
Liam Mark
d4202a685b Kconfig: arm64: Update dependencies for CONFIG_FORCE_PAGES
Currently we don't support having both CONFIG_DEBUG_RODATA
and CONFIG_FORCE_PAGES enabled at the same time.
Update the dependencies for CONFIG_FORCE_PAGES to enforce
this.

If there is a need for read only support with
CONFIG_FORCE_PAGES enabled then enable
CONFIG_KERNEL_TEXT_RDONLY instead of CONFIG_DEBUG_RODATA.

Change-Id: I9ee1732ed0673edc7272d32469d08133fba9637f
Signed-off-by: Liam Mark <lmark@codeaurora.org>
2016-05-18 13:38:35 -07:00
Liam Mark
2ef8479273 mm: cma: sleep between retries in cma_alloc
Port support from 3.10 for retrying cma allocations
to 3.18 to help resolve cma allocation failures.

It was observed that CMA pages are sometimes getting
pinned down by BG processes scheduled out in their exit
path. Since BG processes have lower priority they end up
getting less time slice by scheduler there by consuming
more time to free up CMA pages.

Also when a process is being forked copy_one_pte
may create copy-on-write mappings, when this is done
the page _count and page _mapcount are each
incremented sequentially. If the process is context
switched out after incrementing the _count but before
incrementing the _mapcount then the page will appear
temporarily pinned.

So instead of failing to allocate and directly
returning an error on the CMA allocation path we do 2
retries, with sleeps, to give the system an opportunity
to unpin any pinned pages.

Change-Id: I022a9341f8ee44f281c7cb34769695843e97d684
Signed-off-by: Susheel Khiani <skhiani@codeaurora.org>
Signed-off-by: Liam Mark <lmark@codeaurora.org>
2016-05-18 13:38:15 -07:00
Shiraz Hashim
b9d51a0b43 arm64: mm: skip 1GB mappings on force pages
While force mapping regions as page, do not go for 1GB
block mapping.

Change-Id: I85ca7046626048acb7a138dc174dc40efbba4ac9
Signed-off-by: Shiraz Hashim <shashim@codeaurora.org>
2016-05-18 13:38:01 -07:00
Shiraz Hashim
0a5bb65773 arm64: mmu: dma remap fail with 1GB block mapping
The provision to map 1GB block, gives a problem during
dma_contiguous_remap when it attempts to remaps the dma
buffers into 4K. During this attempt to remap dma buffers
it overwrites pgd mapping for 1G block, thus leaving an
unmapped hole.

Managing remapping of dma regions with 1G block mapping is
difficult hence avoid mapping 1G block and switch to
SECTION_SIZE mapping (2MB) when memory region overlaps
with dma buffers range.

Change-Id: I2aa4119b3aeb328a2b95cf22656d2ec36012716f
Signed-off-by: Shiraz Hashim <shashim@codeaurora.org>
2016-05-18 13:37:50 -07:00
Oleg Perelet
8df0f9ec1d msm: kgsl: Port GPU bus dcvs to kernel 4.4
Port GPU dcvs from kernel 3.18 to kernel 4.4.

CRs-Fixed: 1013343
Change-Id: Ide662b12aa59effa541febcd758426e72b4a1b12
Signed-off-by: Oleg Perelet <operelet@codeaurora.org>
2016-05-18 13:37:38 -07:00
Gaurav Singhal
c75e96b609 defconfig: arm64: msmcortex: Enable nqx nfc driver
Enabled the NQxxx nfc driver on msmcobalt.

Change-Id: Ia56a64c9fa5973afe8c9830d42bd2f4228065f2f
Signed-off-by: Gaurav Singhal <gsinghal@codeaurora.org>
2016-05-18 13:37:28 -07:00
Gaurav Singhal
c9f8e5943e NFC: Add snapshot of NQxxx NFC driver
Add the latest version of NQxxx NFC driver
from msm-3.18.

This change is a combination of following changes:

1) NFC: add NQxxxx driver

commit <356203701b7fd61b2d9776fac4fac6427735248b>

2) NFC: change reset and read flow

commit <7620346454865b81d7086167d531aea7bb716926>

3) NFC: Enable DMA and CLK_REQ gpio config issue fix

commit <150dbf117709b5677f86e5ced86b468731019b8b>

4) NFC: Fix function descriptions

commit <c0248d70200c8e09a983758750632b7a75e422d3>

5) nq-nci: enable NFCC hardware check and clock to NQxx

commit <2a92c1d6135f2d1e8fe3f2afcd290a2b1311a5a2>

6) nq-nci: XO shut down issue fix

commit <8938151d4650fca6d42efdbce138aea9bad7eca0>

7) NFC: Remove sleep from irq handler

commit <8ea2c805108cbf59b8e2abf87ee207fbf08fad97>

8) NFC: Remove DMA allocation and stack use in write

commit <c1552090e4c46e1eeca756d0a7b4427f94eab0c3>

CRs-Fixed: 890678, 892310, 955860, 968399, 993292
Change-Id: Ibb861ebdc63d45699369e23c077589d37e024b5e
Signed-off-by: Gaurav Singhal <gsinghal@codeaurora.org>
2016-05-18 13:37:18 -07:00
Maya Erez
ef13a52535 defconfig: msmcortex: enable bonding and TC drivers
bonding and TC drivers (sch_multiq) are required
for fast session transfer feature.

CRs-Fixed: 1001827
Change-Id: I08ee482ddc6c189241a69452fb12335d1ffb626f
Signed-off-by: Maya Erez <merez@codeaurora.org>
2016-05-18 13:37:06 -07:00
Sridhar Ancha
c0717983b7 msm: ipa: Fix to memory leak when sending non-linear data
In cases where source ep or dest ep is not valid, descriptor
memory allocated for frag skb's is not freed. Make a change
to free the memory in such error cases.

Change-Id: Ie15c48ae1bb34e304795607a09c753360eb015ec
Acked-by: Chaitanya Pratapa <cpratapa@qti.qualcomm.com>
Signed-off-by: Sridhar Ancha <sancha@codeaurora.org>
2016-05-16 20:10:48 -07:00
Sridhar Ancha
77c5a65855 msm: ipa3: make function names consistent with ipav2
Make changes to use consistent function names across v2 and V3
during SSR functionality.

Change-Id: Ib9c79f4795d0be9ca00b3cda984ed89b61e58b02
Acked-by: Chaitanya Pratapa <cpratapa@qti.qualcomm.com>
Signed-off-by: Sridhar Ancha <sancha@codeaurora.org>
2016-05-16 20:10:47 -07:00
Chinmay Sawarkar
8533cf0464 defconfig: msm64: msm: Enable v4l2 video driver
Enable v4l2 video driver on msmcobalt for decode
and encode sessions.

Change-Id: Ibda63abad6a469c0a5f738c51ee1e740d0f1ce7a
Signed-off-by: Vikash Garodia <vgarodia@codeaurora.org>
2016-05-16 20:10:47 -07:00
Vikash Garodia
e313b025f1 ARM: dts: msm: Enable VMEM node
Enable VMEM node and configure the
size as per msmcobalt.

CRs-Fixed: 1008076
Change-Id: I8bbb827e6fcddb12bf452279f5f7d60b614c2915
Signed-off-by: Vikash Garodia <vgarodia@codeaurora.org>
2016-05-16 20:10:46 -07:00
Shashank Mittal
33d447d112 defconfig: arm64: enable common log driver for msmcobalt
Common log driver can be used to register entries for memory dump table.

Change-Id: I75be0d467c8f7c2db854987598770f9798688e51
Signed-off-by: Shashank Mittal <mittals@codeaurora.org>
2016-05-16 20:10:45 -07:00
Shashank Mittal
0c225d0e30 defconfig: arm64: enable DCC device driver
Set MSM_DCC config to enable support for Data Capture and Compare(DCC)
device.

Change-Id: Ibc2de3c142b8df4ac86e4628199726750f19dac3
Signed-off-by: Shashank Mittal <mittals@codeaurora.org>
2016-05-16 20:10:45 -07:00
Shashank Mittal
90fb2251c8 memory-dump: add support to allocate memory for scan dumps
Add support to allocate memory for CPU scan dumps. This momeory can be
used to save CPU scan dumps at the time of a crash.

Change-Id: I9d644f18882729d187075e885bc2e8c02c5caf36
Signed-off-by: Shashank Mittal <mittals@codeaurora.org>
2016-05-16 20:10:44 -07:00
Shashank Mittal
273d5bfab1 ARM: dts: msm: add DCC device on msmcobalt
Add node to add support for Data Capture and Compare (DCC) device on
msmcobalt.
DCC block can be used to capture user programmed memory mapped registers
or to run CRC on user programmed memory region.

Change-Id: I1d302e51693315998d915ca44f739fb58ef9e4a5
Signed-off-by: Shashank Mittal <mittals@codeaurora.org>
2016-05-16 20:10:43 -07:00
Sureshnaidu Laveti
2493fd83fa ARM: dts: msm: Add clock rates in camera node for all boards
Adding clock rates to camera node instead of statically
reading from sensor driver so that clock names and
rates can be read from camera node using common software on chip
API and if needed it can be overrided with the values obtained from
userspace sensor drivers.

Change-Id: Icf950194191cbd0887740d692bb88cc650430fb8
Signed-off-by: Sureshnaidu Laveti <lsuresh@codeaurora.org>
2016-05-16 20:10:43 -07:00
Xiaogang Cui
4b36c0b4c4 soc: qcom: dcc: add check if sram data oversteps
If the size of captured data oversteps over SRAM boundary then
it causes corruption of configuration data. Add boundary check
while programming configuration linked list in SRAM, to avoid
this problem.

Change-Id: Idd33f53560585fdbfee4d3822fd93d6f3a365e17
Signed-off-by: Xiaogang Cui <xiaogang@codeaurora.org>
Signed-off-by: Shashank Mittal <mittals@codeaurora.org>
2016-05-16 20:10:42 -07:00
Xiaogang Cui
59a1235ece soc: qcom: dcc: update errno of dcc probe failure
Acorrding to function really_probe, the ENODEV will not throw
any error message. Changing ENODEV to EINVAL to notify error
message if probe fails.

Change-Id: Ia3187fadd4f0073e5e141595810bb8b3c7aab429
Signed-off-by: Xiaogang Cui <xiaogang@codeaurora.org>
Signed-off-by: Shashank Mittal <mittals@codeaurora.org>
2016-05-16 20:10:41 -07:00
Xiaogang Cui
65cfc1aa9c soc: qcom: dcc: update xpu probe logic to fix failure
TZ image which has registered SCM_SVC_DISABLE_XPU sevice maybe used by
none-dcc-xpu device. Update the xpu check logic to fix the probe
failure issue.

Change-Id: Id2b38d93e7c12648292546592144eda1e82d76be
Signed-off-by: Xiaogang Cui <xiaogang@codeaurora.org>
Signed-off-by: Shashank Mittal <mittals@codeaurora.org>
2016-05-16 20:10:40 -07:00
Shashank Mittal
8f4e416b1e soc: qcom: dcc: add support for DCC XPU lock/unlock request
Add support to request TZ to lock and unlock DCC XPU.

DCC XPU is unlocked before accessing DCC and is locked back again after
configuring DCC.

Change-Id: I8815f65551df0b80f7ecdcaa338a50db8d9b04f5
Signed-off-by: Shashank Mittal <mittals@codeaurora.org>
2016-05-16 20:10:40 -07:00
Ram Chandrasekar
4e0b31c437 ARM: dts: msm: Disable LMH driver probe for msmhamster rumi
Tsens controller wont be able to send any temperature data in RUMI.
This will block LMH driver in HLOS during profile switch.

Disable LMH driver probe for RUMI to avoid this profile switch.

CRs-Fixed: 1015361
Change-Id: I729af5235109cf8b09d4c89a339a4b4f14926d26
Signed-off-by: Ram Chandrasekar <rkumbako@codeaurora.org>
2016-05-16 20:10:39 -07:00
Shashank Mittal
e1ab4fb9b1 soc: qcom: dcc: replace readx_poll_timeout with readl_poll_timeout
Use readl_poll_timeout instead of readx_poll_timeout because
readl_poll_timeout already uses __raw_readl to read IO register.

Change-Id: I86d93bc63cf3282e360eed29732a708ee02cf6df
Signed-off-by: Shashank Mittal <mittals@codeaurora.org>
2016-05-16 20:10:38 -07:00
Shashank Mittal
65d782b85e soc: qcom: dcc: change configuration programming interface
Currently user needs to provide base, offset, and length to program
a configuration in DCC.

To simplify user input, this change requires  user to provide just start
address and length. Driver is going to calculate most optimized base,
offset and length to configure user request in SRAM.

Change-Id: Ic1b7b2d4d4ed4baa9e8d33a2b60c10d2e799b211
Signed-off-by: Shashank Mittal <mittals@codeaurora.org>
2016-05-16 20:10:38 -07:00
Shashank Mittal
2972d94a8e soc: qcom: dcc: add support to send SW trigger on/off req to RPM
Add support to request RPM to turn on/off DCC SW trigger.

This request can be used to enable/disable DDR training data verification
before DDR frequency switch.

After receiving enable request RPM assumes that DCC is configured in CRC
mode to verify DDR training data. Hence it starts to send SW trigger to
DCC to run CRC on configured data before DDR frequency switch.

Change-Id: I491bc3e41e11a5366162c65907f41f7cbcdd7809
Signed-off-by: Shashank Mittal <mittals@codeaurora.org>
2016-05-16 20:10:37 -07:00
Shashank Mittal
c5d78d4e6e soc: qcom: dcc: add support for CRC mode
In CRC mode DCC can perform CRC on configuration data or system memory
after receiving SW or HW trigger.

Change-Id: Iab0a6ffa92ef6e311054756cfe85d1b2b91743c9
Signed-off-by: Shashank Mittal <mittals@codeaurora.org>
2016-05-16 20:10:36 -07:00
Shashank Mittal
d3d5065b82 soc: qcom: dcc: fix uninitialized variable bug in dcc_ll_cfg function
Fix bug due to use of uninitialized 'prev_off' variable.

Change-Id: I773f64209b395eb9f2fc82a53d4a2f1b79b081eb
Signed-off-by: Shashank Mittal <mittals@codeaurora.org>
2016-05-16 20:10:36 -07:00
Shashank Mittal
ace81764b1 soc: qcom: dcc: add support for DCC driver
DCC (Data Capture and Compare) is a DMA engine which is used to save
configuration data or system memory contents during catastrophic failure
or SW trigger.

It can also perform CRC over the same configuration or memory space.

Change-Id: Ic8a804250ab8b7ac501bd186d2e6f7506bb9b21a
Signed-off-by: Shashank Mittal <mittals@codeaurora.org>
2016-05-16 20:10:35 -07:00
Osvaldo Banuelos
cf4266513c ARM: dts: msm: Enable Silver frequency scaling up to SVS on msmcobalt
Add the necessary frequency configuration to the OSM and CPUfreq
device nodes to allow frequency scaling of the Silver cluster in
msmcobalt to SVS Fmax.

Change-Id: I8153e1c2ad9cb320a4c116593b15898dbe2f6ca2
CRs-Fixed: 1014894
Signed-off-by: Osvaldo Banuelos <osvaldob@codeaurora.org>
2016-05-16 20:10:34 -07:00
Osvaldo Banuelos
36015d8392 ARM: dts: msm: restrict VDD_APC voltages to NOM for CPR rev 0 on msmcobalt
Raise the VDD_APC0 and VDD_APC1 CPR floor voltages to be equal to
the Nominal ceiling voltage on CPR revision 0 parts. Also, increase
the number of supported fuse combos to 8, to support up to 8 CPR
revisions using a single speed bin. This ensures stable operation
on some msmcobalt CPR revision 0 parts that cannot operate
reliably with SVS2/SVS voltages and has no impact to CPR rev 1 and
greater parts.

Change-Id: I6913a168596b34f527f689360f93fdf15b7d2f10
CRs-Fixed: 1014782
Signed-off-by: Osvaldo Banuelos <osvaldob@codeaurora.org>
2016-05-16 20:10:34 -07:00
Adrian Salido-Moreno
4d32c5299e msm: mdss: account for multirect when enumerating pipe formats
The pipe format enumeration is not accounting for multi-rect on the
pipe list. Update the loop enumerating formats to account for multiple
rectangles per pipe.

Change-Id: Ief1980e2888525434e876f7cec4357403ca20cb1
Signed-off-by: Adrian Salido-Moreno <adrianm@codeaurora.org>
2016-05-16 20:10:33 -07:00
Joonwoo Park
c0cc65346e sched: use correct Kconfig macro name CONFIG_SCHED_HMP_CSTATE_AWARE
Fix macro name so CONFIG_SCHED_HMP_CSTATE_AWARE=y to take effect.

Change-Id: I0218b36b2d74974f50a173a0ac3bc59156c57624
Signed-off-by: Joonwoo Park <joonwoop@codeaurora.org>
2016-05-16 20:10:32 -07:00
Puja Gupta
e3d502ee59 soc: qcom: pil: Fix error path sequence
Fix the clock error path sequence.

CRs-Fixed: 1015492
Change-Id: I20eeadbfcdae16ce9c2feb8b882471683766ec4f
Signed-off-by: Puja Gupta <pujag@codeaurora.org>
2016-05-16 20:10:31 -07:00
Ram Chandrasekar
d0aaed798d ARM: dts: msm: Disable LMH driver probe for msmcobalt rumi
Tsens controller wont be able to send any temperature data in RUMI.
This will block LMH driver in HLOS during profile switch.

Disable LMH driver probe for RUMI to avoid this profile switch and
lock up.

CRs-Fixed: 1015361
Change-Id: Id54c09e0cf2c3701c10c71d6688417d3f5d4c08e
Signed-off-by: Ram Chandrasekar <rkumbako@codeaurora.org>
2016-05-16 20:10:31 -07:00
Joonwoo Park
cd947ad761 Revert "sched: set HMP scheduler's default initial task load to 100%"
This reverts commit 28f67e5a50 ("sched: set HMP scheduler's
default initial task load to 100%") since 100% of init task load
makes too much of power inefficiency on some targets.

CRs-fixed: 1006303
Change-Id: I81b4ba8fdc2e2fe1b40f18904964098fa558989b
Signed-off-by: Joonwoo Park <joonwoop@codeaurora.org>
2016-05-16 20:10:30 -07:00
Aravind Venkateswaran
f19d4ba1e3 clk: msm: mdss: fix pclk_src_mux clock ops for DSI PLL on msmcobalt
The DSI pixel clock path in the DSI PLL has a mux clock (pclk_src_mux)
which allows the pixel clock to be either sourced out of the VCO clock
or the bitclock.  In the current code, the ops for this mux clock is
overloaded incorrectly which results in the pixel clock being always
sourced out of the bit clock. Fix this by using the default mux clock
ops for this clock.

Change-Id: I39c23b52d17994e28bd3b0d93e8e3dabdb687940
Signed-off-by: Aravind Venkateswaran <aravindh@codeaurora.org>
2016-05-16 20:10:29 -07:00
Chris Lew
7d7d65221b soc: qcom: glink: Fix race condition in dummy xprt cleanup
In glink_core_channel_cleaup there is a race condition while
traversing the channels list. This change holds the xprt
channel spinlock during the list manipulation.

CRs-Fixed: 988266
Change-Id: Idcff59ca1483fd98173255d6258e6771d91dec19
Signed-off-by: Chris Lew <clew@codeaurora.org>
2016-05-16 20:10:29 -07:00
Joonwoo Park
2cca70b6c0 defconfig: msm: enable CONFIG_SCHED_DEBUG
Enable CONFIG_SCHED_DEBUG for debugging purpose.

CRs-fixed: 1006303
Change-Id: Iceee806479bc41d7aa32cb78b6ede59cb85fc259
Signed-off-by: Joonwoo Park <joonwoop@codeaurora.org>
2016-05-16 20:10:28 -07:00
Runmin Wang
a34cb6ba4c Revert "defconfig: enable msm serial console on msmcortex perf config"
This reverts commit 7b1a1d2263 ("defconfig: enable msm serial console
on msmcortex perf config").
We do not need this change since USB issue is fixed. No longer need
console to connect or disconnect USB.

CRs-Fixed: 1015006
Change-Id: I49154af38f0c59f6add8a38ebbc06f7dcfc85373
Signed-off-by: Runmin Wang <runminw@codeaurora.org>
2016-05-16 20:10:27 -07:00