Commit graph

882,728 commits

Author SHA1 Message Date
Jordan Crouse
3f65d0a911 msm: kgsl: Allow compatible string matching for gpu devices
Allow a GPU definition to specify a compatible string to match a GPU
target. If specified a matching compatible string will take priority
over the GPU chipid match.

Change-Id: Ic0dedbadd998dcc8e8f9bc5de2e383870258ad48
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
2020-04-27 10:35:04 -06:00
Jordan Crouse
a0e052ce2a msm: kgsl: Remove legacy platform probe table
Remove the legacy platform id_table and just rely on the standard
of_match_table instead. Use the standard macro for specifying
the match table pointer and set the MODULE_DEVICE_TABLE.

Change-Id: Ic0dedbad84f80b28d1885a7326324eb67ef97d9b
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
2020-04-27 10:35:03 -06:00
Elliot Berman
b3002830e5 hvc: haven: Move CONSOLE_OPEN before hvc_instantiate
While calling hvc_instantiate, current log buffer is flushed through the
newly registered console driver. Presently, no call was made to
CONSOLE_OPEN, thus RM returns an error for all of these CONSOLE_WRITEs.
Move the CONSOLE_OPEN prior to calling hvc_instantiate.

Change-Id: Ia8d02f5cff819fee54ec66c4df140d0af216baa5
Signed-off-by: Elliot Berman <eberman@codeaurora.org>
2020-04-27 08:50:02 -07:00
Lina Iyer
38a8e511af drivers: lpm-levels: use correct CPUHP notifications for QoS
Adding and removing dev PM QoS notifications uses mutex lock and
therefore cannot be called from CPU starting notifications. Update QoS
notifier in a stage when interrupts are allowed.

Change-Id: I21ce6a23d51e97d9f05e96a1772c028c4760ec7d
Signed-off-by: Lina Iyer <ilina@codeaurora.org>
2020-04-27 08:32:39 -06:00
qctecmdr
dd19d524f0 Merge "input: misc: qcom-hv-haptics: Add support to play custom waveform" 2020-04-27 07:14:00 -07:00
qctecmdr
1c73147016 Merge "cnss2: Update WLFW QMI messages to latest" 2020-04-27 07:14:00 -07:00
qctecmdr
b2558845db Merge "usb: f_gsi: Don't enable IPA data path if connect channel fails" 2020-04-27 07:13:59 -07:00
Sivan Reinstein
c8ca64ec05 msm: gsi: Add support for EV RP DDR access feature
Allocate memory on DDR for event RP and providing it
to the GSI context.
Accessing the event RP using the DDR pointer instead
of reading the GSI register.

Change-Id: Ib25ae4ee8abbc73a74f24d360f64b1295a9d4520
Acked-by: Nadav Levintov <nadavl@qti.qualcomm.com>
Signed-off-by: Sivan Reinstein <sivanr@codeaurora.org>
2020-04-27 12:10:07 +03:00
Pavankumar Kondeti
a69e027fa5 sched: rt: print sched_rt_runtime during throttling
Print the rt_runtime allowed for a given rt_rq in throttling debug
message dump. This helps in catching suboptimal RT runtime tuning
issues.

Change-Id: I58027cb94500cf93eb42b44dcec9a5e68670b5e9
Signed-off-by: Pavankumar Kondeti <pkondeti@codeaurora.org>
2020-04-27 00:15:18 -07:00
Gidon Studinski
73d8750ee5 wigig_sensing: add SPI profiling
Measure SPI transactions time. This enables profiling the current
performance of the driver and assess future enhancements.

Change-Id: I5d0ff6ad18061862c0fff9097a03ddabe60e22e4
Signed-off-by: Gidon Studinski <gidons@codeaurora.org>
2020-04-26 23:17:35 -07:00
Gidon Studinski
dd98ee6c18 wigig_sensing: make equal sized SPI transactions
This optimization reads the data over SPI in a single burst size
transaction, or in multiple equal sized transactions. The equal size
prevents reprogramming of the SPI length register.

