Commit graph

888,011 commits

Author SHA1 Message Date
Laxminath Kasam
87edd6ebed soc-compress: Update error handling to cleanup backend
In soc compress open fail, handle cleanup of backend
to avoid backend related issues after it during
stability SSR(Subsystem restart) tests.

Change-Id: Ib4417668e308f191b832d06601ef64bfa3bcd318
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2020-07-30 14:19:12 +05:30
qctecmdr
6c24075f63 Merge "sched/fair: Fix need_idle argument in sched_task_util trace point" 2020-07-25 20:50:44 -07:00
qctecmdr
d67b23979d Merge "scsi: ufs: Fix overlapping quirks" 2020-07-25 20:50:43 -07:00
qctecmdr
41038b1c3d Merge "drivers: thermal: use zero C status as sensor value instead of min temp" 2020-07-25 20:50:43 -07:00
qctecmdr
1186f5a29f Merge "sched/tracing: GKI friendly long preempt/irq disable traces" 2020-07-25 18:29:34 -07:00
Manaf Meethalavalappu Pallikunhi
09b2ed6d5f drivers: thermal: use zero C status as sensor value instead of min temp
The Zero C sensor reports TSENS controller min temperature as its
sensor value to the thermal framework. It requires a low trip
monitor governor in thermal framework to monitor cold
temperature condition.

Instead of min temp value, use TSENS Zero C interrupt status as
sensor value. It removes the need for cold trip monitoring
governor and uses the existing governors to monitor the cold trip
condition and trigger mitigation.

Change-Id: I8bc3a76c5868d679d5f057f8722306a5b8d3fc98
Signed-off-by: Manaf Meethalavalappu Pallikunhi <manafm@codeaurora.org>
2020-07-26 00:34:33 +05:30
qctecmdr
3ea5777d6d Merge "soc: qcom: mem-offline: log additional time stats" 2020-07-25 10:33:07 -07:00
qctecmdr
74cb3f1518 Merge "drivers: pinctrl: sdxlemur: add GPIO PDC map" 2020-07-25 10:33:07 -07:00
qctecmdr
414e4eab87 Merge "defconfig: Enable TouchScreen for holi target" 2020-07-25 10:33:07 -07:00
qctecmdr
5bb01a933f Merge "drivers: thermal: regulator-cdev: Snapshot of regulator cooling device" 2020-07-25 10:33:06 -07:00
qctecmdr
dcf461e106 Merge "kernel: sound: remove decoder structure definition" 2020-07-25 10:33:06 -07:00
qctecmdr
e2300e65af Merge "power: supply: qti_battery_charger: Keep device awake during notification" 2020-07-25 05:28:33 -07:00
qctecmdr
713d457dd8 Merge "clk: qcom: gcc-lahaina: Update video_axi clks to clk_branch2_force_off_ops" 2020-07-25 05:28:32 -07:00
qctecmdr
2d79ce50e8 Merge "clk: qcom: gcc-shima: Update video_axi clks to clk_branch2_force_off_ops" 2020-07-25 05:28:32 -07:00
qctecmdr
cb0f69cb82 Merge "scsi: ufs-qcom: Skip getting fsm state in dme context" 2020-07-25 05:28:31 -07:00
qctecmdr
bf2fe2b10e Merge "dwc3: gadget: Don't perform SET XFER resource with USB GSI endpoint" 2020-07-25 05:28:30 -07:00
qctecmdr
110a3de4c5 Merge "scsi:ufs: Keep UFS's high power mode when bkops enabled" 2020-07-25 05:28:30 -07:00
qctecmdr
fefc08c046 Merge "ufs: ufs-qcom: add device quirk for Micron to avoid OCP" 2020-07-25 05:28:29 -07:00
qctecmdr
144969d49c Merge "defconfig: msm: enable remote debugger driver" 2020-07-25 02:58:24 -07:00
qctecmdr
b9028a4dc6 Merge "soc: qcom: pil: Do not do complete ramdump for minidump elf32" 2020-07-25 02:58:23 -07:00
qctecmdr
7d160a1847 Merge "ABI: Update snapshot with CRC information" 2020-07-24 22:04:31 -07:00
Lina Iyer
40d93f100f drivers: pinctrl: sdxlemur: add GPIO PDC map
Add GPIO pins that are routed to PDC interrupt controller and can be
used as wakeup capable GPIOs.

Change-Id: If2044dfe89f7593ee3a6fd843866d4f86f3f42a6
Signed-off-by: Lina Iyer <ilina@codeaurora.org>
Signed-off-by: Tushar Nimkar <tnimkar@codeaurora.org>
2020-07-24 21:30:45 -07:00
Lina Iyer
930b53c4f8 defconfig: enable power management functionality for sdxlemur
Enable PDC, RPMH, LPM, Master/SoC sleep stats, CommandDB modules for
sdxlemur.

