Re: [PATCH v3] riscv: Fix udelay in RV32.
From: Paul Walmsley
Date: Tue Jun 11 2019 - 10:33:43 EST
On Thu, 30 May 2019, Nick Hu wrote:
> In RV32, udelay would delay the wrong cycle. When it shifts right
> "UDELAY_SHITFT" bits, it either delays 0 cycle or 1 cycle. It only works
> correctly in RV64. Because the 'ucycles' always needs to be 64 bits
> Signed-off-by: Nick Hu <nickhu@xxxxxxxxxxxxx>
> Reviewed-by: Palmer Dabbelt <palmer@xxxxxxxxxx>
Thanks, queued for v5.2-rc.