Move the logging of CPUFreq HW debug registers from debugfs to
sysfs under /sys/kernel/qcom-cpufreq-hw.
Change-Id: I2d23052d013125ee69de852dcec621c104f0d50a
Signed-off-by: Jagadeesh Kona <jkona@codeaurora.org>
The SDXLEMUR CPU PLL uses a non-standard sequence for latching new
configurations. Using the standard lucid_5lpe ops for this PLL means the
latch won't be asserted and the PLL will run at the original frequency
from before the update.
Change-Id: Ia1cb8b7fd116e17a937b961e5907082097e27bfd
Signed-off-by: Mike Tipton <mdtipton@codeaurora.org>
The lucid_5lpe PLL used for the CPU on SDX targets uses a custom
mechanism to assert the latch. Add ops that can be used for this.
Change-Id: I24f8e3db2b908e34e4d0560841f1f5fdcfd215af
Signed-off-by: Mike Tipton <mdtipton@codeaurora.org>
The lucid_5lpe PLL has multiple registers past 0x3C, including the
ALPHA_VAL and SSC registers. Since we currently set max_register to
0x3C, this causes read failures on ALPHA_VAL in in
alpha_pll_lucid_recalc_rate(). This function ignores the regmap_read()
return codes, which results in the frac variable being uninitialized.
The CPU PLL doesn't currently use fractional operation, so it should
always be zero in HW. But the uninitialized frac variable causes random,
small increases to the calculated frequency.
Specifying max_register is optional, so just remove it and allow the
full range we define in devicetree.
Change-Id: I3549c249f2dfbad5c056de584864b0e1a3eeb912
Signed-off-by: Mike Tipton <mdtipton@codeaurora.org>
Add APIs which provide per GPU freq active and total time,
number of GPU frequency corners and number of frames
processed by GPU.
Change-Id: If42e76a435a4766a3de0b9b028d48b6c1759e466
Signed-off-by: Deepak Kumar <dkumar@codeaurora.org>
This change is for general scheduler improvements.
Change-Id: Ia2854ae8701151761fe0780b6451133ab09a050b
Signed-off-by: Lingutla Chandrasekhar <clingutla@codeaurora.org>
Avoid sending MODE_OFF QMI request to FW if MODE_ON is
not send previously.
Change-Id: I143baac9de884773b1f3c376030d5252bae5fa15
Signed-off-by: Naman Padhiar <npadhiar@codeaurora.org>
Add remote debugger device configuration. The Remote Debugger driver
allows a debugger running on a host PC to communicate with a remote
stub running on peripheral subsystems.
Change-Id: I4a96cd5ee354d9be0b2f77eaf3330b6529154aa6
Acked-by: Devender Kaushik <dkaushik@qti.qualcomm.com>
Signed-off-by: Jeya R <jeyr@codeaurora.org>
Update the vm_stat counter NR_UNRECLAIMABLE_PAGES to account for
the total memory allocated. Update the rss_stat counter MM_UNRECLAIMABLE
to account for the memory allocated and memory imported per process.
Change-Id: I0a40bf215fedbe421cce8d5fc41e2580fefb6523
Signed-off-by: Puranam V G Tejaswi <pvgtejas@codeaurora.org>
Add CNSS_HAS_DRV_SUPPORT to platform capability to indicate if PCIe
DRV is supported or not.
Change-Id: Id114467d060946dda43bb00fe8856cea2c18e738
Signed-off-by: Yue Ma <yuem@codeaurora.org>
Signed-off-by: Mohammed Siddiq <msiddiq@codeaurora.org>
Enable BFQ IO-Scheduler as a default scheduler
for systems adapting to block multiqueue design.
Change-Id: I12ff8c0495a53f1fc1f1a95c39ed03d927c1821b
Signed-off-by: Pradeep P V K <pragalla@codeaurora.org>
ICNSS2 process SOC_WAKE requests serially by putting the
in a workqueue. Create this workqueue as high priority
queue.
Change-Id: I9920f744bc56655c4ab52273fae3242300237a37
Signed-off-by: Naman Padhiar <npadhiar@codeaurora.org>
Enable common driver to limit Cx ipeak based on voting from
various clients in multimedia.
Change-Id: I6504279f76bb215e24434aa4078bf073a1e83b9f
Signed-off-by: Manaf Meethalavalappu Pallikunhi <manafm@codeaurora.org>
Add snapshot of common driver to limit Cx ipeak based on
voting from various clients in multimedia.
Change-Id: I800cc3a08783f9f33761e1a68a2c3072c7294bc0
Signed-off-by: Manaf Meethalavalappu Pallikunhi <manafm@codeaurora.org>
Correct the mux offset for MCCC debug mux to be
able to measure the its frequencies.
Change-Id: Id4ff67c3e195fe1633f34b86cc322a03f83a83c0
Signed-off-by: Madhuri Medasani <mmedasan@codeaurora.org>
Add support for HFSMPS, FTSMPS and other LDOs
supported on PM6125.
Change-Id: I2c9062876417915adeb9e739625adbbc58da8ff4
Signed-off-by: Kavya Nunna <knunna@codeaurora.org>
Enable one code word read support along with pagescope read feature
support.
Change-Id: Ib99a37140ec1bd929be34ebf21cd177df6493257
Signed-off-by: Pradeep P V K <pragalla@codeaurora.org>
This reverts commit a79d40e9b0.
This is to fix the performance regression of storage tests
observed with fio benchmark.
Change-Id: I914bae800d6c7483639551d0ed7f6094b866fa12
Signed-off-by: Sahitya Tummala <stummala@codeaurora.org>
Correct the mux offset for CPU debug mux to be
able to measure the CPU frequencies.
Change-Id: I042d36cc94c08b80142c86f545102c24b00ea7e5
Signed-off-by: Madhuri Medasani <mmedasan@codeaurora.org>
This change is to keep the device to autosuspend only if runtime PM
status is not suspended. SPI driver resumes only if runtime PM is
active, if framework calls unprepare_message/unprepare_hardware and
if we try to keep driver to autosuspend, it may result into negative
usage count.
Also ensure for the PM calls, runtime is always enabled and if not, do
not call PM.
Change-Id: I8cf3f6deb776e282edce4b488e80c639d697374e
Signed-off-by: Mukesh Kumar Savaliya <msavaliy@codeaurora.org>
Enable Panic on for scheduler and RT throttling for sdxnightjar.
Change-Id: Ie958aac9c329e2d8761a120349652e882cdb72ed
Signed-off-by: Lijuan Gao <lijuang@codeaurora.org>