Change-Id: I8e3f6aa2fdff3653352dd653d60a29af06f95b8a
Signed-off-by: Lina Iyer <ilina@codeaurora.org>
Signed-off-by: Tushar Nimkar <tnimkar@codeaurora.org>
2020-07-24 21:30:31 -07:00
Sudarshan Rajagopalan
e44f87c449 soc: qcom: mem-offline: log additional time stats
With active-mode memory offlining, it would be helpful to track the
total Online and Offline times of each blocks and determine percentage
of time they have been in that state.
This patch adds the below additional stats:
   - current state of each blocks.
   - total Online and Offline time of each blocks.
   - percentage of total system runtime that blocks were in Online
     and Offline state.
   - total overall percentage of time all blocks were in Online
     and Offline state.

Also, change the sysfs node from 'perf_stats' to 'stats'.

Change-Id: Ie18ad68194df8c7702dc496821c4f680d15486ce
Signed-off-by: Sudarshan Rajagopalan <sudaraja@codeaurora.org>
2020-07-24 19:03:04 -07:00
qctecmdr
cb65dc2405 Merge "interconnect: qcom: Add interconnect provider driver for Holi" 2020-07-24 13:58:29 -07:00
qctecmdr
0335c137a1 Merge "NFC: Enable NFC driver in the GKI build" 2020-07-24 13:58:29 -07:00
qctecmdr
6ae2b201ee Merge "defconfig: holi: Enable dispcc and debugcc" 2020-07-24 13:58:29 -07:00
qctecmdr
20d60aee97 Merge "usb: dt-bindings: Add USB QMP PHY registers definition" 2020-07-24 13:58:28 -07:00
qctecmdr
05449c45eb Merge "msm: kgsl: Make sure first boot sequence is complete during touch event" 2020-07-24 13:58:28 -07:00
qctecmdr
a5bfd60250 Merge "phy: ufs: Add UFS PHY support for Holi" 2020-07-24 13:58:27 -07:00
qctecmdr
aa27bd9421 Merge "net: qrtr: ns: Change to ratelimited prints" 2020-07-24 13:58:27 -07:00
Subbaraman Narayanamurthy
ab0ec461ec power: supply: qti_battery_charger: Keep device awake during notification
With charger mode enabled in android, device boots into charger
mode when it is powered on with USB insertion. In this mode,
health HAL and charger service handles the power supply uevents
sent from power supply framework to take certain actions. For
example, when the USB or travel adapter (TA) is removed, device
would shut down in 10 seconds.

With a TA connected, device can enter suspend whenever possible
during charging. When the TA is removed after the device has
entered suspend, device comes out of suspend upon the notification
received from charger firmware (CHGFW) over PMIC Glink. Battery
charger driver handles this and calls power_supply_changed on one
of the power supply devices. However, before this uevent is
received and handled by charger service in the userspace, device
can enter suspend immediately.

In a low power discharging state, device stays in this state for
minutes until it gets another notification from CHGFW for battery
power supply, a periodic event which makes charger service to
initiate a shutdown. This conflicts with the user expectation
where the device has to shutdown in 10 seconds upon TA removal.

Workaround this problem by keeping the device awake for at least
50 ms when a notification is received from CHGFW. This way,
userspace process like charger could get a chance to receive and
handle the power supply uevents.

Change-Id: I9ea78eb6565988ffac0e6c5eee1ccae8dc7e3e3a
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
2020-07-24 12:48:00 -07:00
Neeraj Upadhyay
d7b8ff66af soc: qcom: pil: Do not do complete ramdump for minidump elf32
If minidump is configured to be ELF32, avoid using complete
ramdump property, so that only the required segments area is
dumped.

Change-Id: I34fe359204309fda47d0a665ca641cb042d87054
Signed-off-by: Neeraj Upadhyay <neeraju@codeaurora.org>
Signed-off-by: Mukesh Ojha <mojha@codeaurora.org>
2020-07-25 00:23:57 +05:30
Siddharth Gupta
663f3e928f ABI: Update snapshot with CRC information
Update the ABI snapshot version with the release of the new feature in
libabigail which also does CRC checks.

Change-Id: I0112a733015f608d53351c96a56f86e9086aee76
Signed-off-by: Siddharth Gupta <sidgup@codeaurora.org>
2020-07-24 10:30:38 -07:00
Neeraj Upadhyay
b82c85fc28 soc: qcom: pil: Add property to change minidump ELF format
Add a new property, to dump minidump ELF in ELF32 format,
as some subsystems do not support the default format,
which is ELF64.

