Use the no-log variants of the read{b,q,l}/write{b,q,l} APIs
to prevent flooding the MSM register trace buffer (RTB) logs
with memcpy/memset induced logging.
Change-Id: I16556e1d6f4abe00e6f33b8375a5a1839dfca34e
Signed-off-by: Trilok Soni <tsoni@codeaurora.org>
msm_write/read use write/read_relaxed function which will create
lots of RTB logging. Change the API to no_log version to remove
those RTB logs.
CRs-Fixed: 1062953
Change-Id: Id6524b7ae3e82e10ca651a2ca0de9223c18109da
Signed-off-by: Runmin Wang <runminw@codeaurora.org>
Add the VDD_APC CPR corner configuration corresponding to
speed-bin 1 parts whose performance cluster can operate
at a slower maximum clock rate compared to speed-bin 0 parts.
CRs-Fixed: 1057119
Change-Id: I01e2c9c8bafbb2be4c8d312a4212195c2a99f3ac
Signed-off-by: Osvaldo Banuelos <osvaldob@codeaurora.org>
Add support for a total of 16 fuse combos to cater to MSMCOBALT
parts blown with a speed-bin fuse equal to 1.
CRs-Fixed: 1057119
Change-Id: I778e33b9de9947dd33f4cb7142be8771d4afc7cb
Signed-off-by: Osvaldo Banuelos <osvaldob@codeaurora.org>
Update VDD_APC0 and VDD_APC1 CPR floor and ceiling voltages
of the highest fused corner on msmcobalt v2 parts to
adhere to latest hardware guidelines.
CRs-Fixed: 1057119
Change-Id: Icf06fe334558bfc4e4dedc9b1f18d51c99987966
Signed-off-by: Osvaldo Banuelos <osvaldob@codeaurora.org>
Add support for msmcobalt speed-bin 1 devices which can operate
with a performance cluster clock frequency of up to 2.208 GHz.
CRs-Fixed: 1057115
Change-Id: I2c733a1f0ee4baf978c3715aa3bd74a6b46ee6c2
Signed-off-by: Osvaldo Banuelos <osvaldob@codeaurora.org>
Glink core channel cleanup has a lot of code under spinlock with
preemption disabled this leads to deadlock scenerio.
Spinklock is used only for critical section, rest of the code is
be without spinlock.
CRs-Fixed: 1060407
Change-Id: I577dbff1cf2ee3711e1879aaa6dc48c72f98b98c
Signed-off-by: Dhoat Harpal <hdhoat@codeaurora.org>
Adding source and destination port number info
in the gso trace events to differentiate between
the flows.
CRs-Fixed: 982871
Change-Id: Idbae7f95dfd56293805b58e3c6626f5f6e07d08a
Acked-by: Ashwanth Goli <ashwanth@qti.qualcomm.com>
Signed-off-by: Ravinder Konka <rkonka@codeaurora.org>
[subashab@codeaurora.org: resolve trivial merge conflicts]
Signed-off-by: Subash Abhinov Kasiviswanathan <subashab@codeaurora.org>
With commit a3a3c169dd ("icnss: Prevent power collapse during
driver probe/remove"), NULL pointer dereference happens in probe
because of recent changes in the function. Fix the issue by using
right pointer.
CRs-Fixed: 1061279
Change-Id: I464579953fabe1bd42ced50f0bbfdfd3cda0a492
Signed-off-by: Prashanth Bhatta <bhattap@codeaurora.org>
Some HW monitors can do a better job of the sampling and the threshold
checking than the SW implementation in the governor. Update the governor's
API to add support for them.
Change-Id: Id4b5593a5ed3290684ba43ebebe2466ba0b730b6
Signed-off-by: Saravana Kannan <skannan@codeaurora.org>
Signed-off-by: David Keitel <dkeitel@codeaurora.org>
Add support for reading a speed-bin fuse for each cluster.
This allows for the selection of different OSM look-up tables
and thus different frequency configurations based upon device
fused values.
CRs-Fixed: 1057115
Change-Id: I9a864a2abb655e26fff5982b592b4f3c5dbfca24
Signed-off-by: Osvaldo Banuelos <osvaldob@codeaurora.org>
DATA1 G-Link channel is used from user-space for Bluetooth DUN calls.
Add support to expose an interface to that G-Link channel.
CRs-Fixed: 1062478
Change-Id: Ib0d3c22810fa691c9036a9ab57df7bf8562c7fb9
Signed-off-by: Karthikeyan Ramasubramanian <kramasub@codeaurora.org>
When Venus HW is not responding, before crashing the system,
print all the pending messages, current sessions and each
session info.
CRs-Fixed: 1059604
Change-Id: I8d39eaaa425e5e6fa97704c9bc15414f9a0f61ce
Signed-off-by: Praneeth Paladugu <ppaladug@codeaurora.org>