Re: [PATCH] powerpc/powernv: Fix opal entry/exit MSR_RI coverage

2017-04-23 Thread Nicholas Piggin
On Mon, 24 Apr 2017 15:09:02 +1000 Benjamin Herrenschmidt wrote: > On Mon, 2017-04-24 at 14:55 +1000, Nicholas Piggin wrote: > > On Mon, 24 Apr 2017 11:47:48 +1000 > > > Benjamin Herrenschmidt wrote: > > > > > On Thu, 2017-03-30 at

Re: [PATCH] powerpc/powernv: Fix opal entry/exit MSR_RI coverage

2017-04-23 Thread Benjamin Herrenschmidt
On Mon, 2017-04-24 at 14:55 +1000, Nicholas Piggin wrote: > On Mon, 24 Apr 2017 11:47:48 +1000 > > Benjamin Herrenschmidt wrote: > > > On Thu, 2017-03-30 at 22:10 +1000, Nicholas Piggin wrote: > > > There are some windows in opal entry/exit that can not recover from a >

Re: [PATCH] powerpc/powernv: Fix opal entry/exit MSR_RI coverage

2017-04-23 Thread Nicholas Piggin
On Mon, 24 Apr 2017 11:47:48 +1000 Benjamin Herrenschmidt wrote: > On Thu, 2017-03-30 at 22:10 +1000, Nicholas Piggin wrote: > > There are some windows in opal entry/exit that can not recover from a > > re-entrant interrupt (e.g., machine check) due to using SRR

Re: [PATCH] powerpc/powernv: Fix opal entry/exit MSR_RI coverage

2017-04-23 Thread Benjamin Herrenschmidt
On Thu, 2017-03-30 at 22:10 +1000, Nicholas Piggin wrote: > There are some windows in opal entry/exit that can not recover from a > re-entrant interrupt (e.g., machine check) due to using SRR registers, > but they currently do not have MSR_RI clear. > > These were found by machine check injection

[PATCH] powerpc/powernv: Fix opal entry/exit MSR_RI coverage

2017-03-30 Thread Nicholas Piggin
There are some windows in opal entry/exit that can not recover from a re-entrant interrupt (e.g., machine check) due to using SRR registers, but they currently do not have MSR_RI clear. These were found by machine check injection coverage tests using the powerpc system simulator (Mambo).