Commit Graph

1156180 Commits

Author SHA1 Message Date
Manish Pandey
942880f35c ufs: ufs-qcom: enable dynamic irq affinity for ufs
If device tree includes 'qcom,prime-mask' node, enable
dynamic irq affinity feature, else keep it disable by
default. As REQ_HIPRI has been replaced with REQ_POLLED,
hence using this flag in ufs_qcom_hook_compl_command will
complete the request in hard irq context.
With this, a significant improvement is observed with
UFS 2.x devices.

--------------------------------------------------------------
                        UFS 2.2 Hynix                         |
-------------------------------------------------------------
  operation      |  default     | with irq affinity feature   |
-------------------------------------------------------------
Rnd Read (IOPS)	 |   29713	|       43221	              |
Rnd Write (IOPS) |   28094	|       44087                 |
-------------------------------------------------------------..

Change-Id: I63b0e5b2bc38a08c42a2332e8fc691a94e4983f6
Co-developed-by: Nitin Rawat <quic_nitirawa@quicinc.com>
Signed-off-by: Nitin Rawat <quic_nitirawa@quicinc.com>
Signed-off-by: Manish Pandey <quic_mapa@quicinc.com>
2023-10-18 00:59:00 -07:00
qctecmdr
2f58165738 Merge "sched/walt: make partially halted cpus equivalent cap to silvers" 2023-10-09 17:01:42 -07:00
qctecmdr
b6ae213ba3 Merge "defconfig: Enable PM7550BA Modules for Cliffs" 2023-10-09 04:54:45 -07:00
qctecmdr
2f476945b3 Merge "defconfig: Disable walt for gen3auto" 2023-10-08 22:28:08 -07:00
qctecmdr
9154550778 Merge "drivers: nvmem: qfprom: Add keepout regions for Cliffs" 2023-10-08 22:28:07 -07:00
qctecmdr
d9467752c8 Merge "ptp: qcom: snapshot of support for Time Stamp Counter(TSC) driver" 2023-10-07 23:40:05 -07:00
qctecmdr
5c7930cb72 Merge "usb: dwc3: Add sysfs param for enabling L1 suspend" 2023-10-06 18:21:03 -07:00
qctecmdr
aefadc8b51 Merge "defconfig: Enable RPMH, PDC and CMD DB for niobe" 2023-10-06 11:20:20 -07:00
qctecmdr
f8f66dad72 Merge "clk: qcom: gdsc-regulator: Remove regulator_is_enabled() calls" 2023-10-06 09:43:59 -07:00
Rakesh Kota
6dc02c43e1 defconfig: Enable PM7550BA Modules for Cliffs
Enable VIBRATOR_LDO and AMOLED modules for Cliffs platform.

Change-Id: Ic6b6f4db0ec9e1e94eb55dd535ad0c64aace472b
Signed-off-by: Rakesh Kota <quic_kotarake@quicinc.com>
2023-10-06 18:15:34 +05:30
qctecmdr
a701a9a5aa Merge "rpmsg: glink: Clear cpu affinity during native remove" 2023-10-06 00:15:21 -07:00
Shreyas K K
e74dbfcadd defconfig: Disable walt for gen3auto
Disable walt and thermal_pause driver for gen3auto targets.

Change-Id: Iff7684913510f82375a8a7e1faa2425ee59fb2ab
Signed-off-by: Shashi Shekar Shankar <quic_ssbang@quicinc.com>
Signed-off-by: Shreyas K K <quic_shrekk@quicinc.com>
2023-10-05 22:58:45 -07:00
Tushar Nimkar
7322903aef defconfig: Enable RPMH, PDC and CMD DB for niobe
This change enables RPMH, PDC and CMD DB drivers.

Change-Id: Ia6b972ce02fc5b5f8d2a631287b288378aa62f90
Signed-off-by: Tushar Nimkar <quic_tnimkar@quicinc.com>
2023-10-05 20:14:49 -07:00
Udipto Goswami
96b4170215 usb: dwc3: Add sysfs param for enabling L1 suspend
Currently the kernel implementation disables L1 in HS since
there are target which does not support gadget L1.
However, implementing this leads to Ch9 compliance
failures.
Therefore implementing a sysfs parameter through which
this can be controlled, when testing for compliance it can
be set to true and carry out the tests.