Change-Id: Ie1cfa73aa72a796ab7af5c1d9151dbce8414de58
Signed-off-by: Gidon Studinski <gidons@codeaurora.org>
Signed-off-by: Alexei Avshalom Lazar <ailizaro@codeaurora.org>
2020-04-26 23:16:32 -07:00
Gidon Studinski
f92a7e7195 wigig_sensing: fix driver state machine
Allow mode change from INITIALIZED to READY_STOPPED only after SPI has been
initialized. This change will prevent mode change before SPI is ready for
operation.

Change-Id: I12b52bb9c9726c2d8e615fa0c504d01c7b1e26e3
Signed-off-by: Gidon Studinski <gidons@codeaurora.org>
Signed-off-by: Alexei Avshalom Lazar <ailizaro@codeaurora.org>
2020-04-26 23:15:23 -07:00
Gidon Studinski
9e7dd85758 wigig_sensing: change change_mode ioctl signature
The new definition separates error code report from burst_size. This
promotes uniformity in the ioctl definitions and prevents the usage of
errno.

Change-Id: I2145a8ba15cb25a82c1d1a4d4c3465e56f4358d6
Signed-off-by: Gidon Studinski <gidons@codeaurora.org>
Signed-off-by: Alexei Avshalom Lazar <ailizaro@codeaurora.org>
2020-04-26 23:14:17 -07:00
Gidon Studinski
c4c4c4f1e2 wigig_sensing: fix usage of wait_event_interruptible_timeout()
wait_event_interruptable_timeout() returns a positive number in a success
case. This positive number needs to be set to 0 so that the calling
function recognizes it as a success.

Change-Id: Ic8565f95976f98682334da84d950257d43d6a320
Signed-off-by: Gidon Studinski <gidons@codeaurora.org>
Signed-off-by: Alexei Avshalom Lazar <ailizaro@codeaurora.org>
2020-04-26 23:13:25 -07:00
Taniya Das
5dad3de6eb cpufreq: qcom: Add sysfs to reflect the limit frequency
The CPU node would have the sysfs entry which would indicate the max
limited frequency due to throttle.

Change-Id: I05b82be220111ab7a384349d620e4731d76b7834
Signed-off-by: Taniya Das <tdas@codeaurora.org>
2020-04-27 11:33:59 +05:30
qctecmdr
114be2591f Merge "soc: qcom: spss_utils: Modify memory unmapping scheme for cmac_mem" 2020-04-26 19:14:56 -07:00
qctecmdr
7638097395 Merge "soc: qcom: spss_utils: Port IAR spss_utils code to Lahaina" 2020-04-26 19:14:55 -07:00
qctecmdr
c64e4f584f Merge "dwc3-msm: Check EUD based spoof disconnect state on resume" 2020-04-26 19:14:55 -07:00
qctecmdr
96de03ace9 Merge "haven: add sysfs and debug interfaces" 2020-04-26 19:14:55 -07:00
Mohammed Siddiq
42815d2c8f cnss2: Add code to pick hang data offset based on deviceID
Add code to pick hang data offset based on deviceID.

Change-Id: I865fc90ea558d2626672b51c5cecadfdf93358b3
Signed-off-by: Mohammed Siddiq <msiddiq@codeaurora.org>
2020-04-27 00:00:58 +05:30
Raghavendra Kakarla
b12441b932 soc: qcom: Add RPM SMD Driver
This is a snapshot of the RPM-SMD driver functionality as of
'commit 0453f0e705df8b("move rpm-smd initcall to
postcore_initcall_sync")' on msm-4.14 branch.

