When CPUs fail to enter the chosen idle state because of pending
interrupt, let's record that and show along with other statistics for
the idle state.
Change-Id: I22265e8a86160c98a7ae810808b6b4821a6633b6
Signed-off-by: Lina Iyer <[email protected]>
Store the history of recently sent and received glink messages in
a rolling buffer, maintained per channel.
Change-Id: I4547de2190f59ad36dba5d1bdbb83d7d6fa656b9
Acked-by: Thyagarajan Venkatanarayanan <[email protected]>
Signed-off-by: Himateja Reddy <[email protected]>
Enable config to print information about module (un)loading
for Lahaina/Shima SoC.
Change-Id: I2fb3bc47fd550b26c693fdc76cb6eba05db4ce60
Signed-off-by: Mukesh Ojha <[email protected]>
There can be scenario where, dynamically loadable modules adds
a certain nodes in list data structure and forgot to remove
reference from the list while unloading themselves. And this can
result in fault while accessing those dangling pointers.
So If we log the module used address ranges, we could be able to
tell exact victim module.
And, It will be good to keep these debug logs under a config flag.
So, let's add DEBUG_MODULE_LOAD_INFO config and use this in
printing module used init and core layout address
ranges.
e.g:
Core layout sections:
[ 40.599573] .text
[ 40.627074] .plt
[ 40.603426] .rodata.str1.8
[ 40.608016] __mcount_loc
[ 40.622142] .note.gnu.build-id
[ 40.612654] .data
[ 40.616438] .gnu.linkonce.this_module
[ 40.634909] .bss
Init layout sections
[ 40.630781] .init.plt
[ 40.638591] .symtab
[ 40.642573] .strtab
After this patch:
/ # rmmod sample
[ 63.816318] Unloaded sample: module core layout start: 0xffffff9dbff85000 size: 0x4000
This config should not be enabled in production builds.
Change-Id: I4acfc4f53c561f92ca63fa3c4559148929575580
Signed-off-by: Mukesh Ojha <[email protected]>
Signed-off-by: Neeraj Upadhyay <[email protected]>
Add IIO calls for the power supply properties that are
not supported by the current power supply framework.
Also, use the proper power supply object for the
property POWER_SUPPLY_PROP_CHARGE_FULL_DESIGN.
Also IIO calls held mutex which causes possible deadlocks when
called from interrupt context, hence remove the IIO calls
from the psy_chnaged and move them to a different work.
Change-Id: I39d3806fd29f817a982d95d32313b82e9ec76117
Signed-off-by: Sriharsha Allenki <[email protected]>
Certain GPIOs are reserved for secure world and cannot be accessed by HLOS.
Supply "reserved_gpios" to msm_pinctrl to mark these pins as invalid.
Change-Id: I13df5f80bad3ab339aa1382f841796096c8ce748
Signed-off-by: Mukesh Ojha <[email protected]>
Delay opening slimbus ports for A2DP for 44.1/88.2k
sample rates if feedback channel is not opened. Else,
delay opening of slimbus port for feedback channel
regardless of A2DP sample rate since feedback channel
is always opened first, then actual A2DP port is opened.
The change is made for Apache.
CRs-Fixed: 2735853
Change-Id: Iafd2bdaf814d6ceb53452632567072c00d69db6f
Signed-off-by: Satish Kodishala <[email protected]>
The qpnp-pdphy driver provides support for the PD PHY peripheral.
This along with the policy engine provides a protocol stack that
supports USB Power Delivery communication over a Type-C port.
This snapshot is taken as of msm-4.19 commit <1526c9c655ff>
("Merge "mmc: sdhci-msm: Add quirk to control debug feature"").
Fixed the compilation issues related to typeC framework for
the support of role swap. Also, remove unsupported and unused
extcon framework calls and API.
Change-Id: Ie89bd60b773a3c61f26b92cb1e1ef09847b6d46e
Signed-off-by: Sriharsha Allenki <[email protected]>
If EP is 32bit MSI capable, then MSI address is 4 bytes. Platform
driver check MSI capability before read MSI address.
Change-Id: I8157b7ba2c9ed2a8d93f168f893cf1a2e6bb50b6
Signed-off-by: Kai Liu <[email protected]>
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]>
Use GMU_AO_GPU_CX_BUSY_STATUS instead of RBBM_STATUS to check the
hardware idle status for A619_holi target.
Change-Id: Ic66e80924331d9f1a0203fd96e352c3009a4eb75
Signed-off-by: Pankaj Gupta <[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]>