Commit graph

876,403 commits

Author SHA1 Message Date
qctecmdr
cc79110ab0 Merge "power: reset: Add snapshot of msm-poweroff" 2020-01-13 22:19:13 -08:00
qctecmdr
9281a8d0bd Merge "fs/buffer.c: Revoke LRU when trying to drop buffers" 2020-01-13 21:37:59 -08:00
qctecmdr
3f84a5f0f3 Merge "arm64: defconfig: Remove CONFIG_SPS from lahaina_debug.config" 2020-01-13 20:28:28 -08:00
qctecmdr
f880aa4bff Merge "mm: vmstat: add pageoutclean" 2020-01-13 17:08:53 -08:00
qctecmdr
0c7d45c665 Merge "ASoC: core: Add compat ioctl support for listen driver" 2020-01-13 12:50:56 -08:00
qctecmdr
a1182703ee Merge "sched: walt: Improve the scheduler" 2020-01-13 12:13:14 -08:00
qctecmdr
1f37c7cca2 Merge "NFC: Add NFC hardware check and get info ioctl" 2020-01-13 11:37:44 -08:00
Mayank Rana
df76805ec6 arm64: defconfig: Remove CONFIG_SPS from lahaina_debug.config
lahaina_QGKI.config takes care of enabling CONFIG_SPS and CONFIG_USB_BAM
in lahaina_debug.config. CONFIG_USB_BAM depends on CONFIG_SPS. Currently
CONFIG_SPS is enabled in both lahaina_debug.config and lahaina_QGKI.config
whereas CONFIG_USB_BAM is enabled only in lahaina_QGKI.config and also
explicitly marked as "not set" in lahaina_debug.config. This conflict
between the fragments results into CONFIG_USB_BAM remaining disabled in
the combined lahaina-qgki-debug_defconfig. Clean this up by removing
their redundant entries from lahaina_debug.config so that both CONFIG_SPS
and CONFIG_USB_BAM are only enabled in the lahaina_QKI.config fragment.

Change-Id: I5dba04e64a04bc16aa6603ca617681decaf19c36
Signed-off-by: Mayank Rana <mrana@codeaurora.org>
2020-01-13 09:03:09 -08:00
Karthik Poosa
eb81b68b14 NFC: Add NFC hardware check and get info ioctl
Add nfc hardware check in probe and NFCC_GET_INFO ioctl.

Change-Id: If1269ac0b3a786039001d4c759e9c423ddc149db
Signed-off-by: Karthik Poosa <kpoosa2@codeaurora.org>
2020-01-13 10:08:55 +05:30
Banajit Goswami
5d57141aeb ASoC: core: Add compat ioctl support for listen driver
Change adds compat ioctl to listen driver for supporting 32 bit userspace
client when kernel is compiled for 64 bit.

Change-Id: Ie6a6fb1f2b6ea569e03b02bc520ef79b95c1009c
Signed-off-by: Gopikrishnaiah Anandan <agopik@codeaurora.org>
Signed-off-by: Banajit Goswami <bgoswami@codeaurora.org>
Signed-off-by: Meng Wang <mwang@codeaurora.org>
2020-01-13 11:26:15 +08:00
qctecmdr
137a997bae Merge "msm: ipa: Fix using generic name for offload connect/disconnect" 2020-01-12 01:27:48 -08:00
qctecmdr
ab030438e3 Merge "selinux: stop flooding the log buffer" 2020-01-11 23:31:42 -08:00
qctecmdr
57d8056ef9 Merge "mm: swap: Add null pointer check" 2020-01-11 22:50:46 -08:00
Chaitanya Pratapa
aa124a407a msm: ipa: Fix using generic name for offload connect/disconnect
ECM_CONNECT/ECM_DISCONNECT name looks specific to ECM offload
scenarios. As IPA supports other peripherals like ETH/AQC/RNDIS
use a more generic name.

Change-Id: I09bb640734f2ea0bf2d47ed95d03290db50b5770
Signed-off-by: Chaitanya Pratapa <cpratapa@codeaurora.org>
2020-01-11 14:37:07 -08:00
qctecmdr
4dc9af7e29 Merge "msm: cvp: remove version and deprecated functions" 2020-01-11 01:31:11 -08:00
qctecmdr
a1ef7c147f Merge "msm: cvp: Add flush api in uapi" 2020-01-11 00:56:08 -08:00
qctecmdr
b247f5a2fd Merge "defconfig: arm64: Enable sched debug features on Lahaiana" 2020-01-11 00:05:15 -08:00
qctecmdr
dcf69a5cbc Merge "sched/core: Fix compilation issues when WALT is enabled" 2020-01-10 23:31:15 -08:00
qctecmdr
68ff2ae5b2 Merge "msm: kgsl: Check correct register for clamps on a660" 2020-01-10 22:56:17 -08:00
qctecmdr
e25e97f384 Merge "msm: kgsl: Set DMA Mask for gmu device" 2020-01-10 22:16:09 -08:00
qctecmdr
fd32c2402f Merge "msm: ipa: stop remote IPA channels if tethering is not enabled" 2020-01-10 19:29:13 -08:00
qctecmdr
59a02848ce Merge "PM / QoS: Reorder pm_qos/freq_qos/dev_pm_qos structs" 2020-01-10 18:25:14 -08:00
Michael Adisumarta
50026e05db msm: ipa: stop remote IPA channels if tethering is not enabled
This fix stops the remote IPA MHIP channels from probe if tethering is
not enabled, before unvoting host IPA clocks.

