[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <0c21a563-f029-abe6-adf4-7c8c75db44eb@flygoat.com>
Date: Tue, 5 Oct 2021 18:59:48 +0100
From: Jiaxun Yang <jiaxun.yang@...goat.com>
To: Johan Almbladh <johan.almbladh@...finetworks.com>, ast@...nel.org,
daniel@...earbox.net, andrii@...nel.org, paulburton@...nel.org
Cc: kafai@...com, songliubraving@...com, yhs@...com,
john.fastabend@...il.com, kpsingh@...nel.org,
tsbogend@...ha.franken.de, chenhuacai@...nel.org,
yangtiezhu@...ngson.cn, tony.ambardar@...il.com,
bpf@...r.kernel.org, linux-mips@...r.kernel.org,
netdev@...r.kernel.org
Subject: Re: [PATCH 2/7] mips: uasm: Add workaround for Loongson-2F nop CPU
errata
在 2021/10/5 17:54, Johan Almbladh 写道:
> This patch implements a workaround for the Loongson-2F nop in generated,
> code, if the existing option CONFIG_CPU_NOP_WORKAROUND is set. Before,
> the binutils option -mfix-loongson2f-nop was enabled, but no workaround
> was done when emitting MIPS code. Now, the nop pseudo instruction is
> emitted as "or ax,ax,zero" instead of the default "sll zero,zero,0". This
> is consistent with the workaround implemented by binutils.
>
> Link: https://sourceware.org/legacy-ml/binutils/2009-11/msg00387.html
>
> Signed-off-by: Johan Almbladh <johan.almbladh@...finetworks.com>
Reviewed-by: Jiaxun Yang <jiaxun.yang@...goat.com>
Thanks!
- Jiaxun
Powered by blists - more mailing lists