Re: [Qemu-devel] [PATCH v1 1/1] xilinx_axidma.c: Fix up the stream_running() function

2015-06-18 Thread Alistair Francis
On Fri, Jun 5, 2015 at 12:58 PM, Peter Crosthwaite wrote: > On Thu, Jun 4, 2015 at 7:00 PM, Alistair Francis > wrote: >> On Thu, Jun 4, 2015 at 8:52 AM, Peter Crosthwaite >> wrote: >>> On Wed, May 27, 2015 at 12:37 AM, Alistair Francis >>> wrote: Previously the stream_running() function di

Re: [Qemu-devel] [PATCH v1 1/1] xilinx_axidma.c: Fix up the stream_running() function

2015-06-04 Thread Peter Crosthwaite
On Thu, Jun 4, 2015 at 7:00 PM, Alistair Francis wrote: > On Thu, Jun 4, 2015 at 8:52 AM, Peter Crosthwaite > wrote: >> On Wed, May 27, 2015 at 12:37 AM, Alistair Francis >> wrote: >>> Previously the stream_running() function didn't check >>> if the DMA was halted. This caused hangs in recent ve

Re: [Qemu-devel] [PATCH v1 1/1] xilinx_axidma.c: Fix up the stream_running() function

2015-06-04 Thread Alistair Francis
On Thu, Jun 4, 2015 at 8:52 AM, Peter Crosthwaite wrote: > On Wed, May 27, 2015 at 12:37 AM, Alistair Francis > wrote: >> Previously the stream_running() function didn't check >> if the DMA was halted. This caused hangs in recent versions >> of MicroBlaze u-boot. Correct stream_running() to check

Re: [Qemu-devel] [PATCH v1 1/1] xilinx_axidma.c: Fix up the stream_running() function

2015-06-04 Thread Michael Tokarev
03.06.2015 10:00, Alistair Francis wrote: > On Wed, May 27, 2015 at 5:37 PM, Alistair Francis > wrote: >> Previously the stream_running() function didn't check >> if the DMA was halted. This caused hangs in recent versions >> of MicroBlaze u-boot. Correct stream_running() to check >> DMASR_HALTED

Re: [Qemu-devel] [PATCH v1 1/1] xilinx_axidma.c: Fix up the stream_running() function

2015-06-03 Thread Peter Crosthwaite
On Wed, May 27, 2015 at 12:37 AM, Alistair Francis wrote: > Previously the stream_running() function didn't check > if the DMA was halted. This caused hangs in recent versions > of MicroBlaze u-boot. Correct stream_running() to check > DMASR_HALTED as well as DMACR_RUNSTOP. > So I'm stuggling wit

Re: [Qemu-devel] [PATCH v1 1/1] xilinx_axidma.c: Fix up the stream_running() function

2015-06-03 Thread Alistair Francis
On Wed, May 27, 2015 at 5:37 PM, Alistair Francis wrote: > Previously the stream_running() function didn't check > if the DMA was halted. This caused hangs in recent versions > of MicroBlaze u-boot. Correct stream_running() to check > DMASR_HALTED as well as DMACR_RUNSTOP. > > Signed-off-by: Alist

[Qemu-devel] [PATCH v1 1/1] xilinx_axidma.c: Fix up the stream_running() function

2015-05-27 Thread Alistair Francis
Previously the stream_running() function didn't check if the DMA was halted. This caused hangs in recent versions of MicroBlaze u-boot. Correct stream_running() to check DMASR_HALTED as well as DMACR_RUNSTOP. Signed-off-by: Alistair Francis Reviewed-by: Sai Pavan Boddu --- hw/dma/xilinx_axidma.