[Skiboot] [PATCH] getscom/getsram/putscom: Parse chip-id as hex

Stewart Smith stewart at linux.vnet.ibm.com
Tue Sep 6 17:14:09 AEST 2016


Anton Blanchard <anton at samba.org> writes:
> We print the chip-id in hex (without a leading 0x), but we fail to
> parse that same value correctly in getscom/getsram/putscom:
>
>  # getscom -l
>  ...
>  80000000 | DD2.0 | Centaur memory buffer
>
>  # getscom -c 80000000 201140a
>  Error -19 reading XSCOM
>
> Fix this by assuming base 16 when parsing chip-id.
>
> Signed-off-by: Anton Blanchard <anton at samba.org>

Well, that makes a bunch of sense.

merged to master as of 5fff4b8c750657272fe03f9032a8f7911e1e5b20
-- 
Stewart Smith
OPAL Architect, IBM.



More information about the Skiboot mailing list