[RESEND PATCH v2 0/8] Bug fixes and improved logging in MHI

Bhaumik Bhatt
2020-04-28T03:00:07Z

A set of patches for bug fixes and improved logging in mhi/core/boot.c.
Verified on x86 and arm64 platforms.

v2:
-Fix channel ID range check potential infinite loop
-Add appropriate signed-off-by tags

Bhaumik Bhatt (5):
bus: mhi: core: Handle firmware load using state worker
bus: mhi: core: WARN_ON for malformed vector table
bus: mhi: core: Return appropriate error codes for AMSS load failure
bus: mhi: core: Improve debug logs for loading firmware
bus: mhi: core: Ensure non-zero session or sequence ID values

Hemant Kumar (3):
bus: mhi: core: Cache intmod from mhi event to mhi channel
bus: mhi: core: Add range check for channel id received in event ring
bus: mhi: core: Read transfer length from an event properly

drivers/bus/mhi/core/boot.c | 74 +++++++++++++++++++++++++----------------
drivers/bus/mhi/core/init.c | 5 ++-
drivers/bus/mhi/core/internal.h | 1 +
drivers/bus/mhi/core/main.c | 18 +++++++---
drivers/bus/mhi/core/pm.c | 6 +---
include/linux/mhi.h | 2 --
6 files changed, 65 insertions(+), 41 deletions(-)