720796 Commits

Author SHA1 Message Date
Laura Abbott
5fa884ffd4 arm: highmem: Add support for flushing kmap_atomic mappings
The highmem code provides kmap_flush_unused to ensure all kmap
mappings are really removed if they are unused. This code does not
handle kmap_atomic mappings since they are managed separately.
This prevents an issue for any code which relies on having absolutely
no mappings for a particular page. Rather than pay the penalty of
having CONFIG_DEBUG_HIGHMEM on all the time, add functionality
to remove the kmap_atomic mappings in a similar way to kmap_flush_unused.

Change-Id: I9d73abad693c18f2daa1647353e7592b255475b0
Signed-off-by: Laura Abbott <lauraa@codeaurora.org>
Signed-off-by: Charan Teja Reddy <charante@codeaurora.org>
2018-05-25 06:51:08 -07:00
Laura Abbott
19e308d6ca ARM: dma-mapping: Allow highmem pages to not have a mapping
The DMA_ATTR_NO_KERNEL_MAPPING is used to make sure that CMA
pages have no kernel mapping. Add support to make sure that
highmem pages have no mapping.

Change-Id: Ife76df126ecfedf0dba81a35e0de8a1787355b3d
Signed-off-by: Laura Abbott <lauraa@codeaurora.org>
Signed-off-by: Rohit Vaswani <rvaswani@codeaurora.org>
Signed-off-by: Vijayanand Jitta <vjitta@codeaurora.org>
Signed-off-by: Charan Teja Reddy <charante@codeaurora.org>
2018-05-25 06:50:44 -07:00
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
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
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
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
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
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
Linux Build Service Account
81a92c5420 Merge "msm: sde: fix linear 32bit type formats for rotator" into dev/msm-4.14-display 2018-05-24 00:56:55 -07:00
Linux Build Service Account
08e9cb4d82 Merge "drm/msm/sde: turn on clock before esd failure mitigation" into dev/msm-4.14-display 2018-05-24 00:56:48 -07:00
Narendra Muppalla
5b116e6d49 msm: sde: fix linear 32bit type formats for rotator
This change reorders linear 32bit format color component order.

Change-Id: I97159322b104cb62f7165d0acaf786c9a64a4247
Signed-off-by: Narendra Muppalla <NarendraM@codeaurora.org>
2018-05-24 00:47:55 -07:00
Narendra Muppalla
1d9dd22e1e drm/msm/sde: reset clt path after timing engine disabled
For MDP rev 5.0, CTL path reset is required after timing engine
is disabled for video mode interface. The reset includes 3d_merge,
active_intf, layer mixer and ctl path after timing engine is
disabled. This reset call does not need to wait for vsync because
timing engine is already disabled. It may lead to continuous underrun
if reset sequence is not followed and same ctl path is used for
different resolution display.

Change-Id: I06492a0c12e860616aa09e462e34717592f2f9e3
Signed-off-by: Narendra Muppalla <NarendraM@codeaurora.org>
2018-05-24 00:45:16 -07:00
Linux Build Service Account
4163908c93 Merge "ARM: dts: qcom: remove inline rotator configs from SDE for SM8150" into dev/msm-4.14-display 2018-05-24 00:40:40 -07:00
Linux Build Service Account
b3cb441eb8 Merge changes I25685463,Iae92de79,I018cfefe into dev/msm-4.14-display
* changes:
  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
2018-05-24 00:40:27 -07:00
Raghavendra Kakarla
4bf44e28a2 drivers: irqchip: qcom: Add MSM8937 pin data for MPM
Add the mpm pin input mapping for msm8937 chip.

Change-Id: Id4c9c33046460f79438a07191d504dc6ef215b58
Signed-off-by: Raghavendra Kakarla <rkakarla@codeaurora.org>
2018-05-24 00:30:19 -07:00
Linux Build Service Account
0f3855d74b Merge "drm/msm/dp: validate power/aux submodule pointers in unbind path" into dev/msm-4.14-display 2018-05-24 00:04:03 -07:00
Linux Build Service Account
55a4f3c93e Merge "drm/msm/sde: turn on mdp clock before rsc mode_2 exit" into dev/msm-4.14-display 2018-05-24 00:03:37 -07:00
Linux Build Service Account
8acf9afdd5 Merge "drivers/misc/hdcp: add error handling for failed app initialization" into dev/msm-4.14-display 2018-05-23 23:55:54 -07:00
Linux Build Service Account
e74899ec7a Merge changes I0e8ef092,I53a81b46 into dev/msm-4.14-display
* changes:
  drm/msm/sde: update qsync for intf te
  drm/msm/sde: add support for qsync cmd mode
2018-05-23 23:41:17 -07:00
Linux Build Service Account
806a21d0b9 Merge "Merge remote-tracking branch 'quic/msm-4.14' into dev/msm-4.14-display" into dev/msm-4.14-display 2018-05-23 23:41:10 -07:00