Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1525577

Re: [PATCH v2 3/3] remoteproc: qcom: add Venus video core firmware loader driver

From Bjorn Andersson <bjorn.andersson@linaro.org>
Newsgroups linux.kernel
Subject Re: [PATCH v2 3/3] remoteproc: qcom: add Venus video core firmware loader driver
Date 2016-11-18 18:30 +0100
Message-ID <sEV98-1Es-17@gated-at.bofh.it> (permalink)
References <sAW3M-6lw-7@gated-at.bofh.it> <sAW3M-6lw-33@gated-at.bofh.it> <sDuXn-2HY-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Mon 14 Nov 11:16 PST 2016, Stephen Boyd wrote:

> On 11/07, Stanimir Varbanov wrote:
> > +#include <linux/module.h>
> > +#include <linux/of_reserved_mem.h>
> > +#include <linux/platform_device.h>
> > +#include <linux/qcom_scm.h>
> > +#include <linux/remoteproc.h>
> > +
> > +#include "qcom_mdt_loader.h"
> > +#include "remoteproc_internal.h"
> > +
> > +#define VENUS_CRASH_REASON_SMEM		425
> 
> This is unused. Is there going to be some common smem API to get
> the crash reason?

There are a couple of these operations that are good candidates to be
shared between all Qualcomm remoteproc drivers. I just haven't spent the
time to figure out how to properly splice it.

For the crash reason specifically, there are three operations done in
the other drivers; read-and-null-terminate, then this is outputed to the
log, also indicating what type of event we had. And finally the
remoteproc core is informed about the crash, with a event-type passed
and we get another line in the log based on that, i.e. there's room for
a few improvements in this area.

Regards,
Bjorn

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Re: [PATCH v2 3/3] remoteproc: qcom: add Venus video core firmware  loader driver Stephen Boyd <sboyd@codeaurora.org> - 2016-11-14 20:20 +0100
  Re: [PATCH v2 3/3] remoteproc: qcom: add Venus video core firmware  loader driver Stanimir Varbanov <stanimir.varbanov@linaro.org> - 2016-11-17 10:10 +0100
  Re: [PATCH v2 3/3] remoteproc: qcom: add Venus video core firmware  loader driver Bjorn Andersson <bjorn.andersson@linaro.org> - 2016-11-18 18:30 +0100

csiph-web