Make the msm shared memory driver as a dynamic module instead of static.
Change-Id: I19ae80e8e700b77ff03f05a3b879755440572e76
Signed-off-by: Richard Patrick <quic_richardp@quicinc.com>
Signed-off-by: Sayali Lokhande <quic_sayalil@quicinc.com>
If vm-nav-path dtsi property is set, then the shared memory region will
be given access to vm-nav-path also.
Change-Id: I0aef894dbee78c2e3d7d67f61a238a889050037a
Signed-off-by: Sridhar Arra <sarra@codeaurora.org>
Signed-off-by: Sahitya Tummala <stummala@codeaurora.org>
Signed-off-by: Richard Patrick <quic_richardp@quicinc.com>
Signed-off-by: Sayali Lokhande <quic_sayalil@quicinc.com>
If guard_memory dtsi property is set, then the shared memory
region will be guarded by SZ_4K at the start and at the end.
This is needed to overcome the XPU limitation on few MSM HW,
so as to make this memory not contiguous with other allocations
that may possibly happen from other clients in the system.
Change-Id: I57637619cea8fe7f0f7254624e07177ea4a4fce0
Signed-off-by: Sahitya Tummala <stummala@codeaurora.org>
Signed-off-by: Richard Patrick <quic_richardp@quicinc.com>
Signed-off-by: Sayali Lokhande <quic_sayalil@quicinc.com>
These changes enable IPCC_COMPUTE_L0 SSR signal.
This will be used by IPCLite to send SSR signals to
remote subsystems over compute_l0 interrupt line.
Change-Id: Ic8ac4d332a1386081b7f766f07c9fd0fa8a21498
Signed-off-by: Viraj Mandlekar <quic_vmandlek@quicinc.com>
Add remote debugger device configuration. The Remote Debugger driver
allows a debugger running on a host PC to communicate with a remote
stub running on peripheral subsystems.
Change-Id: Ib3faed59b8f54213341aa52248e33091fffea061
Signed-off-by: Devender Kaushik <quic_dkaushik@quicinc.com>
These changes enable IPCC_COMPUTE_L0 signals and
broadcast client. These will be used by the new IPCLite
communication protocol to communicate with
remote subsystems over compute_l0 interrupt line.
Change-Id: I7aac6f121c53136b8cc19f1d1e166ccc2d59caee
Signed-off-by: smaniar <smaniar@codeaurora.org>
Log qrtr rx packet in kernel logs which caused system wakeup.
This will help to easily identify wakeup packet.
The qrtr module is required to be in first stage init to support
the creation of qrtr sockets. The transport layers are often in second
stage init. The current wakeup prints depend on some information from
the second stage init. Rework the logic so the dependency is only
between the qrtr transport and transport drivers.
Change-Id: I4a6a35dd4d5449a671464c00f90712a79d6044fe
Signed-off-by: Deepak Kumar Singh <deesin@codeaurora.org>
Signed-off-by: Chris Lew <quic_clew@quicinc.com>
Add support for HYP call to setup the sharedmem permissions
for the MPSS client.
Change-Id: I3b48ae962865d8d0a0ea6e3fbb8e21278b59c690
Signed-off-by: Nikhilesh Reddy <reddyn@codeaurora.org>
[riteshh@codeaurora.org: fixed trivial merge conflicts]
Signed-off-by: Ritesh Harjani <riteshh@codeaurora.org>
Signed-off-by: Ankit Jain <jankit@codeaurora.org>
Signed-off-by: Richard Patrick <richardp@codeaurora.org>
Signed-off-by: Richard Patrick <quic_richardp@quicinc.com>
Signed-off-by: Sayali Lokhande <quic_sayalil@quicinc.com>
Add tmecom, hwkm and ice-crypto drivers for pineapple.
These are mainly used for supporting storage encryption
using HWKM (residing in TME).
Change-Id: I38c97654a643f8545bd56aa559ccba588aabbb90
Signed-off-by: Smita Ghosh <quic_smitag@quicinc.com>
Signed-off-by: Gaurav Kashyap <quic_gaurkash@quicinc.com>
Enable the USB GSI driver to support tethering interfaces, such as RNDIS
and RmNET.
Change-Id: I0273e97f7656e1cca4a353b55e7254053352b2b9
Signed-off-by: Wesley Cheng <quic_wcheng@quicinc.com>
Add symbols being used by the USB f_gsi function driver.
Change-Id: I5102ae04665e5eca291855f05157159c3e37d313
Signed-off-by: Wesley Cheng <quic_wcheng@quicinc.com>
The IPA framework will be moved outside of the kernel tree, which USB GSI
was referencing. In order to call USB IPA operations, the IPA module will
call an exported ready callback from the USB GSI driver, and pass along the
function pointers for the IPA ops.
Add the ready callback API, and modify pre-existing IPA ops to reference
the function pointers received from the IPA module.
Change-Id: I8e766548fa76ee4d838d113bb5b61577b99c90dd
Signed-off-by: Wesley Cheng <quic_wcheng@quicinc.com>
Kleaf replaces build.sh. Define pineapple target in Bazel
so it may be built with the following command:
tools/bazel run //msm-kernel:pineapple_gki
Change-Id: If78ea5482898f92b751cad8542401ba12d9663bf
Signed-off-by: John Moon <quic_johmoo@quicinc.com>
The Remote Debugger driver allows a debugger running
on a host PC to communicate with a remotestub running
on peripheral subsystems.
This snapshot was taken as of msm-5.15 'commit 095d029b5af0
("msm: rdbg: return correct error codes")'.
Change-Id: I4d0fb93fcb4fd0d7ffec8e900e4fd047f4579b5b
Signed-off-by: Devender Kaushik <quic_dkaushik@quicinc.com>
Currently ufs phy driver is voting for .8V as min range for
phy regulator but spec says it should be .88V
Update phy min phy voltage limit per spec.
Change-Id: Ib1ce7830ec91ef388030ffc3358b26ae4ae6cea2
Signed-off-by: Ram Prakash Gupta <quic_rampraka@quicinc.com>
Signed-off-by: Ziqi Chen <quic_ziqichen@quicinc.com>
Signed-off-by: Bao D. Nguyen <quic_nguyenb@quicinc.com>
Add support to trigger the gpio when config the trigin and trigout.
Change-Id: I85813c091c9d6d389192827f51acf48f0189cec1
Signed-off-by: Mao Jinlong <jinlmao@codeaurora.org>
Signed-off-by: Mao Jinlong <quic_jinlmao@quicinc.com>
Wakeup enable bit controls the interrupt routing to parent PDC irqchip.
These gets set during interrupt allocation for the GPIOs which are used
as interrupt or via firmware.
However sometimes clients may want to set it without requesting interrupt
line for it. This was done via msm_gpio_mpm_wake_set() API.
On newer targets the bit position for wakeup enable bit is changed to
interrupt config register. Modify msm_gpio_mpm_wake_set() accordingly.
Change-Id: I7441595b49e35181831b1015a41b054b435e07a9
Signed-off-by: Maulik Shah <quic_mkshah@quicinc.com>