Commit graph

882,666 commits

Author SHA1 Message Date
Yue Ma
b790cefd54 cnss2: Post register driver work as unkillable event
Register driver work handler will only power up device, resume PCIe
link and start MHI to download firmware. It may only block there
for a timeout, so there is no need to post it as killable event.

Change-Id: Ib82050358dc8df4a8163ecb43702aa86ed34f23d
Signed-off-by: Yue Ma <yuem@codeaurora.org>
2020-05-02 20:52:29 -07:00
qctecmdr
084a5df97c Merge "coresight: tmc: clear has_iommu flag when smmu is bypassed" 2020-05-02 15:19:03 -07:00
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
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
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
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 <vigneshk@codeaurora.org>
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 <tingwei@codeaurora.org>
Signed-off-by: Mao Jinlong <jinlmao@codeaurora.org>
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 <dickey@codeaurora.org>
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 <rananta@codeaurora.org>
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
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 <rarabolu@codeaurora.org>
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 <edgarf@codeaurora.org>
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 <msiddiq@codeaurora.org>
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 <ilina@codeaurora.org>
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 <linyyuan@codeaurora.org>
2020-04-30 21:21:57 +08:00
Mao Jinlong
75d0b9f7e9 Rest replicator registers when enabling it first time
Replicator register value could be reset when it's disabled and
clock is off. Reset the register to all ports disabled when enabling
it first time to avoid all ports to be enabled by default.

Change-Id: I29973d38eb7f836fabe22757f98db62afbe6a4c3
Signed-off-by: Mao Jinlong <jinlmao@codeaurora.org>
2020-04-30 01:20:44 -07:00
Linyu Yuan
94d1501dee usb: phy: qmp: support multiple function of portselect
On QRD device we want to read pmic CC output through gpio function,
thus request and release phy pinctrl state here,
it allow other function driver request gpio pin state.

Change-Id: I9901e3019656691d1f4ae17cd55ef2cd6784a330
Signed-off-by: Linyu Yuan <linyyuan@codeaurora.org>
2020-04-30 11:38:47 +08:00
Fenglin Wu
ec870b7d84 input: qcom-hv-haptics: set auto resonance when loading effects
Set auto resonance when loading effect according to the effect
settings.

Change-Id: I8dc9ac99a57e396d67da28ae7b1eb31813ab3362
Signed-off-by: Fenglin Wu <fenglinw@codeaurora.org>
2020-04-30 11:14:20 +08:00
Fenglin Wu
a7b2b418ea input: misc: qcom-hv-haptics: check nvmem before using it
Currently, nvmem device is used to store closed loop brake settings. If
nvmem-cells is not specified for closed loop brake, then nvmem device
can be NULL. For such case, skip updating closed loop brake settings by
not writing to the nvmem device.

Change-Id: I18d455814f3731af519949f21a3a553bd1692548
Signed-off-by: Fenglin Wu <fenglinw@codeaurora.org>
2020-04-30 09:21:39 +08:00
qctecmdr
1c730ce06f Merge "clk: qcom: gcc-holi: Add GCC support for HOLI" 2020-04-29 18:21:33 -07:00
qctecmdr
744e6ae9a6 Merge "tmc-etr: Add ETR status check in usb_notifier" 2020-04-29 18:21:33 -07:00
qctecmdr
9a5ca1eeec Merge "input: qcom-hv-haptics: add RC clock calibration for FIFO mode" 2020-04-29 18:21:33 -07:00
Himateja Reddy
9d43774cd2 msm: adsprpc: allow only unsigned offload for untrusted apps
Restrict untrusted third-party applications to only unsigned PD
offload on the remote subsystem. This is done by comparing PID at
the time of process create with the one stored during device open
as the fastrpc device will be opened by DSP HAL service on behalf
of third-party applications.

Change-Id: Ibaead21a429e6bffe8f0808eebf93bf71d1db7ab
Acked-by: Thyagarajan Venkatanarayanan <venkatan@qti.qualcomm.com>
Signed-off-by: Himateja Reddy <hmreddy@codeaurora.org>
2020-04-29 16:16:32 -07:00