gh_vm_table is an array of size GH_VM_MAX. With present index bound
checks, it is possible to access the array with index GH_VM_MAX. This
will lead to out-of-bounds access since the valid index should range
between 0 and GH_VM_MAX-1.
Change-Id: I1ce7f1bb06f4528d03413ceb86625a0e3ea1d3f1
Signed-off-by: Hrishabh Rajput <quic_hrishabh@quicinc.com>
Add CLK_DONT_HOLD_STATE flag to gcc_usb2_0_clkref_en clock,
so that proxy voting is not done for the clock.
Change-Id: Id16cc5d97ea0cbc0a75da842fc0d6985b075d4a4
Signed-off-by: Kalpak Kawadkar <quic_kkawadka@quicinc.com>
Enable Dynamic PHY detection on sa8775 LA for different board
and PHY types.
Change-Id: I87888ca1e191db072ebdcf64fe596c39fe95f57b
Signed-off-by: Srinath Pandey <quic_srinpand@quicinc.com>
Address the name conflict between the
virtualized interface and the passthrough interface
to ensure that the interface name is independent
of the driver probe order.
Change-Id: I305b22cbd3860b0df3346ccb89aed4c879cef864
Signed-off-by: Shashank Shekhar <quic_sshe@quicinc.com>
As the scenes become more complex, there will be more and more
memory nodes. At this time, the efficiency of using list to
track them will become worse and worse, so introduce rb tree
to improve the efficiency of finding specific memory nodes.
Change-Id: I984c866eaa1c877ce70803b31f1119f8ce4ae621
Signed-off-by: Hui Li <quic_hul@quicinc.com>
The UART driver was voting twice for ICC through both
the probe function and the PM framework.
Removed the redundant vote from the probe function
to prevent duplicate voting.
Change-Id: Ia056446d3340d10f58c0f9087db96b7531230635
Signed-off-by: Zahir Shabbir Khan <quic_zshabbir@quicinc.com>
Signed-off-by: Panicker Harish <quic_pharish@quicinc.com>
Signed-off-by: Ravi Ranjan Kumar <quic_ravirk@quicinc.com>
Add the support for uart interconnect support between blsp
and ddr. With this support console can vote for clks.
Change the module_init call to subsys_initcall.
Change-Id: I9e6c89214c0a9bb9a1b7a4b5a26b778dd7326d45
Signed-off-by: Zahir Shabbir Khan <quic_zshabbir@quicinc.com>
Signed-off-by: Panicker Harish <quic_pharish@quicinc.com>
EMAC runtime suspend resume not getting called
as CONFIG_PM_RUNTIME is depricated in kernel 6.1 and
all runtime pm operations moved under CONFIG_PM.
Change-Id: I07af45668a2210603e36f3bd713e51622dcff194
Signed-off-by: Sireesha Malle <quic_smalle@quicinc.com>
Signed-off-by: Ravi Ranjan Kumar <quic_ravirk@quicinc.com>
updated commit text in scm driver for usage of
SMC_CONVENTION_ARM_64 for 64bit kernel and
SMC_CONVENTION_ARM_32 for 32bit kernel.
Change-Id: I84eefd91a00e303b80388e43f59dc5c914352bca
Signed-off-by: Kathiravan T <quic_kathirav@quicinc.com>
Add support for No Secondary display by marking necessary ICC nodes,
BCMs and voters as disabled based on fuses read during the probe.
Initlialize the providers based on the disabled nodes, so that
multimedia providers are probed successfully.
Change-Id: Ia4eed5498c0c2c9346946b41703c1c2784b9c9b3
Signed-off-by: Swetha Chintavatla <quic_chintava@quicinc.com>
Add and enable qti power telemetry driver in config for niobe.
Change-Id: I7a9d2b3c42705ffb18c181c3ea307c26064fb4a3
Signed-off-by: Priyansh Jain <quic_priyjain@quicinc.com>
The base and size are available in struct reserved_mem. Use that
instead of of_get_address. This fixes an issue where the base and
size of heaps without a reg property was not being detected.
Change-Id: I48977a1c026e7a2001746eda0aa82a47992a2f6f
Signed-off-by: Patrick Daly <quic_pdaly@quicinc.com>
Signed-off-by: Srinivasarao Pathipati <quic_c_spathi@quicinc.com>
Enable wakeup for pwr event irq to be used on targets like blair
wherein, mpm is not capable of detecting dp/dm irq's and in their
absence, pwr_event is used for wakeup but it doesn't do so during
xo shutdown.
Change-Id: I5e52614b18c4650ce602a10ff61007cf03e03625
Signed-off-by: Krishna Kurapati <quic_kriskura@quicinc.com>