Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1333012 > unrolled thread
| Started by | Wolfram Sang <wsa@the-dreams.de> |
|---|---|
| First post | 2016-02-12 19:40 +0100 |
| Last post | 2016-02-22 14:50 +0100 |
| Articles | 6 — 2 participants |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: [PATCH V7 4/6] i2c: qup: Add bam dma capabilities Wolfram Sang <wsa@the-dreams.de> - 2016-02-12 19:40 +0100
Re: [PATCH V7 4/6] i2c: qup: Add bam dma capabilities Wolfram Sang <wsa@the-dreams.de> - 2016-02-12 19:50 +0100
RE: [PATCH V7 4/6] i2c: qup: Add bam dma capabilities "Sricharan" <sricharan@codeaurora.org> - 2016-02-13 08:00 +0100
RE: [PATCH V7 4/6] i2c: qup: Add bam dma capabilities "Sricharan" <sricharan@codeaurora.org> - 2016-02-22 13:30 +0100
Re: [PATCH V7 4/6] i2c: qup: Add bam dma capabilities Wolfram Sang <wsa@the-dreams.de> - 2016-02-22 13:40 +0100
RE: [PATCH V7 4/6] i2c: qup: Add bam dma capabilities "Sricharan" <sricharan@codeaurora.org> - 2016-02-22 14:50 +0100
| From | Wolfram Sang <wsa@the-dreams.de> |
|---|---|
| Date | 2016-02-12 19:40 +0100 |
| Subject | Re: [PATCH V7 4/6] i2c: qup: Add bam dma capabilities |
| Message-ID | <r1qNk-2ew-23@gated-at.bofh.it> |
[Multipart message — attachments visible in raw view] — view raw
On Tue, Jan 19, 2016 at 03:32:44PM +0530, Sricharan R wrote:
> QUP cores can be attached to a BAM module, which acts as
> a dma engine for the QUP core. When DMA with BAM is enabled,
> the BAM consumer pipe transmitted data is written to the
> output FIFO and the BAM producer pipe received data is read
> from the input FIFO.
>
> With BAM capabilities, qup-i2c core can transfer more than
> 256 bytes, without a 'stop' which is not possible otherwise.
>
> Signed-off-by: Sricharan R <sricharan@codeaurora.org>
> Reviewed-by: Andy Gross <andy.gross@linaro.org>
> Tested-by: Archit Taneja <architt@codeaurora.org>
> Tested-by: Telkar Nagender <ntelkar@codeaurora.org>
My code checkers found some issues:
SPARSE
drivers/i2c/busses/i2c-qup.c:555:6: warning: symbol 'qup_sg_set_buf' was not declared. Should it be static?
drivers/i2c/busses/i2c-qup.c:1243:50: warning: dubious: !x & !y
SMATCH
drivers/i2c/busses/i2c-qup.c:165 qup_sg_set_buf warn: unused return: s = sg_next()
drivers/i2c/busses/i2c-qup.c:165 qup_sg_set_buf warn: unused return: s = sg_next()
drivers/i2c/busses/i2c-qup.c:1243 qup_i2c_xfer_v2() warn: add some parenthesis here?
CPPCHECK
drivers/i2c/busses/i2c-qup.c:1243: style: Boolean result is used in bitwise operation. Clarify expression with parentheses.
SPATCH
drivers/i2c/busses/i2c-qup.c:1380:2-13: WARNING: Assignment of bool to 0/1
drivers/i2c/busses/i2c-qup.c:1481:1-13: WARNING: Assignment of bool to 0/1
CC drivers/i2c/busses/i2c-qup.o
drivers/i2c/busses/i2c-qup.c:555:6: warning: no previous prototype for 'qup_sg_set_buf' [-Wmissing-prototypes]
void qup_sg_set_buf(struct scatterlist *sg, void *buf, struct qup_i2c_tag *tg,
Can you fix them and resend??
Thanks,
Wolfram
[toc] | [next] | [standalone]
| From | Wolfram Sang <wsa@the-dreams.de> |
|---|---|
| Date | 2016-02-12 19:50 +0100 |
| Message-ID | <r1qX1-2kB-17@gated-at.bofh.it> |
| In reply to | #1333012 |
[Multipart message — attachments visible in raw view] — view raw
> Can you fix them and resend?? That should have been only one '?', sorry.
[toc] | [prev] | [next] | [standalone]
| From | "Sricharan" <sricharan@codeaurora.org> |
|---|---|
| Date | 2016-02-13 08:00 +0100 |
| Message-ID | <r1Clt-1eu-15@gated-at.bofh.it> |
| In reply to | #1333012 |
Hi Wolfram,
> -----Original Message-----
> From: Wolfram Sang [mailto:wsa@the-dreams.de]
> Sent: Saturday, February 13, 2016 12:08 AM
> To: Sricharan R
> Cc: devicetree@vger.kernel.org; linux-arm-msm@vger.kernel.org;
> agross@codeaurora.org; linux-kernel@vger.kernel.org; linux-
> i2c@vger.kernel.org; iivanov@mm-sol.com; galak@codeaurora.org;
> dmaengine@vger.kernel.org; linux-arm-kernel@lists.infradead.org;
> andy.gross@linaro.org; ntelkar@codeaurora.org; architt@codeaurora.org
> Subject: Re: [PATCH V7 4/6] i2c: qup: Add bam dma capabilities
>
> On Tue, Jan 19, 2016 at 03:32:44PM +0530, Sricharan R wrote:
> > QUP cores can be attached to a BAM module, which acts as a dma engine
> > for the QUP core. When DMA with BAM is enabled, the BAM consumer
> pipe
> > transmitted data is written to the output FIFO and the BAM producer
> > pipe received data is read from the input FIFO.
> >
> > With BAM capabilities, qup-i2c core can transfer more than
> > 256 bytes, without a 'stop' which is not possible otherwise.
> >
> > Signed-off-by: Sricharan R <sricharan@codeaurora.org>
> > Reviewed-by: Andy Gross <andy.gross@linaro.org>
> > Tested-by: Archit Taneja <architt@codeaurora.org>
> > Tested-by: Telkar Nagender <ntelkar@codeaurora.org>
>
> My code checkers found some issues:
>
> SPARSE
> drivers/i2c/busses/i2c-qup.c:555:6: warning: symbol 'qup_sg_set_buf' was
> not declared. Should it be static?
> drivers/i2c/busses/i2c-qup.c:1243:50: warning: dubious: !x & !y
> SMATCH
> drivers/i2c/busses/i2c-qup.c:165 qup_sg_set_buf warn: unused return: s =
> sg_next()
> drivers/i2c/busses/i2c-qup.c:165 qup_sg_set_buf warn: unused return: s =
> sg_next()
> drivers/i2c/busses/i2c-qup.c:1243 qup_i2c_xfer_v2() warn: add some
> parenthesis here?
> CPPCHECK
> drivers/i2c/busses/i2c-qup.c:1243: style: Boolean result is used in
bitwise
> operation. Clarify expression with parentheses.
> SPATCH
> drivers/i2c/busses/i2c-qup.c:1380:2-13: WARNING: Assignment of bool to 0/1
> drivers/i2c/busses/i2c-qup.c:1481:1-13: WARNING: Assignment of bool to 0/1
> CC drivers/i2c/busses/i2c-qup.o
> drivers/i2c/busses/i2c-qup.c:555:6: warning: no previous prototype for
> 'qup_sg_set_buf' [-Wmissing-prototypes] void qup_sg_set_buf(struct
> scatterlist *sg, void *buf, struct qup_i2c_tag *tg,
>
> Can you fix them and resend??
Sorry on this , will resend this patch.
Regards,
Sricharan
[toc] | [prev] | [next] | [standalone]
| From | "Sricharan" <sricharan@codeaurora.org> |
|---|---|
| Date | 2016-02-22 13:30 +0100 |
| Message-ID | <r4XMJ-5Nd-1@gated-at.bofh.it> |
| In reply to | #1333012 |
Hi Wolfram, > -----Original Message----- > From: Sricharan [mailto:sricharan@codeaurora.org] > Sent: Saturday, February 13, 2016 12:29 PM > To: 'Wolfram Sang' > Cc: 'devicetree@vger.kernel.org'; 'linux-arm-msm@vger.kernel.org'; > 'agross@codeaurora.org'; 'linux-kernel@vger.kernel.org'; 'linux- > i2c@vger.kernel.org'; 'iivanov@mm-sol.com'; 'galak@codeaurora.org'; > 'dmaengine@vger.kernel.org'; 'linux-arm-kernel@lists.infradead.org'; > 'andy.gross@linaro.org'; 'ntelkar@codeaurora.org'; 'architt@codeaurora.org' > Subject: RE: [PATCH V7 4/6] i2c: qup: Add bam dma capabilities > > Hi Wolfram, > > > -----Original Message----- > > From: Wolfram Sang [mailto:wsa@the-dreams.de] > > Sent: Saturday, February 13, 2016 12:08 AM > > To: Sricharan R > > Cc: devicetree@vger.kernel.org; linux-arm-msm@vger.kernel.org; > > agross@codeaurora.org; linux-kernel@vger.kernel.org; linux- > > i2c@vger.kernel.org; iivanov@mm-sol.com; galak@codeaurora.org; > > dmaengine@vger.kernel.org; linux-arm-kernel@lists.infradead.org; > > andy.gross@linaro.org; ntelkar@codeaurora.org; architt@codeaurora.org > > Subject: Re: [PATCH V7 4/6] i2c: qup: Add bam dma capabilities > > > > On Tue, Jan 19, 2016 at 03:32:44PM +0530, Sricharan R wrote: > > > QUP cores can be attached to a BAM module, which acts as a dma > > > engine for the QUP core. When DMA with BAM is enabled, the BAM > > > consumer > > pipe > > > transmitted data is written to the output FIFO and the BAM producer > > > pipe received data is read from the input FIFO. > > > > > > With BAM capabilities, qup-i2c core can transfer more than > > > 256 bytes, without a 'stop' which is not possible otherwise. > > > > > > Signed-off-by: Sricharan R <sricharan@codeaurora.org> > > > Reviewed-by: Andy Gross <andy.gross@linaro.org> > > > Tested-by: Archit Taneja <architt@codeaurora.org> > > > Tested-by: Telkar Nagender <ntelkar@codeaurora.org> > > > > My code checkers found some issues: > > > > SPARSE > > drivers/i2c/busses/i2c-qup.c:555:6: warning: symbol 'qup_sg_set_buf' > > was not declared. Should it be static? > > drivers/i2c/busses/i2c-qup.c:1243:50: warning: dubious: !x & !y > > SMATCH > > drivers/i2c/busses/i2c-qup.c:165 qup_sg_set_buf warn: unused return: s > > = > > sg_next() > > drivers/i2c/busses/i2c-qup.c:165 qup_sg_set_buf warn: unused return: s > > = > > sg_next() > > drivers/i2c/busses/i2c-qup.c:1243 qup_i2c_xfer_v2() warn: add some > > parenthesis here? > > CPPCHECK > > drivers/i2c/busses/i2c-qup.c:1243: style: Boolean result is used in > > bitwise operation. Clarify expression with parentheses. > > SPATCH > > drivers/i2c/busses/i2c-qup.c:1380:2-13: WARNING: Assignment of bool to > > 0/1 > > drivers/i2c/busses/i2c-qup.c:1481:1-13: WARNING: Assignment of bool to > 0/1 > > CC drivers/i2c/busses/i2c-qup.o > > drivers/i2c/busses/i2c-qup.c:555:6: warning: no previous prototype for > > 'qup_sg_set_buf' [-Wmissing-prototypes] void qup_sg_set_buf(struct > > scatterlist *sg, void *buf, struct qup_i2c_tag *tg, > > > > Can you fix them and resend?? > Really sorry for the delay , sent it here [1] Also, while testing this series in one of a new platform, found that an additional Regression and a fix is required on top of this series. So can I send a separate fix on top of this series ? [1] https://patchwork.ozlabs.org/patch/586125/ Regards, Sricharan
[toc] | [prev] | [next] | [standalone]
| From | Wolfram Sang <wsa@the-dreams.de> |
|---|---|
| Date | 2016-02-22 13:40 +0100 |
| Message-ID | <r4XWq-5Qy-3@gated-at.bofh.it> |
| In reply to | #1339439 |
[Multipart message — attachments visible in raw view] — view raw
> Regression and a fix is required on top of this series. So can I send a > separate fix on top of this series ? Yes, do it like this. And please quote only relevant parts of a mail.
[toc] | [prev] | [next] | [standalone]
| From | "Sricharan" <sricharan@codeaurora.org> |
|---|---|
| Date | 2016-02-22 14:50 +0100 |
| Message-ID | <r4Z2a-6yP-1@gated-at.bofh.it> |
| In reply to | #1339445 |
Hi Wolfram, > > Regression and a fix is required on top of this series. So can I > > send a separate fix on top of this series ? > > Yes, do it like this. And please quote only relevant parts of a mail. Ok, will send a fix separately. Sorry for the noisy reply previously .. Regards, Sricharan
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web