[PATCH v3] [PATCH] powerpc/sstep: Check ISA 3.0 instruction validity before emulation

Naveen N. Rao naveen.n.rao at linux.vnet.ibm.com
Thu Jan 21 00:50:02 AEDT 2021


On 2021/01/20 04:43PM, Ananth N Mavinakayanahalli wrote:
> We currently unconditionally try to emulate newer instructions on older
> Power versions that could cause issues. Gate it.
> 
> Signed-off-by: Ananth N Mavinakayanahalli <ananth at linux.ibm.com>
> ---
> 
> [v3] Addressed Naveen's comments on scv and addpcis
> [v2] Fixed description
> 
>  arch/powerpc/lib/sstep.c |   46 ++++++++++++++++++++++++++++++++++++++++++++--
>  1 file changed, 44 insertions(+), 2 deletions(-)

Reviewed-by: Naveen N. Rao <naveen.n.rao at linux.vnet.ibm.com>

- Naveen



More information about the Linuxppc-dev mailing list