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


Groups > linux.kernel > #1457444

Re: [PATCH 3/3] dmaengine: pl330: support transfer unaligned with (burst len * burst size)

From Xing Zheng <zhengxing@rock-chips.com>
Newsgroups linux.kernel
Subject Re: [PATCH 3/3] dmaengine: pl330: support transfer unaligned with (burst len * burst size)
Date 2016-08-07 11:30 +0200
Message-ID <s3sz7-1Tz-1@gated-at.bofh.it> (permalink)
References <s2DwB-1FQ-3@gated-at.bofh.it> <s2DPY-22L-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

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


Thread

[PATCH 0/3] Support burst request by peripherals Shawn Lin <shawn.lin@rock-chips.com> - 2016-08-05 05:00 +0200
  [PATCH 3/3] dmaengine: pl330: support transfer unaligned with (burst len * burst size) Shawn Lin <shawn.lin@rock-chips.com> - 2016-08-05 05:20 +0200
    Re: [PATCH 3/3] dmaengine: pl330: support transfer unaligned with  (burst len * burst size) Xing Zheng <zhengxing@rock-chips.com> - 2016-08-07 11:30 +0200

csiph-web