720860 Commits

Author SHA1 Message Date
qctecmdr Service
40502d47fc Merge "diag: Fix module parameter path issue" 2018-05-25 06:24:57 -07:00
qctecmdr Service
cafd2bd527 Merge "drivers: irqchip: qcom: Update PDC pin data for SM6150" 2018-05-25 06:24:57 -07:00
Srinivas Rao L
b90935ca95 drivers: irqchip: qcom: Update PDC pin data for SM6150
Add last entry as -1 in the pdc pin data for the loops
that break by checking if greater than 0.

Change-Id: Id2ae698a0526f2cf8946697bab12a9513db107e8
Signed-off-by: Srinivas Rao L <lsrao@codeaurora.org>
2018-05-25 14:43:58 +05:30
Jayant Shekhar
fc9f422c11 fbdev: msm: Correct ion sequence for splash and pan display
Make changes as per ion call sequence shared by memory team.
dma buf get is not required after dma buf allocation. If not,
put has to be done twice. So remove the redundant get buf
and get fd calls.

Change-Id: I4a521815a9bf75cb12d399a5643a8ef31a1dc2ca
Signed-off-by: Jayant Shekhar <jshekhar@codeaurora.org>
2018-05-25 14:03:05 +05:30
qctecmdr Service
05d90a59b6 Merge "sched/fair: Consider task affinity while skipping a sched group" 2018-05-25 00:40:18 -07:00
qctecmdr Service
abc63c08f9 Merge "power: fg-alg: add min_start_soc to begin the capacity learning" 2018-05-25 00:40:17 -07:00
qctecmdr Service
033096f54e Merge "common: dma-mapping: make dma_common_contiguous_remap more robust" 2018-05-25 00:40:16 -07:00
qctecmdr Service
c68d71f015 Merge "msm: kgsl: Pad sparse objects when mapping them" 2018-05-25 00:40:16 -07:00
Shefali Jain
17b650f29e clk: qcom: Fix compilation for SMD-RPM driver
Compilation is broken due to missing comma,
hence fix the same.

Change-Id: I03ef4223fea39bd4a3d2b63b0bcb5108f72b0304
Signed-off-by: Shefali Jain <shefjain@codeaurora.org>
2018-05-25 11:39:29 +05:30
Mohit Aggarwal
7d6dce8d76 diag: Fix module parameter path issue
Due to change in makefile, module parameter's path
have been changed. The patch takes care of the issue.

Change-Id: I36faa875d508dd88292ff223bee625dee5ba616f
Signed-off-by: Mohit Aggarwal <maggarwa@codeaurora.org>
2018-05-25 11:03:02 +05:30
qctecmdr Service
34f2dc7314 Merge "ARM: dts: msm: add compute memory region for sm8150" 2018-05-24 21:24:42 -07:00
qctecmdr Service
04969db181 Merge "msm: ipa: fix a race condition in teardown pipe" 2018-05-24 21:24:42 -07:00
qctecmdr Service
770ae7eb97 Merge "msm: kgsl: Suspend GMU on recovery failure" 2018-05-24 21:24:41 -07:00
qctecmdr Service
1dfe61239f Merge "drivers: irqchip: qcom: Add MSM8937 pin data for MPM" 2018-05-24 21:24:40 -07:00
qctecmdr Service
7a6fc6392a Merge "usb: gadget: f_mtp: Avoid race between mtp_read and mtp_function_disable" 2018-05-24 21:24:39 -07:00
Ashay Jaiswal
81e5cadccf power: smb5: add minor fixes to SMB5 charger
Fix some minor bugs in charger driver:
- Return from OTG work if there is no change in OTG state.
- Update Power role mask.
- Skip AICL ADC configuration for PMI632.
- Fix OTG reporting via extcon.
- Disable PD for PMI632.

Change-Id: I6afdd9bc63dc97c562a8c480be896114c295c578
Signed-off-by: Ashay Jaiswal <ashayj@codeaurora.org>
2018-05-24 20:04:46 -07:00
Vijayanand Jitta
c03bf22a4e ARM: dts: msm: update continuous splash region for sm6150
Align the reserved memory region start address for continuous splash
feature on sm6150 target to memory map v5.

