[Skiboot] [PATCH] hdata/iohub: Check IOHUB child count before using
Stewart Smith
stewart at linux.vnet.ibm.com
Wed Oct 11 07:35:09 AEDT 2017
Vasant Hegde <hegdevasant at linux.vnet.ibm.com> writes:
> ..else we endup getting below calltrace in older system.
>
> [ 169.179598388,3] HDIF: child array idx out of range!
> CPU 085c Backtrace:
> S: 0000000033d739b0 R: 00000000300136e8 .backtrace+0x40
> S: 0000000033d73a50 R: 00000000300a1510 .HDIF_child_arr+0x34
> S: 0000000033d73ac0 R: 00000000300a47a8 .io_parse+0x708
> S: 0000000033d73c80 R: 000000003009f4ec .parse_hdat+0x177c
> S: 0000000033d73e30 R: 0000000030014750 .main_cpu_entry+0x148
> S: 0000000033d73f00 R: 0000000030002690 boot_entry+0x198
>
> Fixes: ad484081 (hdata: Parse IOSLOT information)
> CC: Oliver O'Halloran <oohall at gmail.com>
> Signed-off-by: Vasant Hegde <hegdevasant at linux.vnet.ibm.com>
> ---
> hdata/iohub.c | 5 ++++-
> 1 file changed, 4 insertions(+), 1 deletion(-)
Seems ot work for me, which is great!
Merged to master as of 7b51ce6fab530fa5d6b2d638dcaf5e3311bfc1a6
--
Stewart Smith
OPAL Architect, IBM.
More information about the Skiboot
mailing list