| Commit message (Collapse) | Author | Age |
| |
|
|
| |
Change-Id: I126075a330f305c85f8fe1b8c9d408f368be95d1
|
| |
|
|
|
|
|
|
|
| |
Not all targets support the DCI channel over MHI. Fix
error handling to only cleanup the failing device if
MHI registration fails.
Change-Id: I5ba23d69bc1fa3c08468d930f5f50151bfcd5bc0
Signed-off-by: Chris Lew <clew@codeaurora.org>
|
| |
|
|
|
|
|
|
|
| |
On an MHI down notification, the enabled state is set to 0 before
flushing the workqueue and buffers. This sanity check conflicts
with the down notification. Remove unneeded sanity check.
Change-Id: I6bedc353187bee907775347009e0d4157b0e35e2
Signed-off-by: Chris Lew <clew@codeaurora.org>
|
| |
|
|
|
|
|
|
| |
In order to support DT on DIAG, convert diag
bridge driver to platform driver.
Change-Id: I0ddecc06d9b4845d822799f3cff942789d1441c6
Signed-off-by: Sujeev Dias <sdias@codeaurora.org>
|
| |
|
|
|
|
|
|
| |
Add support for mhi shutdown notification to clear the
diag mhi states.
Change-Id: I4760c0f23bfc81280f45b5a5173492341d003adf
Signed-off-by: Sreelakshmi Gownipalli <sgownipa@codeaurora.org>
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
In order to support multiple MHI devices connected
to same host we have, re-organize struct mhi_device_ctxt
such that all information related to device is included inside
struct mhi_device_ctxt. Created an abstract power management
layer to operate MHI in bus master, and slave mode. PCIe bus,
device, slot are extracted from DT to identify physical device.
CRs-Fixed: 1086301
Change-Id: I27a12b7412db75e4843794d80146ca7475b02fdc
Signed-off-by: Sujeev Dias <sdias@codeaurora.org>
|
| |
|
|
|
|
|
|
|
|
| |
Call diagmem_exit in diag_mhi_exit only if the memory pool is
initialized earlier. If diag bridge initialization fails
allow diag apps to still communicate to other processors
without unloading the diag driver.
Change-Id: I0eb8b9a357f172984612175d1b03dd872df91b6f
Signed-off-by: Sreelakshmi Gownipalli <sgownipa@codeaurora.org>
|
| |
|
|
|
|
|
|
|
|
| |
Forwarding the data from the MHI layer can fail if USB
or MD is not connected. This change adds an error case
to free the buffers if forwarding the data fails.
CRs-Fixed: 1054875
Change-Id: I49ef2a32ffd731ab2875c941c9d11155f2aba9e2
Signed-off-by: Chris Lew <clew@codeaurora.org>
|
| |
|
|
|
|
|
|
|
| |
This patch addresses kernel addresses leak by changing
the format specifier to adhere to the kptr_restrict system setting.
CRs-Fixed: 987013
Change-Id: I32649a26f54d96c56d80aa2a1bd5f5d9dd0dd9d3
Signed-off-by: Manoj Prabhu B <bmanoj@codeaurora.org>
|
| |
|
|
|
|
|
| |
Make changes to support diag over MHI.
Change-Id: I6a1ff44da275c12144c0a83dbb317a00487f62be
Signed-off-by: Sreelakshmi Gownipalli <sgownipa@codeaurora.org>
|
|
|
Add snap shot of diag driver
Signed-off-by: Sreelakshmi Gownipalli <sgownipa@codeaurora.org>
|