Update init_bootkpi and boot_marker_enabled as inline
functions to avoid -Wunused-function compiler error.
Change-Id: I61098c8bcc941d21a2ff30905cd93d82af1cf1f4
Signed-off-by: Shreyas K K <shrekk@codeaurora.org>
Enable building of adsprpc driver along with
kernel image.
Change-Id: I34dd3098db1973d0a8e4e9a7bcb4dae507901de5
Signed-off-by: Jeya R <jeyr@codeaurora.org>
Set CONFIG_BLK_DEV_LOOP_MIN_COUNT=16 that pre-create loop block
devices at init time for vts_kernel_loopconfig_test.
Change-Id: I136c0f620913d2ce8ddbb0ccbd8bc0b05f72a3ad
Signed-off-by: Vinay Sudra <vsudra@codeaurora.org>
Commit 6a247993218c ("usb: dwc3: gadget: Properly handle failed
kick_transfer") introduces a piece of code where if gadget_ep_cmd
fails in kick_transfer, it calls stop_active_transfer for that ep
& move the request from started_list to cancelled_list. Finally
it checks for DWC3_EP_END_TRANSFER_PENDING flag, if not set then
moves ahead and calls dwc3_gadget_cleanup_cancelled_request as part
of which gadget giveback for the request is called. This will
ultimately mean ep_queue failure as ep_queue returns the status of
kick_transfer.
Now from the function driver perspective, when ep_queue fails
it tries to add the request back to the pool from which the request
was queued.
But,since we did a cleanup_cancelled_request the completion handler
of the function driver is also called which tries to add the same
request back to the pool, resulting in a double add scenario.
Fix this by returning 0 from ep_queue rather then returning the
status of kick_transfer. For a function driver it would mean
ep_queue success and will not add the request back to read pool
and since we already are giving back the request as part of
cleanup_cancelled_requests, the request will be added back to
the pool and avoid the double add scenario.
Change-Id: I82bc21c34a795820998483c4a88e1891495a6906
Signed-off-by: Udipto Goswami <ugoswami@codeaurora.org>
Signed-off-by: Pratham Pratap <prathampratap@codeaurora.org>
Consider a case where ffs_func_eps_disable is called from
ffs_func_disable as part of composition switch and at the
same time ffs_epfile_release get called from userspace.
ffs_epfile_release will free up the read buffer and call
ffs_data_closed which in turn destroys ffs->epfiles and
mark it as NULL. While this was happening the driver has
already initialized the local epfile in ffs_func_eps_disable
which is now freed and waiting to acquire the spinlock. Once
spinlock is acquired the driver proceeds with the stale value
of epfile and tries to free the already freed read buffer
casuing use-after-free.
Fix this race by assigning epfile under spin_lock from
ffs_func_eps_disable.
Change-Id: I9e1f376bb2212e8a8040f884514342c428098bdd
Signed-off-by: Pratham Pratap <prathampratap@codeaurora.org>
Add ADP hardware support to socinfo driver.
Change-Id: I156a926a9426d2c891465aed3679b12dd21ff582
Signed-off-by: Saurabh Ambulkar <sambulka@codeaurora.org>
Signed-off-by: Shreyas K K <shrekk@codeaurora.org>
New QMI communication driver implements sending ADSP unvote
while suspending APSS and sending ADSP vote while waking up.
Change-Id: I2dd0768d48dffd2da14f3eccf02d2b088024ce07
Signed-off-by: Vinay Sudra <vsudra@codeaurora.org>
Add SOC ID to support socinfo for yupik-iot SoC.
Change-Id: Iad715ef092e7a68fb6a4c5e52f57b4ee110c335e
Signed-off-by: Vishwanath Raju K <vishk@codeaurora.org>
CDSPRM module implements a RPMSG interface to communicate with CDSP
while providing a way for CDSP to vote for CPU QoS to benefit CDSP
applications performance.Glink IRQ mostly is taken by the silver cluster.
CDSPRM driver vote for sliver cluster prevents collapsing gold cluster
This saves significant power.
Change-Id: I6cac71e7ab85d823dfc44b19dd85a0dde62455db
Acked-by: Sreekanth Gande <sgande@qti.qualcomm.com>
Signed-off-by: Bavyasritha Alahari <alahari@codeaurora.org>
Notify usb driver with extcon notification for
ss hub enumeration.
Change-Id: I3e6748a791bb424505aa937da52a99cd48b496a3
Signed-off-by: Kavya Nunna <knunna@codeaurora.org>
To boot guest vm, loader hotplugs required cpus and bring them back once
bootup is completed. On hotplug operations, it uses isolation mask
to print offline cpus, which is not right mask.
Use cpu online mask instead of isolation mask to represent guest vm's
hotplugged/hotunplugged cpus.
Change-Id: I2805203df068c1192349867b6dc690af6fc32797
Signed-off-by: Lingutla Chandrasekhar <clingutla@codeaurora.org>
Correct the SDC1 rclk offset for configuration for
Yupik.
Change-Id: I81f8906ea662eb4d3e511841fb208388de75a25a
Signed-off-by: Neeraj Upadhyay <neeraju@codeaurora.org>
Enable Userspace and Ondemand cpufreq governors for
sdmsteppeauto target.
Change-Id: I21625164b29220f44ace9bb13d71ae9811a3a2b3
Signed-off-by: Shreyas K K <shrekk@codeaurora.org>
Enable kernel configs needed to suppot ramdump on sdmsteppeauto
target. These drivers help to capture necessary debug information
in DDR and IMEM when the system crashes either after a panic
or due to any system lockup.
Change-Id: I09234c554e4e83d2c710583835b2e3f128d1a080
Signed-off-by: Shreyas K K <shrekk@codeaurora.org>
Enable ION support configs on sdmsteppeauto target.
Change-Id: I6e171efa8c6a60f279af9e8108867f42314cb104
Signed-off-by: Shreyas K K <shrekk@codeaurora.org>