Re: [RFC PATCH v3 04/12] Validate r1 value before going to host kernel in virtual mode.

2013-09-09 Thread Benjamin Herrenschmidt
On Mon, 2013-09-09 at 15:29 +1000, Paul Mackerras wrote: > Are we guaranteed that Sapphire will keep the stack pointer positive > at all times? (More a question for Ben H than you.) Good point, we *might* eventually set the top bit.. Ben. ___ Linuxpp

Re: [RFC PATCH v3 04/12] Validate r1 value before going to host kernel in virtual mode.

2013-09-08 Thread Paul Mackerras
On Tue, Aug 27, 2013 at 01:01:48AM +0530, Mahesh J Salgaonkar wrote: > From: Mahesh Salgaonkar > > We can get machine checks from any context. We need to make sure that > we handle all of them correctly. Once we decode MCE reason and generate > MCE event, we continue in host kernel in virtual mod

[RFC PATCH v3 04/12] Validate r1 value before going to host kernel in virtual mode.

2013-08-26 Thread Mahesh J Salgaonkar
From: Mahesh Salgaonkar We can get machine checks from any context. We need to make sure that we handle all of them correctly. Once we decode MCE reason and generate MCE event, we continue in host kernel in virtual mode so that we can log/display it later. But before going to virtual mode we need