[Skiboot] [PATCH] hdata/test: workaround dtc bugs

Stewart Smith stewart at linux.ibm.com
Wed Nov 28 17:50:46 AEDT 2018


Stewart Smith <stewart at linux.ibm.com> writes:
> In dtc v1.4.5 to at least v1.4.7 there have been a few bugs introduced
> that change the layout of what's produced in the dts. In order to be
> immune from them, we should use the (provided) dtdiff utility, but we
> also need to run the dts we're diffing against through a dtb cycle in
> order to ensure we get the same format as what the hdat_to_dt to dts
> conversion will.
>
> This fixes a bunch of unit test failures on the version of dtc shipped
> with recent Linux distros such as Fedora 29.

Merged to master as of b547df61bdadbacde6ff94099a2f89e4f167c9a8.

In theory we can remove our custom dtc build from the travis setup now....

-- 
Stewart Smith
OPAL Architect, IBM.



More information about the Skiboot mailing list