Re: [PATCH 6/9] target/ppc: powerpc_excp: Preserve MSR_LE bit

2022-01-04 Thread Fabiano Rosas
Fabiano Rosas writes: > We currently clear MSR_LE when copying bits from env->msr to > new_msr. However, for CPUs that do not have LPCR_ILE we always set > new_msr[LE] according to env->msr[LE]. And for CPUs that do have ILE > support we need to check LPCR/HID0 anyway, so there's no need to

[PATCH 6/9] target/ppc: powerpc_excp: Preserve MSR_LE bit

2022-01-03 Thread Fabiano Rosas
We currently clear MSR_LE when copying bits from env->msr to new_msr. However, for CPUs that do not have LPCR_ILE we always set new_msr[LE] according to env->msr[LE]. And for CPUs that do have ILE support we need to check LPCR/HID0 anyway, so there's no need to clear the bit when copying.