Page MenuHomeFreeBSD

libfdt: Update to 1.5.0
Needs ReviewPublic

Authored by kevans on Aug 9 2018, 9:24 PM.
Tags
None
Referenced Files
F81623743: D16653.diff
Fri, Apr 19, 3:51 AM
Unknown Object (File)
Dec 20 2023, 3:14 AM
Unknown Object (File)
Sep 20 2023, 9:00 AM
Unknown Object (File)
Sep 5 2023, 10:57 AM
Unknown Object (File)
Aug 24 2023, 11:21 AM
Unknown Object (File)
Aug 13 2023, 4:56 AM
Unknown Object (File)
Aug 13 2023, 12:46 AM
Unknown Object (File)
Jul 3 2023, 3:20 AM

Details

Reviewers
None
Group Reviewers
ARM
arm64
PowerPC
Summary

Highlights of 1.4.7:

  • Compat fixes by @nwhitehorn (previously cherry-picked already)
  • Improved memory/sanity checks

Highlight of 1.5.0:

  • Faster unaligned access (6x faster being observed on some ARM platforms [from dtc commit])

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 18685

Event Timeline

Was the larger size an issue for us?

Looks OK to me. One question: Do we want the various instances of fdt_check_header() in our code to be spelled FDT_RO_PROBE() now?

In D16653#353877, @imp wrote:

Was the larger size an issue for us?

Not that I'm aware of.

Looks OK to me. One question: Do we want the various instances of fdt_check_header() in our code to be spelled FDT_RO_PROBE() now?

Yeah, neither loader nor the kernel need care for the extra bits done by fdt_check_header. I'll spin up a patch to do this conversion separately, to be committed after the 1.5.0 update since it's not critical.

Ping?

I'm going to import libfdt 1.5.0 and update this.

kevans retitled this revision from libfdt: Update to the full release of 1.4.7 to libfdt: Update to 1.5.0.
kevans edited the summary of this revision. (Show Details)

Looks OK to me. One question: Do we want the various instances of fdt_check_header() in our code to be spelled FDT_RO_PROBE() now?

Yeah, neither loader nor the kernel need care for the extra bits done by fdt_check_header. I'll spin up a patch to do this conversion separately, to be committed after the 1.5.0 update since it's not critical.

On second glance, FDT_RO_PROBE and fdt_ro_probe_ are actually internal to libfdt.

Version 1.6.0 was released some time ago with some improvements for FreeBSD: https://git.kernel.org/pub/scm/utils/dtc/dtc.git/tag/?h=v1.6.0