Commit graph

875,996 commits

Author SHA1 Message Date
Elliot Berman
4b9eafd143 firmware: qcom_scm: Add calls to support poweroff driver
Add SCM calls to support poweroff driver.

Change-Id: Ie55382d3c099a5f99f37a3e140d71f5dfd44e64f
Signed-off-by: Elliot Berman <eberman@codeaurora.org>
2019-12-18 14:55:17 -08:00
Elliot Berman
173c971a4c firmware: qcom_scm: Expose qcom_scm_set_download_mode
Add support for other drivers to manage download mode by exposing
qcom_scm_set_download_mode (such as in commit: "power: reset:
msm-poweroff: Manage download mode"). Also, change the function to
support changing to different download modes with enum
qcom_download_mode, instead of only either "full dump mode" or "normal
restart".

Change-Id: Ic79d8dda97c17df70bd2cef5d9ce12ecb4c06d00
Signed-off-by: Elliot Berman <eberman@codeaurora.org>
2019-12-18 14:55:16 -08:00
qctecmdr
d5cc8a271e Merge "drivers: thermal: qmi_cooling: Add snapshot of QMI cooling device driver" 2019-12-18 10:54:03 -08:00
qctecmdr
e8ec9c23bd Merge "msm: ipa: Update IPA register offsets and fields" 2019-12-18 10:00:10 -08:00
qctecmdr
35a14d258a Merge "arm64: config: Enable socinfo driver for QCOM SoCs" 2019-12-18 09:05:08 -08:00
qctecmdr
d409bbdf62 Merge "kbuild: Disable the gcc-wrapper with an environment variable" 2019-12-18 07:29:28 -08:00
qctecmdr
482322555d Merge "iommu/arm-smmu: reduce tlb sync poll retry latency" 2019-12-18 06:33:53 -08:00
qctecmdr
6b00a3be41 Merge "coresight: stm: STM master side access control" 2019-12-18 06:33:53 -08:00
qctecmdr
de0c0a3daf Merge "coresight: Add snapshot of jtagv8 driver" 2019-12-18 06:33:52 -08:00
qctecmdr
c7d81c15f7 Merge "wil6210: dump Rx status message on errors" 2019-12-18 06:33:50 -08:00
qctecmdr
391ca3ca20 Merge "PM / devfreq: icc: add support for L3 voting" 2019-12-18 05:45:41 -08:00
qctecmdr
716d4016ae Merge "PM / devfreq: memlat: simplify core-dev table parsing logic" 2019-12-18 04:07:17 -08:00
qctecmdr
1966f732fa Merge "drivers: thermal: Add a snapshot of bcl soc driver" 2019-12-18 03:32:56 -08:00
Ahmad Masri
07f5da041f wil6210: dump Rx status message on errors
Dump all the Rx status message on different errors to allow more
visibility of the case.

Change-Id: I81e7f52f56068ea214f63dda1f74b102aeb605df
Signed-off-by: Ahmad Masri <amasri@codeaurora.org>
2019-12-18 01:18:43 -08:00
Murali Nalajala
77e2629727 arm64: config: Enable socinfo driver for QCOM SoCs
Enable socinfo driver for QCOM SoCs. This driver provide
sysfs node entries for clients to know about SoC information.

Change-Id: Ic79d89d69dd4ad74eabfc4af8d081c1ab291796a
Signed-off-by: Murali Nalajala <mnalajal@codeaurora.org>
2019-12-17 23:23:44 -08:00
qctecmdr
38b9d28be7 Merge "iommu/arm-smmu: restrict secure vmid update while attached" 2019-12-17 22:27:35 -08:00
qctecmdr
f542dbf481 Merge "defconfig: lahaina: enable PCIe root complex and PCIe MSI for lahaina" 2019-12-17 21:46:53 -08:00
qctecmdr
ea80f74288 Merge "msm: cvp: Fence path for Lahaina" 2019-12-17 21:46:53 -08:00
qctecmdr
241d31cd4c Merge "drivers: thermal: cpu_isolate: Add a snapshot of cpu isolate" 2019-12-17 21:46:53 -08:00
qctecmdr
a01c7da679 Merge "wil6210: fix iommu_unmap in IPA mode" 2019-12-17 21:06:03 -08:00
qctecmdr
a88b2b7c41 Merge "msm: pcie: remove deprecated explicit clock retention support" 2019-12-17 21:06:02 -08:00
qctecmdr
f2f9933839 Merge "defconfig: lahaina-gki: Enable USB Electrical and Link test support" 2019-12-17 20:18:00 -08:00
qctecmdr
e97a9d491b Merge "dma-mapping-fast: Do not clobber existing atomic pool" 2019-12-17 20:17:59 -08:00
qctecmdr
3b2aa78ee1 Merge "cpufreq: qcom-hw: cleanup the driver for HW driver" 2019-12-17 20:17:59 -08:00
qctecmdr
3bcfcc2737 Merge "wil6210: new NL command to get driver capabilities" 2019-12-17 19:32:19 -08:00
Tingwei Zhang
6ffa5f7053 coresight: Add snapshot of jtagv8 driver
Add snapshot for jtagv8 driver from msm-4.19
commit c953c9b6eb1f ("include/linux: add notifier for fps change").
Make necessary change to adopt scm framework change.

Change-Id: I289846a1bcb3c0dd11514db69e0088198f7d1cb1
Signed-off-by: Tingwei Zhang <tingwei@codeaurora.org>
2019-12-18 11:12:44 +08:00
qctecmdr
69ac10db77 Merge "msm: ipa: Free rx_wrapper for tmp_alloc pages" 2019-12-17 18:50:53 -08:00
qctecmdr
ba31e4ed26 Merge "wil6210: extend bus voting support for wider bandwidth" 2019-12-17 18:50:53 -08:00
qctecmdr
099508939b Merge "msm: ipa4: Allocate coalescing close frame command payload" 2019-12-17 18:09:00 -08:00
qctecmdr
4450de5c13 Merge "socinfo: add socinfo driver" 2019-12-17 18:08:59 -08:00
qctecmdr
5e820d2150 Merge "usb: dwc3-msm: Don't use devm_ioremap when ringing GSI DB" 2019-12-17 17:19:55 -08:00
qctecmdr
b5e5ccfbbe Merge "mm: cma: make writeable CMA debugfs optional" 2019-12-17 17:19:54 -08:00
qctecmdr
73e12b34da Merge "slimbus: Add snapshot of slimbus driver" 2019-12-17 17:19:53 -08:00
Prakash Gupta
caa096c64a iommu/arm-smmu: restrict secure vmid update while attached
Client can update secure vmid by setting attribute DOMAIN_ATTR_SECURE_VMID.
If this is done after domain attach, it causes a condition where TTBR pages
aren't mapped to secure VMID.  This causes S2 translation fault. Disallow
secure vmid update if domain is attached.
While we are at it, restrict DOMAIN_ATTR_FAST update while domain is
attached.

Change-Id: I4246f1f90a11ed21dfafa360cc2f16ade2708d2b
Signed-off-by: Prakash Gupta <guptap@codeaurora.org>
Signed-off-by: Chris Goldsworthy <cgoldswo@codeaurora.org>
2019-12-17 16:39:57 -08:00
qctecmdr
96fb63ca26 Merge "usb: xhci: Add helper API to issue stop endpoint command" 2019-12-17 16:36:53 -08:00
qctecmdr
4296d43619 Merge "mm: oom_kill: reap memory of a task that receives SIGKILL" 2019-12-17 16:36:52 -08:00
Prakash Gupta
a91e14629c iommu/arm-smmu: reduce tlb sync poll retry latency
Limit tlb sync poll retry latency to a upper limit. This reduces the
response time of tlb sync completion.

Change-Id: I7b92e216c17f5942ad01a9e9f24eff88f7608388
Signed-off-by: Prakash Gupta <guptap@codeaurora.org>
Signed-off-by: Chris Goldsworthy <cgoldswo@codeaurora.org>
2019-12-17 16:33:56 -08:00
Jordan Crouse
eb0d5beeff kbuild: Disable the gcc-wrapper with an environment variable
Sometimes we don't want to call the gcc-wrapper for various reasons, so
allow build scripts to set a special environment variable to skip it.

Change-Id: Ic0dedbadd3567812ed0216e7b30d8677ca14ba37
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
2019-12-17 14:57:16 -07:00
qctecmdr
77a29a8c4d Merge "wil6210: support IPA offload" 2019-12-17 13:15:49 -08:00
Amir Vajid
6540cafe57 PM / devfreq: icc: add support for L3 voting
Add support for L3 voting in the devfreq icc driver.
This includes populating the device's OPP table with L3
frequencies from HW and voting in this same unit of Hz
as accepted by the L3 interconnect provider.

Change-Id: I877f41324b55b333f4e5ef9f34232563357712c8
Signed-off-by: Amir Vajid <avajid@codeaurora.org>
2019-12-17 13:06:19 -08:00
Amir Vajid
ed7a74e813 PM / devfreq: memlat: add support for shared core-dev tables
A core-dev table is explicity defined in each memlat device
today. However, some devices may want to share the same core-dev
table so add support for parsing a shared core-dev table that
can be used across multiple memlat devices.

Change-Id: I5ee0d439c199a6414d2adaeed8328f3dc99b2a84
Signed-off-by: Amir Vajid <avajid@codeaurora.org>
2019-12-17 13:02:24 -08:00
Amir Vajid
d5fb75a05d PM / devfreq: memlat: simplify core-dev table parsing logic
In register_common(), there's unnecessary code used to find
which device tree node has the core-dev property. Refactor
this to reduce complexity.

Change-Id: Ib3475272b25e898ad23f9f5a4412d90cd889a356
Signed-off-by: Amir Vajid <avajid@codeaurora.org>
2019-12-17 12:57:13 -08:00
qctecmdr
4f5296141c Merge "coresight: enable stm logging for trace events, marker and printk" 2019-12-17 12:30:57 -08:00
qctecmdr
d1ec209b2c Merge "coresight-tmc: Re-use ETR buffer across use cases" 2019-12-17 12:30:57 -08:00
qctecmdr
f16f3bd743 Merge "soc: qcom: reserve memory in memory dump probe" 2019-12-17 12:30:56 -08:00
qctecmdr
9c881a3f63 Merge "coresight: Add snapshot of Coresight cti driver" 2019-12-17 11:40:03 -08:00
Ram Chandrasekar
74300aa7a8 drivers: thermal: qmi_cooling: Add snapshot of QMI cooling device driver
This is a snapshot of the thermal framework from msm-4.19 to msm-5.4 as
of 'commit <e26a1b23a6f4b6e7202822d596164ffd9e7c8f5d> (drivers: thermal:
Return zero on success for qmi_tmd_send_state_request)'.

