Re: [PATCH 3/6] powerpc/eeh: Reduce lines of log dump

2014-07-16 Thread Gavin Shan
On Wed, Jul 16, 2014 at 08:30:55AM +, David Laight wrote: >From: Gavin Shan >> The patch prints 4 PCIE or AER config registers each line, which >> is part of the EEH log so that it looks a bit more compact. >... >> -for (i=0; i<=8; i++) { >> +for (i=0, j=0; i<=8; i++) {

RE: [PATCH 3/6] powerpc/eeh: Reduce lines of log dump

2014-07-16 Thread David Laight
From: Gavin Shan > The patch prints 4 PCIE or AER config registers each line, which > is part of the EEH log so that it looks a bit more compact. ... > - for (i=0; i<=8; i++) { > + for (i=0, j=0; i<=8; i++) { > eeh_ops->read_config(dn, cap+4*i, 4, &cfg)

[PATCH 3/6] powerpc/eeh: Reduce lines of log dump

2014-07-15 Thread Gavin Shan
The patch prints 4 PCIE or AER config registers each line, which is part of the EEH log so that it looks a bit more compact. Suggested-by: Benjamin Herrenschmidt Signed-off-by: Gavin Shan --- arch/powerpc/kernel/eeh.c | 37 +++-- 1 file changed, 31 insertions(+),