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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
Add code to pick hang data offset based on deviceID.
Change-Id: I865fc90ea558d2626672b51c5cecadfdf93358b3
Signed-off-by: Mohammed Siddiq <msiddiq@codeaurora.org>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>