Change-Id: Ic26de321d841b546e1a3545e01e271570ff6ccd8
Signed-off-by: Vijayanand Jitta <vjitta@codeaurora.org>
2018-05-25 08:29:23 +05:30
Anirudh Ghayal
3031ce86fb drivers: qpnp-qg: Add snapshot of the QPNP QG driver
Snapshot of the QG driver from 4.9 kernel.
'commit cc0c4237e25d ("ARM: dts: msm: update SMB1355
device node inclusion policy")'.

Fix compilation issues for ADC calls, moving them to
IIO framework.

Change-Id: I63c3cd54f934d1042b2191bf60add07c3442a76f
Signed-off-by: Anirudh Ghayal <aghayal@codeaurora.org>
2018-05-25 08:28:02 +05:30
Vamshi Krishna B V
8bd6de99c7 power: fg-alg: add min_start_soc to begin the capacity learning
Currently, capacity learning begins based on SOC threshold and
battery temperature. Since the SOC threshold to begin cannot be
qualified in certain low battery conditions, add another minimum
SOC threshold for a better qualification.

CRs-Fixed: 2225348
Change-Id: If916c0a04cec785dc25f3c70d0ea1643d598f479
Signed-off-by: Vamshi Krishna B V <vbv@codeaurora.org>
Signed-off-by: Anirudh Ghayal <aghayal@codeaurora.org>
2018-05-25 08:27:55 +05:30
Pavankumar Kondeti
b0df0e5376 sched/fair: Consider task affinity while skipping a sched group
When placement boost is active, the CPUs in the highest capacity
sched group are only considered for task placement. The
find_best_target()->skip_sg() skips lower capacity sched groups.
This is a problem for the tasks whose affinity allows them to run
only on lower capacity sched group.

Change-Id: I935ff3dc3daa98c636885312216a68323aac3ce1
Signed-off-by: Pavankumar Kondeti <pkondeti@codeaurora.org>
[satyap@codeaurora.org: trivial changes to fix compilations issues]
Signed-off-by: Satya Durga Srinivasu Prabhala <satyap@codeaurora.org>
2018-05-24 18:58:30 -07:00
Pavankumar Kondeti
95f3735ce1 core_ctl: Fix an issue where CPUs are left un-isolated for long time
When SCHED_CORE_ROTATE config is enabled, the CPUs that are
eligible for isolation are kept rotated for every system
suspend and resume cycle. cluster->set_cur holds this eligible
mask. It is also reconfigured when min_cpus tunable is changed.

The CPUs that are part of this eligible mask are only isolated
in try_to_isolate(). A CPU that is part of this mask but is busy
at that time left isolated. Since the new need is same as the
last need, eval_need() does not kick core_ctl thread next time
when the CPU becomes idle. To fix this issue, kick the core_ctl
thread when there more active CPUs than currently needed. The kicks
are rate limited by an existing tunable called offline_delay_ms.

Change-Id: I9d3815c6c6bede4b93a708ae6edb15f94d296399
Signed-off-by: Pavankumar Kondeti <pkondeti@codeaurora.org>
2018-05-24 18:37:20 -07:00
qctecmdr Service
ac134728c2 Merge "msm: ADSPRPC: FastRPC buffer attribute for no map" 2018-05-24 18:33:30 -07:00
qctecmdr Service
9d2d18ef25 Merge "Merge remote-tracking branch 'quic/dev/msm-4.14-display' into msm-4.14" 2018-05-24 18:33:29 -07:00
qctecmdr Service
88783f75b7 Merge "msm: vidc: Remove HW support V4L2_PIX_FMT_RGB32 color format" 2018-05-24 18:33:29 -07:00
qctecmdr Service
b9711d4135 Merge "ARM: dts: msm: Add the hw-trigger flag to video subcore GDSCs on SM8150" 2018-05-24 18:33:28 -07:00
qctecmdr Service
459bff107a Merge "ARM: dts: msm: Add regulator references in msm bus devices for sm8150" 2018-05-24 18:33:28 -07:00
Subbaraman Narayanamurthy
62149281bb ARM: dts: msm: add SPMI debug bus for sm8150 platforms
Add an SPMI debug bus device and associated child devices so that
consumers can have unrestricted access to the PMICs on
pre-production devices.  This helps to make debugging easier.

