Commit Graph

1164238 Commits

Author SHA1 Message Date
qctecmdr
30e24ee1ac Merge "drivers: irqchip: qcom-pdc: Update to correct format specifiers" 2024-04-01 11:17:47 -07:00
qctecmdr
013426ce43 Merge "usb: dwc3-msm: Update the values in bus_vote_store" 2024-04-01 09:08:10 -07:00
qctecmdr
169b879a56 Merge "modules.list: Pitti: Add minidump related modules to first stage" 2024-04-01 09:08:09 -07:00
lixiang
6764b34222 soc: qcom: hab: Print vchan in error handling
Add virtual channel info print in the error handling of memory
sharing functions.

Change-Id: If0b2b004a8d500db0c8884a0417c758f10245053
Signed-off-by: lixiang <quic_lixian@quicinc.com>
2024-04-01 23:43:02 +08:00
Paras Sharma
a300bb8a36 pci: msm: Don't dump debug info for linkdown due to device removal
Some hot-pluggable endpoints like SDXC can be removed on the fly. When the
card is removed without gracefully shutting it down. Then PCIe driver can
see a link-down event (as the physical connection has broken) even before
PCIe driver terminates the link.

For such intentional/expected link-down events, we don't need to dump all
the PCIe register info.

This change is to distinguish between normal link-down and link-down due
to card removal and to skip duping debug info in the latter case. It
makes use of the card-presence pin to identify card is present or not.
When it sees a link-down without the card present, then it treats this
link-down as an intentional link-down and skips dumping PCIe registers.

Change-Id: Ifbcf8bae2558b4440ace9c042f6c76a43dce4354
Signed-off-by: Paras Sharma <quic_parass@quicinc.com>
2024-04-01 19:43:34 +05:30
LADI RAM SAI
7018becc91 serial: msm_geni_serial: Add the conditional check for Deepsleep
In kernel-5.15 we have driver called power_state.c. power_state.c
updated the state via pm_set_suspend_via_firmware(), From kernel 6.1
onward we are not using power_state.c due to GKI compliance. So,
we are updating the state via pm_suspend_target_state.

Change-Id: I9a071d485589f9530324bf80db6c206546a21966
Signed-off-by: LADI RAM SAI <quic_lramsai@quicinc.com>
2024-04-01 03:51:10 -07:00
Tushar Nimkar
35056a0cad drivers: irqchip: qcom-pdc: Update to correct format specifiers
unsigned long uses %lu format specifer, this change updates to same.

Change-Id: I20a3a3c3b705dbd24761bbe9c655fa5d88914a56
Signed-off-by: Tushar Nimkar <quic_tnimkar@quicinc.com>
Signed-off-by: Maulik Shah <quic_mkshah@quicinc.com>
2024-04-01 14:30:39 +05:30
qctecmdr
76ed4e2265 Merge "leds: leds-qti-flash: replace spin_{un}lock with its irq variants" 2024-03-31 23:01:44 -07:00
qctecmdr
ccb8b2065d Merge "hgsl: enable support for large ib number" 2024-03-31 23:01:43 -07:00
qctecmdr
8cc29a1ce0 Merge "usb: phy: Turn on PHY clks when EUD is enabled in bootloader" 2024-03-31 23:01:42 -07:00
qctecmdr
0d1aa58901 Merge "soc: qcom: socinfo: Add support for QXR platforms" 2024-03-31 23:01:41 -07:00
qctecmdr
e536d5ab27 Merge "dt-bindings: mailbox: Add client and signal support for audiolite" 2024-03-31 20:27:01 -07:00
Subramanian Ananthanarayanan
08a7e87926 pci: msm: Update NTN3 de-emphasis values via I2C
Change is to update the de-emphasis value of NTN3
via i2c register writes to resolve link failure
issues seen on MBB platforms.

