Re: [PATCH] target/ppc: Fix crash on machine check caused by ifetch

2024-01-23 Thread Cédric Le Goater
On 1/7/24 18:05, Nicholas Piggin wrote: is_prefix_insn_excp() loads the first word of the instruction address which caused an exception, to determine whether or not it was prefixed so the prefix bit can be set in [H]SRR1. In case it was the instruction fetch itself that caused the exception,

Re: [PATCH] target/ppc: Fix crash on machine check caused by ifetch

2024-01-23 Thread Cédric Le Goater
On 1/7/24 18:05, Nicholas Piggin wrote: is_prefix_insn_excp() loads the first word of the instruction address which caused an exception, to determine whether or not it was prefixed so the prefix bit can be set in [H]SRR1. In case it was the instruction fetch itself that caused the exception,

Re: [PATCH] target/ppc: Fix crash on machine check caused by ifetch

2024-01-08 Thread Cédric Le Goater
On 1/7/24 18:05, Nicholas Piggin wrote: is_prefix_insn_excp() loads the first word of the instruction address which caused an exception, to determine whether or not it was prefixed so the prefix bit can be set in [H]SRR1. In case it was the instruction fetch itself that caused the exception,

Re: [PATCH] target/ppc: Fix crash on machine check caused by ifetch

2024-01-07 Thread BALATON Zoltan
On Mon, 8 Jan 2024, Nicholas Piggin wrote: is_prefix_insn_excp() loads the first word of the instruction address which caused an exception, to determine whether or not it was prefixed so the prefix bit can be set in [H]SRR1. In case it was the instruction fetch itself that caused the exception,

[PATCH] target/ppc: Fix crash on machine check caused by ifetch

2024-01-07 Thread Nicholas Piggin
is_prefix_insn_excp() loads the first word of the instruction address which caused an exception, to determine whether or not it was prefixed so the prefix bit can be set in [H]SRR1. In case it was the instruction fetch itself that caused the exception, the [H]SRR1 prefix bit is not required to be