<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/dev/fdt, branch main</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=main</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2026-07-13T08:35:47Z</updated>
<entry>
<title>FDT: implement fdt_ether_get_addr()</title>
<updated>2026-07-13T08:35:47Z</updated>
<author>
<name>Michal Meloun</name>
<email>mmel@FreeBSD.org</email>
</author>
<published>2026-07-13T08:34:22Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=920518cf2e75012135104886d92814c048baa2fb'/>
<id>urn:sha1:920518cf2e75012135104886d92814c048baa2fb</id>
<content type='text'>
Introduce fdt_ether_get_addr() in fdt_common.c/h that tries standard
DT properties in the correct order and falls back to a random address
when needed. This should be used by ethernet drivers instead of open-coding
the same logic.

MFC after:	2 weeks

Reviewed by:	mhorne, adrian, bz, jrtc27
Differential Revision:	https://reviews.freebsd.org/D58104
</content>
</entry>
<entry>
<title>static dtb: add BTI note</title>
<updated>2026-03-05T08:50:26Z</updated>
<author>
<name>Ruslan Bukin</name>
<email>br@FreeBSD.org</email>
</author>
<published>2026-03-05T08:50:18Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=dff2758b5fa7d4987b03f3a04e1b02b367fe9b73'/>
<id>urn:sha1:dff2758b5fa7d4987b03f3a04e1b02b367fe9b73</id>
<content type='text'>
Add BTI note to fdt_static_dtb.o
- resolves "Branch Target Exception" panic on FDT systems with static DTB
  due to missing landing pads (bti note has to be in all object files used
  for linkage)
- also required by bti_report linker feature

Reviewed by:	andrew
Differential Revision:	https://reviews.freebsd.org/D55636
</content>
</entry>
<entry>
<title>fdt,simple_mfd: Map memory as shareable.</title>
<updated>2026-02-22T17:53:27Z</updated>
<author>
<name>Michal Meloun</name>
<email>mmel@FreeBSD.org</email>
</author>
<published>2025-11-06T19:21:49Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=f40ed4881e2581d56b1a63ffb0122e017b2139f3'/>
<id>urn:sha1:f40ed4881e2581d56b1a63ffb0122e017b2139f3</id>
<content type='text'>
It may be submapped in child drivers.

MFC after:	3 weeks
</content>
</entry>
<entry>
<title>bus_alloc_resource: Pass rid by value to BUS_ALLOC_RESOURCE DEVMETHOD</title>
<updated>2025-12-09T20:00:06Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2025-12-09T19:59:21Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=575639548cef58590a1d70c29e47aae0e8d44153'/>
<id>urn:sha1:575639548cef58590a1d70c29e47aae0e8d44153</id>
<content type='text'>
The wrapper functions such as bus_alloc_resource_any() still support
passing the rid by value or pointer, but the underlying implementation
now passes by value.

Reviewed by:	imp
Differential Revision:	https://reviews.freebsd.org/D53402
</content>
</entry>
<entry>
<title>dev/fdt: Add support for non-PCI MSI interrupts</title>
<updated>2025-11-18T18:00:30Z</updated>
<author>
<name>Andrew Turner</name>
<email>andrew@FreeBSD.org</email>
</author>
<published>2025-11-18T18:00:30Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=68e6422c6c91170a615e77028683a157e8e39d05'/>
<id>urn:sha1:68e6422c6c91170a615e77028683a157e8e39d05</id>
<content type='text'>
Some non-PCI devices can send interrupts, e.g. the Arm SMMU or GICv5
Interrupt Wire Bridge. Add support for these by implementing pci_get_id
and pci_alloc_msi and the MSI/MSI-X parts of the PCIB interface.

Only the MSI parts of the PCI interface are added as that is all I am
able to test.

Sponsored by:	Arm Ltd
Differential Revision:	https://reviews.freebsd.org/D53330
</content>
</entry>
<entry>
<title>dev/fdt: Use proper prototype for SYSINIT functions</title>
<updated>2025-10-13T10:12:28Z</updated>
<author>
<name>Zhenlei Huang</name>
<email>zlei@FreeBSD.org</email>
</author>
<published>2025-10-13T10:12:28Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=d82653aee7e357916403147dc21d342e6b543106'/>
<id>urn:sha1:d82653aee7e357916403147dc21d342e6b543106</id>
<content type='text'>
MFC after:	1 week
</content>
</entry>
<entry>
<title>dev/fdt: Remove fdt_ic_list</title>
<updated>2025-08-21T08:37:53Z</updated>
<author>
<name>Andrew Turner</name>
<email>andrew@FreeBSD.org</email>
</author>
<published>2025-08-20T09:14:50Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=d118ccd745986e01289245c805036bbe436e7a25'/>
<id>urn:sha1:d118ccd745986e01289245c805036bbe436e7a25</id>
<content type='text'>
It was last used in virtio_mmio. As it appears to have been used for
cross referencing devices and the existing xref support should be used
in new code it can be removed.

Reviewed by:	br
Sponsored by:	Arm Ltd
Differential Revision:	https://reviews.freebsd.org/D51994
</content>
</entry>
<entry>
<title>Make sure the memory region definitions are zeroed before use.</title>
<updated>2025-05-01T08:23:38Z</updated>
<author>
<name>Luiz Otavio O Souza</name>
<email>loos@FreeBSD.org</email>
</author>
<published>2025-04-26T15:23:27Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=4e3a6fe0134e67fdcd1279b06427e5f26dd08f78'/>
<id>urn:sha1:4e3a6fe0134e67fdcd1279b06427e5f26dd08f78</id>
<content type='text'>
Since only 32bits of the values are read from the fdt, the existing values
can compromise the results.

Fixes the boot on the Netgate 3100.

Reviewed by:	andrew, mmel
Sponsored by:	Rubicon Communications, LLC ("Netgate")
Differential Revision:	https://reviews.freebsd.org/D50083
</content>
</entry>
<entry>
<title>sys: Move Marvell specific fdt code to sys/arm/mv</title>
<updated>2025-04-08T10:48:28Z</updated>
<author>
<name>Andrew Turner</name>
<email>andrew@FreeBSD.org</email>
</author>
<published>2025-04-08T10:46:51Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=17c67ba24df03c5c04f5149265aa514786dc220b'/>
<id>urn:sha1:17c67ba24df03c5c04f5149265aa514786dc220b</id>
<content type='text'>
fdt_immr_* are only used by the armv7 Marvell code. Move setting the
variables there as no new code should need to set them.

Reviewed by:	cognet
Sponsored by:	Arm Ltd
Differential Revision:	https://reviews.freebsd.org/D49535
</content>
</entry>
<entry>
<title>dev/fdt: Add const to pointers to const data</title>
<updated>2025-04-08T10:48:28Z</updated>
<author>
<name>Andrew Turner</name>
<email>andrew@FreeBSD.org</email>
</author>
<published>2025-04-08T10:30:56Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=a2aff11aeb5de30c2d28567aa6189926e2c10ba3'/>
<id>urn:sha1:a2aff11aeb5de30c2d28567aa6189926e2c10ba3</id>
<content type='text'>
fdt_data_get and fdt_data_to_res don't change the value of the data
passed to them via a pointer. Add const to these pointers.

Reviewed by:	emaste
Sponsored by:	Arm Ltd
Differential Revision:	https://reviews.freebsd.org/D49703
</content>
</entry>
</feed>