Change-Id: I91d666768fe17c2d8aaa11d9bee57644b31fa5e7
Signed-off-by: Ram Chandrasekar <rkumbako@codeaurora.org>
2019-12-17 11:21:51 -07:00
Ram Chandrasekar
5f9048c524 drivers: thermal: Add a snapshot of bcl soc driver
Add a snapshot of bcl soc driver from msm-4.19 to msm-5.4 as of 'commit
<db807a5da543262d5bd23419a8419f3421024e0d> (drivers: thermal: bcl_soc:
Skip thermal evaluation during zone register)'.

Change-Id: Ia357c290510eabb4a5d60f10274e26ad1c99f50d
Signed-off-by: Ram Chandrasekar <rkumbako@codeaurora.org>
2019-12-17 11:21:49 -07:00
Ram Chandrasekar
28ccfdc1eb drivers: thermal: bcl_pmic5: Add snapshot of bcl driver
This is a snapshot of the bcl driver from ms-4.19 to msm-5.4 as of
'commit <dfe3da00b56a86849ec49e085ea5a57d3fa7636f> (drivers: thermal:
bcl_pmic5: filter out BCL spurious interrupts)'.

Modify vbat to register directly as a sensor bypassing the of-thermal.
This will enable vbat sensor to read trip thresholds directly from
the peripheral.

Change-Id: I5bf07e05ac47f68d16fc40e859b16a1ce549ee5d
Signed-off-by: Ram Chandrasekar <rkumbako@codeaurora.org>
2019-12-17 11:21:09 -07:00
Ram Chandrasekar
ad222973bf drivers: thermal: qmi_sensor: Add snapshot of qmi sensor driver
This is a snapshot of the qmi sensor driver from msm-4.19 to msm-5.4
as of 'commit <076ba8f024a882373ff8ed27780362c3733b21dc> (drivers:
thermal: qmi_sensor: Add support for new sensors)'.

Change-Id: Ib1e6359aba7a794cf64f07e888cef36b6c04f87c
Signed-off-by: Ram Chandrasekar <rkumbako@codeaurora.org>
2019-12-17 11:20:06 -07:00