Re: [PATCH 3/3] powerpc/64s: POWER9 machine check handler

2017-03-08 Thread Nicholas Piggin
On Tue, 28 Feb 2017 12:37:23 +0530 Mahesh Jagannath Salgaonkar wrote: > On 02/28/2017 07:30 AM, Nicholas Piggin wrote: > > +long __machine_check_early_realmode_p9(struct pt_regs *regs) > > +{ > > + uint64_t nip, addr; > > + long handled; > > + struct mce_error_info mce_error_info = { 0 };

Re: [PATCH 3/3] powerpc/64s: POWER9 machine check handler

2017-02-27 Thread Mahesh Jagannath Salgaonkar
On 02/28/2017 07:30 AM, Nicholas Piggin wrote: > Add POWER9 machine check handler. There are several new types of errors > added, so logging messages for those are also added. > > This doesn't attempt to reuse any of the P7/8 defines or functions, > because that becomes too complex. The better opt

[PATCH 3/3] powerpc/64s: POWER9 machine check handler

2017-02-27 Thread Nicholas Piggin
Add POWER9 machine check handler. There are several new types of errors added, so logging messages for those are also added. This doesn't attempt to reuse any of the P7/8 defines or functions, because that becomes too complex. The better option in future is to use a table driven approach. Signed-