Change-Id: Ie70bca9c28ae2339b45715f7d82839f39e733832
Signed-off-by: Raghavendra Kakarla <rkakarla@codeaurora.org>
2020-04-26 15:47:13 +05:30
qctecmdr
e85bd7e098 Merge "mhi: dev: netdev: inherit IPC log level from controller" 2020-04-26 02:46:25 -07:00
qctecmdr
cd96049984 Merge "qseecom: Invalidate the buffer after listener operation" 2020-04-26 02:46:25 -07:00
qctecmdr
7d5cafad9f Merge "haven: Align APIs and structures to account for the mem_info tag" 2020-04-26 02:46:24 -07:00
qctecmdr
a02e8db9c8 Merge "arm64: defconfig: Enable SPS driver for Lahaina" 2020-04-26 02:46:24 -07:00
qctecmdr
e15bf3bcf8 Merge "mhi: core: Check for pm error state before asserting dev wake" 2020-04-26 02:46:24 -07:00
qctecmdr
de6c9b76af Merge "mhi: device: netdev: Add flag to track napi scheduling" 2020-04-26 02:46:23 -07:00
Raghavendra Rao Ananta
a023263162 soc: qcom: eud: Define dummy set_temios and get_mctrl callbacks
Apparently, serial core calls into the serial driver's .set_termios
and .get_mctrl uart_ops callbacks without checking if it exists or
not. Hence, implement a dummy definition of the callback to satisfy
the serial core.

Change-Id: Ic2e9eda5fb8b20be55c59f93ee05c2aa51a6362e
Signed-off-by: Raghavendra Rao Ananta <rananta@codeaurora.org>
2020-04-26 02:24:55 -07:00
Rohit Vaswani
bf98d686be lib: spinlock: Cause a watchdog bite on spin_dump
Currently we cause a BUG_ON once a spin_bug is detected, but
that causes a whole lot of processing and the other CPUs would
have proceeded to perform other actions and the state of the
system is moved by the time we can analyze it.
Provide an option to trigger  a watchdog bite instead so that we
can get the traces as close to the issue as possible.

Change-Id:Ic8d692ebd02c6940a3b4e5798463744db20b0026
Signed-off-by: Rohit Vaswani <rvaswani@codeaurora.org>
Signed-off-by: Rishabh Bhatnagar <rishabhb@codeaurora.org>
[rananta@codeaurora.org: Resolved trivial merge conflicts]
Signed-off-by: Raghavendra Rao Ananta <rananta@codeaurora.org>
2020-04-26 01:56:12 -07:00
qctecmdr
4bf21f22ca Merge "neuron: block_client: Wait for channel to init" 2020-04-25 21:44:58 -07:00
qctecmdr
f53dfad822 Merge "soc: qcom: qmi: Return EPROBE_DEFER if no address family" 2020-04-25 21:44:58 -07:00
qctecmdr
c704b6fc48 Merge "msm: kgsl: Fix snapshot collection after preempt trigger failure" 2020-04-25 21:44:57 -07:00
qctecmdr
55aef73ec8 Merge "soc: qcom: pmic_glink: add protection domain restart (PDR) support" 2020-04-25 17:15:23 -07:00
qctecmdr
d18a2cc8ef Merge "defconfig: Disable CTI save function on perf build for lahaina" 2020-04-25 17:15:23 -07:00
Bao D. Nguyen
e393d6d93d mmc: sdhci-msm: Port fixes from previous qcom SoCs to Lahaina
Fix merge conflict and port the following sdhci-msm fixes
from previous Qualcomm's SoCs to Laihaina.

6765a55cc: Enable ADMA length mismatch err interrupt
e73832dec: make probe as async probe
b3235268a: consider clock frequency above 200MHz during DLL config.

