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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
Configured and enabled Serdes driver for SGMMI/USXGMII interface.
Change-Id: I110694184bba7d5fb1266a8488fe8b39d4a0454a
Signed-off-by: Sarosh Hasan <quic_sarohasa@quicinc.com>
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>
Add minidump support on pineapple_tuivm platform.
Change-Id: I946d640616b0a9abe7be6bebf95fed6b29b6b7bd
Signed-off-by: Fei Yang <quic_feiyan@quicinc.com>