Commit graph

882,905 commits

Author SHA1 Message Date
qctecmdr
9540b205e9 Merge "ucsi: ucsi_glink: notify partner information" 2020-05-02 15:19:02 -07:00
qctecmdr
4a43d0560b Merge "Revert "arm64: defconfig: Insert Adreno default governor in gki defconfig"" 2020-05-02 15:19:02 -07:00
qctecmdr
d6503522e1 Merge "haven: irq_lend: Use Linux IRQ numbers" 2020-05-02 15:19:02 -07:00
qctecmdr
29375aecce Merge "soc: qcom: service-locator: Add soft-dependency on QRTR" 2020-05-02 15:19:01 -07:00
Mahesh Sivasubramanian
2e36c317d1 clockevents: Add NULL definition for tick_broadcast on UP
For uniprocessor systems, add a NULL definition of tick_broadcast to
add support for tick broadcast.

Change-Id: I7dc47984cb6b60c9814171888f6adbc480a1e990
Signed-off-by: Mahesh Sivasubramanian <[email protected]>
2020-05-02 10:35:32 -07:00
qctecmdr
83cac1e0c8 Merge "drivers: qcom: rpmh_master_stat: remove stub function definition" 2020-05-02 10:14:16 -07:00
qctecmdr
5d8da363c2 Merge "Revert "arm64: defconfig: Remove IKHEADERS option"" 2020-05-02 10:14:16 -07:00
qctecmdr
e4441676ea Merge "ASoC: update uapi header for upstream compliance" 2020-05-02 10:14:15 -07:00
qctecmdr
cb30c9816d Merge "arm64: defconfig: Trim genericarmv8 defconfig" 2020-05-02 05:16:40 -07:00
qctecmdr
a2ebf03e30 Merge "wigig_sensing: fix driver state machine" 2020-05-02 05:16:40 -07:00
qctecmdr
9ba050d822 Merge "msm: adsprpc: remove excesive logging from debugfs during smmu probing" 2020-05-02 05:16:39 -07:00
qctecmdr
f902c046c2 Merge "cnss2: Fix a few issues during platform reboot or shutdown" 2020-05-02 05:16:39 -07:00
qctecmdr
822206b028 Merge "mhi: controller: Enable L1 when mhi is not active" 2020-05-02 05:16:38 -07:00
qctecmdr
b425914af6 Merge "devfreq: memlat: track cpu during ipi to cluster" 2020-05-02 05:16:37 -07:00
qctecmdr
82b466e558 Merge "Rest replicator registers when enabling it first time" 2020-05-02 00:07:40 -07:00
qctecmdr
c8694fd073 Merge "msm: adsprpc: Driver capability" 2020-05-02 00:07:40 -07:00
qctecmdr
80aa14bd32 Merge "lib: spinlock: Cause a watchdog bite on spin_dump" 2020-05-02 00:07:39 -07:00
qctecmdr
09afa87a80 Merge "cnss2: Add code to update cnss soc info" 2020-05-02 00:07:39 -07:00
qctecmdr
e908b225bb Merge "wigig_sensing: fix usage of wait_event_interruptible_timeout()" 2020-05-02 00:07:39 -07:00
Shaleen Agrawal
c9d4a841c6 sched: Improve the scheduler
This change is for general scheduler improvement.

Change-Id: I15daf3a5837f8147f1fbb179e0fba7e1547cb499
Signed-off-by: Shaleen Agrawal <[email protected]>
2020-05-01 21:43:39 -07:00
Can Guo
dc511639bd scsi: pm: Balance pm_only of request queue during system resume
During system resume, scsi_resume_device() decreases a request queue's
pm_only counter if the scsi device was quiesced before. But after that,
if the scsi device's RPM status is RPM_SUSPENDED, the pm_only counter is
still held (non-zero). Current scsi resume hook only sets the RPM status
of the scsi device and its request queue to RPM_ACTIVE, but leaves the
pm_only counter unchanged. This may make the request queue's pm_only
counter remain non-zero after resume hook returns, hence those who are
waiting on the mq_freeze_wq would never be woken up. Fix this by calling
blk_post_runtime_resume() if this sdev's RPM status was RPM_SUSPENDED.

Change-Id: I11736dae2d3e79fc940f97433da89b89e2de9044
Signed-off-by: Can Guo <[email protected]>
2020-05-02 11:06:18 +08:00
Linyu Yuan
18730691a5 usb: misc: nb7vpq904m: rework to work with ucsi framework
receive notification from ucsi glink,
and read orientation from gpio which output from pmic.

