If ACD fails to send its state through the QMP mailbox, we do not get
the power saving as expected. An error message will do and need not
fail probe.
Change-Id: I821d0d3c774cc45726a8c7b281d226ff5da83fa5
Signed-off-by: Mohammed Mirza Mandayappurath Manzoor <[email protected]>
If RC is connected to an endpoint running in emulation
environment, current polling timeout is not sufficient
for endpoint to respond for L23_Ready. Add sysfs entry
to change L23_Ready polling timeout. This allows to set
longer duration of timeout so that endpoint response is
received before timeout.
Change-Id: I374a8c9ddd4e546bf5746dad7bd5014945817d42
Signed-off-by: Hemant Kumar <[email protected]>
The PIL driver sets up the mappings for the segments' address
based on the size of the segments. However, for the case of
'complete ramdump' collection, the ramdump driver re-sizes the
segments, thus causing a mismatch in the mappings created by
PIL driver. Hence, fix this by only initializing the physical
address in the PIL driver and let the ramdump driver take
care of the re-sizing and mapping.
Change-Id: Ia07eae2b1873f1fc9d3e9a1c8089f14ffd37dcd3
Signed-off-by: Raghavendra Rao Ananta <[email protected]>
Enable debugging of menu governor's choices by tracing at different
points.
Change-Id: Ia72a92cd74b5ae02bd0e504ec66653e680e9df7e
Signed-off-by: Lina Iyer <[email protected]>
Currently, we just print the pagealloc corruption warnings and
proceed. Sometimes, we are getting multiple errors printed down
the line. It will be good to get the device state as early as
possible when we get the first pagealloc error.
Change-Id: I79155ac8a039b30a3a98d5dd1384d3923082712f
Signed-off-by: Subbaraman Narayanamurthy <[email protected]>
Signed-off-by: Prasad Sodagudi <[email protected]>
Signed-off-by: Patrick Daly <[email protected]>
Signed-off-by: Sudarshan Rajagopalan <[email protected]>
Signed-off-by: Isaac J. Manjarres <[email protected]>
Data corruptions in the kernel often end up in system crashes that
are easier to debug closer to the time of detection. Specifically,
if we do not panic immediately after lock or list corruptions have been
detected, the problem context is lost in the ensuing system mayhem.
Add support for BUG_ON immediately after such corruptions are detected.
The CONFIG option controls the enabling/disabling of the feature.
Change-Id: I9b2eb62da506a13007acff63e85e9515145909ff
Signed-off-by: Syed Rameez Mustafa <[email protected]>
Signed-off-by: Patrick Daly <[email protected]>
Signed-off-by: Isaac J. Manjarres <[email protected]>
It's sometimes useful to know the physical address which
has beencorrupted, especially in systems with multiple
bus masters and DMA engines the capability of writing
to memory. It's may also be useful for identifying the
location of failures of memory cells in cases of
device-specific corruption. So print the physical
start address of the page to help in these scenarios.
Change-Id: I081edd8b1c06913c0057a6cb9dda18077cfbdc30
Signed-off-by: Matt Wagantall <[email protected]>
Signed-off-by: Prasad Sodagudi <[email protected]>
Update the logic that checks maximum allowed power level to
accommodate new frequency corners.
Change-Id: I85c9db7e39c75b14ee77464ca6fcdf5855653b25
Signed-off-by: Mohammed Mirza Mandayappurath Manzoor <[email protected]>
ACD is a power saving feature to mitigate voltage droops.
Change-Id: I43502bd44946463f7db30011e233255217cb02e0
Signed-off-by: Mohammed Mirza Mandayappurath Manzoor <[email protected]>
Update the logic to include data from all powerlevels in ACD table for
ACD to be enabled on all levels.
Change-Id: I0da7ab5e4449bbe38bc292c63f0d1a72c3991a0f
Signed-off-by: Mohammed Mirza Mandayappurath Manzoor <[email protected]>
DMA chan_id is different than GSI GPII channel id, instead check for
whether it's tx or rx channel directly in prepare descriptor api.
Change-Id: Ia5758ddeef89c3ee69e23a5b4ea2117ec45d44a5
Signed-off-by: Vipin Deep Kaur <[email protected]>
Support for getting ice core clock from dt and enabling it.
Change-Id: Iaa12effc896d820f0ba3c87f3939377ffd579ea6
Signed-off-by: Sarthak Garg <[email protected]>
Add support for common qcom debug for perf build
in HOLI.
Change-Id: I2366c63df8f1882cfb62bcb420c2448c0617ba57
Signed-off-by: Saurabh Sahu <[email protected]>
'Commit 145c3d9be206 ("usb: u_ether: Prevent dropping multicast
packet in rmnet ip mode")' removed skb check from eth_start_xmit
function. While ndo_start_xmit are typically expected never to be
called with NULL SKBs, for NCM function this xmit function is
called with NULL SKB initially which then uses the 'wrap' routine
to create valid SKBs. But this null SKB is getting dereferenced
before 'wrap' routine could run on it when in ethernet mode.
Fix this by bringing in the skb check.
Change-Id: I9d40f70190eb91ecc848b71c4ce31a656c60a28d
Signed-off-by: Ajay Agarwal <[email protected]>
If link is still down before force firmware assert, directly trigger
link down recovery instead of forcing RDDM.
Change-Id: Ie3e4c97c2ab42a1c426c6048ed839dfdd7f02462
Signed-off-by: Yue Ma <[email protected]>
WLAN firmware files will be stored at different places based on
different device IDs. Hence add prefix to firmware name in order
to load firmware files correctly.
Change-Id: I6c92f2384fa81917ebfb01b80d8a2ee6c2c756b6
Signed-off-by: Yue Ma <[email protected]>
Currently there exists a path where cpupri_find could
return lowest_mask without removing isolated cpus. This
happened when __cpu_pri() didn't consider isolated
cpus and indicated that the lowest_mask was not empty.
Subsequently, cpupri_find_fitness() would find the
lowest_mask was empty, after removing isolated cpus.
This led to cpupri_find() being called again,
cpupri_find_fitness being re-entered, and this time,
since fitness_fn is NULL, returns true. This means there
is a case where lowest_mask only has isolated CPUs
and cpupri_find_fitness will indicate yes, cpus were found.
When invokved in the rt wakeup path through find_lowest_rq(),
this caused the pushes of rt tasks to be placed on
isolated cpus. This also causes the the wakeups of rt
tasks on isolated cpus, although this is a rare occurrence.
Fix it by ensuring __cpu_pri() removes isolated cpus from
lowest_mask, which in turn causes cpupri_find_fitness() to
skip the current task_pri index prior to making any other
decision. For the case where lowest_mask only has isolated
cpus left, this will result in no CPU being found, and
a return of false from cpupri_find_fitness().
Change-Id: I3e28b8366513ee51dc5c2d4eb0a2eb146c82f255
Signed-off-by: Stephen Dickey <[email protected]>
This reverts commit 7d3ecfd796.
This change had caused a regression with swr-haptics driver probe
as the soundwire master couldn't enumerate swr haptics. Revert
this until we can understand why soundwire enumeration fails.
Change-Id: Ie5840247013a1a3fab15758e9ace7b131619be49
Signed-off-by: Subbaraman Narayanamurthy <[email protected]>
request_firmware returns -EAGAIN failure if user space access is
disabled during reboot. Thus for BDF download failure check this
condition before assert.
Change-Id: Ib6c90b1a02763b216a474729c3191c8c05772af2
Signed-off-by: Manikandan Mohan <[email protected]>
Adjust the units of on_time and off_time to microseconds to align with
max_flash_timeout, which uses those units.
Change-Id: I65f29175606d5571720215f196d2e08e6d6a18f0
Signed-off-by: Guru Das Srinagesh <[email protected]>
Currently, the code is not checking if the freq qos object was
requested before using it in the undo reservation path.
This causes warnings like "freq_qos_update_request() called for
unknown object".
Fix this by checking freq_qos_init_done flag is set prior to using the
qos objects.
Change-Id: Ie8009f5ea191f4ad0c199a3fce04376871a5d2c5
Signed-off-by: Sai Harshini Nimmala <[email protected]>
ufshcd-qti was a copy of the downstream driver.
It was a place-holder until we get the upstream driver
working and stable.
Now that it's done, remove ufshcd-qti.
Change-Id: Ie9a5781a5133c08cf4ebb11974fade076ec0da84
Signed-off-by: Asutosh Das <[email protected]>
Add sync_state functionality to remove threshold held
during initial boot up and clean up any linger proxy
resources that were voted for from bootloaders.
Change-Id: Icb9758075fa2af8f3bb658e8a4b033b213e16545
Signed-off-by: Odelu Kukatla <[email protected]>
Cleanup a redundancy while checking for affinity.
Change-Id: I36b6c2f3c8e1067cb6e09f0d5fb60e9e33a4d342
Signed-off-by: Shaleen Agrawal <[email protected]>
A proxy vote is kept for all the resources binded in the device tree
and those resources would be enabled till the actual driver comes in
and binds to it.
For example every device that needs a clock or have binding for clock in
the device tree all those clocks would be left enabled because of the
proxy vote.
That proxy vote would be removed in the late init when the sync-state
is successful.
For the sync-state to be successful every driver which have bindings
toward that resource must complete the bind with that resource or probe
successfully.
So here for the gcc sync-state to be successful and proxy vote to be
removed every gcc consumer (in this case eMMC) must not bail out and
complete its probe.
This reverts commit 5827a3e53d.
Change-Id: Ic6017ca80a051f6210c9bb1b7f4d27ca842a6f45
Signed-off-by: Sarthak Garg <[email protected]>
Downstream arm-smmu impl, perform SYNC as part of unmap().
This is done under arm_smmu_tlb_inv_context_s1. This double the sync
operation. This impacts the unmap time, remove this duplicate sync
operation.
Change-Id: Ic98fc04a8102fe3a0b79e52b33daabf94732fcbf
Signed-off-by: Prakash Gupta <[email protected]>
The tty name can be up to 8 chars if id is greater than 10 such as
ttyUSB11. In that case, the name will be overflowed. To prevent this,
this patch removes snprintf and adds comparison the idx value of
pdev_tty_port only if pdev_tty_port is specified.
Bug: 157525691
Bug: 161501868
Fixes: 21d085e1cc2c ("ANDROID: serdev: restrict claim of platform devices")
Change-Id: I2a766c9a83a09a1d386686638d8e9c529eeeb735
Signed-off-by: Chanho Park <[email protected]>
This reverts commit 43e172e31b which is
commit 7ef282e05132d56b6f6b71e3873f317664bea78b upstream.
This is being reverted as is can cause some crc changes in modversions
due to the changes in trace.h.
From the description of the patch itself:
This is marked as "Fixes" but is more of a clean up than a true fix.
Backport if you want, but its not critical.
Bug: 161946584
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Change-Id: I781e50e6ebe6a2d09c3a4ec2703e7bdbffe8e632
This reverts commit f553ed04bc and really
does merge v5.4.60 into the tree.
Bug: 161946584
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Change-Id: I164a49d7930e441b52c8a80b2fa5aa2b7ec41ed9
This reverts commit fc44c0ba38 ("msm_rtb: Don't lose
the __user tag on relaxed reads/writes"). This causes
address parameter, with side effects, to be evaluated
more than once.
Change-Id: Ib37665763736bdf562afcc8335b014a2724a7598
Signed-off-by: Neeraj Upadhyay <[email protected]>
Add CLK_DONT_HOLD_STATE flag to avoid the framework from
placing a proxy vote to enable the clocks during probe since
these GPU clocks are failing to turn on as their corresponding
GDSC is not enabled yet.
Change-Id: I4771d1c5696a069d0d67d407de3a7a5b1f5b139e
Signed-off-by: Jagadeesh Kona <[email protected]>
In GKI, if a config is flag enabled in a QGKI config and
disabled in debug config. Then that config flag will be
disabled for debug build and enabled for QGKI. So, this
change ensures the config flag which is enabled in lower
level config gets enabled for higher level config.
Change-Id: I6c5176e30d72a86bc6cce3b2074a8dd1d08a1e28
Signed-off-by: Sandeep Singh <[email protected]>
Enable SMB5 and QG drivers which control the main charger and
Qgauge peripherals present on PM7250b.
Change-Id: I66925cdbefd160d09f221734d5b9f676f822fe8d
Signed-off-by: Jishnu Prakash <[email protected]>
Add support for "bms" power supply which is not present in kernel 5.4
through IIO device and properties under it through individual IIO
channels under the IIO device.
Change-Id: I55c44e5db2dc4549021cb429444c7c5afa679c3a
Signed-off-by: Shyam Kumar Thella <[email protected]>
SMB5 charger drivers and their helper files use several power supply
properties on msm-4.19 which cannot be supported on msm-5.4 due to the
need for GKI compliance. Add support for main charger to register
as an IIO device with individual channels under it corresponding to
missing power supply properties from msm-4.19.
Change-Id: I7182160258fa2ebd4af36b0531b11d988cffdbd3
Signed-off-by: Jishnu Prakash <[email protected]>