Change-Id: I6f86349d30af5d1bd86b1d38978a83efb807c91f
Signed-off-by: Bao D. Nguyen <nguyenb@codeaurora.org>
2020-04-25 12:26:14 -07:00
qctecmdr
7b122b1433 Merge "cnss2: Fix a issue for WLFW QMI files" 2020-04-25 12:11:03 -07:00
qctecmdr
9f83553b62 Merge "clk: qcom: lahaina: Fix stuck-off warnings during probe" 2020-04-25 12:11:03 -07:00
qctecmdr
e323b2a635 Merge "msm: adsprpc: split init process function into smaller methods" 2020-04-25 12:11:02 -07:00
qctecmdr
159f0b2070 Merge "msm: kgsl: Modify the UCHE_PF_CLIENT logic" 2020-04-25 12:11:02 -07:00
qctecmdr
dc16898fb3 Merge "msm: kgsl: Add a requeue list for unprocessed dispatcher jobs" 2020-04-25 12:11:02 -07:00
qctecmdr
d24d1c89a7 Merge "spmi: spmi-pmic-arb: add debugfs support for address mapping" 2020-04-25 12:11:01 -07:00
Nurit Lichtenstein
5571c4ad86 soc: qcom: spss_utils: Modify memory unmapping
scheme for cmac_mem

IAR maps cmac_mem once and assumes it is mapped
from this moment onward. Therefore, move the
the call to iounmap(cmac_mem) to the remove() function.

Change-Id: I5afa3de900e4766520c106882e2485d6c335c54d
Signed-off-by: Nurit Lichtenstein <nuritl@codeaurora.org>
2020-04-25 21:43:32 +03:00
Nurit Lichtenstein
3a7b9a6034 soc: qcom: spss_utils: Port IAR spss_utils code to Lahaina
Integrate IAR spss_utils code to Lahaina. this is a manual
integration of 06ef7b7b.

Change-Id: Ib3e6665de625e696643b055cfcde022e65b5cee7
Signed-off-by: Nurit Lichtenstein <nuritl@codeaurora.org>
2020-04-25 21:40:26 +03:00
Akash Asthana
4d551a98c2 spi: spi-msm-geni: Convert IB vote into KHz unit
As ICC driver except clients votes in KHz/KBps unit, so change SPI
IB votes from Hz to KHz.

Change-Id: If9c84c3b086514ae7398a04e8c9cd2de99d658eb
Signed-off-by: Akash Asthana <akashast@codeaurora.org>
2020-04-25 07:33:55 -07:00
Mao Jinlong
a10a91c5cd defconfig: Disable CTI save function on perf build for lahaina
Disable CTI save function on perf build to avoid the power and performance
issue.

Change-Id: Ic1a758418072248fa898e012ddb6f8d556efff22
Signed-off-by: Mao Jinlong <jinlmao@codeaurora.org>
2020-04-24 18:50:41 -07:00
Fenglin Wu
4d50efee0b input: misc: qcom-hv-haptics: Add support to play custom waveform
Custom waveform with FIFO data samples and play rate setting would
be passed down from userspace through custom_data memory in periodic
effect data structure. Load the waveform into FIFO memory and play
it using FIFO mode.

Meanwhile, correct a typo in F_16KHZ definition.

Change-Id: I26b78df809efbe398c91c89394152caebafbe1b6
Signed-off-by: Fenglin Wu <fenglinw@codeaurora.org>
2020-04-25 09:27:26 +08:00
David Collins
a281d3af52 spmi: spmi-pmic-arb: add debugfs support for address mapping
Add debugfs support to exercise the SPMI address to SoC address
range mapping feature.

Change-Id: If10568dd0adcfb695d1ec5f4b0e81f9b4a3009cd
Signed-off-by: David Collins <collinsd@codeaurora.org>
2020-04-24 16:42:08 -07:00
qctecmdr
3f5605dd39 Merge "mhi: core: fix error handling in time synchronization function" 2020-04-24 15:45:25 -07:00
qctecmdr
3a2d617606 Merge "platform : msm-geni-se: fix voting unit for bus bandwidth" 2020-04-24 15:45:24 -07:00
Elliot Berman
ab63cdb084 arm64: defconfig: Enable Haven ctrl for Lahaina
Enable Haven ctrl nodes for Lahaina. Keep Haven's UART enabled on debug
defconfig.

Change-Id: I288a5458a17edd583169bd29bd39376475617e6b
Signed-off-by: Elliot Berman <eberman@codeaurora.org>
2020-04-24 15:35:13 -07:00