Commit graph

879,467 commits

Author SHA1 Message Date
Can Guo
bb45ad80bd scsi: ufs-qti: Enable block layer runtime PM for well-known logical units
Block layer RPM is enabled for the genernal UFS SCSI devices when they are
probed by their driver. However block layer RPM is not enabled for UFS
well-known SCSI devices.

As UFS SCSI devices have their corresponding BSG char devices, accessing
a BSG char device via IOCTL may send requests to its corresponding SCSI
device through its request queue. If BSG IOCTL sends a request to a
well-known SCSI device when hba is not runtime active, due to block layer
RPM is not eanbled for the well-known SCSI devices, hba, which is at the
top of a scsi device's parent chain, shall not be resumed, then unexpected
error would happen.

This change enables block layer RPM for the well-known SCSI devices, so
that block layer can handle RPM for the well-known SCSI devices just like
for the general SCSI devices.

Change-Id: Ie4c5c4876f8500c285166a5f7be87a2157a12df3
Signed-off-by: Can Guo <cang@codeaurora.org>
2020-03-25 18:32:11 -07:00
qctecmdr
e81c5e69bb Merge "defconfig: enable QRNG as a GKI module" 2020-03-23 02:28:05 -07:00
qctecmdr
31e175e3fb Merge "arm: defconfig: Disable serial device bus" 2020-03-23 02:28:04 -07:00
qctecmdr
738fdf4fd1 Merge "slimbus: Add changes to make slimbus GKI compliant" 2020-03-23 02:28:04 -07:00
qctecmdr
3547b7bac6 Merge "devfreq: update sampling window timer limit" 2020-03-23 02:28:04 -07:00
qctecmdr
e0adc58147 Merge "input: misc: qcom-hv-haptics: Add support for V2 HW module" 2020-03-22 22:28:30 -07:00
qctecmdr
d851cf4b5a Merge "soc: qcom: spcom: allow commands for not connected channel" 2020-03-22 22:28:30 -07:00
qctecmdr
aa78dee76c Merge "defconfig: lahaina-qgki: enable qoslat driver" 2020-03-22 22:28:30 -07:00
qctecmdr
d6066552e9 Merge "usb: misc: Add USB super speed re-driver support" 2020-03-22 18:51:20 -07:00
qctecmdr
d1687a9807 Merge "defconfig: lahaina-gki: Enable interconnect debugfs test nodes" 2020-03-22 15:13:44 -07:00
qctecmdr
344e8b0e69 Merge "cnss2: Add debugfs support to send WFC call status QMI message" 2020-03-22 15:13:43 -07:00
qctecmdr
6f6eca97d9 Merge "cnss2: Serialize driver unload and idle restart" 2020-03-22 15:13:43 -07:00
qctecmdr
80e708b33b Merge "power: supply: qti-battery-charger: Initialize pmic_glink_client_data" 2020-03-22 15:13:43 -07:00
qctecmdr
b592907498 Merge "PM / devfreq: memlat: fix suspend/resume calls to devfreq_monitor" 2020-03-22 15:13:42 -07:00
qctecmdr
6c710cb348 Merge "msm: kgsl: Make OOB timeouts easier to debug" 2020-03-22 09:47:50 -07:00
qctecmdr
42372239bf Merge "msm: adsprpc: Validate smmu device is created before using it" 2020-03-22 05:55:58 -07:00
qctecmdr
2402446736 Merge "spmi: spmi-pmic-arb: make interrupt support optional" 2020-03-22 05:55:57 -07:00
qctecmdr
20f88c8444 Merge "msm: kgsl: Print always on counters if HFI timed out" 2020-03-22 05:55:57 -07:00
qctecmdr
fbc834683e Merge "arm64: defconfig: Enable QCOM_MEM_BUF on genericarmv8-64" 2020-03-22 02:18:35 -07:00
qctecmdr
5f0a70d39e Merge "arm64: defconfig: Enable BFQ io scheduler on lahaina" 2020-03-22 02:18:34 -07:00
qctecmdr
cd58436e82 Merge "cnss2: Add support for bus bandwidth scale" 2020-03-22 02:18:34 -07:00
qctecmdr
12ead59441 Merge "msm: adsprpc: increase max number of concurrent remote sessions" 2020-03-22 02:18:34 -07:00
qctecmdr
7b0820081a Merge "mm: oom_kill: Support further prioritization of OOM kills" 2020-03-21 22:18:23 -07:00
qctecmdr
eed9635975 Merge "iommu/arm-smmu: Add implementation specific device group matching" 2020-03-21 22:18:23 -07:00
qctecmdr
1db0113172 Merge "mm/Kconfig: Remove dependency on QCOM_MEM_OFFLINE for movable zone" 2020-03-21 22:18:22 -07:00
qctecmdr
ba58d064b5 Merge "soc: qcom: spcom: fix pr_err() missing "name" parameter" 2020-03-21 18:35:33 -07:00
qctecmdr
3d41a73b02 Merge "soc: qcom: spcom: return EINTR on wait interrupted" 2020-03-21 18:35:33 -07:00
qctecmdr
a2bde9bf97 Merge "soc: qcom: hyp_core_ctl: Add frequency QoS support" 2020-03-21 18:35:32 -07:00
qctecmdr
97aef1c9c5 Merge "defconfig: lahaina: Enable support for dma-coherent-hint-cached" 2020-03-21 18:35:32 -07:00
Amir Samuelov
613dfc140f soc: qcom: spcom: return EINTR on wait interrupted
wait_for_completion_interruptible() returns ERESTARTSYS when
the device goes to low power mode.
The SPU subsystem is shutdown on deep low power mode,
so the interrupted operation is not recoverable.
return EINTR to user space to propagate the error to the user app.

