bus: mhi: core: Skip RDDM download for unknown execution environment
authorBhaumik Bhatt <bbhatt@codeaurora.org>
Fri, 6 Nov 2020 17:44:50 +0000 (09:44 -0800)
committerManivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Wed, 18 Nov 2020 09:50:34 +0000 (15:20 +0530)
commitda7bdbf67db232234bb55e083c57b930c2010f95
tree8c8f69d848a31f21b1251c60bd36a6a669052f54
parent9e1660e5c396ee081907386d0b95b8e0804a6c86
bus: mhi: core: Skip RDDM download for unknown execution environment

If MHI is unable to determine the execution environment during
the panic path, host must skip the RDDM download. This can happen
if the BHI offset read or the BHI_EXECENV register read fails
indicating that the underlying transport is unresponsive. Hence,
there is no need to trigger an RDDM using SYSERR or request an
SOC reset.

Suggested-by: Hemant Kumar <hemantk@codeaurora.org>
Signed-off-by: Bhaumik Bhatt <bbhatt@codeaurora.org>
Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
drivers/bus/mhi/core/boot.c