Messages in this thread | | | Date | Tue, 11 Jun 2019 07:29:10 -0700 (PDT) | From | Paul Walmsley <> | Subject | Re: [PATCH v3] riscv: Fix udelay in RV32. |
| |
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 > variable. > > Signed-off-by: Nick Hu <nickhu@andestech.com> > Reviewed-by: Palmer Dabbelt <palmer@sifive.com>
Thanks, queued for v5.2-rc.
- Paul
| |