Add usb related modules to be loaded in first stage
Change-Id: Ia331ee1a8ed17a2c1f158454f645bdc7c9adc7ee
Signed-off-by: Amrit Anand <quic_amrianan@quicinc.com>
To support FR84471 SD Card driver need to get the handle by querying
the handle for the newly created PSTM resources and vote for ONLY
Enable/Disable parameter on this handles and Mode and Voltage still
control through regular handles.
Please note this FR is for targets where underlying PMIC doesn't have
PBS RAM sequence to automatically turn off the regulators when
multicard tray is removed to avoid damage to sim card.
Hence vote on new PSTM resources provided by the PMIC team to solve the
above PMIC limitation and safely turn off SD card rails as soon as it
is removed.
Change-Id: I93be4cc4ef3a572ccb029e76e692125c72dbdf99
Signed-off-by: Sarthak Garg <quic_sartgarg@quicinc.com>
Update the recommended values for bonus ways for the
LLCC slice configurations for neo_sg_v2.
Change-Id: If4250cfd88224c21d3bb6290fd4cb43dfd8c9eeb
Signed-off-by: Kaushal Kumar <quic_kaushalk@quicinc.com>
adreno_hwsched_parse_fault_cmdobj() been called twice in
gen7_hwsched_snapshot function. Cleanup by removing unnecessary call.
Change-Id: Ib90e3abd292b64656578c45f7bdb1cb5c818d2c4
Signed-off-by: SIVA MULLATI <quic_smullati@quicinc.com>
When application layer is not reading Rx data fast
enough from tty buffers tty_insert can fail.
Whenever tty_insert fails continuously, existing WARN_ON
is resulting in excessive logging and leading to
watchdog bark.
Used WARN_ON_ONCE whenever tty_insert fails and also
when unexpected wake_up interrupts occur to prevent
excessive logging.
Change-Id: I2c59675bf23ebb2c441e5015139d1193023e05d9
Signed-off-by: Visweswara Tanuku <quic_vtanuku@quicinc.com>
Signed-off-by: Vaishnavi AVS <quic_vavs@quicinc.com>
PERF_MODE tag is needed for rpmh based non-gmu targets. Now interconnect
driver is properly handling the SLEEP tag and PERF_MODE tag. PERF_MODE
tag will be honoured where supported (rpmh) and discarded where not
supported (rpm). Hence follow the below now
1. Set the tags at a common place for all targets (gmu and non-gmu).
2. Make use of common tags provided by interconnect driver.
3. Set ALWAYS tag which will keep GPU vote active even if the APPS
goes to low power mode while the GPU is running.
4. Set PERF_MODE tag along with ALWAYS tag for GPU Fmax.
Change-Id: I6b1a688c584e9cbc0154e3b8d062b9bcc2bae385
Signed-off-by: Harshitha Sai Neelati <quic_hsaineel@quicinc.com>
SP_DBG_CNTL needs to be programmed before shader state dump for gen7_0_x
family targets only. Thus, add target specific check for SP_DBG_CNTL
programming.
Change-Id: I95ddb1cfb24338fa33d7026dcc5b7aa7de960bfd
Signed-off-by: Kamal Agrawal <quic_kamaagra@quicinc.com>
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>
When qcedev module is exiting, it disconnects SPS.
At this times, crypto clocks need to be turned on
or it will cause a synchronous abort.
Tests: rmmod on the qcedev module.
Change-Id: I1721fe408392ef81b07a6c08d2196b2413ba2b2f
Signed-off-by: Gaurav Kashyap <quic_gaurkash@quicinc.com>
UAF is observed while unloading the interconnect driver.
Interconnect is core to the system and should not
be unloaded once it is probed. Marking the driver as
permanent by removing the module_exit function.
Change-Id: Ifa762d7107df6373b1263883b0e93ff702ca4a79
Signed-off-by: Raviteja Laggyshetty <quic_rlaggysh@quicinc.com>
UAF is observed while unloading the interconnect driver.
Interconnect is core to the system and should not
be unloaded once it is probed. Marking the driver as
permanent by removing the module_exit function.
Change-Id: I887a2389f8c82ec4338781e9afc76cf49c449a0b
Signed-off-by: Raviteja Laggyshetty <quic_rlaggysh@quicinc.com>
The QMI TMD get device list supports maximum 32 devices. But there
are targets that support more than 32 QMI TMD devices. To add more
devices support as well as to make sure backward compatibility with
legacy device list, add new optional extended device list variable
in QMI TMD interface. The first 32 devices will be filled in legacy
device list variable and all other devices will be filled with new
extended device list variable.
Add support to qmi cooling device driver to get extended device
list if any.
Change-Id: I530669a9f89f8c9da7bbcc7d486dde76f0a7f3ea
Signed-off-by: Manaf Meethalavalappu Pallikunhi <quic_manafm@quicinc.com>
Signed-off-by: Priyansh Jain <quic_priyjain@quicinc.com>
There is a race for clients that open sockets before the control port
is bound. If a client gets an idr that was allocated before the control
port is bound, there is a chance the previous address owner sent lookup
packets to the control port. The new address owner will get residual
responses to these lookup packets.
Change the xa_alloc to xa_alloc_cyclic so new ids are allocated
instead of trying to reuse the freed ids.
Call the xa_alloc_cyclic function with GFP_ATOMIC.
Change-Id: Ie1bda7a818309503f80542e739bac646327296f7
Signed-off-by: Chris Lew <clew@codeaurora.org>
Signed-off-by: Sarannya S <quic_sarannya@quicinc.com>
The subdevice list should be populated in a particular order as
the state notifications have a priority. This change re-orders
the subdevice add calls to ensure higher priority subdevices are
present at the start of the list.
This change is inline with
commit c9f2092072 ("remoteproc: qcom: pas: Fix subdevice add order").
Change-Id: I94e0e7af3fe634d5354e0f58f0a818071c3ff918
Signed-off-by: Mukesh Ojha <quic_mojha@quicinc.com>