Commit graph

878,289 commits

Author SHA1 Message Date
Sudarshan Rajagopalan
fb23f8fa6a mm, page_owner: set page owner info for tail pages
When allocating higher order pages, currently only the head page is set
with page owner info, leaving the tail pages with previous or stale info.
This patch sets the info for tail pages too and sets the time of free in
page owner info of all pages during free. This patch also adds an extra
info to page extension flags to help check if page is in buddy or not.

Change-Id: I96d13485af698d586a4dd7b1092a379a645c8fcb
Signed-off-by: Sudarshan Rajagopalan <sudaraja@codeaurora.org>
[cgoldswo@codeaurora.org: Fix merge conflicts, add GKI #ifdef guards]
Signed-off-by: Chris Goldsworthy <cgoldswo@codeaurora.org>
2020-02-27 15:13:14 -08:00
Chris Goldsworthy
68f85c607c mm/Kconfig: Re-add HAVE_USERSPACE_LOW_MEMORY_KILLER
When Android has a userspace low memory killer, we want to configure
certain parts of the reclaim paths in the kernel.
HAVE_USERSPACE_LOW_MEMORY_KILLER can be used to perform this configuration,
and was removed when reverting a patch that defined it.  Re-add it.

Change-Id: Ic069c92a9d7928f0402705df8375d5384e9f743c
Signed-off-by: Chris Goldsworthy <cgoldswo@codeaurora.org>
2020-02-27 15:13:09 -08:00
Chris Goldsworthy
a0107aafe0 Revert "mm: oom-kill: Add lmk_kill possible for ULMK"
This reverts commit de77105488.

The effectiveness of should_ulmk_retry() is being re-assessed - for the
time being, we'll let the OOM killer run, when an allocation in alloc_pages
fails.

Change-Id: Ife3af938fc356ce46f8d9c538aaf6bd5d0c404f8
Signed-off-by: Chris Goldsworthy <cgoldswo@codeaurora.org>
2020-02-26 14:27:25 -08:00
qctecmdr
2a1334dded Merge "interconnect: Move internal structs into a separate file" 2020-02-26 09:50:31 -08:00
qctecmdr
66edc6ca0b Merge "interconnect: Print the tag in the debugfs summary" 2020-02-26 09:50:31 -08:00
qctecmdr
b3d4641396 Merge "memshare: Modify the driver to be dynamically loadable" 2020-02-26 06:46:49 -08:00
qctecmdr
077246c80b Merge "arm64: defconfig: Enable Shima platform" 2020-02-26 03:09:09 -08:00
qctecmdr
0cee1e861d Merge "sched: walt: move walt_stats member in cfs_rq under CFS_BANDWIDTH" 2020-02-26 03:09:09 -08:00
Manoj Prabhu B
51661a724d memshare: Modify the driver to be dynamically loadable
Align memshare driver to be generic kernel image compliant by
modifying the driver to dynamically loadable.

Change-Id: I92bab11f8ff4279b94bd4bce6d17640a3715c26c
Signed-off-by: Manoj Prabhu B <bmanoj@codeaurora.org>
2020-02-26 16:24:11 +05:30
Mukesh Ojha
89b4523685 arm64: defconfig: Enable Shima platform
Enable CONFIG_SHIMA option to use Shima platforms.

Change-Id: I5322fe9c1a16db17bb97189f63471f7dc16616b0
Signed-off-by: Mukesh Ojha <mojha@codeaurora.org>
2020-02-26 12:38:55 +05:30
Mukesh Ojha
92e27bdfd0 arm64: Kconfig: Add config option for Shima
Add option "CONFIG_SHIMA" to enable the compilation
for Shima platform.

Change-Id: If0d21709036af533e35aa14188c6a29b3c2e3759
Signed-off-by: Mukesh Ojha <mojha@codeaurora.org>
2020-02-26 12:38:45 +05:30
qctecmdr
b7a4d9d478 Merge "dt-bindings: ipcc: Add MPROC signal for TZ" 2020-02-25 22:31:33 -08:00
qctecmdr
5c4d659302 Merge "arm64: defconfig: Enable USB_F_FS_IPC_LOGGING for lahaina_debug, take 3" 2020-02-25 22:31:33 -08:00
qctecmdr
60cf4cdf62 Merge "thermal: adc-tm: Fix ADC_TM channel mapping" 2020-02-25 22:31:33 -08:00
qctecmdr
a2182885c0 Merge "qseecom: change qseecom_process_listener_from_smcinvoke" 2020-02-25 22:31:32 -08:00
qctecmdr
1c13ebd77e Merge "PM / devfreq: Remove dependencies between sysfs nodes and suspend count" 2020-02-25 22:31:30 -08:00
qctecmdr
b3e95fae53 Merge "interconnect: qcom: Add multiple voter support" 2020-02-25 22:31:30 -08:00
Georgi Djakov
2c237ca3d7 interconnect: Print the tag in the debugfs summary
Now we can have a tag associated with the path. Add this information
to the interconnect_summary file, as the current information in debugfs
is incomplete.

Change-Id: If4629841e3899ea6176d86f5151340f4bacc1002
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Georgi Djakov <georgi.djakov@linaro.org>
Git-commit: 2c5127a7fa0369801e623e8c6e58193f86d31d73
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
Signed-off-by: Mike Tipton <mdtipton@codeaurora.org>
2020-02-25 18:14:09 -08:00
qctecmdr
b7f099b17f Merge "iio: adc: qcom-vadc-common: Change ADC7 die_temp output unit to mC" 2020-02-25 17:08:02 -08:00
qctecmdr
e45d41760b Merge "iio: adc: Add full-scale voltage for PMIC7 ADC" 2020-02-25 17:08:02 -08:00
qctecmdr
377d399bc3 Merge "defconfig: lahaina: correct PMIC ADC driver config enablement" 2020-02-25 17:08:02 -08:00
qctecmdr
11e7567e09 Merge "soc: qcom: rpmh: Add completion status to rpmh debug information" 2020-02-25 17:08:01 -08:00
qctecmdr
aa16a1dd99 Merge "defconfig: lahaina-qgki: Remove CONFIG_IIO config from QGKI" 2020-02-25 17:08:00 -08:00
qctecmdr
caf69893fc Merge "pinctrl: qcom: Correctly configure the SDC2 pins" 2020-02-25 17:08:00 -08:00
qctecmdr
a4ba75b838 Merge "defconfig: enable msm_performance driver on Lahaina" 2020-02-25 17:08:00 -08:00
Zhen Kong
d2ea1d0733 qseecom: change qseecom_process_listener_from_smcinvoke
change qseecom_process_listener_from_smcinvoke parameters to work
with smcinvoke and upstream scm driver.

Change-Id: Ib5c12f731a4b8f3fba44b3bf8818da023080d708
Signed-off-by: Zhen Kong <zkong@codeaurora.org>
2020-02-25 14:52:51 -08:00
Dinesh K Garg
a57d36c9df firmware: qcom_scm: fix for missing listener id
__qcom_scm_invoke_smc() receives buffer to pass data received
in ret[2] but fails to copy data. Fixing the issue by copying
data into buffer.

Change-Id: Ia448f6c9ef680e8c1e98c6bf62f6f125d0dabddc
Signed-off-by: Dinesh K Garg <dineshg@codeaurora.org>
2020-02-25 14:46:13 -08:00
qctecmdr
e2298d13da Merge "thermal: adc-tm: Correct a macro expression for PMIC7 ADC_TM" 2020-02-25 09:08:40 -08:00
qctecmdr
963f98e807 Merge "thermal: adc-tm: Fix compilation recipe in makefile" 2020-02-25 09:08:40 -08:00
Pavankumar Kondeti
538d90229e sched: walt: move walt_stats member in cfs_rq under CFS_BANDWIDTH
The walt_stats member (walt_sched_stats structure) defined in cfs_rq
is only needed when CFS_BANDWIDTH feature is enabled. So add this
member under CFS_BANDWIDTH feature in cfs_rq structure.

Change-Id: I9ddfb00da3377a66a18522eaecdb8b0f76517e8e
Signed-off-by: Pavankumar Kondeti <pkondeti@codeaurora.org>
2020-02-25 07:42:26 -08:00
Santosh Mardi
0a016eaf4f sched: use rq_clock if WALT is not enabled
Use rq_clock to send timestamp to util update handler
if WALT is not enabled in the system.

Change-Id: I1e367c506a2fc286a4dfbac9d1f6cdd897d31f2d
Signed-off-by: Santosh Mardi <gsantosh@codeaurora.org>
2020-02-25 07:42:15 -08:00
Lingutla Chandrasekhar
09de85d415 trace: Add trace points for tasklet entry/exit
Tasklets are supposed to finish their work quickly and
should not block the current running process, but it is not
guaranteed that. Currently softirq_entry/exit can be used to
know total tasklets execution time, but not helpful to track
individual tasklet's execution time. With that we can't find
any culprit tasklet function, which is taking more time.

Add tasklet_entry/exit trace point support to track
individual tasklet execution.

Change-Id: I3496d15f64d020916774e673ccb4a8116ea2f2c9
Signed-off-by: Lingutla Chandrasekhar <clingutla@codeaurora.org>
[satyap@codeaurora.org: remove hi trace points and update commit text]
Signed-off-by: Satya Durga Srinivasu Prabhala <satyap@codeaurora.org>
2020-02-25 07:37:13 -08:00
Jishnu Prakash
fb4cbd1530 defconfig: lahaina-qgki: Remove CONFIG_IIO config from QGKI
Remove CONFIG_IIO from lahaina-QGKI fragment as it is now present
in gki_defconfig and not needed here any longer.

Change-Id: I2d231c77c836489840e73326ce60455d58a2c93a
Signed-off-by: Jishnu Prakash <jprakash@codeaurora.org>
2020-02-25 03:14:08 -08:00
qctecmdr
0b0f7507d8 Merge "scripts: gki: Add proper MAKE PATH" 2020-02-24 23:48:26 -08:00
qctecmdr
86fc732fcf Merge "defconfig: arm64: Remove QTEE_SHM_BRIDGE" 2020-02-24 23:48:26 -08:00
Kishore Sri venkata Ganesh Bolisetty
5bdc103fcd defconfig: enable msm_performance driver on Lahaina
Enable msm_performance driver as a part of Lahaina porting.

Change-Id: Ib73af3655061a823f64ea0c9f863aa405c67e85e
Signed-off-by: Kishore Sri venkata Ganesh Bolisetty <bsrivenk@codeaurora.org>
2020-02-24 16:28:18 -08:00
qctecmdr
fb60b1ec0f Merge "eud: Handle multiple events with eud interrupt" 2020-02-24 10:05:45 -08:00
Georgi Djakov
8569b9083a interconnect: Move internal structs into a separate file
Move the interconnect framework internal structs into a separate file,
so that it can be included and used by ftrace code. This will allow us
to expose some more useful information in the traces.

Change-Id: I97720025fcff087e19ddf6eb1f092fd42b5b78b2
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Georgi Djakov <georgi.djakov@linaro.org>
Git-commit: dd018a9cf9108f9c7d924f6fe09aed745e78a67e
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
Signed-off-by: Georgi Djakov <gdjako@codeaurora.org>
2020-02-24 06:36:41 -08:00
David Dai
fdcc9fb12c interconnect: qcom: Add multiple voter support
Add support for targeting alternate bcm-voters which
live under different RSC devices.

Change-Id: Ia1ad8a4c6c6b8531f0dae67cc7b22e2faa55c418
Signed-off-by: David Dai <daidavid1@codeaurora.org>
Signed-off-by: Georgi Djakov <gdjako@codeaurora.org>
2020-02-24 00:32:15 -08:00
qctecmdr
41085c0732 Merge "defconfig: lahaina: Enable DYNAMIC_DEBUG" 2020-02-22 21:57:43 -08:00
qctecmdr
1d4c3f6e17 Merge "defconfig: lahaina-gki: enable the glink debug spmi controller driver" 2020-02-22 06:56:47 -08:00
qctecmdr
ccc6432793 Merge "msm: ipa: Update WLAN pipes to use WLAN2 clients" 2020-02-22 03:05:00 -08:00
qctecmdr
400cd3cb0d Merge "msm: ipa: Update debugfs to print rules correctly" 2020-02-22 03:04:59 -08:00
qctecmdr
c4c0342260 Merge "msm: kgsl: Enable I/O coherency on A660" 2020-02-22 03:04:59 -08:00
qctecmdr
d04a88f455 Merge "scsi: ufshcd-qti: Fix hibern8 timeout during scaling" 2020-02-22 03:04:58 -08:00
qctecmdr
080896109c Merge "crypto: msm: add compat_qcedev to support 32bit process" 2020-02-21 23:21:34 -08:00
qctecmdr
567aba740c Merge "msm: adsprpc: protect access of context table" 2020-02-21 23:21:34 -08:00
qctecmdr
e447076b15 Merge "soc: qcom: msm_perf: Add msm_performance module" 2020-02-21 23:21:33 -08:00
qctecmdr
18ac4e51b9 Merge "memory_dump: add new feature for cpuss dump" 2020-02-21 23:21:33 -08:00
qctecmdr
66e62fa3be Merge "clk: qcom: gpucc-lahaina: Remove CLK_IS_CRITICAL" 2020-02-21 23:21:33 -08:00