[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2] Cadence: gem: fix wraparound in 64bit descriptors
From: |
Peter Maydell |
Subject: |
Re: [PATCH v2] Cadence: gem: fix wraparound in 64bit descriptors |
Date: |
Mon, 20 Apr 2020 10:03:58 +0100 |
On Fri, 17 Apr 2020 at 18:17, Ramon Fried <address@hidden> wrote:
>
> Wraparound of TX descriptor cyclic buffer only updated
> the low 32 bits of the descriptor.
> Fix that by checking if we're working with 64bit descriptors.
>
> Signed-off-by: Ramon Fried <address@hidden>
> Reviewed-by: Edgar E. Iglesias <address@hidden>
> ---
> v2: Fix indention problem.
>
> hw/net/cadence_gem.c | 9 ++++++++-
> 1 file changed, 8 insertions(+), 1 deletion(-)
Applied to target-arm.next for 5.1, thanks.
-- PMM