Change-Id: If90e5efc19691a14c3d5f12af78df9ff5c2b2a25
Signed-off-by: Subramanian Ananthanarayanan <skananth@codeaurora.org>
Signed-off-by: Krishna chaitanya chundru <quic_krichai@quicinc.com>
Signed-off-by: Yogesh Jadav <quic_yjadav@quicinc.com>
Signed-off-by: Joco Zhang <quic_pingshen@quicinc.com>
2024-03-31 18:02:54 -07:00
qctecmdr
13b8862414 Merge "defconfig: Update PDR and enable RPROC notif timeouts" 2024-03-31 07:06:48 -07:00
Jishnu Prakash
ecf12ba0e3 defconfig: niobe: enable AP72200 regulator
Enable AP72200 regulator needed for ToF sensor.

Change-Id: I5fe053db590273f7814d55b225832bb64ac966c0
Signed-off-by: Jishnu Prakash <quic_jprakash@quicinc.com>
2024-03-31 18:18:25 +05:30
Meena Pasumarthi
29d645bd38 defconfig: Update PDR and enable RPROC notif timeouts
1. Enable panicking upon notification timeout and also
increase timeout values to 20 s from the default 10 s.
2. Add PDR timeout configs for notification in niobe
and also increase timeout to 9 sec.

Change-Id: I27a842e776535fb19b61edb4c6e18a3c2cf3dccd
Signed-off-by: Meena Pasumarthi <quic_pasumart@quicinc.com>
2024-03-31 12:43:20 +05:30
Lijuan Gao
e0652d9e82 soc: qcom: socinfo: Add support for QXR platforms
Add support for QXR hw platforms in socinfo driver.

Change-Id: Iddbf49c76fa231bdd2a88a63cac2196093f7df36
Signed-off-by: Lijuan Gao <quic_lijuang@quicinc.com>
2024-03-31 12:09:53 +08:00
qctecmdr
9bb357b977 Merge "net: qrtr: mhi: Return error code for wait timeout" 2024-03-30 07:31:41 -07:00
qctecmdr
3809b0f24f Merge "sched:walt: skip walt_disabled check in "android_rvh_build_perf_domains"" 2024-03-30 07:31:41 -07:00
qctecmdr
a8c6fa47fd Merge "arm-smmu: Fix an empty list_head accessing" 2024-03-30 07:31:40 -07:00
Raviteja Laggyshetty
d531239555 interconnect: qcom: Add sync_state for NIOBE
Add sync_state functionality to remove threshold held during
initial boot up and clean up any linger proxy resources that
were voted from bootloaders.

Change-Id: I667bc140d91268bb4e178a3d1fc34cc18adf0b1e
Signed-off-by: Raviteja Laggyshetty <quic_rlaggysh@quicinc.com>
2024-03-30 07:03:51 -07:00
Subbaraman Narayanamurthy
e3abf3a58c leds: leds-qti-flash: replace spin_{un}lock with its irq variants
Currently __qti_flash_led_brightness_set() would be called when
a flash or torch led brightness is set followed immediately by an
hrtimer callback invoked on behalf of an on_time set after
setting the brightness for a switch.  When the latter happens
in an atomic/interrupt context and it preempts the former one
running in the process context, an attempt to acquire spin lock
again might occur.