Change-Id: I87bc46097b4dfc0be44f0904823c5e88c476c86b
Signed-off-by: Neeraj Upadhyay <neeraju@codeaurora.org>
Signed-off-by: Mukesh Ojha <mojha@codeaurora.org>
2020-07-24 21:12:42 +05:30
qctecmdr
cf47a88635 Merge "scripts: gki: Disable DEBUG_FS for user variant builds" 2020-07-24 05:35:52 -07:00
qctecmdr
e140d708bc Merge "cpuidle: lpm-levels: Remove dependency on QGKI" 2020-07-24 05:35:52 -07:00
qctecmdr
7eeabad75c Merge "arm64: defconfig: remove mass storage as module" 2020-07-24 05:35:51 -07:00
qctecmdr
c08fc62dee Merge "mm/oom_kill: Online memory before running oom-killer" 2020-07-24 05:35:51 -07:00
qctecmdr
bccedceede Merge "scsi: ufs: Support query the spm/rpm level from device tree" 2020-07-24 05:35:51 -07:00
qctecmdr
6a0fedb06d Merge "pinctrl: set gpio 4 and 5 for qup14" 2020-07-24 05:35:50 -07:00
qctecmdr
0cfa8998e3 Merge "clk: qcom: clk-alpha-pll: Add support for Lucid EVO PLL" 2020-07-24 05:35:50 -07:00
qctecmdr
5c84a3c750 Merge "mhi: core: Error handling for pending packets in mission_mode" 2020-07-24 05:35:49 -07:00
Pavankumar Kondeti
1f833081fb sched/tracing: GKI friendly long preempt/irq disable traces
Hook into preemptirq trace points and print the call stacks of
scenarios where preemption/irqs is disabled for more than
a use configured threshold. The threshold tunables are available
under /proc/sys/preemptirq directory. All the units are in nano seconds.

The following commands can be used to enable the trace. The stacktrace
trigger prints the stacktrace when the trace event is printed.

echo 1 > /d/tracing/events/preemptirq_long/enable
echo stacktrace > /d/tracing/events/preemptirq_long/preempt_disable_long/trigger
echo stacktrace > /d/tracing/events/preemptirq_long/irq_disable_long/trigger

Sample output is copied below. Note that this format works with both systrace
and commandline ftrace utilities.

   init-1     [005] d..2   187.905211: irq_disable_long: delta=15244480(ns)
   init-1     [005] d..3   187.905216: <stack trace>

 => test_irq_disable_long
 => trace_irq_enable_rcuidle
 => trace_hardirqs_on
 => console_unlock
 => vprintk_emit
 => devkmsg_emit
 => devkmsg_write
 => do_iter_readv_writev
 => do_iter_write
 => do_writev
 => __arm64_sys_writev
 => el0_svc_common
 => el0_svc_handler
 => el0_svc

   kworker/u16:4-419   [000] .N.2   187.905221: preempt_disable_long: delta=4923646(ns)
   kworker/u16:4-419   [000] .N.3   187.905226: <stack trace>
 => test_preempt_disable_long
 => trace_preempt_enable_rcuidle
 => trace_preempt_on
 => preempt_count_sub
 => perf_event_read
 => __perf_event_read_value
 => perf_event_read_value
 => memlat_monitor_work
 => process_one_work
 => worker_thread
 => kthread
 => ret_from_fork

Change-Id: If87a8d65359632b93da10b691e9b83e37000aeb3
Signed-off-by: Pavankumar Kondeti <pkondeti@codeaurora.org>
2020-07-24 12:40:43 +05:30
qctecmdr
e5d856962d Merge "rpmsg: glink: Update signals interface" 2020-07-23 19:13:20 -07:00
qctecmdr
ca81e969e7 Merge "coresight: cti: Add sys interface to show max trigger number" 2020-07-23 19:13:20 -07:00
qctecmdr
aab3d4b120 Merge "usb: gadget: Fix interface descriptor fields for QTI functions" 2020-07-23 19:13:19 -07:00
qctecmdr
816aefccc5 Merge "usb: dwc3: gadget: Rate limit error message within ep_dequeue() API" 2020-07-23 19:13:19 -07:00
qctecmdr
a54a082997 Merge "adsprpc: set QoS only to silver cluster" 2020-07-23 19:13:18 -07:00
Asutosh Das
e9e5be4778 scsi: ufs: Fix overlapping quirks
Fixes overlapping quirk definittions.

Change-Id: I27ce3f3d1e855d4463f68ff09c41efee18e0f2f0
Signed-off-by: Asutosh Das <asutoshd@codeaurora.org>
2020-07-23 14:58:41 -07:00