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>
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>
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>
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>
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>
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>
Current default governor is schedutil, make performance default instead.
Change-Id: I4c889d49187df12985e1f367e4330c2070d7cb74
Signed-off-by: Shaleen Agrawal <shalagra@codeaurora.org>
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>
Check for NULL when registering for wakeup source.
Change-Id: I5ccc0ac7649281b063c76cafb82be343f43f563a
Signed-off-by: Tony Truong <truong@codeaurora.org>
This is to avoid priority levels getting flopped.
Change-Id: I8698529cac5b2d0a8959af12817bd17a2d92c88f
Signed-off-by: Harshdeep Dhatt <hdhatt@codeaurora.org>
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>
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>
Add debug cc measure nodes for Lahaina to support
debugfs clk measure.
Change-Id: Id7fc4d63fdf4ed32b63bdb5b410649f1779ad290
Signed-off-by: Vivek Aknurwar <viveka@codeaurora.org>
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>
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>
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>
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>