Re: [PATCH v2 13/14] target/ppc: 405: Program exception cleanup

2022-01-25 Thread Cédric Le Goater
On 1/18/22 19:44, Fabiano Rosas wrote: The 405 Program Interrupt does not set SRR1 with any diagnostic bits, just a clean copy of the MSR. We're using the BookE Exception Syndrome Register which is different from the 405. I restored the setting of SPR_40x_ESR. Signed-off-by: Fabiano Rosas

Re: [PATCH v2 13/14] target/ppc: 405: Program exception cleanup

2022-01-20 Thread Cédric Le Goater
On 1/19/22 13:54, Fabiano Rosas wrote: David Gibson writes: On Tue, Jan 18, 2022 at 03:44:47PM -0300, Fabiano Rosas wrote: The 405 Program Interrupt does not set SRR1 with any diagnostic bits, just a clean copy of the MSR. We're using the BookE Exception Syndrome Register which is different

Re: [PATCH v2 13/14] target/ppc: 405: Program exception cleanup

2022-01-19 Thread Fabiano Rosas
David Gibson writes: > On Tue, Jan 18, 2022 at 03:44:47PM -0300, Fabiano Rosas wrote: >> The 405 Program Interrupt does not set SRR1 with any diagnostic bits, >> just a clean copy of the MSR. >> >> We're using the BookE Exception Syndrome Register which is different >> from the 405. > > Hrm. We

Re: [PATCH v2 13/14] target/ppc: 405: Program exception cleanup

2022-01-19 Thread David Gibson
On Tue, Jan 18, 2022 at 03:44:47PM -0300, Fabiano Rosas wrote: > The 405 Program Interrupt does not set SRR1 with any diagnostic bits, > just a clean copy of the MSR. > > We're using the BookE Exception Syndrome Register which is different > from the 405. Hrm. We really do want to set the 40x ES

[PATCH v2 13/14] target/ppc: 405: Program exception cleanup

2022-01-18 Thread Fabiano Rosas
The 405 Program Interrupt does not set SRR1 with any diagnostic bits, just a clean copy of the MSR. We're using the BookE Exception Syndrome Register which is different from the 405. Signed-off-by: Fabiano Rosas --- target/ppc/excp_helper.c | 16 1 file changed, 16 deletions(-)