lkml.org 
[lkml]   [2018]   [Apr]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v2] x86/PCI: Make pci=earlydump output neat

* Andy Shevchenko <andriy.shevchenko@linux.intel.com> wrote:

> Currently the early dump of PCI configuration space looks quite unhelpful, e.g.
>
> [ 0.000000] 60:
> [ 0.000000] 00
> [ 0.000000] 00
> [ 0.000000] 00
> [ 0.000000] 00
> [ 0.000000] 00
> [ 0.000000] 00
> [ 0.000000] 00
> [ 0.000000] 00
> [ 0.000000] 00
> [ 0.000000] 00
> [ 0.000000] 00
> [ 0.000000] 00
> [ 0.000000] 00
> [ 0.000000] 00
> [ 0.000000] 00
> [ 0.000000] 00
> [ 0.000000]
>
> which makes really hard to get anything out of this. Convert the function to
> use print_hex_dump() to make output neat.
>
> In the result we will have
>
> [ 0.000000] 00000060: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
>
> which is much, much better.
>
> Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com>
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>

Acked-by: Ingo Molnar <mingo@kernel.org>

Thanks,

Ingo

\
 
 \ /
  Last update: 2018-04-27 13:59    [W:1.660 / U:0.008 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site