Message ID | 20200131135009.31477-1-manivannan.sadhasivam@linaro.org |
---|---|
Headers | show |
Series | Add MHI bus support | expand |
On 1/31/2020 6:49 AM, Manivannan Sadhasivam wrote: > This commit adds support for registering MHI client drivers with the > MHI stack. MHI client drivers binds to one or more MHI devices inorder > to sends and receive the upper-layer protocol packets like IP packets, > modem control messages, and diagnostics messages over MHI bus. > > This is based on the patch submitted by Sujeev Dias: > https://lkml.org/lkml/2018/7/9/987 > > Signed-off-by: Sujeev Dias <sdias@codeaurora.org> > Signed-off-by: Siddartha Mohanadoss <smohanad@codeaurora.org> > [mani: splitted and cleaned up for upstream] > Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> Reviewed-by: Jeffrey Hugo <jhugo@codeaurora.org> Tested-by: Jeffrey Hugo <jhugo@codeaurora.org>
On Fri, Jan 31, 2020 at 3:53 PM Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> wrote: > > Add MAINTAINERS entry for MHI bus. > +MHI BUS > +M: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> > +M: Hemant Kumar <hemantk@codeaurora.org> > +L: linux-arm-msm@vger.kernel.org > +T: git git://git.kernel.org/pub/scm/linux/kernel/git/mani/mhi.git > +S: Maintained > +F: drivers/bus/mhi/ > +F: include/linux/mhi.h > +F: Documentation/mhi/ Had you run parse-maintainers.pl afterwards to see if everything is okay?
Hi Andy, On Mon, Feb 03, 2020 at 12:16:16PM +0200, Andy Shevchenko wrote: > On Fri, Jan 31, 2020 at 3:53 PM Manivannan Sadhasivam > <manivannan.sadhasivam@linaro.org> wrote: > > > > Add MAINTAINERS entry for MHI bus. > > > +MHI BUS > > +M: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> > > +M: Hemant Kumar <hemantk@codeaurora.org> > > +L: linux-arm-msm@vger.kernel.org > > +T: git git://git.kernel.org/pub/scm/linux/kernel/git/mani/mhi.git > > +S: Maintained > > +F: drivers/bus/mhi/ > > +F: include/linux/mhi.h > > +F: Documentation/mhi/ > > Had you run parse-maintainers.pl afterwards to see if everything is okay? > Hmm. I didn't run it before but now looks like the entries need to be sorted as below: M: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> M: Hemant Kumar <hemantk@codeaurora.org> L: linux-arm-msm@vger.kernel.org S: Maintained T: git git://git.kernel.org/pub/scm/linux/kernel/git/mani/mhi.git F: Documentation/mhi/ F: drivers/bus/mhi/ F: include/linux/mhi.h Will address this in next revision. Thanks, Mani > -- > With Best Regards, > Andy Shevchenko
On 2/6/2020 9:41 AM, Jeffrey Hugo wrote: > On 1/31/2020 6:50 AM, Manivannan Sadhasivam wrote: >> MHI protocol supports downloading RDDM (RAM Dump) image from the >> device through BHIE. This is useful to debugging as the RDDM image >> can capture the firmware state. >> >> This is based on the patch submitted by Sujeev Dias: >> https://lkml.org/lkml/2018/7/9/989 >> >> Signed-off-by: Sujeev Dias <sdias@codeaurora.org> >> Signed-off-by: Siddartha Mohanadoss <smohanad@codeaurora.org> >> [mani: splitted the data transfer patch and cleaned up for upstream] >> Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> >> --- >> drivers/bus/mhi/core/boot.c | 157 +++++++++++++++++++++++++++++++- >> drivers/bus/mhi/core/init.c | 38 ++++++++ >> drivers/bus/mhi/core/internal.h | 2 + >> drivers/bus/mhi/core/pm.c | 31 +++++++ >> include/linux/mhi.h | 24 +++++ >> 5 files changed, 249 insertions(+), 3 deletions(-) >> >> diff --git a/drivers/bus/mhi/core/boot.c b/drivers/bus/mhi/core/boot.c >> index 36956fb6eff2..564d61f98257 100644 >> --- a/drivers/bus/mhi/core/boot.c >> +++ b/drivers/bus/mhi/core/boot.c >> @@ -20,7 +20,159 @@ >> #include <linux/wait.h> >> #include "internal.h" >> -/* Download AMSS image to device */ > > Seems a bit odd to add this line in patch 8, only to remove it here in > patch 9. Feels like never adding it in the first place would be better. > Not something to warrant a v3 through. > Since my nit is minor- Reviewed-by: Jeffrey Hugo <jhugo@codeaurora.org> Tested-by: Jeffrey Hugo <jhugo@codeaurora.org>