Change-Id: I1cbcc8756afb878d07e57fc86ced93748eed7636
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
2018-05-24 18:16:52 -07:00
Skylar Chang
eb220f5453 msm: ipa: fix clock vote sm on imp
Fix the state machine state check for IPA MHI Proxy
when vote request arrives.

Change-Id: I0f56ae9705b47c4ff9f5e84f752e057e903bf9df
CRs-Fixed: 2247846
Acked-by: Ady Abraham <adya@qti.qualcomm.com>
Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
2018-05-24 18:00:47 -07:00
qctecmdr Service
94ee3d2a2c Merge "defconfig: msm: Disable config EXT2_FS and EXT3_FS for sm8150" 2018-05-24 15:15:23 -07:00
qctecmdr Service
767a22bac4 Merge "esoc: Add support to retry the powerup of external modem" 2018-05-24 15:15:23 -07:00
qctecmdr Service
4b50acc1a6 Merge "soc: qcom: smp2p: Introduce pending state for virtual irq" 2018-05-24 15:15:22 -07:00
qctecmdr Service
572d72ceb9 Merge "ARM: dts: msm: add charger device node for PM6150" 2018-05-24 15:15:22 -07:00
qctecmdr Service
87009155d3 Merge "nl80211: fix nlmsg allocation in cfg80211_ft_event" 2018-05-24 15:15:21 -07:00
qctecmdr Service
b633c9c740 Merge "pinctrl: qcom: Use irq_create_mapping for direct connected GPIOs" 2018-05-24 15:15:21 -07:00
qctecmdr Service
32c06034c9 Merge "backlight: qcom-spmi-wled: Add low dimming workaround for WLED5" 2018-05-24 15:15:20 -07:00
Subbaraman Narayanamurthy
7888760d23 power: qpnp-fg-gen3: Restore recharge SOC only when not in JEITA
Currently, recharge SOC is adjusted (lowered) based on the SOC
where charging terminates. It is restored back to the original
threshold when the charge termination condition goes away. This
works fine in most cases. However there are certain conditions
where the charger fluctuates between fast and taper regions along
with the charge termination status.

Handle this by checking if battery is out of JEITA as well before
restoring back the original recharge SOC threshold.

CRs-Fixed: 2213369
Change-Id: Ic64151ddbbff09c26d6ebfcd3e6d4e70e0be8c9d
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
2018-05-24 12:10:33 -07:00
Chris Lew
031782d5f4 soc: qcom: smp2p: Introduce pending state for virtual irq
If a smp2p change occurs while a virtual interrupt is disabled, smp2p
should be able to resend that interrupt on enablement.

This functionality requires the CONFIG_HARDIRQS_SW_RESEND to be enabled
to reschedule the interrupts. To ensure the mask and unmask functions
are called during enabled and disable, set the flag to disable lazy
IRQ state handling (IRQ_DISABLE_UNLAZY).