Change-Id: Iae12f13a3297e2ed7898e7c3a5e0b39ab6793e55
Acked-by: Jyothi Jayanthi <jyothij@qti.qualcomm.com>
Signed-off-by: Michael Adisumarta <madisuma@codeaurora.org>
2020-01-10 17:56:33 -08:00
qctecmdr
7d2ba430da Merge "PM / QoS: Redefine FREQ_QOS_MAX_DEFAULT_VALUE to S32_MAX" 2020-01-10 17:50:17 -08:00
qctecmdr
ced45cc81c Merge "mm: oom_kill: dump info of all tasks when the FG process is killed" 2020-01-10 17:16:29 -08:00
qctecmdr
00cb79b42f Merge "sched/fair: skip 6% energy check when best_energy_cpu is idle" 2020-01-10 16:41:38 -08:00
Ruofei Ma
e0b0015079 msm: cvp: remove version and deprecated functions
Firmware version check is not needed in Lahaina. Remove it and
deprecated functions.

Change-Id: I4d3f8eaad1b4d49f762f534b8a7f76ddc32fa230
Signed-off-by: Ruofei Ma <ruofeim@codeaurora.org>
2020-01-10 15:23:30 -08:00
qctecmdr
a9257508f0 Merge "clk: qcom: gcc-lahaina: Add PCIe and UFS clock muxes" 2020-01-10 14:15:54 -08:00
Ruofei Ma
aefced6667 msm: cvp: Add flush api in uapi
Add flush api support in uapi for Lahaina.

Change-Id: I2117b2a64808fdf8a6f1edd5b83907807e9c7eac
Signed-off-by: Ruofei Ma <ruofeim@codeaurora.org>
2020-01-10 14:05:01 -08:00
qctecmdr
a629a82df8 Merge "dt-bindings: clock: gcc: Add PCIe pipe and UFS symbol clocks" 2020-01-10 13:05:20 -08:00
qctecmdr
8b3e6472a5 Merge "clk: qcom: Fix incorrect mux_get_parent mapping" 2020-01-10 12:25:19 -08:00
qctecmdr
b2d3560047 Merge "clk: qcom: Fix orphaned sleep clocks for Lahaina" 2020-01-10 11:51:21 -08:00
Patrick Daly
3890a7b5fd mm: swap: Add null pointer check
Address an unlikely null pointer dereference.
Fixes commit 7b5df13bc4b3 ("mm: swap: free up swap on mm reap").

The expected usage of free_swap_slot is that the caller has already
checked that the swap_entry_t is valid.

Change-Id: I85331f817458df7f6cb0c0b387ca34c345f8c513
Signed-off-by: Patrick Daly <pdaly@codeaurora.org>
Signed-off-by: Isaac J. Manjarres <isaacm@codeaurora.org>
2020-01-10 11:23:22 -08:00
Vinayak Menon
44103384ae selinux: stop flooding the log buffer
The avc allocations are marked with GFP_NOWAIT and thus
considered to be non-fatal allocations. This also makes
these allocations easy to fail thus filling the log buffer
with page allocation failure messages. There are no known
cases of these messages being of any importance for
debugging. Disable them.

Change-Id: I3517a134ad0e8deb307f0d140f4b16cb303a9f7f
Signed-off-by: Vinayak Menon <vinmenon@codeaurora.org>
Signed-off-by: Isaac J. Manjarres <isaacm@codeaurora.org>
2020-01-10 11:19:10 -08:00
qctecmdr
62b3ebe2ec Merge "defconfig: lahaina-qgki: Enable thermal drivers" 2020-01-10 11:12:21 -08:00
Laura Abbott
14bd62578a fs/buffer.c: Revoke LRU when trying to drop buffers
When a buffer is added to the LRU list, a reference is taken which is
not dropped until the buffer is evicted from the LRU list. This is the
correct behavior, however this LRU reference will prevent the buffer
from being dropped. This means that the buffer can't actually be dropped
until it is selected for eviction. There's no bound on the time spent
on the LRU list, which means that the buffer may be undroppable for
very long periods of time. Given that migration involves dropping
buffers, the associated page is now unmigratible for long periods of
time as well. CMA relies on being able to migrate a specific range
of pages, so these these types of failures make CMA significantly
less reliable, especially under high filesystem usage.

