From: Xing Zheng <zhengxing-TNX95d0MmH7DzftRWevZcw@public.gmane.org>
To: Shawn Lin <shawn.lin-TNX95d0MmH7DzftRWevZcw@public.gmane.org>,
Vinod Koul <vinod.koul-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
Cc: Rob Herring <robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>,
Huibin Hong <huibin.hong-TNX95d0MmH7DzftRWevZcw@public.gmane.org>,
devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
dianders-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org,
briannorris-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org,
Caesar Wang <wxt-TNX95d0MmH7DzftRWevZcw@public.gmane.org>,
dmaengine-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
linux-rockchip-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org
Subject: Re: [PATCH 3/3] dmaengine: pl330: support transfer unaligned with (burst len * burst size)
Date: Sun, 7 Aug 2016 17:21:31 +0800 [thread overview]
Message-ID: <57A6FD9B.7000203@rock-chips.com> (raw)
In-Reply-To: <1470365602-32586-4-git-send-email-shawn.lin-TNX95d0MmH7DzftRWevZcw@public.gmane.org>
Hi Shawn
On 2016年08月05日 10:53, Shawn Lin wrote:
> Currently pl330 doesn't support transfer which doesn't
> align with burst len * burst size. This should be only
> for single mode. Let's allow it for busrt mode if available.
>
> e.g. transfers 0x10002 bytes:
> First loop 256*16*16=0x10000, burst size is 1, burst length is 16.
> Then the second loop 2 bytes, burst size is 1, burst length is 1.
>
> f0041000: DMAMOV CCR 0xbc02f1
> f0041006: DMAMOV SAR 0xdd6c0000
> f004100c: DMAMOV DAR 0xff1d0400
> f0041012: DMALP_0 15
> f0041014: DMALP_1 255
> f0041016: DMAWFPB 12
> f0041018: DMALDA
> f0041019: DMASTPB 12
> f004101b: DMAFLUSHP 12
> f004101d: DMALPENDA_1 bjmpto_7
> f004101f: DMALPENDA_0 bjmpto_b
> f0041021: DMAMOV CCR 0x800201
> f0041027: DMALP_1 1
> f0041029: DMAWFPB 12
> f004102b: DMALDA
> f004102c: DMASTPB 12
> f004102e: DMAFLUSHP 12
> f0041030: DMALPENDA_1 bjmpto_7
> f0041032: DMASEV 0
> f0041034: DMAEND
>
> Signed-off-by: Shawn Lin <shawn.lin-TNX95d0MmH7DzftRWevZcw@public.gmane.org>
>
Tested-by: Xing Zheng <zhengxing-TNX95d0MmH7DzftRWevZcw@public.gmane.org>
Thanks.
--
- Xing Zheng
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
WARNING: multiple messages have this Message-ID (diff)
From: zhengxing@rock-chips.com (Xing Zheng)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 3/3] dmaengine: pl330: support transfer unaligned with (burst len * burst size)
Date: Sun, 7 Aug 2016 17:21:31 +0800 [thread overview]
Message-ID: <57A6FD9B.7000203@rock-chips.com> (raw)
In-Reply-To: <1470365602-32586-4-git-send-email-shawn.lin@rock-chips.com>
Hi Shawn
On 2016?08?05? 10:53, Shawn Lin wrote:
> Currently pl330 doesn't support transfer which doesn't
> align with burst len * burst size. This should be only
> for single mode. Let's allow it for busrt mode if available.
>
> e.g. transfers 0x10002 bytes:
> First loop 256*16*16=0x10000, burst size is 1, burst length is 16.
> Then the second loop 2 bytes, burst size is 1, burst length is 1.
>
> f0041000: DMAMOV CCR 0xbc02f1
> f0041006: DMAMOV SAR 0xdd6c0000
> f004100c: DMAMOV DAR 0xff1d0400
> f0041012: DMALP_0 15
> f0041014: DMALP_1 255
> f0041016: DMAWFPB 12
> f0041018: DMALDA
> f0041019: DMASTPB 12
> f004101b: DMAFLUSHP 12
> f004101d: DMALPENDA_1 bjmpto_7
> f004101f: DMALPENDA_0 bjmpto_b
> f0041021: DMAMOV CCR 0x800201
> f0041027: DMALP_1 1
> f0041029: DMAWFPB 12
> f004102b: DMALDA
> f004102c: DMASTPB 12
> f004102e: DMAFLUSHP 12
> f0041030: DMALPENDA_1 bjmpto_7
> f0041032: DMASEV 0
> f0041034: DMAEND
>
> Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
>
Tested-by: Xing Zheng <zhengxing@rock-chips.com>
Thanks.
--
- Xing Zheng
WARNING: multiple messages have this Message-ID (diff)
From: Xing Zheng <zhengxing@rock-chips.com>
To: Shawn Lin <shawn.lin@rock-chips.com>, Vinod Koul <vinod.koul@intel.com>
Cc: Rob Herring <robh+dt@kernel.org>,
Huibin Hong <huibin.hong@rock-chips.com>,
devicetree@vger.kernel.org, dianders@chromium.org,
briannorris@chromium.org, Caesar Wang <wxt@rock-chips.com>,
dmaengine@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
linux-rockchip@lists.infradead.org
Subject: Re: [PATCH 3/3] dmaengine: pl330: support transfer unaligned with (burst len * burst size)
Date: Sun, 7 Aug 2016 17:21:31 +0800 [thread overview]
Message-ID: <57A6FD9B.7000203@rock-chips.com> (raw)
In-Reply-To: <1470365602-32586-4-git-send-email-shawn.lin@rock-chips.com>
Hi Shawn
On 2016年08月05日 10:53, Shawn Lin wrote:
> Currently pl330 doesn't support transfer which doesn't
> align with burst len * burst size. This should be only
> for single mode. Let's allow it for busrt mode if available.
>
> e.g. transfers 0x10002 bytes:
> First loop 256*16*16=0x10000, burst size is 1, burst length is 16.
> Then the second loop 2 bytes, burst size is 1, burst length is 1.
>
> f0041000: DMAMOV CCR 0xbc02f1
> f0041006: DMAMOV SAR 0xdd6c0000
> f004100c: DMAMOV DAR 0xff1d0400
> f0041012: DMALP_0 15
> f0041014: DMALP_1 255
> f0041016: DMAWFPB 12
> f0041018: DMALDA
> f0041019: DMASTPB 12
> f004101b: DMAFLUSHP 12
> f004101d: DMALPENDA_1 bjmpto_7
> f004101f: DMALPENDA_0 bjmpto_b
> f0041021: DMAMOV CCR 0x800201
> f0041027: DMALP_1 1
> f0041029: DMAWFPB 12
> f004102b: DMALDA
> f004102c: DMASTPB 12
> f004102e: DMAFLUSHP 12
> f0041030: DMALPENDA_1 bjmpto_7
> f0041032: DMASEV 0
> f0041034: DMAEND
>
> Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
>
Tested-by: Xing Zheng <zhengxing@rock-chips.com>
Thanks.
--
- Xing Zheng
next prev parent reply other threads:[~2016-08-07 9:21 UTC|newest]
Thread overview: 37+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-05 2:53 [PATCH 0/3] Support burst request by peripherals Shawn Lin
2016-08-05 2:53 ` Shawn Lin
2016-08-05 2:53 ` Shawn Lin
[not found] ` <1470365602-32586-1-git-send-email-shawn.lin-TNX95d0MmH7DzftRWevZcw@public.gmane.org>
2016-08-05 2:53 ` [PATCH 1/3] dt/bindings: arm-pl330: add description of arm,pl330-periph-burst Shawn Lin
2016-08-05 2:53 ` Shawn Lin
2016-08-05 2:53 ` [PATCH 1/3] dt/bindings: arm-pl330: add description of arm, pl330-periph-burst Shawn Lin
2016-08-05 3:34 ` [PATCH 1/3] dt/bindings: arm-pl330: add description of arm,pl330-periph-burst Vinod Koul
2016-08-05 3:34 ` Vinod Koul
2016-08-05 7:25 ` Shawn Lin
2016-08-05 7:25 ` Shawn Lin
[not found] ` <ea3572fa-4bff-87db-d5ad-f406809f8296-TNX95d0MmH7DzftRWevZcw@public.gmane.org>
2016-08-09 8:39 ` Lars-Peter Clausen
2016-08-09 8:39 ` Lars-Peter Clausen
2016-08-09 8:39 ` Lars-Peter Clausen
2016-08-09 9:12 ` Shawn Lin
2016-08-09 9:12 ` Shawn Lin
[not found] ` <1d42542f-c43c-5c4b-01b7-ba0ca085004a-TNX95d0MmH7DzftRWevZcw@public.gmane.org>
2016-08-17 8:11 ` Shawn Lin
2016-08-17 8:11 ` Shawn Lin
2016-08-17 8:11 ` Shawn Lin
2016-08-19 2:45 ` Vinod Koul
2016-08-19 2:45 ` Vinod Koul
2016-08-21 1:00 ` Shawn Lin
2016-08-21 1:00 ` Shawn Lin
2016-08-21 1:00 ` Shawn Lin
[not found] ` <d4574737-f7b7-2726-373c-31cc81274a32-TNX95d0MmH7DzftRWevZcw@public.gmane.org>
2016-08-22 6:04 ` Vinod Koul
2016-08-22 6:04 ` Vinod Koul
2016-08-22 6:04 ` Vinod Koul
2016-08-05 2:53 ` [PATCH 2/3] dmaengine: pl330: enable burst mode by parsing dt Shawn Lin
2016-08-05 2:53 ` Shawn Lin
2016-08-05 2:53 ` Shawn Lin
2016-08-07 9:20 ` Xing Zheng
2016-08-07 9:20 ` Xing Zheng
2016-08-05 2:53 ` [PATCH 3/3] dmaengine: pl330: support transfer unaligned with (burst len * burst size) Shawn Lin
2016-08-05 2:53 ` Shawn Lin
2016-08-05 2:53 ` Shawn Lin
[not found] ` <1470365602-32586-4-git-send-email-shawn.lin-TNX95d0MmH7DzftRWevZcw@public.gmane.org>
2016-08-07 9:21 ` Xing Zheng [this message]
2016-08-07 9:21 ` Xing Zheng
2016-08-07 9:21 ` Xing Zheng
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=57A6FD9B.7000203@rock-chips.com \
--to=zhengxing-tnx95d0mmh7dzftrwevzcw@public.gmane.org \
--cc=briannorris-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org \
--cc=devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=dianders-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org \
--cc=dmaengine-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=huibin.hong-TNX95d0MmH7DzftRWevZcw@public.gmane.org \
--cc=linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org \
--cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=linux-rockchip-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org \
--cc=robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
--cc=shawn.lin-TNX95d0MmH7DzftRWevZcw@public.gmane.org \
--cc=vinod.koul-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org \
--cc=wxt-TNX95d0MmH7DzftRWevZcw@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.