Re: [PATCH v3 09/14] target/ppc: Move patching nip from exception handler to helper_scv

2023-06-27 Thread Nicholas Piggin
On Wed Jun 28, 2023 at 3:40 AM AEST, BALATON Zoltan wrote: > On Mon, 26 Jun 2023, Nicholas Piggin wrote: > > On Tue Jun 20, 2023 at 8:47 PM AEST, BALATON Zoltan wrote: > >> On Tue, 20 Jun 2023, Nicholas Piggin wrote: > >>> On Fri Jun 16, 2023 at 9:03 AM AEST, BALATON Zoltan wrote: > From: Nich

Re: [PATCH v3 09/14] target/ppc: Move patching nip from exception handler to helper_scv

2023-06-27 Thread BALATON Zoltan
On Mon, 26 Jun 2023, Nicholas Piggin wrote: On Tue Jun 20, 2023 at 8:47 PM AEST, BALATON Zoltan wrote: On Tue, 20 Jun 2023, Nicholas Piggin wrote: On Fri Jun 16, 2023 at 9:03 AM AEST, BALATON Zoltan wrote: From: Nicholas Piggin Unlike sc, for scv a facility unavailable interrupt must be gene

Re: [PATCH v3 09/14] target/ppc: Move patching nip from exception handler to helper_scv

2023-06-26 Thread Nicholas Piggin
On Fri Jun 16, 2023 at 9:03 AM AEST, BALATON Zoltan wrote: > From: Nicholas Piggin > > Unlike sc, for scv a facility unavailable interrupt must be generated > if FSCR[SCV]=0 so we can't raise the exception with nip set to next > instruction but we can move advancing nip if the FSCR check passes to

Re: [PATCH v3 09/14] target/ppc: Move patching nip from exception handler to helper_scv

2023-06-26 Thread Nicholas Piggin
On Tue Jun 20, 2023 at 8:47 PM AEST, BALATON Zoltan wrote: > On Tue, 20 Jun 2023, Nicholas Piggin wrote: > > On Fri Jun 16, 2023 at 9:03 AM AEST, BALATON Zoltan wrote: > >> From: Nicholas Piggin > >> > >> Unlike sc, for scv a facility unavailable interrupt must be generated > >> if FSCR[SCV]=0 so

Re: [PATCH v3 09/14] target/ppc: Move patching nip from exception handler to helper_scv

2023-06-20 Thread BALATON Zoltan
On Tue, 20 Jun 2023, Nicholas Piggin wrote: On Fri Jun 16, 2023 at 9:03 AM AEST, BALATON Zoltan wrote: From: Nicholas Piggin Unlike sc, for scv a facility unavailable interrupt must be generated if FSCR[SCV]=0 so we can't raise the exception with nip set to next instruction but we can move adv

Re: [PATCH v3 09/14] target/ppc: Move patching nip from exception handler to helper_scv

2023-06-19 Thread Nicholas Piggin
On Fri Jun 16, 2023 at 9:03 AM AEST, BALATON Zoltan wrote: > From: Nicholas Piggin > > Unlike sc, for scv a facility unavailable interrupt must be generated > if FSCR[SCV]=0 so we can't raise the exception with nip set to next > instruction but we can move advancing nip if the FSCR check passes to

[PATCH v3 09/14] target/ppc: Move patching nip from exception handler to helper_scv

2023-06-15 Thread BALATON Zoltan
From: Nicholas Piggin Unlike sc, for scv a facility unavailable interrupt must be generated if FSCR[SCV]=0 so we can't raise the exception with nip set to next instruction but we can move advancing nip if the FSCR check passes to helper_scv so the exception handler does not need to change it. [b