When halt kicks a recently unhalted cpu, and ensures that
walt_newidle_balance is called to pull a task. Since there
has been no recent opportunity to run rebalance_domains or
update_sd_lb_stats the rq->rd->overload flag is 0. When
walt_newidle_blance is called, the overload flag is checked
and no pull of a task from the busiest cpu will be attempted.
When the smp interface is used to call walt_newidle_balance, which
is only called from halt to kick the newly unhalted cpu, force
the overload flag check so that walt_newidle_balance can
function properly for both the halt and the normal newidle case.
Change-Id: Ib3f8372e2436aef5019e48a6b277b86a6fecd37c
Signed-off-by: Stephen Dickey <quic_dickey@quicinc.com>
Enable minidump for pineapple and add it to module list.
Change-Id: I10520b8b28988ca0bdb462346f7c5f88f287bc80
Signed-off-by: Huang Yiwei <quic_hyiwei@quicinc.com>
Switch to debug_symbol driver for the get the needed symbol
address for minidump feature.
Change-Id: I3eb16d495244dd2a45af4ff37781c62328f19938
Signed-off-by: Huang Yiwei <quic_hyiwei@quicinc.com>
Enable debug symbol for pineapple to allow modules get symbol
address for debug usage and add it to vendor module list.
Change-Id: Ib31ac9d8b6ff74c863901f77571eee3387c02dbb
Signed-off-by: Huang Yiwei <quic_hyiwei@quicinc.com>
Add vendor hooks driver to the list of vendor modules.
Change-Id: I47044ca662b6a098ab8f4df4f7d46aea2035e590
Signed-off-by: Huang Yiwei <quic_hyiwei@quicinc.com>
Use kallsyms address provided by debug-kinfo driver, symbol address
can be searched by traversing kallsyms table. So the new debug-symbol
feature is added and can replace android_debug_symbols approach.
Change-Id: I27fb788ef3d17426bb0d40afb8bf58f2427a4649
Signed-off-by: Huang Yiwei <quic_hyiwei@quicinc.com>
Add camera, video, and IFE client IDs. Make signal-based reservation
for IFE clients.
Change-Id: I7004ddf4d1a85311c3463acebc99d4859f0459e7
Signed-off-by: Grace An <quic_gracan@quicinc.com>
Currently, there's no way for a user to specify a custom output
directory when using build_with_bazel.py.
Add a command line argument to allow such usage (similar to the
OUT_DIR environment variable from build.sh).
Change-Id: I44f720c85409fc8ec82a9f4a96d428fab80a7547
Signed-off-by: John Moon <quic_johmoo@quicinc.com>
Enables compilation of the drm display helpers for display
driver to link against.
Change-Id: I0ef8b033cbd766e47480e3962bf89c33f239cccd
Signed-off-by: Nisarg Bhavsar <quic_bhavsar@quicinc.com>
Adds wrapper Kconfig symbol to enable compilation
of the drm display helpers for the display driver
to link against.
Change-Id: I3096fc10a94768758e01e6c22c982ed29eb2aa34
Signed-off-by: Nisarg Bhavsar <quic_bhavsar@quicinc.com>
mdwc device (a600000.ssusb) is parent to dwc3 device (a600000.dwc3).
With stop host mode, commit b10349def39c ("usb: dwc3-msm: Handle
potential errors in dwc3_msm_resume") is resuming mdwc device instead
of dwc3 device which is updating usage count wrongly causing mdwc
device to stay as runtime active. This result into no runtime idle
schedule to put mdwc device into low power mode causing switching
from host mode to device mode failure.
Change-Id: I2f0a6ce06cef90b22bfb5b9a2e000857a5cc0281
Signed-off-by: Mayank Rana <quic_mrana@quicinc.com>
Add snd_soc_set_runtime_hwparams to the ABI list.
Change-Id: I255861c3330f97695a2a0110aba0ab69ba34b3c4
Signed-off-by: Sam Rainey <quic_rainey@quicinc.com>
Currently, the Bazel build may fail if symlinks to the Bazel
extension files are not linked to the proper locations.
To make sure the build always works (falling back on default
extensions), configure the script to create the symlinks to the
default files in case they don't exist or are broken symlinks.
Change-Id: Ie385e4ede912d0f40026ef6c78a9c2fb60ca8924
Signed-off-by: John Moon <quic_johmoo@quicinc.com>
update AUDIO mode to FSM when connection type is GND_MIC
Swap.
Change-Id: I7cc1b065ce18c1bd6024ece1148784b0d9f5af2b
Signed-off-by: Prasad Kumpatla <quic_pkumpatl@quicinc.com>
Currently, hello_sent flag is incrementing after successful
transmit of first hello packet. By this time, another thread
of ns hello packet is passing the check condition in qrtr_node_enqueue
function.This patch will increment the hello_sent flag just after entering
qrtr_node_enqueue function.
By the time NS comes up, transport driver is already probed and
hello packet is sent to the remote. While NS binding to the socket,
resets hello_sent flag and again sends the hello packet to the remote.
This patch also will reset the hello_sent and hello_rcvd flags when NS
releases the socket. This will avoid sending duplicate Hello packets
to the remote.
Change-Id: Ibfaf8fae3cb50e100af37c600daa8b2d38e3d604
Signed-off-by: Sivaji Boddupilli <quic_boddupil@quicinc.com>
Signed-off-by: Sarannya S <quic_sarannya@quicinc.com>
On getting an EAGAIN error from MHI, add a retry to
retransmit the message again.
Change-Id: I8e1c75bec7fdd0871dd92e14f640cab19c7f0985
Signed-off-by: Sarannya S <quic_sarannya@quicinc.com>
There was some refactoring to handle more of the qrtr logic in atomic
context. Some mutexes were switched to spin locks. During this refactor
qrtr_endpoint_unregister had to release the newly used spinlocks when
forwarding the del proc message.
Add the proper locks into qrtr_fwd_del_proc that used to be held by
qrtr_endpoint_unregister. Putting the locks into qrtr_fwd_del_proc
will help reduce the amount of work in the critical section.
Change-Id: Ibafd80547f643a2ab6add4cffaaa7a56510db76d
Signed-off-by: Chris Lew <quic_clew@quicinc.com>
There is a slim chance of a double read happening at the end of the
probe if the rx doorbell is triggered instantly after registration.
Add a check to quit from gunyah read in case it gets called from
doorbell and probe context at the same time.
Change-Id: Ief7a33c693645af585505c73101d691f66750481
Signed-off-by: Chris Lew <quic_clew@quicinc.com>
Reset pipe on gunyah if a corrupted packet is read to prevent an
interrupt storm.
Change-Id: Ie0c4a74a66eb9aac96999e9f4d0ef6cec4979baa
Signed-off-by: Chris Lew <quic_clew@quicinc.com>
The xa_insert function cannot be called with GFP_ATOMIC if the context
does not have preemption disabled. There was a change to make the port
insertion structure synchronize with rcu and therefore was no longer
protected with spinlocks. Using RCUs lead to a performance degredation
so spinlock synchronization was reinstated. Now that port insertion
happens within a spinlock, GFP_KERNEL cannot be used.
Change-Id: Ib09addbcaa7802bf80ddb953901e07e43c0f376e
Signed-off-by: Tony Truong <quic_truong@quicinc.com>
When the Bazel subprocess exits unexpectedly, the wrapper script
gets an OSError exception while cleaning up the processes.
Ignore the OSError exception to make sure all subprocesses are
cleaned up properly.
Change-Id: I7c1062a900e70cfc2d90bd9695254ba80b07721b
Signed-off-by: John Moon <quic_johmoo@quicinc.com>
update AUDIO mode to FSM when AATC plug detects and restore
to MANUAL once plug-out.
Change-Id: I2b31b67ab713823d2dca07327c141c386ac3b394
Signed-off-by: Prasad Kumpatla <quic_pkumpatl@quicinc.com>