Re: [PATCH 6/6] target/ppc: fix exception error code in spr_write_excp_vector

2022-07-13 Thread Daniel Henrique Barboza
On 6/27/22 11:11, Matheus Ferst wrote: The 'error' argument of gen_inval_exception will be or-ed with POWERPC_EXCP_INVAL, so it should always be a constant prefixed with POWERPC_EXCP_INVAL_. No functional change is intended, spr_write_excp_vector is only used by register_BookE_sprs, and powerp

[PATCH 6/6] target/ppc: fix exception error code in spr_write_excp_vector

2022-06-27 Thread Matheus Ferst
The 'error' argument of gen_inval_exception will be or-ed with POWERPC_EXCP_INVAL, so it should always be a constant prefixed with POWERPC_EXCP_INVAL_. No functional change is intended, spr_write_excp_vector is only used by register_BookE_sprs, and powerpc_excp_booke ignores the lower 4 bits of the