Commit Graph

1156040 Commits

Author SHA1 Message Date
Naina Mehta
f2b5a4ff1e modules.blocklist: Add modules to system_dlkm blocklist
Move can and kheader modules to system_dlkm blocklist
instead of vendor module blocklist.

Change-Id: I860b98f64c352b94de60ede6bd1427f4b0596623
Signed-off-by: Naina Mehta <quic_nainmeht@quicinc.com>
2023-09-27 15:29:40 +05:30
qctecmdr
912f91376c Merge "i2c: i2c-msm-geni: Framework to have test bus dump support" 2023-09-25 23:24:54 -07:00
qctecmdr
da665bb8cd Merge "q2spi-msm-geni: Add q2spi interface drivers support" 2023-09-25 23:24:53 -07:00
qctecmdr
927adb4d5c Merge "arm64: defconfig: Enable thermal defconfigs for strait" 2023-09-25 10:44:08 -07:00
qctecmdr
b06d47206c Merge "modules.list.msm.niobe: Add clock modules to first stage on NIOBE" 2023-09-25 07:09:21 -07:00
qctecmdr
bd67762c4a Merge "modules.list: Add pitti rpm-smd and mpm modules to first stage" 2023-09-25 05:31:04 -07:00
qctecmdr
0db20a4281 Merge "arm64: defconfig: Enable clock and gdsc drivers for NIOBE" 2023-09-25 03:59:23 -07:00
qctecmdr
e2d1c28a91 Merge "uart: msm_geni_serial: Add shutdown callback for uart" 2023-09-25 03:59:22 -07:00
qctecmdr
7db789eb35 Merge "soc: qcom: Only restore kaslr offset when kaslr is enabled" 2023-09-25 00:17:17 -07:00
qctecmdr
dbb65c4c40 Merge "i2c: i2c-msm-geni: Remove debug signature from the log" 2023-09-25 00:17:16 -07:00
Viken Dadhaniya
9adb852a99 i2c: i2c-msm-geni: Framework to have test bus dump support
This change does below things for debug :

1. Configures Test bus
2. Read test bus register based on selected point.
3. Config and read of the test bus are for particular I2C instance
   based on DTSI flag.
4. When target crashes, collect dump from T32 script with PS hold HIGH.
5. Test bus registers are printed as logs.

set "qcom,i2c-test-dev" flag in the particular DTSI.
Driver reads the property and sets  gi2c->i2c_test_dev accordingly.
Accordingly call test_bus_enable_per_qupv3() once during probe only once.

call geni_se_test_bus_dump() at the issue point which can enable/select
test bus and read the test bus register dump via test_bus_read_per_qupv3().

In i2c-msm-geni.c, change below value based on SE number, default SE4.
define SE_NUM_FOR_TEST_BUS 5.

Change-Id: Icea7eb18d03a0121aa3679b27eba9f4a4be990c1
Signed-off-by: Viken Dadhaniya <quic_vdadhani@quicinc.com>
2023-09-25 11:59:10 +05:30
Nitesh Kumar
cc04d8a438 arm64: defconfig: Enable thermal defconfigs for strait
Enable thermal driver like, legacy tsens, cpu pause,
cpufreq cdev, qmi drivers, rpm smd,  cx ipeak
cooling drivers for strait. Add changes required to
list msm-tsens, cpu_frq, cpu_hotplug, thermal_pause,
cx_ipeak, rpm_smd, qmi_cdev, devfreq drivers in bazel
build system.

Change-Id: Ie6c4b43b02689252515f094e2e20c03529b75b3f
Signed-off-by: Nitesh Kumar <quic_nitekuma@quicinc.com>
2023-09-25 11:36:51 +05:30
qctecmdr
ba230ee3c6 Merge "msm_perf: Fix for recursive locking" 2023-09-24 22:15:17 -07:00
qctecmdr
b2624daaad Merge "serial: msm_geni_serial: Move SE_DMA_TX_ATTR define to common header" 2023-09-24 22:15:13 -07:00
Kalpak Kawadkar
18d9d01d3f modules.list.msm.niobe: Add clock modules to first stage on NIOBE
Add clk-dummy, clk-qcom and gdsc-regulator to modules list
on NIOBE platform, to enable them to load during first
stage init.

Change-Id: I79954c292e3bd597119b2ce90feb3327b0897d58
Signed-off-by: Kalpak Kawadkar <quic_kkawadka@quicinc.com>
2023-09-24 21:55:09 -07:00
Raghavendra Kakarla
9114afeeec modules.list: Add pitti rpm-smd and mpm modules to first stage
Add Pitti rpm-smd and mpm modules to list of first stage modules.

Change-Id: Iac6d7942e97161bb46d6d494373ec04d97df5d08
Signed-off-by: Raghavendra Kakarla <quic_rkakarla@quicinc.com>
2023-09-24 21:25:05 -07:00
qctecmdr
581f100f7d Merge "net: stmmac: Enable Serdes driver" 2023-09-24 20:18:02 -07:00
Prasanna S
24cb190f14 uart: msm_geni_serial: Add shutdown callback for uart
If the hardware is still accessing memory after SMMU translation
is disabled (as part of smmu shutdown callback), then the IOVAs
(I/O virtual address) which it was using will go on the bus
as the physical addresses which will result in unknown crashes
like NoC/interconnect errors.

