12.07.2015 Views

Intel(R) IQ80315 I/O Processor DMA and XOR Library APIs and ...

Intel(R) IQ80315 I/O Processor DMA and XOR Library APIs and ...

Intel(R) IQ80315 I/O Processor DMA and XOR Library APIs and ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>Intel</strong> ® GW80314 I/O <strong>Processor</strong> <strong>DMA</strong> <strong>and</strong> <strong>XOR</strong> <strong>Library</strong>General Notes8.0 General Notes8.1 Cache Implications Using Append Resume MacrosFor a <strong>DMA</strong> or <strong>XOR</strong> descriptor, when the data cache policy requires a cache clean below are thenumber of cachelines required to be cleaned:• <strong>DMA</strong> 2 cache lines• <strong>XOR</strong> 4 source 2 cache lines• <strong>XOR</strong> 8 source 3 cache lines• <strong>XOR</strong> 16 source 5 cache lines8.2 GCSR is used to set Descriptor Completion InterruptsThe gscr is the Channel General Control <strong>and</strong> Status Register <strong>and</strong> is used to set interrupt completioninterrupts. Note this is a channel global register verses a descriptor specific flag. So the channelchain state must be determined when doing appends <strong>and</strong> using interrupts to identify end of chain.8.3 Using ResumeWhen the GCSR OP_CMD remains the same for a channel, the following sequence can be used toappend <strong>and</strong> execute the next descriptor without regard to the state of execution for the existingchain (whether the existing chain is currently executing or complete).......Append goes here.*GCSR_REGISTER |=(RESUME|GO);......8.4 Changing from <strong>DMA</strong> to <strong>XOR</strong> Descriptors on the SameChannelWhen changing the the GCSR OP_CMD, the channel should be INACTIVE <strong>and</strong> the existingchained descriptors should be complete. This is required since the GCSR is used to specify theoperation comm<strong>and</strong> (OP_CMD).8.5 Error H<strong>and</strong>lingIf a descriptor generates an error condition, the <strong>DMA</strong>/<strong>XOR</strong> engine will stop during the executionof that descriptor.28 <strong>APIs</strong> <strong>and</strong> Testbench White Paper

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!