mbox series

[v3,0/9] mhi: pci_generic: Misc improvements

Message ID 1606404547-10737-1-git-send-email-loic.poulain@linaro.org
Headers show
Series mhi: pci_generic: Misc improvements | expand

Message

Loic Poulain Nov. 26, 2020, 3:28 p.m. UTC
This series adjust some configuration values to ensure stability and
robustness of mhi pci devices (timeout, number of events, burst mode).

It also includes support for system sleep as well as a recovery procedure
that can be triggered when a PCI error is reported, either by PCI AER or by
the new health-check mechanism.

All these changes have been tested with Telit FN980m module

v2: 
  - Cancel recovery work on suspend
v3:
  - enable doorbell_mode_switch for burst channel (HW)
  - Add mhi_initialize_controller helper patch

Loic Poulain (9):
  mhi: Add mhi_controller_initialize helper
  mhi: pci-generic: Increase number of hardware events
  mhi: pci-generic: Perform hard reset on remove
  mhi: pci_generic: Enable burst mode for hardware channels
  mhi: pci_generic: Add support for reset
  mhi: pci_generic: Add suspend/resume/recovery procedure
  mhi: pci_generic: Add PCI error handlers
  mhi: pci_generic: Add health-check
  mhi: pci_generic: Increase controller timeout value

 drivers/bus/mhi/core/init.c   |   7 +
 drivers/bus/mhi/pci_generic.c | 354 ++++++++++++++++++++++++++++++++++++++++--
 include/linux/mhi.h           |   6 +
 3 files changed, 350 insertions(+), 17 deletions(-)

-- 
2.7.4

Comments

Manivannan Sadhasivam Nov. 28, 2020, 6 a.m. UTC | #1
Hi,

On Thu, Nov 26, 2020 at 04:28:58PM +0100, Loic Poulain wrote:
> This series adjust some configuration values to ensure stability and

> robustness of mhi pci devices (timeout, number of events, burst mode).

> 

> It also includes support for system sleep as well as a recovery procedure

> that can be triggered when a PCI error is reported, either by PCI AER or by

> the new health-check mechanism.

> 

> All these changes have been tested with Telit FN980m module

> 


I've excluded couple of patches while reviewing and waiting for Hemant or
Bhaumik to do their reviews first.

Thanks,
Mani

> v2: 

>   - Cancel recovery work on suspend

> v3:

>   - enable doorbell_mode_switch for burst channel (HW)

>   - Add mhi_initialize_controller helper patch

> 

> Loic Poulain (9):

>   mhi: Add mhi_controller_initialize helper

>   mhi: pci-generic: Increase number of hardware events

>   mhi: pci-generic: Perform hard reset on remove

>   mhi: pci_generic: Enable burst mode for hardware channels

>   mhi: pci_generic: Add support for reset

>   mhi: pci_generic: Add suspend/resume/recovery procedure

>   mhi: pci_generic: Add PCI error handlers

>   mhi: pci_generic: Add health-check

>   mhi: pci_generic: Increase controller timeout value

> 

>  drivers/bus/mhi/core/init.c   |   7 +

>  drivers/bus/mhi/pci_generic.c | 354 ++++++++++++++++++++++++++++++++++++++++--

>  include/linux/mhi.h           |   6 +

>  3 files changed, 350 insertions(+), 17 deletions(-)

> 

> -- 

> 2.7.4

>