Move cache based pkey sid retrieval code which was added
with Commit "409dcf31" under CONFIG_SECURITY_INFINIBAND.
As its going to alloc a new cache which impacts
low ram devices which was enabled by default.
Change-Id: I179a461386a09ebd58591fe835e3e0e0002db392
Suggested-by: Paul Moore <paul@paul-moore.com>
Signed-off-by: Ravi Kumar Siddojigari <rsiddoji@codeaurora.org>
Signed-off-by: vijay rayabarapu <vijay.rayabarapu@codeaurora.org>
Add wake lock in SSR up notification handling to avoid race
condition between system suspend and SSR up handling sequence
which can result in un-clocked access.
Change-Id: I246fa70df53b0cb7acdfcadf9cfe2ce01a3bff6b
Signed-off-by: Prudhvi Yarlagadda <pyarlaga@codeaurora.org>
Currently, alarm register is not cleared on resume
leading to reboot during power off charging mode.
Change-Id: Ie2e6bbab8aa46e4e9b9cc984181ffab557cbbdae
Signed-off-by: Mohit Aggarwal <maggarwa@codeaurora.org>
This additional check is needed due to split voting added for
DDR and Corex/2x paths.
Change-Id: Ic333831b3f8f49b4fd4e569b1c0bcd762534d8db
Signed-off-by: Vipin Deep Kaur <vkaur@codeaurora.org>
Enable config for Realtek RTL8152/RTL8153 based USB Ethernet
Adapters for bengal target. This is to align with android
base config.
Change-Id: Ia6698245896f47cebc03924e4398f055393371bb
Signed-off-by: Sriharsha Allenki <sallenki@codeaurora.org>
Adding new vendor id and product id for
hid-qvr support.
Change-Id: Ifbd2e71d63949f51dcf61dd46a7c49cba1532d1a
Signed-off-by: rbandi <rohitbandi@codeaurora.org>
1. Do not use module_param for FVSS dynamic parameters.
2. Ability to runtime enable/disable SOC scaling features.
3. Debug logging only if the feature is enabled.
Change-Id: I5da1cf368d523768d0b267b314394612934a6202
Signed-off-by: Anirudh Ghayal <aghayal@codeaurora.org>
Driver assumes that the return value of cfg80211_classify8021d()
doesn't exceed wil_1d_to_queue array size.
Add explicit check before accessing the wil_1d_to_queue array.
Change-Id: Ieadeb20c3056a9180cc5092eca07e9bdb7cc65bf
Signed-off-by: Alexei Avshalom Lazar <ailizaro@codeaurora.org>
Currently, for CC mode, user space depends on BATT_PROFILE_VOTER's
vote on FV to select a PDO. When Qnovo is enabled, this vote is removed,
causing failure in selecting a PDO and exiting CC mode with QC4 charger.
Fix this, by making PDO selection independent of BATT_PROFILE_VOTER's
vote when qnovo is enabled.
Change-Id: I95817d3e54e373eefbab5625699665517f461322
Signed-off-by: Sahil Chandna <chandna@codeaurora.org>
Add new bus ids that are required for bus scaling driver
on Lagoon.
Change-Id: Iaa854efafa421cec795682e50d173798791e208f
Signed-off-by: Odelu Kukatla <okukatla@codeaurora.org>
Signed-off-by: Diptanshu Jamgade <djamgade@codeaurora.org>
At cold temperatures, when the load on battery suddenly drops
there is a possibility of monotonic-SOC being stuck for a long
time due to a rise in system SOC. This leads to a bad UX.
Fix this by gradually dropping the monotonic-SOC if the
battery-SOC has dropped by 1%, irrespective of the increase
in system SOC.
Change-Id: I5da1cf368d523768d0b267b314394612934a620e
Signed-off-by: Anirudh Ghayal <aghayal@codeaurora.org>
Specify MHI_VOTE_DEVICE flag when calling mhi-driver API:
mhi_device_get_sync to make sure device side PCIE won't
get to power collapse.
Change-Id: Ia254d3bdbc191f80af05224df4b272921aba2d10
Signed-off-by: Michael Adisumarta <madisuma@codeaurora.org>
Task T2 Task T3
trace_options_core_write() subsystem_open()
mutex_lock(trace_types_lock) mutex_lock(event_mutex)
set_tracer_flag()
trace_event_enable_tgid_record() mutex_lock(trace_types_lock)
mutex_lock(event_mutex)
This gives a circular dependency deadlock between trace_types_lock and
event_mutex. To fix this invert the usage of trace_types_lock and
event_mutex in trace_options_core_write(). This keeps the sequence of
lock usage consistent.
Change-Id: Ide261e25fb15f79391a6220eef246e274b0c6a69
Signed-off-by: Prateek Sood <prsood@codeaurora.org>
Enable the l2cache pmu driver support for Bengal target.
Change-Id: Ib14e529d36ccb16ed95082a6b1f8d4a23f01a66f
Signed-off-by: Mukesh Ojha <mojha@codeaurora.org>
Remove pm qos request for latency_pm_qos_request
only when it is active as it might lead to list corruption
in pm driver if removal is already done.
Change-Id: Ia9b5e933b217e2d988f18ae61673228b54e388bc
Signed-off-by: Aditya Bavanari <abavanar@codeaurora.org>