Call Trace:

 Core 3 LR: UNKNOWN+0 <fffffff2bc633fe4>
 Offending core vcpu context:
 Core vcpu3 PC: queued_spin_lock_slowpath+94 <ffffffde691bc96c>
 Core vcpu3 LR: _raw_spin_lock[jt]+44 <ffffffde691bbccc>
 -------------------------------------------------------------
 queued_spin_lock_slowpath+0x94
 _raw_spin_lock[jt]+0x44
 __qti_flash_led_brightness_set[leds_qti_flash]+0xc8
 qti_flash_config_group_symmetry[leds_qti_flash]+0x304
 qti_flash_led_symmetry_config[leds_qti_flash]+0x120
 qti_flash_switch_enable[leds_qti_flash]+0x40
 on_timer_function[leds_qti_flash]+0x1c
 __hrtimer_run_queues+0x14c
 hrtimer_interrupt+0xdc
 arch_timer_handler_virt+0x50
 handle_percpu_devid_irq[jt]+0x1e4
 generic_handle_domain_irq+0x44
 gic_handle_irq+0x4c
 call_on_irq_stack+0x3c
 el1_interrupt[jt]+0x98
 el1h_64_irq_handler+0x18
 ret_to_kernel[jt]+0x0
 _raw_spin_unlock_irqrestore+0x18
 regmap_unlock_spinlock+0x14
 regmap_update_bits_base+0x15c
 __qti_flash_led_brightness_set[leds_qti_flash]+0x10c
 qti_flash_led_brightness_set[leds_qti_flash]+0x98
 led_set_brightness[jt]+0xb0
 led_trigger_event+0x3c
 cam_res_mgr_led_trigger_event[camera][jt]+0x74
 cam_flash_ops[camera]+0x114
 cam_flash_pmic_apply_setting[camera]+0x588
 cam_flash_apply_request[camera]+0x68
 __cam_req_mgr_process_req[camera]+0xa24
 cam_req_mgr_process_trigger[camera]+0x4ec
 cam_req_mgr_process_workq[camera][jt]+0x1b4
 cam_req_mgr_process_workq_link_worker[camera]+0x10
 process_one_work+0x1e4

Fix this by using spin_{un}lock_irq* variants so that the interrupt
will be disabled and re-enabled when the spin lock is held until
the configuration is done.

Change-Id: Ib88dd9c52c0b10b55e6dd8839732810b6fbbc667
Signed-off-by: Subbaraman Narayanamurthy <quic_subbaram@quicinc.com>
2024-03-29 16:15:16 -07:00
Meena Pasumarthi
82555c22e9 defconfigs: Enable Debug slow path and slub configs
Enable Debug mutex slow path and slub configs.

Change-Id: I356f8405660619ec2d10c4279dfdca1476e3d883
Signed-off-by: Meena Pasumarthi <quic_pasumart@quicinc.com>
2024-03-29 19:47:06 +05:30
Raviteja Laggyshetty
c68b023883 interconnect: qcom: Enable qos programming for VOLCANO
Enable QoS for the master ports on niobe with predefined values
for priority and urgency. Added xm_gic, qxm_pimem, qnm_ apps_noc
and qnm_cnoc_data master nodes for programming qos.

Change-Id: I6287d721151268ef3921b42ce3b2cb179b7e1fbd
Signed-off-by: Raviteja Laggyshetty <quic_rlaggysh@quicinc.com>
2024-03-29 18:20:43 +05:30
Raviteja Laggyshetty
62a00731eb icc: dt-bindings: Add apps_noc, cnoc_data, pimem, gic master IDs for VOLCANO
Added qnm_apps_noc, xm_gic, qxm_pimem and qnm_cnoc_data master
IDs to topolgy for programming qos.

Change-Id: Ib3ad7576c7f7c3522e7a61c96e1c5141204aa816
Signed-off-by: Raviteja Laggyshetty <quic_rlaggysh@quicinc.com>
2024-03-29 18:15:53 +05:30
Wasim Nazir
b39370808c modules.list: Pitti: Add minidump related modules to first stage
Move dump related modules to first-stage to capture
crash related information as soon as target boots.

Change-Id: I6256bf7cc448fab997e3f2b456a8ea09fbbfb499
Signed-off-by: Wasim Nazir <quic_wasimn@quicinc.com>
2024-03-29 17:47:23 +05:30
Ashay Jaiswal
07f2036381 sched:walt: skip walt_disabled check in "android_rvh_build_perf_domains"
"android_rvh_build_perf_domains" vendor hook is used to force building
of perf domain for symmetric cluster system. The vendor hook is called
as part of cpu topology initialization phase, as WALT initialization is
not completed by this time thus setting of override is skipped by WALT
in it's vendor hook and thus topology framework skips building perf
domain for systems with symmetric clusters.

