Commit graph

882,746 commits

Author SHA1 Message Date
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 <shalagra@codeaurora.org>
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 <cang@codeaurora.org>
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 <linyyuan@codeaurora.org>
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 <collinsd@codeaurora.org>
2020-05-01 17:23:36 -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
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 <shaoqingliu@codeaurora.org>
Signed-off-by: Tingwei Zhang <tingwei@codeaurora.org>
Signed-off-by: Mao Jinlong <jinlmao@codeaurora.org>
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 <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
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 <jprakash@codeaurora.org>
2020-04-30 03:49:03 -07:00
Jishnu Prakash
c2f05ed6b5 regulators: rpm-smd: Remove unused exported functions
Remove all exported functions as clients need to use only
functions exported from core regulator framework.
Change rpm-smd config to tristate to ensure it can be
loaded as a module.

Change-Id: I3f72a19b23fb2b97e0a13fd93fad5eade15ff535
Signed-off-by: Jishnu Prakash <jprakash@codeaurora.org>
2020-04-30 15:37:40 +05:30
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
Taniya Das
6bdf36294f cpufreq: qcom: Add a property for max lut entries
Add a device tree property for max look-up table entries present on
various targets.

Change-Id: I0ee06b0e8113c950958e25a9f59a5c27ef692fec
Signed-off-by: Taniya Das <tdas@codeaurora.org>
2020-04-30 00:59:47 -07:00
Taniya Das
4964814d6f cpufreq: qcom: Fix multiple request of IRQs
The cpufreq init would be invoked every cpu online and thus resulting
into multiple IRQ requests, so fix the same.

Change-Id: I271cd7f82e2ddde7466fa0949b8627c8d7573c47
Signed-off-by: Taniya Das <tdas@codeaurora.org>
2020-04-30 00:59:40 -07:00
Jishnu Prakash
b441dd88d1 regulator: rpm-smd: Add snapshot of rpm-smd regulator driver
Add snapshot of rpm-smd regulator driver from msm-4.19.
This snapshot is taken as of msm-4.19 commit 15bff51c0329
("smcinvoke : Add locking to shared variables").

Change-Id: I96cd163e490f811c0564dbdf30fb250156cffc85
Signed-off-by: Jishnu Prakash <jprakash@codeaurora.org>
2020-04-30 10:22:19 +05:30
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