Re: [PATCH 3/4] target/ppc: Move common check in machne check handlers to a function

2023-06-25 Thread Nicholas Piggin
On Fri Jun 23, 2023 at 11:20 PM AEST, Fabiano Rosas wrote: > Nicholas Piggin writes: > > > From: BALATON Zoltan > > > > All powerpc exception handlers share some code when handling machine > > check exceptions. Move this to a common function. > > > > Maybe Machine Check is simple enough, but this

Re: [PATCH 3/4] target/ppc: Move common check in machne check handlers to a function

2023-06-23 Thread BALATON Zoltan
On Fri, 23 Jun 2023, Fabiano Rosas wrote: Nicholas Piggin writes: From: BALATON Zoltan All powerpc exception handlers share some code when handling machine check exceptions. Move this to a common function. Maybe Machine Check is simple enough, but this kind of sharing of code has historic

Re: [PATCH 3/4] target/ppc: Move common check in machne check handlers to a function

2023-06-23 Thread Fabiano Rosas
Nicholas Piggin writes: > From: BALATON Zoltan > > All powerpc exception handlers share some code when handling machine > check exceptions. Move this to a common function. > Maybe Machine Check is simple enough, but this kind of sharing of code has historically caused pain when people want to c

[PATCH 3/4] target/ppc: Move common check in machne check handlers to a function

2023-06-23 Thread Nicholas Piggin
From: BALATON Zoltan All powerpc exception handlers share some code when handling machine check exceptions. Move this to a common function. Reviewed-by: Nicholas Piggin Signed-off-by: BALATON Zoltan [np: tweak subject, rename function to powerpc_mcheck_test_and_checkstop] Signed-off-by-by: Nic