So, implement shutdown callback by removing serial driver before
SMMU is disabled.

Change-Id: I5398cf7efbb15a04bcb7259f7580e8d88e4647be
Signed-off-by: Prasanna S <quic_prass@quicinc.com>
2023-09-24 23:37:53 +05:30
qctecmdr
d5beeda890 Merge "arm64: defconfig: Enable power drivers for Pitti SoC" 2023-09-23 08:24:03 -07:00
qctecmdr
96cc859a6c Merge "ufs: ufs-qcom: disable lane clocks during phy hibern8" 2023-09-23 08:24:02 -07:00
Kalpak Kawadkar
46419a91ee clk: qcom: clk-smd-rpm: Remove support for LN_BB_CLK3 for Holi
As the LN_BB_CLK3 clock is no longer required to be controlled from the
clock driver, thus remove support for the same.

Change-Id: Iffa05a87e9f2e2d3a92377fbd60a1ebf32c935e2
Signed-off-by: Kalpak Kawadkar <quic_kkawadka@quicinc.com>
2023-09-22 21:41:21 -07:00
qctecmdr
59e2a5a702 Merge "mmc: sdhci-msm: Add partial initialization support" 2023-09-22 08:16:23 -07:00
qctecmdr
e60785b0ad Merge "Revert "bus: mhi: host: Disable preemption while processing data events"" 2023-09-22 08:16:22 -07:00
qctecmdr
11c53e3d9f Merge "clk: qcom: smd-rpm: Add support for clock handoff" 2023-09-22 08:16:21 -07:00
qctecmdr
1605b61d32 Merge "rtc: rtc-pm8xxx: Assign power management operations" 2023-09-22 08:16:21 -07:00
qctecmdr
a07c838a78 Merge "dt-bindings: clock: Add support for GCC clocks on NIOBE" 2023-09-22 08:16:20 -07:00
qctecmdr
4163aa79a8 Merge "usb: dwc3-msm-core: Read link state and enable P3 events on boot" 2023-09-22 08:16:19 -07:00
qctecmdr
ae3ec363f5 Merge "drivers: thermal: qcom: Add module description of rpm smd driver" 2023-09-22 08:16:19 -07:00
qctecmdr
af5fbcfe6c Merge "ANDROID: build: Remove super_image.bzl" 2023-09-22 08:16:18 -07:00
Chandana Kishori Chiluveru
4fa0577462 q2spi-msm-geni: Add q2spi interface drivers support
Add q2spi interface drivers support.

Change-Id: I8f3fb11ce654da8fb83fa0b46dd645b2449fb16e
Signed-off-by: Chandana Kishori Chiluveru <quic_cchiluve@quicinc.com>
2023-09-22 06:58:44 -07:00
Chandana Kishori Chiluveru
6dfef602a6 serial: msm_geni_serial: Move SE_DMA_TX_ATTR define to common header
This change will move SE_DMA_TX_ATTR define from serial driver to common
header file so that other protocol drivers also can use the address
definition from common header file.

Change-Id: I60b7e0051bddd9772a30385238c2d1fdbc991396
Signed-off-by: Chandana Kishori Chiluveru <quic_cchiluve@quicinc.com>
2023-09-22 06:58:15 -07:00
Raghavendra Kakarla
b1d9bb74f5 arm64: defconfig: Enable power drivers for Pitti SoC
This patch enables rpm-smd, mpm, lpm governor and stats
drivers.

Change-Id: I0aa16a970115b3bdeb8b0a9fdd3d9d7b1a4bf1f1
Signed-off-by: Raghavendra Kakarla <quic_rkakarla@quicinc.com>
2023-09-21 23:15:09 -07:00
Huang Yiwei
fec8a6ddc9 soc: qcom: Only restore kaslr offset when kaslr is enabled
Add kaslr config check to avoid compile error when
CONFIG_RANDOMIZE_BASE is not defined.

Change-Id: Ic5616c56a11e3c6214e33fe796841bc86642bde5
Signed-off-by: Huang Yiwei <quic_hyiwei@quicinc.com>
2023-09-22 14:04:44 +08:00
Kalpak Kawadkar
293ae2856c arm64: defconfig: Enable clock and gdsc drivers for NIOBE
Enable COMMON_CLK_QCOM and GDSC_REGULATOR drivers on NIOBE
platform.

Change-Id: I9f2107bee5acdc8a80bab18160a42266d00864fc
Signed-off-by: Kalpak Kawadkar <quic_kkawadka@quicinc.com>
2023-09-22 09:36:58 +05:30
qctecmdr
0ca6e7644e Merge "sched/walt: make packing control nodes per cluster" 2023-09-21 19:06:36 -07:00
qctecmdr
f5f8b9928b Merge "i2c: i2c-msm-geni: create new function from probe" 2023-09-21 19:06:35 -07:00
badris
6a7f228baa msm_perf: Fix for recursive locking
Use cpuhp_setup_state_nocalls_cpuslocked instead of
cpuhp_setup_state_nocalls as cpus_read_lock is
already taken.