Change-Id: I3b47b971d4411f977a0f68c1ce838fd92198c75d
Signed-off-by: Amir Samuelov <amirs@codeaurora.org>
2020-03-21 00:38:01 -07:00
Amir Samuelov
a6ec9c9d74 soc: qcom: spcom: fix pr_err() missing "name" parameter
the print format has "%s" but is missing the "name" parameter.

Change-Id: Ib2fcbcf2d477552c8d2fbf16487854ac13c1b3ca
Signed-off-by: Amir Samuelov <amirs@codeaurora.org>
2020-03-21 00:37:35 -07:00
qctecmdr
b73840d28d Merge "kernel_headers: Add msm_hdmi_hdcp_mgr.h header" 2020-03-20 21:42:09 -07:00
qctecmdr
7596d83edd Merge "haven: doorbell: Fix hh_dbl_send error print" 2020-03-20 21:42:09 -07:00
qctecmdr
9c6133b184 Merge "perf: Satisfy the kernel's request to request PMU counters" 2020-03-20 21:42:07 -07:00
Santosh Mardi
1ec246bf08 devfreq: update sampling window timer limit
Current SW limit is not matching the HW limit, update
limit to align with the available HW limit.

Change-Id: I6e221136142785a98e3cd378915b2139904f1551
Signed-off-by: Santosh Mardi <gsantosh@codeaurora.org>
2020-03-20 14:40:08 -07:00
Santosh Mardi
b5382b84b6 devfreq: update sample_ms tunnable store function
The sample_ms should never be larger than the devfreq polling
interval. If userspace tries to configure this invalid
configuration, return an error.

Devfreq polling interval should be always greater then the
sample_ms add check in the governor interval event to update
the polling interval accordingly.

Change-Id: I2d07c95668a7fc8e3b2f16e49448ad2e3da8785c
Signed-off-by: Santosh Mardi <gsantosh@codeaurora.org>
[avajid@codeaurora.org: Replaced snprintf with scnprintf]
Signed-off-by: Amir Vajid <avajid@codeaurora.org>
2020-03-20 14:39:40 -07:00
Yuanyuan Liu
c1284ad3b8 cnss2: Add support for bus bandwidth scale
Register MHI bus bandwidth scale callback function.

