Re: [PATCH 2/2] powerpc/64s/interrupt: Check and fix srr_valid without crashing

2021-06-22 Thread Christophe Leroy
Le 22/06/2021 à 10:54, Nicholas Piggin a écrit : Excerpts from Christophe Leroy's message of June 22, 2021 4:47 pm: Le 22/06/2021 à 08:04, Nicholas Piggin a écrit : The PPC_RFI_SRR_DEBUG check added by patch "powerpc/64s: avoid reloading (H)SRR registers if they are still valid" has a few

Re: [PATCH 2/2] powerpc/64s/interrupt: Check and fix srr_valid without crashing

2021-06-22 Thread Nicholas Piggin
Excerpts from Christophe Leroy's message of June 22, 2021 4:47 pm: > > > Le 22/06/2021 à 08:04, Nicholas Piggin a écrit : >> The PPC_RFI_SRR_DEBUG check added by patch "powerpc/64s: avoid reloading >> (H)SRR registers if they are still valid" has a few deficiencies. It >> does not fix the actual

Re: [PATCH 2/2] powerpc/64s/interrupt: Check and fix srr_valid without crashing

2021-06-21 Thread Christophe Leroy
Le 22/06/2021 à 08:04, Nicholas Piggin a écrit : The PPC_RFI_SRR_DEBUG check added by patch "powerpc/64s: avoid reloading (H)SRR registers if they are still valid" has a few deficiencies. It does not fix the actual problem, it's not enabled by default, and it causes a program check interrupt w

[PATCH 2/2] powerpc/64s/interrupt: Check and fix srr_valid without crashing

2021-06-21 Thread Nicholas Piggin
The PPC_RFI_SRR_DEBUG check added by patch "powerpc/64s: avoid reloading (H)SRR registers if they are still valid" has a few deficiencies. It does not fix the actual problem, it's not enabled by default, and it causes a program check interrupt which can cause more difficulties. However there are a