[v2,1/3] powerpc/powernv/pci: Reduce spam when dumping PEST

Michael Ellerman patch-notifications at ellerman.id.au
Thu Jun 29 22:21:09 AEST 2017


On Wed, 2017-06-14 at 04:19:58 UTC, Russell Currey wrote:
> Dumping the PE State Tables (PEST) can be highly verbose if a number of PEs
> are affected, especially in the case where the whole PHB is frozen and 512
> lines get printed.  Check for duplicates when dumping the PEST to reduce
> useless output.
> 
> For example:
> 
>     PE[0f8] A/B: 9700002600000000 80000080d00000f8
>     PE[0f9] A/B: 8000000000000000 0000000000000000
>     PE[..0fe] A/B: as above
>     PE[0ff] A/B: 8440002b00000000 0000000000000000
> 
> instead of:
> 
>     PE[0f8] A/B: 9700002600000000 80000080d00000f8
>     PE[0f9] A/B: 8000000000000000 0000000000000000
>     PE[0fa] A/B: 8000000000000000 0000000000000000
>     PE[0fb] A/B: 8000000000000000 0000000000000000
>     PE[0fc] A/B: 8000000000000000 0000000000000000
>     PE[0fd] A/B: 8000000000000000 0000000000000000
>     PE[0fe] A/B: 8000000000000000 0000000000000000
>     PE[0ff] A/B: 8440002b00000000 0000000000000000
> 
> and you can imagine how much worse it can get for 512 PEs.
> 
> Signed-off-by: Russell Currey <ruscur at russell.cc>

Series applied to powerpc next, thanks.

https://git.kernel.org/powerpc/c/31bbd45af313c3b1cdaa98e5a2de65

cheers


More information about the Linuxppc-dev mailing list