Change-Id: Ia74a9ff6e282f2b05e5b511901e82d71635d7411
Signed-off-by: Udipto Goswami <quic_ugoswami@quicinc.com>
Signed-off-by: Rajashekar kuruva <quic_kuruva@quicinc.com>
2023-10-05 19:23:16 -07:00
qctecmdr
21deffef7d Merge "ANDROID: build: Add define_dpm_image macro" 2023-10-05 18:08:21 -07:00
qctecmdr
af4b1a06e9 Merge "drivers: thermal: Add support to configure bcl ibat settings based on battery type" 2023-10-05 11:48:19 -07:00
qctecmdr
ff31902525 Merge "serial: msm_geni_serial: Retry sending Rx data if tty_insert_flip_string fails" 2023-10-05 08:09:44 -07:00
qctecmdr
b23eef54d4 Merge "defconfig: Enable qseecom proxy driver for GVM" 2023-10-05 08:09:43 -07:00
qctecmdr
44ac42f7fd Merge "usb: pd: Send extcon notification as soon as APSD detection is done" 2023-10-05 08:09:42 -07:00
qctecmdr
04041c9393 Merge "i3c-master-msm-geni: add changes for i3c counter values" 2023-10-05 08:09:42 -07:00
Jagadeesh Kona
ab64664a9f clk: qcom: gdsc-regulator: Remove regulator_is_enabled() calls
Remove regulator_is_enabled() calls in GDSC driver as they are resulting
in deadlock cases when lock debug options are enabled. But it is critical
to check if parent is enabled or not before performing any GDSC operation,
as GDSC register access requires parent to be enabled.

Use the parent's use_count to check if parent is enabled or not. For
gdsc_disable(), in most cases, parent's mutex is locked by regulator
framework before calling the gdsc_disable() callback, hence it is safe
to read use_count. But in code paths where parent lock is not acquired
by regulator framework, acquire parent's mutex before reading use_count
to avoid parent getting disabled while in the middle of GDSC operations.

For gdsc_set_mode(), parent locking is needed to avoid parent getting
disabled in the middle of set mode operation. Therefore acquire the
parent lock before checking parent is enabled or not and release the
lock at the end of set mode call using ww_mutex_lock and ww_mutex_unlock
API's.

Change-Id: Ic20f9a7478b47c9fde2e686b68d636342a4b1d48
Signed-off-by: Jagadeesh Kona <jkona@codeaurora.org>
Signed-off-by: Vivek Aknurwar <quic_viveka@quicinc.com>
Signed-off-by: Mike Tipton <quic_mdtipton@quicinc.com>
2023-10-05 07:47:45 -07:00
qctecmdr
fc685e8541 Merge "drivers: soc: qcom: Fix dependencies on WALT" 2023-10-05 00:51:05 -07:00
qctecmdr
5b1b7c3031 Merge "defconfig: Enable clock scaling for blair target" 2023-10-04 19:05:32 -07:00
qctecmdr
d810483695 Merge "drivers: dcvs: bwmon: Fix secondary vote calculation" 2023-10-04 19:05:31 -07:00
qctecmdr
55029d56b0 Merge "drivers: thermal: bcl_pmic5: use feature variables per bcl peripheral" 2023-10-04 19:05:31 -07:00
John Moon
5136a9f974 ANDROID: build: Add define_dpm_image macro
Currently, there's no way to generate a dpm.img file from the Bazel
build. As this should be generated when a dpm overlay dtbo exists,
generate it in that case.

To make use of this macro, just set dpm_overlay = True when defining
an LA target.

