[PATCH 0/8] MHI patches for v5.14

Manivannan Sadhasivam
2021-06-21T16:16:33Z

Hi Greg,

Here is the MHI patch series for v5.14.

Summary of the patches:

1. Fixed an issue observed during the system resume where the host timesout
waiting for the M0 state. This has been fixed by adding M2 as the valid
resume state.

2. Added validation for the channel ID read from event ring.

3. Fixed the MHI wake routines used for the newer modems such as SDX55 and
SDX65 by using no-op routines only for the older modems and then relying on
the default routines provided by MHI stack for newer ones.

4. Added the missing "pci_disable_pcie_error_reporting()" call in
pci_generic controller error path.

5. Added support for processing the events based on the priorities. Earlier
a fixed priority was used for all events.

6. Fixed the power down latency by polling the device reset register
instead of waiting for the state change event.

7. Added a dedicated flag to the MHI client transfer APIs for inbound
buffer allocation by the MHI stack. Since this patch modifies the MHI
client drivers under "net/", Ack has been collected from the netdev
maintainer.

8. Added support for Cinterion MV31-W modem in pci_generic controller:
https://www.thalesgroup.com/en/markets/digital-identity-and-security/iot/iot-connectivity/products/iot-products/mv31-w-ultra-high

Thanks,
Mani

Baochen Qiang (1):
bus: mhi: Wait for M2 state during system resume

Bhaumik Bhatt (2):
bus: mhi: core: Validate channel ID when processing command
completions
bus: mhi: pci_generic: Apply no-op for wake using sideband wake
boolean

Christophe JAILLET (1):
bus: mhi: pci-generic: Add missing
'pci_disable_pcie_error_reporting()' calls

Hemant Kumar (1):
bus: mhi: core: Add support for processing priority of event ring

Loic Poulain (2):
bus: mhi: core: Fix power down latency
bus: mhi: Add inbound buffers allocation flag

ULRICH Thomas (1):
bus: mhi: pci_generic: Add Cinterion MV31-W PCIe to MHI

drivers/bus/mhi/core/init.c | 3 +-
drivers/bus/mhi/core/internal.h | 2 +-
drivers/bus/mhi/core/main.c | 35 ++++++++++++-----
drivers/bus/mhi/core/pm.c | 19 +++------
drivers/bus/mhi/pci_generic.c | 67 ++++++++++++++++++++++++++++----
drivers/net/mhi/net.c | 2 +-
drivers/net/wwan/mhi_wwan_ctrl.c | 2 +-
include/linux/mhi.h | 14 ++++++-
net/qrtr/mhi.c | 2 +-
9 files changed, 107 insertions(+), 39 deletions(-)

--
2.25.1