Using cpuhp_setup_state_nocalls_cpuslocked will avoid
potential recursive locking.

Change-Id: I4639510aa417d6cec73903e6d08ba7b527006314
Signed-off-by: badris <quic_badris@quicinc.com>
2023-09-21 11:49:44 -07:00
qctecmdr
586b0cd031 Merge "Merge keystone/android14-6.1-keystone-qcom-release.6.1.25 (bd65f1b) into qcom-6.1" 2023-09-21 08:22:42 -07:00
Vivek Pernamitta
9b92d60ebd Revert "bus: mhi: host: Disable preemption while processing data events"
Commit 9204f9fa1e ("bus: mhi: host: Disable preemption
while processing data events") replaced spin_lock_bh/unlock_bh
with spin_lock_spin_lock_irqsave/restore to disable preemption
to allow processing of all data ring elements with
parse_xfer_event() API. As part of processing data ring
elements uses read_lock_bh()/read_unlock_bh().

a. spin_lock_irqsave() -> disable interrupt on CPU, store into flags
b. read_lock_bh() -> calls local_irq_disable()
c. process data event ring
d. read_unlock_bh() -> calls local_irq_enable()
e. spin_lock_irqrestore() -> restores interrupt using flags before
   enabling interrupt

When CONFIG_TRAC_IRQFLAGS Kconfig is enabled,
raw_check_bogus_irq_restore() is checked to detect situation
where interrupts are already enable while trying to restore it.
Due to above nested usage of locking, there is WARN_ONCE() seen.

Change-Id: I3579c2bbb92f6ea9149a7c9550dedce36466eb52
Signed-off-by: Vivek Pernamitta <quic_vpernami@quicinc.com>
2023-09-21 19:43:24 +05:30
qctecmdr
61e24a5df7 Merge "ANDROID: Add specific directory for minidump on Blair" 2023-09-21 04:49:07 -07:00
qctecmdr
29fbd0cc4f Merge "defconfig / modules.list: Enable base memory modules for niobe" 2023-09-21 04:49:07 -07:00
Kalpak Kawadkar
33ad8cca79 clk: qcom: smd-rpm: Add support for clock handoff
During boot-up if the clock driver put across a initial high vote then
there is no way to remove these votes which can cause the corresponding
votes to be left always high till the CPU suspends causing power
regression. Thus introduce a device property which can remove the
initial votes from the clock driver and leave it up to the client to
keep a vote.

Change-Id: I068c87d06df908ee0ed0e58f69d46933b301ea6f
Signed-off-by: Kalpak Kawadkar <quic_kkawadka@quicinc.com>
2023-09-21 04:00:33 -07:00
Sarosh Hasan
189384611c net: stmmac: Enable Serdes driver
Configured and enabled Serdes driver for SGMMI/USXGMII interface.

Change-Id: I110694184bba7d5fb1266a8488fe8b39d4a0454a
Signed-off-by: Sarosh Hasan <quic_sarohasa@quicinc.com>
2023-09-21 00:56:51 -07:00
qctecmdr
08884c8004 Merge "defconfig: pineapple_tuivm: add minidump support" 2023-09-21 00:38:04 -07:00
qctecmdr
1ef2051bbf Merge "net: stmmac: Change DMA and MTL HW address and add HSR seq programming" 2023-09-20 22:34:41 -07:00
qctecmdr
cd07296f34 Merge "drivers: remoteproc: Disable Auto Boot for MonacoAU Rprocs" 2023-09-20 22:34:41 -07:00
qctecmdr
1c80d5f31f Merge "rpm-smd: Remove redundant spinlocks which are not required" 2023-09-20 22:34:40 -07:00
Stephen Dickey
c00042bcd3 sched/walt: make packing control nodes per cluster
To enhance tuning capability, ensure that the idle_enough and
util_thres_pct control nodes can be tuned per cluster, enabling
different levels of demand and util comparison per cluster.
These nodes are used only in the packing_cpu fastpath decision
making, for rt and cfs.

Change-Id: I29131d9dbce0e29b74cef69fe153bd009eb4fd58
Signed-off-by: Stephen Dickey <quic_dickey@quicinc.com>
2023-09-20 14:17:14 -07:00
Fei Yang
bd76568aa8 defconfig: pineapple_tuivm: add minidump support
Add minidump support on pineapple_tuivm platform.

Change-Id: I946d640616b0a9abe7be6bebf95fed6b29b6b7bd
Signed-off-by: Fei Yang <quic_feiyan@quicinc.com>
2023-09-20 07:15:51 -07:00
qctecmdr
22931d1ab9 Merge "soc: qcom: minidump: Split SMEM and RM access from common logic" 2023-09-20 04:45:53 -07:00