Change-Id: I076829ad74423b49359271c9f9a3e5d5b3898be9
Signed-off-by: Linyu Yuan <[email protected]>
2020-05-02 08:25:54 +08:00
David Collins
98d345a332 clk: qcom: gdsc-regulator: correct gdsc_disable() success return value
Currently gdsc_disable() can return a value of 1 upon
successfully disabling a GDSC if it has a parent supply.
Correct this so that 0 is always returned on success.

Change-Id: I37ade1bf62b4e8b2f3446b9072674935579d75dd
Signed-off-by: David Collins <[email protected]>
2020-05-01 17:23:36 -07:00
Raghu Ananya Arabolu
cb613cacd1 defconfig: lahaina: Enable gpu devfreq governors for GKI
Enable gpu governors, on GKI builds,  to dynamically scale gpu
frequency and bus frequency based on gpu load.

Change-Id: I883851b6462cc731adb8c5cb04faac3ab877e55d
Signed-off-by: Raghu Ananya Arabolu <[email protected]>
2020-05-01 15:08:20 -07:00
qctecmdr
0efb13a580 Merge "defconfig: lahaina: Enable LEDS_TRIGGER_TIMER" 2020-05-01 14:31:15 -07:00
qctecmdr
c04054d971 Merge "iommu/arm-smmu: Fix tbu_ids type in qsmmuv500_tlb_sync_timeout()" 2020-05-01 14:31:15 -07:00
qctecmdr
685a17ec78 Merge "soc: qcom: mem-buf: Fix NULL pointer dereference when assigning memory" 2020-05-01 14:31:15 -07:00
qctecmdr
3b4dcbd4ef Merge "input: qcom-hv-haptics: set auto resonance when loading effects" 2020-05-01 14:31:14 -07:00
qctecmdr
22eaf508c7 Merge "Revert "ASoC: msm: fix integer overflow for long duration offload playback"" 2020-05-01 14:31:14 -07:00
qctecmdr
c16557c4cf Merge "mhi: core: remove duplicate timesync sysfs functions" 2020-05-01 14:31:14 -07:00
qctecmdr
0ee1d44884 Merge "msm: adsprpc: allow only unsigned offload for untrusted apps" 2020-05-01 14:31:13 -07:00
Jishnu Prakash
922403512e pinctrl: qcom: spmi-gpio: Add support for PMIC5 variants
Add support for qcom,pm7250b-gpio, qcom,pm6350-gpio and
qcom,pm6150l-gpio variants.

Change-Id: Ib5c932f8b6b3f5a114aaf1641eb3b1a72a03fc85
Signed-off-by: Jishnu Prakash <[email protected]>
2020-05-01 18:09:57 +05:30
Mao Jinlong
c92524b8a9 coresight: add sw usb mode support for tmc
Add SW USB mode support for TMC to use software interface
to send data from TMC to USB.

Change-Id: I8e4dee6cfd037d8bb81ea27ad2ed996e9980720c
Signed-off-by: Shaoqing Liu <[email protected]>
Signed-off-by: Tingwei Zhang <[email protected]>
Signed-off-by: Mao Jinlong <[email protected]>
2020-05-01 02:37:00 -07:00
Vignesh Kulothungan
aaf411aa91 ASoC: update uapi header for upstream compliance
Fix uapi header to work with KERNEL_HEADER_TEST and UAPI_HEADER_TEST.

Change-Id: I1ad9ded45b95f9abf3a5543f5aa21cfe7541a9cd
Signed-off-by: Vignesh Kulothungan <[email protected]>
2020-04-30 23:41:50 -07:00
Tingwei Zhang
d107ab8fbd coresight: tmc: clear has_iommu flag when smmu is bypassed
When SMMU works in bypass mode, set has_iommu to false.  ETR
can use SG mode.

Change-Id: Ic7a6814cace92098473e4b5302408034e662058d
Signed-off-by: Tingwei Zhang <[email protected]>
Signed-off-by: Mao Jinlong <[email protected]>
2020-05-01 12:43:06 +08:00
Stephen Dickey
92735374a1 devfreq: memlat: track cpu during ipi to cluster
Will aid debugging lockups in perf_event_read_value()
track the cpu being ipi'd.