CRs-Fixed: 2641678
Change-Id: Ice9e2e13042b7365629a6c85bb5acbb799e4b04d
Signed-off-by: Yuanyuan Liu <yuanliu@codeaurora.org>
2020-03-20 11:22:27 -07:00
qctecmdr
2ec6c06627 Merge "interconnect: Add interconnect_graph file to debugfs" 2020-03-20 09:40:40 -07:00
qctecmdr
da61f2ab29 Merge "interconnect: qcom: Support bcm-voter-specific TCS wait behavior" 2020-03-20 09:40:40 -07:00
qctecmdr
4fb04ec2bf Merge "iommu/arm-smmu: Add support for implementation specific debugging" 2020-03-20 09:40:40 -07:00
qctecmdr
3b90a3b235 Merge "msm: kgsl: remove redundant check for usermem type" 2020-03-20 05:55:01 -07:00
qctecmdr
1150df1e70 Merge "msm: ADSPRPC: Awake PM with a timeout" 2020-03-20 05:55:00 -07:00
qctecmdr
c18b56730d Merge "soc: qcom: socinfo: Add soc information for Shima" 2020-03-20 01:15:50 -07:00
qctecmdr
c81d459676 Merge "ion: Fix to record NR_KERNEL_MISC_RECLAIMABLE in page units" 2020-03-20 01:15:49 -07:00
qctecmdr
12d4640529 Merge "sched: Add support to spread tasks" 2020-03-20 01:15:49 -07:00
qctecmdr
fa0c7b3eb6 Merge "drivers: lpm-levels: check for per-cpu dev PM QoS" 2020-03-20 01:15:48 -07:00
Fenglin Wu
43e9761748 input: misc: qcom-hv-haptics: Add support for V2 HW module
HV-haptics module with V2 revision supports 640 bytes FIFO memory and
each byte contains a FIFO sample. There are 4 adjacent SPMI registers
which can be used for filling 4 FIFO samples together by using SPMI
burst writes and also a single register for filling FIFO samples while
the samples are less than 4.

Also update the logic of writing FIFO samples: Check the available
FIFO memory first and then write FIFO with samples no more than the
available FIFO memory space. With this new logic, it's not necessory
to read FIFO_READY_STS register before writing FIFO samples and this
helps on reducing FIFO writing latency.

Change-Id: If65a81327dfd2c6af0d58055c0ae93ad6c1dcba0
Signed-off-by: Fenglin Wu <fenglinw@codeaurora.org>
2020-03-20 14:49:45 +08:00
Isaac J. Manjarres
1ae017a0bf arm64: defconfig: Enable QCOM_MEM_BUF on genericarmv8-64
Enable the mem-buf driver on the genericarmv8-64 configuration.

Change-Id: I566dcdd02e5ff36e92f8291bda8294e4ce80f850
Signed-off-by: Isaac J. Manjarres <isaacm@codeaurora.org>
2020-03-19 17:47:25 -07:00
Isaac J. Manjarres
2125fba9bd soc: qcom: kconfig: Relax QCOM_MEM_BUF dependencies
The mem-buf driver doesn't strictly depend on the secure
buffer functionality. For example, it can still be functional
in environments where it is used purely for requesting memory
from other VMs. Thus, remove the dependency.

Change-Id: Ie4e39c00473509ee3552e6da849c633ccfab21ce
Signed-off-by: Isaac J. Manjarres <isaacm@codeaurora.org>
2020-03-19 17:14:49 -07:00
Isaac J. Manjarres
a564157706 arm64: defconfig: Enable memory configs on genericarmv8-64
Enable CONFIG_VM_EVENT_COUNT_CLEAN_PAGE_RECLAIM and
CONFIG_BALANCE_ANON_FILE_RECLAIM on genericarmv8-64.

Change-Id: I9810575dcabd14a2e39c2e08d502e3213877ed69
Signed-off-by: Isaac J. Manjarres <isaacm@codeaurora.org>
2020-03-19 17:10:56 -07:00