Change-Id: I10222499737ffb9b43cb2bac235ada66c8cae2e5
Signed-off-by: John Moon <quic_johmoo@quicinc.com>
2023-10-04 15:59:49 -07:00
qctecmdr
ae3730a124 Merge "Merge keystone/android14-6.1-keystone-qcom-release.6.1.25 (86b3899) into qcom-6.1" 2023-10-04 13:23:11 -07:00
Krishna Kurapati
34312149a8 usb: pd: Send extcon notification as soon as APSD detection is done
In some targets, it is observed that the time difference between vbus
being provided by exerciser and the terminations being applied is
more than 1 second causing failures of Type-C compliance testcases
4.10.2 and 4.10.3

When policy engine's psy changed work gets kicked in first time from
vbus present interrupt callback of charger driver, we kick in usb pd
sm work and it keeps running. Since apsd is not yet done, we don't
queue peripheral work. When apsd is done and charger driver invokes
power supply changed work, policy engine bails out as sm work is
already running although the charger type is detected as SDP/CDP and
were supposed to send an extcon notification. As a result the extcon
is sent when the sm work hits enter snk startup call and it
recognises that apsd is done and charger type is SDP or CDP and sends
extcon. This is results in a delay of roughly 1.3 seconds from the
moment vbus got detected to the moment we provide extcon notification
to dwc3-msm.

To avoid this, check for charger type and provide extcon if haven't
done already in the psy_changed_notifier_work. This reduces the time
delay to around 0.5 seconds helping resolve compliance issue.

Change-Id: I02c9a4a6b21ca75d43fd68f2447a7388210a4856
Signed-off-by: Krishna Kurapati <quic_kriskura@quicinc.com>
2023-10-04 10:41:43 -07:00
qctecmdr
bfa0380f01 Merge "i3c-master-msm-geni: add changes for ibi stuck in gsi mode" 2023-10-04 01:45:01 -07:00
qctecmdr
35ff172f9e Merge "defconfig: pineapple: Enable SDHCI_MSM_DBG for Pineapple" 2023-10-04 01:45:01 -07:00
qctecmdr
f155e58205 Merge "irqchip: mpm: Add the mpm to gic mapping for pitti" 2023-10-04 01:45:00 -07:00
Shreyas K K
c80f726b8b drivers: soc: qcom: Fix dependencies on WALT
Fix dependencies of CONFIG_SCHED_WALT in msm_performance
driver.

Change-Id: I40eab66f12b96541f2c2896a5d4ad003c8505d0a
Signed-off-by: Shreyas K K <quic_shrekk@quicinc.com>
2023-10-04 12:46:17 +05:30
qctecmdr
fef365b061 Merge "defconfig: blair: Enable SDHCI_MSM_DBG for blair" 2023-10-03 22:21:21 -07:00
qctecmdr
81ead6a48b Merge "defconfig: cliffs: Enable debug clock controller driver" 2023-10-03 20:33:22 -07:00
qctecmdr
42abc74018 Merge "clk: qcom: camcc-cliffs: Update clock ops for camera cesta clocks" 2023-10-03 20:33:22 -07:00
Naman Jain
d5b5b91992 drivers: nvmem: qfprom: Add keepout regions for Cliffs
Add the memory regions which are not valid registers as
keepout regions in qfprom driver for Cliffs.

Change-Id: I1eb5cde0438ec450c1858a01271dca042ee37f55
Signed-off-by: Naman Jain <quic_namajain@quicinc.com>
2023-10-03 21:22:19 +05:30
qctecmdr
d20049aee9 Merge "spi: spi-msm-geni: add changes for null pointer check" 2023-10-03 08:08:11 -07:00
qctecmdr
a84354ef4b Merge "drivers: Change boot kpi markers" 2023-10-03 06:23:49 -07:00
qctecmdr
a1a7b9fc01 Merge "drivers: remoteproc: Fix build error" 2023-10-03 06:23:48 -07:00
Sachin Gupta
1c128e540a defconfig: blair: Enable SDHCI_MSM_DBG for blair
Enable SDHCI_MSM_DBG for blair for ipc logging enablement.

