Re: [PATCH] powerpc/eeh: Avoid misleading message "EEH: no capable adapters found"

2018-06-18 Thread Venkat Rao B




On Friday 27 April 2018 06:04 AM, Russell Currey wrote:

On Thu, 2018-03-22 at 23:10 -0300, Mauro S. M. Rodrigues wrote:

Due to recent refactoring in EEH in:
commit b9fde58db7e5 ("powerpc/powernv: Rework EEH initialization on
powernv")
a misleading message was seen in the kernel message buffer:

[0.108431] EEH: PowerNV platform initialized
[0.589979] EEH: No capable adapters found

This happened due to the removal of the initialization delay for
powernv
platform.

Even though the EEH infrastructure for the devices is eventually
initialized and still works just fine the eeh device probe step is
postponed in order to assure the PEs are created. Later
pnv_eeh_post_init does the probe devices job but at that point the
message was already shown right after eeh_init flow.

This patch introduces a new flag EEH_POSTPONED_PROBE to represent
that
temporary state and avoid the message mentioned above and showing the
follow one instead:

[0.107724] EEH: PowerNV platform initialized
[4.844825] EEH: PCI Enhanced I/O Error Handling Enabled

Signed-off-by: Mauro S. M. Rodrigues 


Good idea, thanks for the patch.

Acked-by: Russell Currey 




Hi Mauro,

I got a chance to test your patch, I applied your patch on top of 
mainline kernel commit:8efcf34a263965e471e304f94d1f6799d42a and 
booted and I don't see the message "No capable adapters found" instead I 
see "EEH: PCI Enhanced I/O Error Handling Enabled" as desired. But I 
have not injected any EEH.Hope this should qualify your patch.


Tested-by:Venkat Rao B 

Regards,
Venkat.



Re: [powerpc/powervmc]kernel BUG at arch/powerpc/mm/pgtable-book3s64.c:414!

2018-06-17 Thread Venkat Rao B




On Friday 15 June 2018 07:14 PM, Michael Ellerman wrote:

vrbagal1  writes:


Hi,

Observing kernel bug followed by kernel oops and system reboots, while
running kselftest on Power8 LPAR.

Machine Details: Power8 LPAR
Git Tree:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
Commit ID: f5b7769eb0400ec5217a47e41148a9f816ca1f9f
Kernel version: 4.17.0-autotest
GCC version: (gcc version 6.3.1 20161221 (Red Hat 6.3.1-1) (GCC))



This is fixed by your patch Aneesh?

http://patchwork.ozlabs.org/patch/929325/


Yes, this patch fixes the issue.

Regards,
Venkat



cheers





Re: Fwd: [powerpc/Baremetal]Kernel OOPS while executing memory hotplug on Power8 baremetal

2018-06-07 Thread Venkat Rao B




On Thursday 07 June 2018 12:46 PM, Bart Van Assche wrote:

On Thu, 2018-06-07 at 12:38 +0530, vrbagal1 wrote:

Observing Kernel oops and machine reboots while executing memory hotplug
test case, on Power8 Baremetal machine.

I see this is introduced some where between rc6 and 4.17.


Please provide the exact versions (git commit IDs) of the kernel versions
you have tested.


Commit Id ---> 5037be168f

Regards,
Venkat
IBM Linux Technology Centre




Thanks,

Bart.








Re: Build Failure on linux-next on Power8 machine

2018-05-31 Thread Venkat Rao B




On Thursday 31 May 2018 04:44 PM, Christophe LEROY wrote:



Le 31/05/2018 à 12:38, vrbagal1 a écrit :

Greetings!!!


I am observing a build failure on linux-next kernel.

Machine: Power8
Platform: PowerNV(Baremetal)
Git Tree: 
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git


Which defconfig do you use, or can you give your .config ?

Christophe


Unfortunately I lost it. I  only have complete fail logs. Will that be 
helpful?


Venkat


Below is the build error.

14:20:48 make[1]: *** [kernel/umh.o] Error 1
14:20:48 make[1]: *** [kernel/fork.o] Error 1
14:20:48 In file included from ./arch/powerpc/include/asm/highmem.h:30:0,
14:20:48  from ./include/linux/highmem.h:35,
14:20:48  from ./include/linux/pagemap.h:11,
14:20:48  from security/commoncap.c:19:
14:20:48 ./arch/powerpc/include/asm/fixmap.h:52:2: error: overflow in 
enumeration values
14:20:48   FIX_KMAP_BEGIN, /* reserved pte's for temporary kernel 
mappings */

14:20:48   ^
14:20:48 make[2]: *** [kernel/sched/swait.o] Error 1
14:20:48 make[1]: *** [mm/page_alloc.o] Error 1
14:20:48 make[1]: *** [kernel/sched] Error 2
14:20:48 make: *** [mm] Error 2
14:20:48 make[1]: *** [kernel/exit.o] Error 1
14:20:48 make[1]: *** [security/commoncap.o] Error 1
14:20:48 make[1]: *** [fs/kernfs] Error 2
14:20:48 make: *** [fs] Error 2
14:20:48 make: *** [arch/powerpc/kernel] Error 2
14:20:48 make: *** [security] Error 2
14:20:48 make: *** [kernel] Error 2

Cheers.