Commit Graph

1115886 Commits

Author SHA1 Message Date
Tao Zhang
edcceebfd9 coresight: Add the coresight qmi head file
Add the coresight qmi head file since the remote etm need it
support.

Change-Id: I282abfab76be5149dca2496bb9583951f760f17e
Signed-off-by: Tao Zhang <quic_taozha@quicinc.com>
Signed-off-by: Mao Jinlong <quic_jinlmao@quicinc.com>
2022-09-22 19:29:16 -07:00
qctecmdr
db78883a87 Merge "arm64: defconfig: Enable SLIMBUS configs on Pineapple" 2022-09-21 06:35:27 -07:00
Chandana Kishori Chiluveru
1229ef03d3 arm64: defconfig: Enable SLIMBUS configs on Pineapple
Enable Slimbus drivers as module in defconfig on Pineapple.

Change-Id: I1acf9e75a283e0094bdc74d9c5593896980ebe05
Signed-off-by: Chandana Kishori Chiluveru <quic_cchiluve@quicinc.com>
2022-09-21 11:51:52 +05:30
qctecmdr
6d0045aaf5 Merge "sched/walt: fix busy time accounting for tasks moving between groups" 2022-09-20 21:50:30 -07:00
qctecmdr
de01039390 Merge "cpufreq: qcom-hw: clear thermal pressure when thermal condition exits" 2022-09-20 20:16:16 -07:00
qctecmdr
2c82740419 Merge "defconfig: pineapple-gki: Enable PDR notif. timeouts" 2022-09-20 20:16:15 -07:00
qctecmdr
5de0993608 Merge "soc: qcom: Minidump support for VMs" 2022-09-20 18:20:18 -07:00
qctecmdr
59eb204df3 Merge "soc: qcom: pdr: Add logging after indack is sent" 2022-09-20 18:20:18 -07:00
Abhijeet Dharmapurikar
8c2844c025 sched/walt: fix busy time accounting for tasks moving between groups
Currently the code subtracts busy time when a task is being migrated.
IOW migrate_busy_time_subtraction is called in set_task_cpu hook.

And the code adds busy time in an after-migration enqueue IOW
enqueue_after_migration is seen set in enqueue hook.

Both the above operations happen under the prev_cpu and next cpu rq
lock respt.

Now a task could exit or enter group after the migration and before
the enqueue i.e. transfer_busy_time could be called when
enqueue_after_migration is set. This could lead to -ve load bugs as
we have  only subtracted the load and not added it.

To address this, complete the addition step in
transfer_busy_time() itself,  prior to moving the busy time,
if a task is found to be migrating.

Change-Id: Ifa7a2b017763392431dfa5407ec9dbde76d90019
Signed-off-by: Abhijeet Dharmapurikar <quic_adharmap@quicinc.com>
2022-09-20 12:19:53 -07:00
qctecmdr
2c7855a1a8 Merge "ARM: config: msm: Enabling config for GENI based serial drivers" 2022-09-20 05:45:43 -07:00
qctecmdr
6356615785 Merge "soc: qcom: smem: Add inline function when SMEM is not enabled" 2022-09-20 02:26:33 -07:00
Anil Veshala Veshala
9dc6a7af57 ARM: config: msm: Enabling config for GENI based serial drivers
Enable compilation for GENI based peripheral protocols like i2c, i3c,
spi, uart, gsi.

Change-Id: Ic3ac6596ba912135f56f3583442cd92714978269
Signed-off-by: Anil Veshala Veshala <quic_aveshala@quicinc.com>
2022-09-19 22:57:52 -07:00
qctecmdr
067e89239a Merge "usb: phy: Turn on PHY clks with phy_init() when EUD is enabled" 2022-09-19 17:42:35 -07:00
Guru Das Srinagesh
9ed772b85c defconfig: pineapple-gki: Enable PDR notif. timeouts
Enable kernel panic upon timeout expiry of PDR notification and set
timeout to 9 seconds.

Change-Id: Ifb7a8e35265194b4c37215db471619c402da5a2a
Signed-off-by: Guru Das Srinagesh <quic_gurus@quicinc.com>
2022-09-19 16:11:01 -07:00
Mukesh Ojha
33ad78c141 soc: qcom: pdr: Add PDR notification timeout handler
This is a debug feature where a kernel panic is triggered when
pdr notification to the APPS client is taking too long. This scenario
can happen if the one of notifier gets stuck and due to which subsystem
did not get ack back from APPS in time and trigger timeout panic.
So, trigger a kernel panic in APPS if PDR notifications is taking
too long.

Change-Id: Ic58c421723a71ba87ba0306617eafc2ed39b6ee2
Signed-off-by: Mukesh Ojha <quic_mojha@quicinc.com>
Signed-off-by: Gokul krishna Krishnakumar <quic_gokukris@quicinc.com>
[quic_gurus@quicinc.com: Dropped kalama_GKI.config change]
Signed-off-by: Guru Das Srinagesh <quic_gurus@quicinc.com>
2022-09-19 16:08:54 -07:00
Gokul krishna Krishnakumar
e4dd10a51a soc: qcom: pdr: Add logging after indack is sent
This change adds logging after the indack is sent. This helps in debugging
the communication between APSS and Q6.