As "android_rvh_build_perf_domains" is independent of WALT state, skip
"walt disabled" check in the vendor hook.

Change-Id: I379c7aec9fd1a19fc6187d8cf85b3f9ef308dcb2
Signed-off-by: Ashay Jaiswal <quic_ashayj@quicinc.com>
2024-03-29 00:58:40 -07:00
Jeyaprabu J
2786eaf1a6 hgsl: enable support for large ib number
Use indirect submission when the ib number is too big to be
submitted inside hfi cmd.

Change-Id: Icba8977e6aa82a2babc9e36cfbdbbfad215fe5e7
Signed-off-by: Jeyaprabu J <quic_jeyaprab@quicinc.com>
2024-03-29 12:43:15 +05:30
Jiazai Wu
980f2899fa dt-bindings: mailbox: Add client and signal support for audiolite
add ADSP, GPDSP0 and GPDSP1 ipcc client.
add ipcc compute L0 signal.

Change-Id: I0754f54d7e114c6dce91116d49b7d335fac9c6cb
Signed-off-by: Jiazai Wu <quic_jiazwu@quicinc.com>
2024-03-28 23:14:14 -07:00
Zhenhua Huang
41621d15a0 arm-smmu: Fix an empty list_head accessing
For the targets which not describe TBU(Translation Buffer Units)
in device tree, skip accessing of its list_head. Accessing that
list_head results into crash.

[zhenhuah: Adding check in qsmmuv500_log_outstanding_transactions as well]
Change-Id: I298f06b01151285bec3b063d234382371d1738ba
Signed-off-by: Zhenhua Huang <quic_zhenhuah@quicinc.com>
2024-03-28 21:39:48 -07:00
Prashanth K
666c3e9b3a usb: phy: Turn on PHY clks when EUD is enabled in bootloader
When the device is booted with EUD enabled from bootloader,
dwc3 probe fails. This results in USB functionality and EUD
not working because the PHY is not re-initialized while EUD is
active. This patch resolves the issue by turning on PHY clks
from hsphy_probe and hsphy_init.

Change-Id: I167f984ce37fd795853becb70d89a1fb6eb35bbe
Signed-off-by: Uttkarsh Aggarwal <quic_uaggarwa@quicinc.com>
Signed-off-by: Prashanth K <quic_prashk@quicinc.com>
2024-03-28 20:47:32 -07:00
qctecmdr
909cf1df83 Merge "drm/bridge: reduce hpd polling timeout" 2024-03-28 17:51:10 -07:00
qctecmdr
06fb4022ad Merge "defconfig: Enable rproc_common for autoghgvm" 2024-03-28 17:51:10 -07:00
qctecmdr
7db2297ee5 Merge "soc: qcom: socinfo: Add version 20" 2024-03-28 17:51:09 -07:00
qctecmdr
85864b747e Merge "stm: Add __nocfi to stm functions and use rcu notrace functions" 2024-03-28 17:51:08 -07:00
Raviteja Laggyshetty
a55cf91502 interconnect: qcom: Enable qos programming for NIOBE
Enable QoS for the master ports on niobe with predefined values
for priority and urgency. Added qhm_gic and qnm_cnoc_data master
nodes for programming qos.

Change-Id: I4d8ab6d3788a0a28b001d6202254a57353b39741
Signed-off-by: Raviteja Laggyshetty <quic_rlaggysh@quicinc.com>
2024-03-29 03:35:31 +05:30
Raviteja Laggyshetty
bbd6c185f0 icc: dt-bindings: Add qhm_gic and cnoc_data master IDs for NIOBE
Added qhm_gic and qnm_cnoc_data master IDs to topolgy for
programming qos.

Change-Id: Id3fd827e4329199cfd497b787f45b16067ccaf52
Signed-off-by: Raviteja Laggyshetty <quic_rlaggysh@quicinc.com>
2024-03-29 03:34:53 +05:30
Phani Kumar Uppalapati
325f9ed7e0 wcd939x-i2c: check i2c suspend and defer wcd register writes
During handling SDAM events (for LPD, USB etc.), it is possible
that i2c bus device still in suspend state. Accessing wcd registers
when i2c is in suspend would return -EACCESS failure. Handle this
condition, by checking if i2c is in suspend and defer the wcd register
writes to whenever PM framework calles wcd usbss resume.

