[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v1 2/5] dma/xlnx-zdma: Populate DBG0.CMN_BUF_FREE
From: |
Alistair Francis |
Subject: |
Re: [PATCH v1 2/5] dma/xlnx-zdma: Populate DBG0.CMN_BUF_FREE |
Date: |
Thu, 2 Apr 2020 10:13:19 -0700 |
On Thu, Apr 2, 2020 at 6:46 AM Edgar E. Iglesias
<address@hidden> wrote:
>
> From: "Edgar E. Iglesias" <address@hidden>
>
> Populate DBG0.CMN_BUF_FREE so that SW can see some free space.
>
> Signed-off-by: Edgar E. Iglesias <address@hidden>
Reviewed-by: Alistair Francis <address@hidden>
Alistair
> ---
> hw/dma/xlnx-zdma.c | 6 ++++++
> 1 file changed, 6 insertions(+)
>
> diff --git a/hw/dma/xlnx-zdma.c b/hw/dma/xlnx-zdma.c
> index a6c5b2304a..6a4699757a 100644
> --- a/hw/dma/xlnx-zdma.c
> +++ b/hw/dma/xlnx-zdma.c
> @@ -680,6 +680,12 @@ static RegisterAccessInfo zdma_regs_info[] = {
> },{ .name = "ZDMA_CH_DBG0", .addr = A_ZDMA_CH_DBG0,
> .rsvd = 0xfffffe00,
> .ro = 0x1ff,
> +
> + /*
> + * There's SW out there that will check the debug regs for free
> space.
> + * Claim that we always have 0x100 free.
> + */
> + .reset = 0x100
> },{ .name = "ZDMA_CH_DBG1", .addr = A_ZDMA_CH_DBG1,
> .rsvd = 0xfffffe00,
> .ro = 0x1ff,
> --
> 2.20.1
>
>
- [PATCH v1 0/5] dma/xlnx-zdma: Bug fixes, Edgar E. Iglesias, 2020/04/02
- [PATCH v1 1/5] dma/xlnx-zdma: Remove comment, Edgar E. Iglesias, 2020/04/02
- [PATCH v1 2/5] dma/xlnx-zdma: Populate DBG0.CMN_BUF_FREE, Edgar E. Iglesias, 2020/04/02
- [PATCH v1 3/5] dma/xlnx-zdma: Clear DMA_DONE when halting, Edgar E. Iglesias, 2020/04/02
- [PATCH v1 4/5] dma/xlnx-zdma: Advance the descriptor address when stopping, Edgar E. Iglesias, 2020/04/02
- [PATCH v1 5/5] dma/xlnx-zdma: Reorg to fix CUR_DSCR, Edgar E. Iglesias, 2020/04/02