Change-Id: I0c4a89480e684dff4eb91e95fe4071f6b90824f9
Signed-off-by: Siddharth Gupta <sidgup@codeaurora.org>
Signed-off-by: Gokul krishna Krishnakumar <quic_gokukris@quicinc.com>
2022-09-19 15:56:33 -07:00
qctecmdr
6a5734f701 Merge "coresight: Add trace noc support" 2022-09-19 13:27:16 -07:00
qctecmdr
e59f6b2192 Merge "iio: adc: qcom-spmi-adc5-gen3: Increase HS_READY poll wait time to 15 ms" 2022-09-19 11:39:44 -07:00
qctecmdr
eda9d87efa Merge "defconfig: pineapple-consolidate: enable CONFIG_QTI_PMIC_GLINK_CLIENT_DEBUG" 2022-09-19 11:39:44 -07:00
qctecmdr
e0bc90b427 Merge "ANDROID: abi_gki_aarch64_qcom: Update symbol list" 2022-09-19 09:00:31 -07:00
Mao Jinlong
10de05b8fe coresight: Add trace noc support
This driver provides the support to program the hardware of
Trace Noc component when enable the source which is connected to
Trace Noc.  Trace NoC is a interconnect that is used
to collect trace from various subsystems and transport it
QDSS trace sink.

Change-Id: I70ebda4142be066bc15d8809d7ffe3bdbee10fb9
Signed-off-by: Mao Jinlong <quic_jinlmao@quicinc.com>
2022-09-18 23:04:40 -07:00
qctecmdr
a5b6faf118 Merge "bus: mhi: host: Add snapshot of MHI bus misc driver" 2022-09-18 20:39:10 -07:00
qctecmdr
30ea05d7e3 Merge "defconfig: pineapple-gki: enable qti-fixed-regulator driver" 2022-09-16 22:04:56 -07:00
David Collins
bf9c8bd72f defconfig: pineapple-gki: enable qti-fixed-regulator driver
Enable the qti-fixed-regulator driver so that proxy consumer
voting and debug features may be used for fixed regulator
devices.

Change-Id: Ia7946a3d82f12b22463e5446a9540e27970c7679
Signed-off-by: David Collins <quic_collinsd@quicinc.com>
2022-09-16 17:39:18 -07:00
Vivek Aknurwar
5c773b992d cpufreq: qcom-hw: clear thermal pressure when thermal condition exits
clear thermal pressure when thermal polling is stopped as throttle
frequency is greater than what scheduler or cpu are set to.

This change prevents throttle loop exiting with stale, non-zero
thermal pressure resulted from race condition of requested frequency
change after throttle_freq condition check in throttle loop.

Change-Id: If9c40e20350c5d33b3ad7a58cfe213eeb5dda74b
Signed-off-by: Vivek Aknurwar <quic_viveka@quicinc.com>
2022-09-16 13:36:30 -07:00
Subbaraman Narayanamurthy
be9c6d09a2 defconfig: pineapple-consolidate: enable CONFIG_QTI_PMIC_GLINK_CLIENT_DEBUG
Enable CONFIG_QTI_PMIC_GLINK_CLIENT_DEBUG in pineapple-consolidate
defconfig so that debug features can be enabled in altmode-glink,
qti_battery_debug and qti_battery_charger drivers.

Change-Id: I2d0ef18d061237a256c008aa971096879141a5fa
Signed-off-by: Subbaraman Narayanamurthy <quic_subbaram@quicinc.com>
2022-09-16 13:17:11 -07:00
Subbaraman Narayanamurthy
a4f4568bfb defconfig: pineapple: enable PMIC_GLINK driver and its clients
Enable PMIC Glink driver and its clients for pineapple to support
battery charging, Type-C, altmode and the drivers that help with
debugging them.

Change-Id: Ib386a198d9de3e441e2fce650beca44a5bdfd6e3
Signed-off-by: Subbaraman Narayanamurthy <quic_subbaram@quicinc.com>
2022-09-16 13:15:00 -07:00
Cong Zhang
accaa1e653 soc: qcom: Minidump support for VMs
Add minidump support for VMs. RM call is used to manage regions of VMs.

Change-Id: I85a21223e13f2a8477919858aebaca8b11b5faeb
Signed-off-by: Cong Zhang <quic_congzhan@quicinc.com>
2022-09-15 23:02:36 -07:00
Cong Zhang
75dda42eb8 soc: qcom: smem: Add inline function when SMEM is not enabled
Add inline function to fix compile issue when smem is called but not
enabled.

Change-Id: If31fc795fb5f42a1f221780d3d98e362766cca59
Signed-off-by: Cong Zhang <quic_congzhan@quicinc.com>
2022-09-15 23:02:23 -07:00
Cong Zhang
fa538cea6d soc: qcom: Dynamically allocate minidump table
Dynamically allocate minidump table when driver probe to decrease memory
usage.

