Commit graph

876,443 commits

Author SHA1 Message Date
Jordan Crouse
5d54b04f0c PM / devfreq: Add MODULE_LICENSE for arm-memlat-mon
Fix the following warning from modpost:

   WARNING: modpost: missing MODULE_LICENSE() in drivers/devfreq/arm-memlat-mon.o

Fixes: a4e0d26 ("PM / devfreq: Introduce a memory-latency governor")
Change-Id: Ic0dedbad2d3462ee407e5f2d5bcb9ded6e6ac83f
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
2020-01-15 09:01:10 -07:00
Jordan Crouse
dc88f358c8 firmware: qcom-scm: Force built in drivers to depend on QCOM SCM
Some always built-in drivers have a dependency on QCOM SCM so don't enable
them if QCOM SCM is built as a module.

Change-Id: Ic0dedbad472d2a36220126db86d3fcbf817ce53d
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
2020-01-15 09:01:09 -07:00
Jordan Crouse
137084f0c5 coresight: Remove duplicate Kconfig entries
Commit c69961762f ("coresight: Add snapshot of Coresight cti driver")
accidently added some duplicate Kconfig entries that had been previously
added by commit a47c331396 ("coresight: Add snapshot of Coresight TPDM
and TPDA driver").

Change-Id: Ic0dedbadef390fea5302a46bd64b94f2e1b185f3
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
2020-01-15 09:01:09 -07:00
Jordan Crouse
c7f16608d4 include: Fixup headers to pass KERNEL_HEADER_TEST
Fix up a bunch of headers so that they pass KERNEL_HEADER_TEST to ensure
that they are self-contained.

Change-Id: Ic0dedbad91f70263452c9a809333fe93c8ee2266
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
2020-01-15 09:01:08 -07:00
qctecmdr
9195ca3327 Merge "drivers: thermal: Add config sysfs entry support for thermal zones" 2020-01-14 22:59:14 -08:00
qctecmdr
32b02a7652 Merge "hwrng: update qrng driver copyright and license marking" 2020-01-14 21:27:12 -08:00
qctecmdr
7b4f8e2518 Merge "arm64: defconfig: Enable CONFIG_BALANCE_ANON_FILE_RECLAIM on Lahaina" 2020-01-14 17:07:21 -08:00
qctecmdr
9ecc641dee Merge "arm64: defconfig: Enable clean page reclaim tracking on Lahaina" 2020-01-14 15:45:10 -08:00
qctecmdr
59d3346dd2 Merge "msm: ipa4: Fix using of tag_desc" 2020-01-14 10:26:58 -08:00
qctecmdr
a446d3a25c Merge "msm:ipa: Address the -Wmisleading-indentation warning" 2020-01-14 09:53:10 -08:00
qctecmdr
0d4393117c Merge "msm: kgsl: Disable GBIF_CLIENT_QOS on a660v1" 2020-01-14 09:12:00 -08:00
qctecmdr
7d14c95dd6 Merge "msm: kgsl: Skip the intersecting vma" 2020-01-14 08:32:57 -08:00
qctecmdr
90ec49c65d Merge "msm: pcie: correct error check of wakeup source registration" 2020-01-14 07:56:49 -08:00
qctecmdr
4e06ea3fa9 Merge "arm64: defconfig: Enable SMCInvoke driver for Lahaina" 2020-01-14 06:47:48 -08:00
qctecmdr
cf3834f06a Merge "SMCInvoke: Add SMCInvoke driver snapshot for Lahaina" 2020-01-14 06:12:38 -08:00
qctecmdr
8e6ab5e712 Merge "defconfig: change default governor to performance on lahaina" 2020-01-14 05:02:29 -08:00
qctecmdr
fa73190391 Merge "socinfo: Avoid sysfs entry name changes between kernel versions" 2020-01-14 04:27:39 -08:00
qctecmdr
537557d634 Merge "qseecom: update interface as per new scm driver" 2020-01-14 03:52:45 -08:00
qctecmdr
83f329f7a1 Merge "cpufreq: qcom-cpufreq-hw: Initialize the data type for offsets to u16" 2020-01-14 03:14:47 -08:00
qctecmdr
42a64d3afb Merge "clk: qcom: debug: Remove use of hw init" 2020-01-14 02:03:27 -08:00
qctecmdr
3436cc26a2 Merge "clk: qcom: Add debug cc clk measure nodes for Lahaina" 2020-01-14 01:28:06 -08:00
qctecmdr
9e6b76505b Merge "arm64: defconfig: Enable poweroff driver for Lahaina GKI" 2020-01-13 23:22:51 -08:00
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
Isaac J. Manjarres
a31c95b2c6 arm64: defconfig: Enable CONFIG_BALANCE_ANON_FILE_RECLAIM on Lahaina
Enable CONFIG_BALANCE_ANON_FILE_RECLAIM on Lahaina so that
anonymous pages and file backed pages are treated the same
during memory reclaim.

Change-Id: Id0b1657391ea610ea675cb8f8c15e14efa357875
Signed-off-by: Isaac J. Manjarres <isaacm@codeaurora.org>
2020-01-13 18:33:08 -08:00
Isaac J. Manjarres
1b7137bae4 arm64: defconfig: Enable clean page reclaim tracking on Lahaina
Enable CONFIG_VM_EVENT_COUNT_CLEAN_PAGE_RECLAIM on Lahaina
to add clean page reclaim to the set of VM events that the
kernel tracks.

Change-Id: I3531024b2d09264bb6032aa55d8c4cd511289d35
Signed-off-by: Isaac J. Manjarres <isaacm@codeaurora.org>
2020-01-13 18:32:08 -08:00
qctecmdr
f880aa4bff Merge "mm: vmstat: add pageoutclean" 2020-01-13 17:08:53 -08:00
Shaleen Agrawal
0d33854700 defconfig: change default governor to performance on lahaina
Current default governor is schedutil, make performance default instead.

Change-Id: I4c889d49187df12985e1f367e4330c2070d7cb74
Signed-off-by: Shaleen Agrawal <shalagra@codeaurora.org>
2020-01-13 14:56:00 -08:00
Zhen Kong
2d52f1c52a hwrng: update qrng driver copyright and license marking
update qrng driver copyright and license marking.

Change-Id: Id03224edee06808b2322276bd1141f56f12c5eb4
Signed-off-by: Zhen Kong <zkong@codeaurora.org>
2020-01-13 14:50:59 -08:00
qctecmdr
0c7d45c665 Merge "ASoC: core: Add compat ioctl support for listen driver" 2020-01-13 12:50:56 -08:00
Prasad Sodagudi
190d9a6a98 msm:ipa: Address the -Wmisleading-indentation warning
There is braces missing for the if condition and leads to warning
of drivers/platform/msm/ipa/ipa_v3/ipa.c:3337:3: warning: misleading
indentation; statement is not part of the previous
'if' [-Wmisleading-indentation]. Fixed warning with proper braces
for the if loop.

Change-Id: I8849450d88711fd19d43f3598ebd2497cf9ecae5
Signed-off-by: Prasad Sodagudi <psodagud@codeaurora.org>
2020-01-13 12:47:27 -08:00
Prasad Sodagudi
937b09def8 socinfo: Avoid sysfs entry name changes between kernel versions
Avoid init script changes between kernel versions for the
socinfo sysfs entries and add missing sysfs entries.

Change-Id: Ie624e629b42f6ac425636172505a2ddab532458a
Signed-off-by: Prasad Sodagudi <psodagud@codeaurora.org>
2020-01-13 12:41:47 -08:00
qctecmdr
a1182703ee Merge "sched: walt: Improve the scheduler" 2020-01-13 12:13:14 -08:00
Tony Truong
ca6df58355 msm: pcie: correct error check of wakeup source registration
Check for NULL when registering for wakeup source.

Change-Id: I5ccc0ac7649281b063c76cafb82be343f43f563a
Signed-off-by: Tony Truong <truong@codeaurora.org>
2020-01-13 11:47:23 -08:00
qctecmdr
1f37c7cca2 Merge "NFC: Add NFC hardware check and get info ioctl" 2020-01-13 11:37:44 -08:00
Harshdeep Dhatt
9493112fc1 msm: kgsl: Disable GBIF_CLIENT_QOS on a660v1
This is to avoid priority levels getting flopped.

Change-Id: I8698529cac5b2d0a8959af12817bd17a2d92c88f
Signed-off-by: Harshdeep Dhatt <hdhatt@codeaurora.org>
2020-01-13 12:33:08 -07:00
Harshdeep Dhatt
0ca862d2bb msm: kgsl: Skip the intersecting vma
If we intersect with an existing vma, we check against the same vma
multiple times which causes huge latency during mmap. So check against
an existing vma just once and move on.

Change-Id: Ib7975493d137f29db7ce01fc1d0ac7d88b9405e2
Signed-off-by: Harshdeep Dhatt <hdhatt@codeaurora.org>
2020-01-13 12:32:12 -07:00
Vivek Aknurwar
15226b2a1a clk: qcom: debug: Remove use of hw init
Remove use of hw init as it is set to NULL
during clk register.

Change-Id: I98bf43b7aac11691a71a54a6bacefa25d92c3b76
Signed-off-by: Vivek Aknurwar <viveka@codeaurora.org>
2020-01-13 10:18:21 -08:00
Vivek Aknurwar
01980cc006 clk: qcom: Add debug cc clk measure nodes for Lahaina
Add debug cc measure nodes for Lahaina to support
debugfs clk measure.

Change-Id: Id7fc4d63fdf4ed32b63bdb5b410649f1779ad290
Signed-off-by: Vivek Aknurwar <viveka@codeaurora.org>
2020-01-13 10:18:21 -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
Praveen Kurapati
6545be53e8 msm: ipa4: Fix using of tag_desc
While sending imm cmd to close the coal pipe,
we program desc to close the frame instead of tag_desc.
This lead to memory corruption. Add changes to use
tag_desc.

Change-Id: I10e9f50f48a14cc77f5032e297996f7e162517b2
Signed-off-by: Praveen Kurapati <pkurapat@codeaurora.org>
2020-01-13 05:53:20 -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
Naveen Yadav
9f9601aeb6 cpufreq: qcom-cpufreq-hw: Initialize the data type for offsets to u16
Update data type of offsets used to u16.

Change-Id: Ia931979edfe0f4e9f5b3aea1eb8a3e26e5760a6d
Signed-off-by: Naveen Yadav <naveenky@codeaurora.org>
2020-01-13 09:11:56 +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