mbox series

[v1,0/2] Check for device supported event rings and channels

Message ID 1603504843-38557-1-git-send-email-hemantk@codeaurora.org (mailing list archive)
Headers show
Series Check for device supported event rings and channels | expand

Message

Hemant Kumar Oct. 24, 2020, 2 a.m. UTC
This change is introduced to make sure device supported hardware event ring,
hardware channels, total number of event rings and total number of channels
match with MHI host controller. In case of a mismatch, driver bails out and
does not move MHI device to M0 from Ready state.

Hemant Kumar (2):
  bus: mhi: core: Count number of HW channels supported by controller
  bus: mhi: core: Check for device supported event rings and channels

 drivers/bus/mhi/core/init.c     | 33 +++++++++++++++++++++++++++++++++
 drivers/bus/mhi/core/internal.h |  5 +++++
 include/linux/mhi.h             |  1 +
 3 files changed, 39 insertions(+)