Change-Id: Ia948f31bb2d91bca6144c0c50f8f66bd9c1459fe
Signed-off-by: Stephen Dickey <[email protected]>
2020-04-30 17:12:42 -07:00
qctecmdr
2a8de75724 Merge "sched/walt: Remove fixup_walt_sched_stats sched_class method" 2020-04-30 13:38:47 -07:00
Raghavendra Rao Ananta
ad116db6e6 soc: qcom: service-locator: Add soft-dependency on QRTR
QRTR needs to be functional before service locator is up. Hence,
add a soft-dependency on the QRTR to ensure this happens when
these drivers are built as modules.

Change-Id: I1919ffc03f8eb215c21724a46c1250787ba2067c
Signed-off-by: Raghavendra Rao Ananta <[email protected]>
2020-04-30 13:24:10 -07:00
qctecmdr
c58342fceb Merge "smcinvoke: Port smcinvoke driver changes" 2020-04-30 12:47:32 -07:00
qctecmdr
303f69ea7a Merge "hvc: haven: Move CONSOLE_OPEN before hvc_instantiate" 2020-04-30 12:47:32 -07:00
qctecmdr
1389989ffa Merge "usb: gsi: Add NULL pointer check" 2020-04-30 12:47:32 -07:00
qctecmdr
b2cb5d11d4 Merge "arm64: defconfig: Enable Haven ctrl for Lahaina" 2020-04-30 12:47:31 -07:00
qctecmdr
2d22a3a07e Merge "cpufreq: qcom: Add sysfs to reflect the limit frequency" 2020-04-30 12:47:31 -07:00
Yu SI
f079c1492b msm: cvp: disable cache op by default
not performing cache operation by default for buffers

Change-Id: Ib26fd98db5745016a93fd86896aa8694e4c0bda2
Signed-off-by: Yu SI <[email protected]>
2020-04-30 11:37:29 -07:00
Raghu Ananya Arabolu
8a723102e3 Revert "arm64: defconfig: Insert Adreno default governor in gki defconfig"
This reverts commit 624d012216. KGSL driver
requires CONFIG_QCOM_ADRENO_DEFAULT_GOVERNOR to be set to msm-adreno-tz
in QGKI builds. CONFIG_QCOM_ADRENO_DEFAULT_GOVERNOR is set to the required
value for GKI and QGKI builds by the KGSL Kconfig.

Change-Id: I63b447409c7446376744bd5d9d7c850f0e7dcdc1
Signed-off-by: Raghu Ananya Arabolu <[email protected]>
2020-04-30 11:30:29 -07:00
Edgar Flores
8096421565 msm: adsprpc: remove excesive logging from debugfs during smmu probing
During smmu probing same debugfs file is being created for each probe.
Move debugfs file creation from smmu probing to device init call.

Change-Id: Iebb6450744d507278d4f5c3283638399987d2a29
Signed-off-by: Edgar Flores <[email protected]>
2020-04-30 11:00:41 -07:00
Mohammed Siddiq
a8e095c1f3 cnss2: Add code to update cnss soc info
Add code to update cnss soc info from the info
received as part of target capability response.

Change-Id: I6b88192d772dd30a8aaeb90725141c7c38b2c50c
Signed-off-by: Mohammed Siddiq <[email protected]>
2020-04-30 10:15:05 -07:00
Lina Iyer
ce085df1b0 drivers: qcom: rpmh_master_stat: remove stub function definition
In order to support early merge of code, a vestigial definition for
qcom_smem_get() was added. This was accidentally merged in. Let's remove
it and allow the RPMH master stats to be read from the memory.

Change-Id: I89dc45c6edd8fb0df01416f7d9fb95feb1dfacc2
Signed-off-by: Lina Iyer <[email protected]>
2020-04-30 10:39:32 -06:00
Linyu Yuan
409af606eb ucsi: ucsi_glink: notify partner information
On QRD redriver will use this information to configuration.

Change-Id: Icf077136fbc4473e58e45ce55ca542f99233d506
Signed-off-by: Linyu Yuan <[email protected]>
2020-04-30 21:21:57 +08:00
Jishnu Prakash
26d09019b7 regulator: rpm-smd-regulator: Add support for proxy consumers
Add support to enforce proxy consumer requests defined in device
tree for rpm-smd-regulator devices.  These can be used to ensure
that regulators are not accidentally disabled or scaled down
before all consumers have had a chance to make their own requests.

Change-Id: I25569808b2026f800f3a43124cf1bf2d8b58c14b
Signed-off-by: Jishnu Prakash <[email protected]>
2020-04-30 03:49:03 -07:00