Change-Id: I6575cedef615184ff5131acc5bd82c6419a81cbd
Signed-off-by: Cong Zhang <quic_congzhan@quicinc.com>
2022-09-15 22:58:46 -07:00
qctecmdr
f5b4182b5b Merge "serial: msm_geni_serial: Add snapshot of serial UART driver" 2022-09-15 20:23:25 -07:00
qctecmdr
d0cc8e457b Merge "spi: spi-msm-geni: Add SPI GENI driver snapshot for pineapple" 2022-09-15 20:23:24 -07:00
qctecmdr
474d61ff87 Merge "bus: mhi: devices: Add snapshot of MHI devices driver" 2022-09-15 20:23:24 -07:00
qctecmdr
23281288c6 Merge "bus: mhi: controllers: Add snapshot of MHI controller driver" 2022-09-15 20:23:24 -07:00
qctecmdr
d40ff4f7b0 Merge "i2c:i2c-msm-geni: Add I2C GENI driver snapshot for pineapple" 2022-09-15 19:02:02 -07:00
qctecmdr
1f0605da88 Merge "i3c: i3c-master-qcom-geni: Add I3C GENI driver snapshot" 2022-09-15 19:01:58 -07:00
qctecmdr
048f6d5b62 Merge "defconfig: pineapple-gki: Enable QCOM_RAMDUMP" 2022-09-15 17:38:22 -07:00
qctecmdr
fa073dcc43 Merge "soc: qcom: Add snapshot of ramdump driver" 2022-09-15 16:17:01 -07:00
qctecmdr
2bd9e0a08f Merge "soc: qcom: socinfo: correct partid conditional check" 2022-09-15 14:55:18 -07:00
qctecmdr
633ded3358 Merge "gunyah: gh_rm_drv: Add RM interface for minidump support" 2022-09-15 13:28:34 -07:00
qctecmdr
82fe4ec23e Merge "coresight-tmc: Add usb support to coresight tmc etr" 2022-09-15 13:28:33 -07:00
qctecmdr
57624c29c3 Merge "input: qcom-hv-haptics: update configuration for PATx_MEM mode" 2022-09-15 07:27:55 -07:00
qctecmdr
e9121ba6f6 Merge "input: qcom-hv-haptics: Toggle EN_CTL for PM5100 v1.0" 2022-09-15 06:04:33 -07:00
qctecmdr
1b01aeed5c Merge "input: qcom-hv-haptics: move predefined effect preload logging" 2022-09-15 04:34:28 -07:00
Anil Veshala Veshala
06641312bd i3c: i3c-master-qcom-geni: Add I3C GENI driver snapshot
This is a snapshot of I3C GENI driver and associated file as of msm-5.15
'commit 9b48a7431cacec7 ("i3c: i3c-master-msm-geni: Fix DAA process
from GENI I3C master")'.

Change-Id: I5cead40609c9489bf60c23e49349171c25579fe6
Signed-off-by: Anil Veshala Veshala <quic_aveshala@quicinc.com>
2022-09-14 23:25:35 -07:00
Anil Veshala Veshala
a81b274890 serial: msm_geni_serial: Add snapshot of serial UART driver
This snapshot is taken as of msm-5.15 'commit 8faf434d5fa0
("serial: msm_geni_serial: Update logs in vote_clock_on &
vote_clock_off")'.

Change-Id: I69d602419e6e0cd2c1be349a141f7116134569f8
Signed-off-by: Anil Veshala Veshala <quic_aveshala@quicinc.com>
2022-09-14 23:22:30 -07:00
Anil Veshala Veshala
4f5569c850 i2c:i2c-msm-geni: Add I2C GENI driver snapshot for pineapple
This is a snapshot of I2C GENI driver and associated files
as of msm-5.15 'commit d2769a2c9a5b1 ("i2c:i2c-msm-geni:
Updating last mark busy failure case")'.

Change-Id: I2993ee80034e46eb3413cdfd37d6a1256e45a338
Signed-off-by: Anil Veshala Veshala <quic_aveshala@quicinc.com>
2022-09-14 23:22:18 -07:00
Anil Veshala Veshala
7230c4ab1d spi: spi-msm-geni: Add SPI GENI driver snapshot for pineapple
This is a snapshot of SPI GENI driver and associated files
as of msm-5.15 'commit 086bf6b97b ("msm: spi: spi-msm-geni:
update icc bw voting values")'.

Change-Id: Idf37d8716d9619384bbb9de550b77f71645fa25f
Signed-off-by: Anil Veshala Veshala <quic_aveshala@quicinc.com>
2022-09-14 22:40:48 -07:00
Lazarus Motha
f1f4164c4f bus: mhi: host: Add snapshot of MHI bus misc driver
This is a snapshot of MHI bus misc driver from msm-5.15
commit 1a84bdeed262 ("bus: mhi: core: Add snapshot
of MHI bus misc driver").

Change-Id: If606eee09983d27e291acb7fb85f268a1fe63cb2
Signed-off-by: Lazarus Motha <quic_lmotha@quicinc.com>
2022-09-14 22:33:00 -07:00
qctecmdr
51372d1749 Merge "build.targets: Add pineapple and kkp vm to build target" 2022-09-14 21:52:33 -07:00