[PATCH] riscv: Add ERRATA_MIPS_P8700_WFI to replace WFI with mips.pause

Aleksa Paunovic aleksa.paunovic at htecgroup.com
Mon Jun 8 08:12:48 PDT 2026


Hi Maciej,

On 5/22/26 13:22, Maciej W. Rozycki wrote:
> 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?
>
I added the full description of the issue in v2. 

Best regards,
Aleksa


More information about the linux-riscv mailing list