Skip to contentSkip to conversation

MHI changes for v5.19

GIT PULL Manivannan Sadhasivam 2 participants 2 messages May 10, 2022 – May 19, 2022

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

The following changes since commit 5d4be19cbe6aadfad0a5f40df91bd478cedd8344:

bus: mhi: ep: Add uevent support for module autoloading (2022-04-04 10:17:51 +0530)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/mani/mhi.git tags/mhi-for-v5.19

for you to fetch changes up to 13b9b814da2de5006795ddcff2bbaea46017429d:

bus: mhi: host: Add support for Foxconn T99W373 and T99W368 (2022-05-10 11:10:56 +0530)

----------------------------------------------------------------
MHI changes for v5.19

MHI Host
--------

Support for new modems:

- Foxconn Cinterion MV32-WA/MV32-WB based on SDX62/SDX65
- Telit FN980 v1 based on SDX55
- Telit FN990 based on SDX65
- Foxconn T99W373/T99W368 based on SDX62/SDX65

Core changes:

- During the recycle of event ring elements, compute the ctxt_wp based on the local cached value instead of reading from shared memory. This is to prevent the possible corruption of the ctxt_wp as some of the endpoint devices could modify the value in shared memory.

- Add sysfs support for resetting the endpoint based on the MHI spec. The MHI spec allows the host to hard reset the device in the case of an unrecoverable error and all other reset mechanisms have failed.

- During MHI shutdown, wait for the endpoint device to enter the ready state post reset before proceeding. This is to avoid a possible race where host would remove the interrupt handler and device will send ready state interrupt, resulting in IOMMU fault.

- Bail out updating the MHI register if the read has failed during read/modify/write.

- Use mhi_write_reg() instead of mhi_write_reg_field() for writing the whole register fields in mhi_init_mmio().

MAINTAINERS change:

- Since Qualcomm has moved the email domain for its employess from codeaurora domain to quicinc, update the same for Hemant.

----------------------------------------------------------------
Bhaumik Bhatt (2):
bus: mhi: host: Bail on writing register fields if read fails
bus: mhi: host: Optimize and update MMIO register write method

Daniele Palmas (2):
bus: mhi: host: pci_generic: add Telit FN980 v1 hardware revision
bus: mhi: host: pci_generic: add Telit FN990

Jeffrey Hugo (3):
bus: mhi: host: Use cached values for calculating the shared write pointer
bus: mhi: host: Add soc_reset sysfs
bus: mhi: host: Wait for ready state after reset

Manivannan Sadhasivam (2):
MAINTAINERS: Update Hemant's email id
bus: mhi: host: pci_generic: Sort mhi_pci_id_table based on the PID

Slark Xiao (2):
bus: mhi: host: Add support for Cinterion MV32-WA/MV32-WB
bus: mhi: host: Add support for Foxconn T99W373 and T99W368

 Documentation/ABI/stable/sysfs-bus-mhi |  10 +++++++
 MAINTAINERS                            |   2 +-
 drivers/bus/mhi/host/boot.c            |  22 ++++++++++----
 drivers/bus/mhi/host/init.c            |  82 ++++++++++++++++++++++++++++++++++------------------
 drivers/bus/mhi/host/internal.h        |   7 +++--
 drivers/bus/mhi/host/main.c            |  18 +++++-------
 drivers/bus/mhi/host/pci_generic.c     | 133 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--------
 drivers/bus/mhi/host/pm.c              |  24 ++++++++++++---
 8 files changed, 234 insertions(+), 64 deletions(-)
Signature · 1 line
மணிவண்ணன் சதாசிவம்
#1 lore raw
Quoted 7 lines · Manivannan Sadhasivam

The following changes since commit 5d4be19cbe6aadfad0a5f40df91bd478cedd8344:

bus: mhi: ep: Add uevent support for module autoloading (2022-04-04 10:17:51 +0530)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/mani/mhi.git tags/mhi-for-v5.19

Pulled and pushed out, thanks.

greg k-h