During the CX Power Collapse event, the SDCC registers contents
are not retained. Add the SW support to save and restore the SDCC's
registers content during CX collapse event so that the SD card
can resume to normal operation after CX collapse resumes.
Change-Id: I8b452eaea2591c455147c475eb2811e5ebd12ddc
Signed-off-by: Bao D. Nguyen <nguyenb@codeaurora.org>
Port the SDCC's DLL setting logic from Qualcomm's Kona target
to Lahaina using the DLL setting recommended by the
Hardware Settings Reference guide which is defined in the dt file.
This is a snapshot of the sdhci-msm driver changes taken as of
msm-4.19 commit <74f401c241ba>
("mmc: sdhci-msm: Port base platform driver from 4.14 to 4.19").
Change-Id: Iaf85a498f9c9d051300ad84654497cf4f0762ba7
Signed-off-by: Veerabhadrarao Badiganti <vbadigan@codeaurora.org>
Signed-off-by: Bao D. Nguyen <nguyenb@codeaurora.org>
Vote for the MSM bus bandwidth required by SDHC driver
based on the clock frequency and bus width of the card.
Otherwise,the system clocks may run at the minimum clock
speed and thus affecting the performance.
This change is based on Georgi Djakov [RFC]
(https://lkml.org/lkml/2018/10/11/499).
Change-Id: I5bae7af1ff8536cc596ca056438105991ca91839
Signed-off-by: Sahitya Tummala <stummala@codeaurora.org>
Signed-off-by: Subhash Jadavani <subhashj@codeaurora.org>
Signed-off-by: Veerabhadrarao Badiganti <vbadigan@codeaurora.org>
Signed-off-by: Pradeep P V K <ppvk@codeaurora.org>
Signed-off-by: Asutosh Das <asutoshd@codeaurora.org>
Signed-off-by: Bao D. Nguyen <nguyenb@codeaurora.org>
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>
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>
__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>
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>
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>
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>
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>
Enable msm_performance driver as a part of Lahaina porting.
Change-Id: Ib73af3655061a823f64ea0c9f863aa405c67e85e
Signed-off-by: Kishore Sri venkata Ganesh Bolisetty <bsrivenk@codeaurora.org>
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>