Re: [PATCH v2] powerpc/book3s: mce: Move add_taint() later in virtual mode.

2017-05-01 Thread Mahesh J Salgaonkar
On 2017-05-02 01:22:06 Tue, Daniel Axtens wrote: > Michael Ellerman writes: > > > Daniel Axtens writes: > >>> diff --git a/arch/powerpc/kernel/mce.c b/arch/powerpc/kernel/mce.c > >>> index a1475e6..b23b323 100644 > >>> --- a/arch/powerpc/kernel/mce.c > >>> +++ b/arch/powerpc/kernel/mce.c > >>> @

Re: [PATCH v2] powerpc/book3s: mce: Move add_taint() later in virtual mode.

2017-05-01 Thread Daniel Axtens
Michael Ellerman writes: > Daniel Axtens writes: >>> diff --git a/arch/powerpc/kernel/mce.c b/arch/powerpc/kernel/mce.c >>> index a1475e6..b23b323 100644 >>> --- a/arch/powerpc/kernel/mce.c >>> +++ b/arch/powerpc/kernel/mce.c >>> @@ -221,6 +221,8 @@ static void machine_check_process_queued_event

Re: [PATCH v2] powerpc/book3s: mce: Move add_taint() later in virtual mode.

2017-04-24 Thread Mahesh Jagannath Salgaonkar
On 04/21/2017 09:37 AM, Michael Ellerman wrote: > Daniel Axtens writes: >>> diff --git a/arch/powerpc/kernel/mce.c b/arch/powerpc/kernel/mce.c >>> index a1475e6..b23b323 100644 >>> --- a/arch/powerpc/kernel/mce.c >>> +++ b/arch/powerpc/kernel/mce.c >>> @@ -221,6 +221,8 @@ static void machine_check

Re: [PATCH v2] powerpc/book3s: mce: Move add_taint() later in virtual mode.

2017-04-20 Thread Michael Ellerman
Daniel Axtens writes: >> diff --git a/arch/powerpc/kernel/mce.c b/arch/powerpc/kernel/mce.c >> index a1475e6..b23b323 100644 >> --- a/arch/powerpc/kernel/mce.c >> +++ b/arch/powerpc/kernel/mce.c >> @@ -221,6 +221,8 @@ static void machine_check_process_queued_event(struct >> irq_work *work) >> {

Re: [PATCH v2] powerpc/book3s: mce: Move add_taint() later in virtual mode.

2017-04-20 Thread Daniel Axtens
Hi Mahesh, > diff --git a/arch/powerpc/kernel/mce.c b/arch/powerpc/kernel/mce.c > index a1475e6..b23b323 100644 > --- a/arch/powerpc/kernel/mce.c > +++ b/arch/powerpc/kernel/mce.c > @@ -221,6 +221,8 @@ static void machine_check_process_queued_event(struct > irq_work *work) > { > int index;

[PATCH v2] powerpc/book3s: mce: Move add_taint() later in virtual mode.

2017-04-18 Thread Mahesh J Salgaonkar
From: Mahesh Salgaonkar machine_check_early() gets called in real mode. The very first time when add_taint() is called, it prints a warning which ends up calling opal call (that uses OPAL_CALL wrapper) for writing it to console. If we get a very first machine check while we are in opal we are doo