Change-Id: I99438aa090941a8713f02cc8d0f6d2af7db1aa54
Signed-off-by: Phani Kumar Uppalapati <quic_phaniu@quicinc.com>
2024-03-28 15:03:49 -07:00
qctecmdr
27442ff422 Merge "Revert "defconfig: Enable clock scaling for sdmsteppe"" 2024-03-28 07:31:30 -07:00
Kalpak Kawadkar
a37b75bbd9 clk: qcom: gdsc: Update the BLK_ARES assert/deassert delay
The recommendation is to ensure that the ACD BLK_ARES/IROOT_ARES are
kept asserted for at least 100 us before being de-asserted.

Change-Id: I7910a86bcff1589d8ace975c6c18e2b86e924714
Signed-off-by: Taniya Das <tdas@codeaurora.org>
Signed-off-by: Kalpak Kawadkar <quic_kkawadka@quicinc.com>
2024-03-28 18:30:41 +05:30
Kalpak Kawadkar
429ff421a3 clk: qcom: gdsc-regulator: Extend the support for ACD reset
In the case where the SW reset requires an additional ACD block reset or
misc reset, the support is added for the same.

Change-Id: I29b69f2a4ccc33a896ec8e201cbe761cca6800ea
Signed-off-by: Taniya Das <tdas@codeaurora.org>
Signed-off-by: Kalpak Kawadkar <quic_kkawadka@quicinc.com>
2024-03-28 18:30:33 +05:30
qctecmdr
7121ed4310 Merge "soc: qcom: socinfo: Add soc-id support for Niobep" 2024-03-28 02:38:48 -07:00
qctecmdr
2defc9196a Merge "drivers: gunyah: Add support for the Auto Gunyah VM target" 2024-03-28 00:35:20 -07:00
Suraj Jaiswal
5625559c3d net: stmmac: boot up KPI changes
Read early ethernet dtsi flag to enable this feature.
Disable autoneg and configure MAC and PHY with 100 Mbps
link speed.
Read MAC addr, IPv4 and IPv6 addresses from kernel cmd
line parameters in order to assign these to ethernet
interface.

Change-Id: Ibeeebb73b4cbbd0950a1bff065297c4e58be671d
Signed-off-by: Suraj Jaiswal <quic_jsuraj@quicinc.com>
2024-03-27 23:50:15 -07:00
qctecmdr
4ecbf84a37 Merge "defconfig: Enable simple lpm governor for pitti" 2024-03-27 22:36:04 -07:00
Vandana Gupta
66ced298e3 dcvs: bwprof: Add a snapshot of BWPROF
This is a snapshot of BWPROF from msm-5.10 as of commit a3cc0058ac57
("drivers: dcvs: bwprof: add bandwidth profiling driver").

Change-Id: I8a0ab2412f3e59fc6cf81c7f131352d3cf5c0db3
Signed-off-by: Vandana Gupta <quic_vandgupt@quicinc.com>
2024-03-27 22:31:09 -07:00
qctecmdr
cf36b9e29f Merge "pwm: pwm-qti-lpg: Don't disable PWM during probe for fixed PWM mode" 2024-03-27 12:04:37 -07:00
qctecmdr
a1a61636be Merge "pinctrl: qcom: Set intr_wakeup_enable_bit only when skip_wake_irq is set" 2024-03-27 12:04:36 -07:00
qctecmdr
ea8ec3eb81 Merge "pci: msm: Add support for NTN3 switch i2c client operations" 2024-03-27 12:04:33 -07:00
qctecmdr
622f82f9ed Merge "soc: qcom: sys_pm_vx: Add compatible and driver configuration for niobe" 2024-03-27 12:04:32 -07:00