Re: [PATCH] riscv: Add ERRATA_MIPS_P8700_WFI to replace WFI with mips.pause
From: Maciej W. Rozycki
Date: Fri May 22 2026 - 07:22:59 EST
On Wed, 20 May 2026, Aleksa Paunovic wrote:
> >> The MIPS P8700 has bugs with the WFI instruction.
> > Has MIPS published an erratum for this? If so, could you add a link to
> > it in the patch description? If not, could you please briefly describe
> > the impact of the bug in the patch description, when WFI is used?
>
> MIPS has not published an erratum for this. Briefly, a WFI instruction
> after a mispredicted branch can result in erroneous address translation.
Shouldn't this be recorded next to actual code rather just the commit
description?
Maciej