Commit graph

878,310 commits

Author SHA1 Message Date
qctecmdr
7b7e4e4f1d Merge "msm: pcie: scale CX and rate change after DRV resume" 2020-02-27 00:18:53 -08:00
qctecmdr
3328b1ce21 Merge "defconfig: Enable UFS BSG driver" 2020-02-27 00:18:53 -08:00
qctecmdr
5212d6d3b5 Merge "scsi: ufshcd-qti: Fix null pointer check" 2020-02-27 00:18:52 -08:00
qctecmdr
eeea05d3fe Merge "cnss2: Expose APIs to prevent and allow PCIe L1 state" 2020-02-27 00:18:52 -08:00
qctecmdr
b1a5bd0150 Merge "msm: ipa: create ipa framework" 2020-02-27 00:18:51 -08:00
qctecmdr
a2487ea698 Merge "iommu/arm-smmu: Add support for active-only interconnect votes" 2020-02-26 19:04:35 -08:00
qctecmdr
984c7a4fa1 Merge "defconfig: arm64: enable required configs for trusted VM" 2020-02-26 19:04:34 -08:00
qctecmdr
031a77901c Merge "cnss2: Add sanity check for cnss pm runtime APIs" 2020-02-26 19:04:34 -08:00
qctecmdr
bbc1fb5c52 Merge "Revert "mm: oom-kill: Add lmk_kill possible for ULMK"" 2020-02-26 19:04:34 -08:00
qctecmdr
3c948ad14e Merge "cnss2: Add sysfs entry for system shutdown" 2020-02-26 19:04:34 -08:00
Yue Ma
40eb3e3bbb cnss2: Expose APIs to prevent and allow PCIe L1 state
WLAN driver can use the APIs to control if PCIe can enter L1 and
L1ss states.

Change-Id: Iad784b1ca66199ad61c471635a67542afd34480e
Signed-off-by: Yue Ma <yuem@codeaurora.org>
2020-02-26 17:36:02 -08:00
Tony Truong
603d76db80 msm: pcie: scale CX and rate change after DRV resume
PCIe will vote for maximum CX and rate change during DRV resume.
Scale CX and rate change based on final GEN speed after PCIe
regains control.

Change-Id: I004f4bba6ca12944cd48fd56fa5a1290867c82a9
Signed-off-by: Tony Truong <truong@codeaurora.org>
2020-02-26 17:32:00 -08:00
Tony Truong
7fb4a28835 msm: pcie: provide APIs to prevent and allow PCIe ASPM L1
Provide clients an API to exit and prevent the link from active
state power management (ASPM) L1.  Also, give clients the
control to allow the link to enter ASPM L1.

Change-Id: Iedabb4eed51adb981f0eb1f204b468e7b7fbc678
Signed-off-by: Tony Truong <truong@codeaurora.org>
2020-02-26 17:31:28 -08:00
Yu Wang
c3985a135a cnss2: Add sysfs entry for system shutdown
Add sysfs entry '/sys/kernel/shutdown_wlan/shutdown'.
When system is shutting down or rebooting, this entry will be
written so that drvier can be notified and handle it properly.

Change-Id: I2537a2893f8787ff7c9d33608ef6c42075c3d128
Signed-off-by: Yu Wang <yyuwang@codeaurora.org>
Signed-off-by: Yue Ma <yuem@codeaurora.org>
2020-02-26 15:32:45 -08:00
Yue Ma
f628a32c05 cnss2: Set WLAON_QFPROM_PWR_CTRL_REG during power on and off
After device power on and link config, clear VDD4BLOW_EN bit
of WLAON_QFPROM_PWR_CTRL_REG register to disable OTP write.
Before device link suspend and power off, clear VDD4BLOW_EN bit
and set SHUTDOWN_EN bit. Also add a 1ms sleep after writing
WLAON_QFPROM_PWR_CTRL_REG register.

Add a DTSI entry to control above operations.

Change-Id: Icb307a85bb5d283b78bdd7615f9a4757867c8075
CRs-Fixed: 2601850
Signed-off-by: Yue Ma <yuem@codeaurora.org>
2020-02-26 15:30:11 -08:00
Tiger Yu
86af8dc6c3 cnss2: Add sanity check for cnss pm runtime APIs
The cnss pm runtime APIs will be bypassed if the RPM is not enabled.

Change-Id: I41bbf30e1f12426670606b90a88e3af4d0840c9c
Signed-off-by: Tiger Yu <tfyu@codeaurora.org>
2020-02-26 15:25:56 -08:00
Yu Wang
65569d506c cnss2: check wlfw mac before switching to mission mode
To make sure WLAN MAC address has already been well
configured in firmware before switching to mission mode,
send QMI message to WLAN firmware to query the current
MAC status, and wait for 10 seconds at most if it's not
ready.

A new DTS property 'use-nv-mac' is also added:
if 'use-nv-mac' is defined in WLAN dts node, the MAC
checking will be performed; otherwise, it won't.

Change-Id: I1e751d84fb304cb95ea0f989f6939bc7ba5a3ecc
Signed-off-by: Yu Wang <yyuwang@codeaurora.org>
2020-02-26 15:22:58 -08:00
Edgar Flores
41d404f51a msm: adsprpc: Initialize adsp memory region
Initialize adsp memory region.

Change-Id: Ibbd95691227c6f5e3311afc739b252e8c104f0ae
Signed-off-by: Edgar Flores <edgarf@codeaurora.org>
2020-02-26 15:22:06 -08:00
Asutosh Das
83094b231b scsi: ufshcd-qti: Fix null pointer check
Checks for null before using the memory.

Change-Id: Idcf45ccf7d81ebe9b9a81905ad4f42da02827492
Signed-off-by: Asutosh Das <asutoshd@codeaurora.org>
2020-02-26 15:16:22 -08:00
Murali Nalajala
115e03de33 defconfig: arm64: enable required configs for trusted VM
Enable initramfs and dcc support configs for LE VM and remove
unnecessary RTC drivers. Also enable the virtualization drivers,
such as Resource Manager driver, message queue driver and
doorbell for trusted VM.

Change-Id: Ia93caecd609f58a6d6cdb8f752e8ce5360f14c9d
Signed-off-by: Murali Nalajala <mnalajal@codeaurora.org>
2020-02-26 14:52:44 -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
Isaac J. Manjarres
d48a06aca6 iommu/arm-smmu: Add support for active-only interconnect votes
The SMMU interconnect voting vote assumes all votes are required
in both the active and sleep contexts. This means that votes
for a particular interconnect path cast by the SMMU driver will
be upheld even when the CPU subsystem has been suspended, which
is not correct from a power consumption perspective.

Thus, add support for the qcom,active-only property to denote
that interconnect votes should be upheld only when the CPU
subsystem is in the active context.

Change-Id: I3168a9ff55809370e155771ab2b7918da06755e4
Signed-off-by: Isaac J. Manjarres <isaacm@codeaurora.org>
2020-02-26 13:24:32 -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
Amir Levy
26fe8fee6f msm: ipa: create ipa framework
IPA driver is moving to teckpack.
create a thin kernel framework for IPA driver that will
allow dependent drivers to dispatch IPA APIs from teckpack.
Disable IPA and GSI kernel drivers compilation. This change
comes in parallel to IPA and GSI drivers enablement in teckpack.

Change-Id: I35f2918b935423637e21d6f871a113dc0224f878
Signed-off-by: Amir Levy <alevy@codeaurora.org>
2020-02-26 01:27:47 -08:00
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