Change-Id: I3b848ef7537e24a9989e0602d35731b3ab71d7b5
Signed-off-by: Sachin Gupta <quic_sachgupt@quicinc.com>
2023-10-03 06:12:45 -07:00
Sachin Gupta
bcdf16a17f defconfig: pineapple: Enable SDHCI_MSM_DBG for Pineapple
Enable SDHCI_MSM_DBG for Pineapple for ipc logging enablement.

Change-Id: I93fbaf3418fafbcb9d0c2c27a5fe0840d4195953
Signed-off-by: Sachin Gupta <quic_sachgupt@quicinc.com>
2023-10-03 06:12:13 -07:00
qctecmdr
921432bfa1 Merge "arm64: defconfig: enable stub regulators for niobe" 2023-10-03 04:36:48 -07:00
Shivnandan Kumar
15f8d2f15a drivers: dcvs: bwmon: Fix secondary vote calculation
The secondary vote path that utilizes bus width is using the
primary vote as a frequency when it should be using the primary
vote in units of MBPS. Save and use the primary vote in MBPS to
fix the calculation.

Change-Id: I16fc11d84c820b3e3400ecd6acd1be97782a772a
Signed-off-by: Shivnandan Kumar <quic_kshivnan@quicinc.com>
2023-10-03 16:25:56 +05:30
Raghavendra Kakarla
f0488d2010 irqchip: mpm: Add the mpm to gic mapping for pitti
This patch adds the mpm to gic mapping for the wakeup capable
interrupt so that these interrupts can wakeup the APSS from
rpm assisted sleep.

Change-Id: Ic374277b8c01dea3c0f729c9b7d9367d20d16abb
Signed-off-by: Raghavendra Kakarla <quic_rkakarla@quicinc.com>
2023-10-03 16:17:49 +05:30
Anil Veshala Veshala
c24a464fd4 i3c-master-msm-geni: add changes for ibi stuck in gsi mode
If i3c geni master driver receives Nack or timeout, then
driver does gsi stop sequence, if i3c bus is idle
stop command is executed by IBI controller. During the
execution of stop command, IBI can be received from the slave.
IBI controller FSM cannot handle stop command execution
when BUS is not IDLE, so IBI is stuck never recovered.
To solve this added stall bit for every transfer, it will
stretch the clock line, so bus will not release, will release
the bus by generating stop command after last transfer done.
This complete sequence is as per the HW suggested SW workaround.

Change-Id: I45a95f992ff263351090401ae5e07e7f37e2e29d
Signed-off-by: Anil Veshala Veshala <quic_aveshala@quicinc.com>
2023-10-03 03:02:27 -07:00
qctecmdr
63495676f8 Merge "soc: qcom: glink_pkt: Adjust skb pointers correctly to avoid memleak" 2023-10-02 23:57:33 -07:00
qctecmdr
566e9790d6 Merge "drivers: rpmsg: Increase priority of glink worker thread" 2023-10-02 23:57:33 -07:00
Singa Reddy Dasari
fbe03244bc defconfig: Enable qseecom proxy driver for GVM
Add defconfig change to enable qseecom_proxy driver for GVM.

Change-Id: I1f135bbb934ea57fbd1e92c094fc835d75512a36
Signed-off-by: Singa Reddy Dasari <quic_singredd@quicinc.com>
2023-10-02 23:20:27 -07:00
Naina Mehta
6d76965d74 drivers: remoteproc: Fix build error
Fix below compilation error due to unused function

qcom_rproc.h:60:12: error: unused function
'\''qcom_rproc_set_dtb_firmware'\'' [-Werror,-Wunused-function].

Change-Id: I9a38dee54d0415408d5a940b3c662a566c894d38
Signed-off-by: Naina Mehta <quic_nainmeht@quicinc.com>
2023-10-03 11:20:03 +05:30
Jishnu Prakash
b7af09dc13 arm64: defconfig: enable stub regulators for niobe
Enable stub regulators driver for niobe

Change-Id: I6e445486c6a5c32d855159b1e083871a91c5865c
Signed-off-by: Jishnu Prakash <quic_jprakash@quicinc.com>
2023-10-02 22:06:30 -07:00