Change-Id: I75c662c61a9705c05278d238ca51f7a2e74806d8
Signed-off-by: Chris Lew <clew@codeaurora.org>
2018-05-24 11:50:48 -07:00
qctecmdr Service
0cff98ce0f Merge "clk: qcom: clk-alpha-pll: Fix issues with using uninitialized variables" 2018-05-24 10:45:27 -07:00
qctecmdr Service
402344515d Merge "usb: Use DECLARE_USB_FUNCTION() for initializing USB QDSS function driver" 2018-05-24 10:45:27 -07:00
qctecmdr Service
f29e796dd9 Merge "Merge android-4.14.43 (4c9e0a9) into msm-4.14" 2018-05-24 10:45:26 -07:00
qctecmdr Service
5cba18d3ef Merge "mm: swap_ratio: consider swap slots" 2018-05-24 10:45:25 -07:00
qctecmdr Service
7a7982991c Merge "UPSTREAM: Merge commit 'dc112cb7a116d3e8958c110767c5669b6acafd96' into mainline PC169_0522" 2018-05-24 10:45:25 -07:00
qctecmdr Service
abfbdc58e5 Merge "ARM: dts: msm: disable memcg kernel and socket accounting on sm8150" 2018-05-24 10:45:24 -07:00
qctecmdr Service
6826360206 Merge "msm: msm_bus: Add SBM disconnect mechanism" 2018-05-24 10:45:23 -07:00
Narendra Muppalla
7e5feb0da6 Merge remote-tracking branch 'quic/dev/msm-4.14-display' into msm-4.14
* quic/dev/msm-4.14-display:
  msm: sde: fix linear 32bit type formats for rotator
  drm/msm/sde: reset clt path after timing engine disabled
  drm/msm/sde: turn on mdp clock before rsc mode_2 exit
  drm/msm/sde: turn on clock before esd failure mitigation
  drivers/misc/hdcp: add error handling for failed app initialization
  ARM: dts: qcom: remove inline rotator configs from SDE for SM8150
  drm/msm: update flag for seamless dynamic framerates
  drm: edid: add support for parsing additional EDID blocks
  drm: edid: HDMI 2.0 HF-VSDB block parsing
  ARM: dts: msm: enable display rsc for sm8150
  drm/msm: vote for mdss core in disp rsc during probe
  drm/msm/sde: update qsync for intf te
  drm/msm/sde: add support for qsync cmd mode
  drm/msm: Fix the format prints in display driver
  drm/msm/dp: validate power/aux submodule pointers in unbind path

Change-Id: Ibf515e5f799dd2a52c86f4bf39990e44a790ac79
Signed-off-by: Narendra Muppalla <NarendraM@codeaurora.org>
2018-05-24 10:36:55 -07:00
Harry Yang
051762c8fb power: smb5: update APSD result in USBIN_PLUGIN IRQ
The variable real_charge_type is a cached value to reflect the real
connected charger type based on APSD results. However, it is not
updated when APSD result status gets cleared on charger removal, the
moment when USBIN_PLUGIN_RT_STS goes low on unplug. As a result,
some times, charger type remains even after a charger is removed.

Fix it by updating real_charge_type in USBIN_PLUGIN IRQ.

Change-Id: I008aa466ef83c12a38d3d2a2d81c736d14d019c9
Signed-off-by: Harry Yang <harryy@codeaurora.org>
2018-05-24 10:35:02 -07:00
Linux Build Service Account
951d4ca10c Merge "drm/msm: Fix the format prints in display driver" into dev/msm-4.14-display 2018-05-24 10:29:42 -07:00
Linux Build Service Account
e2e9e75a74 Merge "drm/msm/sde: reset clt path after timing engine disabled" into dev/msm-4.14-display 2018-05-24 09:57:58 -07:00
Pratham Pratap
bb4380d325 usb: gadget: f_mtp: Avoid race between mtp_read and mtp_function_disable
While mtp_read is being executed and mtp_function_disable
is called then all the eps will be disabled which will
lead to NULL pointer dereference in usb_ep_align_maybe
function which will subsequently try to access endpoint
descriptors.
Add spinlock protection in mtp_function_disable to
avoid race between mtp_read and mtp_function_disable.

Change-Id: If7f00ff2a98f75d2782e6bb35ad5fe59e4db6734
Signed-off-by: Pratham Pratap <prathampratap@codeaurora.org>
Signed-off-by: Mayank Rana <mrana@codeaurora.org>
2018-05-24 09:34:55 -07:00
Charan Teja Reddy
d4d36b5f2e ion: add support for secure dma allocations
Some targets need slave side secure buffers allocation using ION.
Add the support for the same.

Change-Id: I21489ea71fd7d2844c3bea1f4b701b3eb33cb355
Signed-off-by: Charan Teja Reddy <charante@codeaurora.org>
2018-05-24 19:19:30 +05:30