Rather than waiting for the LRU algorithm to eventually kick out
the buffer, explicitly remove the buffer from the LRU list when trying
to drop it. There is still the possibility that the buffer
could be added back on the list, but that indicates the buffer is
still in use and would probably have other 'in use' indicates to
prevent dropping.

Change-Id: I253f4ee2069e190c1115afc421dadd27a7fa87dc
Signed-off-by: Laura Abbott <lauraa@codeaurora.org>
Signed-off-by: Vinayak Menon <vinmenon@codeaurora.org>
Signed-off-by: Isaac J. Manjarres <isaacm@codeaurora.org>
2020-01-10 11:10:13 -08:00
qctecmdr
bd9e19a39a Merge "defconfig: Lahaina: enable external display module" 2020-01-10 10:25:28 -08:00
Satya Durga Srinivasu Prabhala
dff862de34 defconfig: arm64: Enable sched debug features on Lahaiana
To be able to debug performance issues related to scheduler and
other scheduler bugs, enable below debug features:
  1. PREEMPTIRQ_EVENTS
  2. PANIC_ON_SCHED_BUG
  3. PANIC_ON_RT_THROTTLING

Change-Id: If3350c3914e0c1590a7536cfb8131d747a075263
Signed-off-by: Satya Durga Srinivasu Prabhala <satyap@codeaurora.org>
2020-01-10 10:16:23 -08:00
Satya Durga Srinivasu Prabhala
abe694a346 sched/core: Fix compilation issues when WALT is enabled
When WALT & UCLAMP are enabled, compilation is broken.

Change-Id: Id0b23f1d0fd0131f390c062076bddad5104ddd51
Signed-off-by: Satya Durga Srinivasu Prabhala <satyap@codeaurora.org>
2020-01-10 10:09:39 -08:00
qctecmdr
0643acf80b Merge "msm: kgsl: Setup CP_CHICKEN_DBG register for a660" 2020-01-10 09:46:37 -08:00
qctecmdr
801710a3fa Merge "msm: kgsl: Add A660 to the gpulist" 2020-01-10 09:07:24 -08:00
Satya Durga Srinivasu Prabhala
3b65363e48 sched/fair: skip 6% energy check when best_energy_cpu is idle
Even though best_energy_cpu is idle and which would consume
same amount of energy as prev cpu, due to 6% check with prev cpu,
we end up choosing prev cpu over best_energy_cpu for the tasks.
This leads to increase in runnables. Choose best_energy_cpu when
it is idle and shallowest c-state over prev cpu in such scenarios
to avoid runnables.

Change-Id: Ib9eee263640bcd43bd80f8f777a8312585991bc5
Signed-off-by: Satya Durga Srinivasu Prabhala <satyap@codeaurora.org>
2020-01-10 08:15:40 -08:00
qctecmdr
89cb2f1e04 Merge "msm:ipa: stop UL IPA TX channel at the end of the probe" 2020-01-10 01:27:35 -08:00
qctecmdr
f9c09b638f Merge "msm: ipa: tune mhip ring size shrink to 6 elements" 2020-01-10 00:50:28 -08:00
qctecmdr
d93983d18c Merge "msm: ipa: vote for device side through mhi for tethering use cases" 2020-01-10 00:16:33 -08:00
qctecmdr
7ee6423b56 Merge "msm:ipa: mhip ring size optimization" 2020-01-09 23:40:11 -08:00
qctecmdr
35ad67c68d Merge "msm:ipa: continue ODL logging on MHIP post modem SSR" 2020-01-09 23:08:14 -08:00
qctecmdr
e445a70cfa Merge "msm:ipa: uc based flow control for UL tethering offload" 2020-01-09 22:00:04 -08:00
Mike Tipton
71a670d795 clk: qcom: gcc-lahaina: Add PCIe and UFS clock muxes
Add PCIe and UFS clock muxes.

Change-Id: I41af25822cd47a00a3c4dcda6fc2984f4c200eb9
Signed-off-by: Mike Tipton <mdtipton@codeaurora.org>
2020-01-09 17:25:56 -08:00
Mike Tipton
0f6325c35f dt-bindings: clock: gcc: Add PCIe pipe and UFS symbol clocks
Add PCIe pipe and UFS symbol clock bindings for Lahaina.

Change-Id: I19843209b37b2caf17574e459f05f31c406daa79
Signed-off-by: Mike Tipton <mdtipton@codeaurora.org>
2020-01-09 17:25:56 -08:00