<feed xmlns='http://www.w3.org/2005/Atom'>
<title>BMC/OpenBmc/openbmc.git/meta-google, branch blacksail</title>
<subtitle>OpenBMC Distribution (mirror)</subtitle>
<id>https://git.radix-linux.su/BMC/OpenBmc/openbmc.git/atom?h=blacksail</id>
<link rel='self' href='https://git.radix-linux.su/BMC/OpenBmc/openbmc.git/atom?h=blacksail'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/OpenBmc/openbmc.git/'/>
<updated>2026-11-13T10:52:14+00:00</updated>
<entry>
<title>treewide: update LAYERSERIES_COMPAT to include blacksail</title>
<updated>2026-11-13T10:52:14+00:00</updated>
<author>
<name>Patrick Williams</name>
<email>patrick@stwcx.xyz</email>
</author>
<published>2026-11-13T10:52:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/OpenBmc/openbmc.git/commit/?id=ef2b91ebec1b3bcb57011704bb44c7e33c13b169'/>
<id>urn:sha1:ef2b91ebec1b3bcb57011704bb44c7e33c13b169</id>
<content type='text'>
Signed-off-by: Patrick Williams &lt;patrick@stwcx.xyz&gt;
Change-Id: Ic2437d9f02afe334aab72c9ebd1b23a9a319e1fb
</content>
</entry>
<entry>
<title>meta-google: gbmc-ra: Only advance cached RA state when callbacks succeed</title>
<updated>2026-11-06T21:39:58+00:00</updated>
<author>
<name>William A. Kennington III</name>
<email>wak@google.com</email>
</author>
<published>2026-11-01T21:44:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/OpenBmc/openbmc.git/commit/?id=fb3f91026bceca4048b06326cd860f91f9fc3781'/>
<id>urn:sha1:fb3f91026bceca4048b06326cd860f91f9fc3781</id>
<content type='text'>
gbmc-ra.sh updated old_pfx and old_fqdn before running update_pfx and
update_fqdn and ignored callback return statuses across update_rtr,
update_pfx, and update_fqdn. When a callback failed transiently (such as
hostnamectl timing out on D-Bus or a runtime config write failing),
subsequent Router Advertisements carrying the same gateway, prefix, or
FQDN treated the cached state as already applied and never retried.

Propagate failures from add_rtr, default_update_fqdn, and the gbmc-br-ra
and gbmc-ncsi-ra update_pfx callbacks (fixing gbmc_br_set_runtime_ip to
return 0 when clearing an empty IP), and only advance old_rtr, old_pfx,
and old_fqdn when their corresponding update_* callbacks succeed.

Tested: Added gbmc-ra-test.sh (wired into gbmc-net-common do_compile)
covering transient update_rtr, update_pfx, and update_fqdn failures and
default_update_fqdn error propagation.

Change-Id: I03113e1e3500c9f192d524e4fadf30bdb3600b85
Signed-off-by: William A. Kennington III &lt;wak@google.com&gt;
</content>
</entry>
<entry>
<title>meta-google: gbmc-bridge: Coalesce dhcrelay restarts</title>
<updated>2026-11-06T21:39:58+00:00</updated>
<author>
<name>William A. Kennington III</name>
<email>wak@google.com</email>
</author>
<published>2026-11-05T18:57:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/OpenBmc/openbmc.git/commit/?id=18bccc08a3d5bd2ff812ec395c418dfb29135aef'/>
<id>urn:sha1:18bccc08a3d5bd2ff812ec395c418dfb29135aef</id>
<content type='text'>
On trays with multiple upper interfaces (such as five USB NCSI links),
each upper acquiring its first link-local address at boot immediately
restarts gbmc-br-dhcrelay.service, causing back-to-back daemon restarts
across a single boot burst.

Defer the restart of gbmc-br-dhcrelay.service through
gbmc_ip_monitor_defer (and skip restarting when the on-disk upper file
already matches during gbmc-ip-monitor restarts). Disable start-limit
rate limiting in gbmc-br-dhcrelay.service with StartLimitIntervalSec=0
instead of running synchronous systemctl reset-failed calls on the
netlink monitor thread. Also mark dhcrelay dirty and defer a restart in
gbmc-ncsi-usb.sh when link removal or re-enumeration unlinks an active
upper file directly.

Tested: Updated gbmc-br-dhcrelay-test.sh and gbmc-ncsi-usb-test.sh to
verify multi-interface boot bursts coalesce into a single dhcrelay
restart on change=defer, unchanged uppers do not restart on replay, and
USB link deletion/re-enumeration marks dhcrelay dirty.

Change-Id: Ifa70465582d57ec4095ea1501302595c6327634a
Signed-off-by: William A. Kennington III &lt;wak@google.com&gt;
</content>
</entry>
<entry>
<title>meta-google: gbmc-net: Wait for nftables activating before reload</title>
<updated>2026-11-06T21:39:58+00:00</updated>
<author>
<name>William A. Kennington III</name>
<email>wak@google.com</email>
</author>
<published>2026-11-01T21:36:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/OpenBmc/openbmc.git/commit/?id=fcd769ede30c266d12cc653fb93fef79a72502a0'/>
<id>urn:sha1:fcd769ede30c266d12cc653fb93fef79a72502a0</id>
<content type='text'>
nft-configure.sh globs /run/nftables/*.rules at the start of ExecStart
and then runs nft -f while nftables.service reports activating. Both
skipping activating in _gbmc_net_nftables_reload_action and queueing
reload-or-restart immediately during activating lose rule files written
after the glob, because systemd collapses JOB_RELOAD_OR_START into an
in-flight JOB_START without scheduling a follow-up ExecReload.

Poll systemctl is-active nftables up to 10 attempts while activating or
deactivating (matching _gbmc_net_networkd_reload_action) before running
reload-or-restart, while still returning 0 when inactive. If nftables
stays activating past the retry window, return 1 so _gbmc_net_service_reload
preserves the dirty marker for a later retry.

Tested: Added testNftablesReloadActionActivating and
testNftablesReloadActionGivesUp in gbmc-net-lib-test.sh covering
activating -&gt; active, deactivating -&gt; inactive, reloading, and retry
exhaustion.

Change-Id: Ib53a452e552e481ab9227c301c53781ac5d792cb
Signed-off-by: William A. Kennington III &lt;wak@google.com&gt;
</content>
</entry>
<entry>
<title>meta-google: gbmc-bridge: Deduplicate dhcrelay link-local addresses</title>
<updated>2026-11-06T21:39:57+00:00</updated>
<author>
<name>William A. Kennington III</name>
<email>wak@google.com</email>
</author>
<published>2026-11-01T19:55:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/OpenBmc/openbmc.git/commit/?id=92b0ee2a9ed7dd88129cd713c8f83dc457cec884'/>
<id>urn:sha1:92b0ee2a9ed7dd88129cd713c8f83dc457cec884</id>
<content type='text'>
ip monitor addr emits action=add (RTM_NEWADDR) whenever an existing
link-local IPv6 address has its flags or lifetimes refreshed, such as
during networkd reconfigure. gbmc_br_dhcrelay_hook incremented an
integer counter on every add and decremented on every del without
tracking which addresses were present, inflating the count on refreshes
so a subsequent address deletion could leave a stale upper or falsely
re-add it, and risking underflow when an unseen address was deleted.

Track the active non-tentative link-local address set per registered
interface in gbmc_br_dhcrelay_linkaddrs, only updating the upper file
and restarting gbmc-br-dhcrelay when the set transitions between empty
and non-empty. Write the upper file via a hidden dotfile and atomic
rename so gbmc-br-dhcrelay's uppers/* glob never observes a partial or
temporary file.

Tested: Added gbmc-br-dhcrelay-test.sh (wired into gbmc-bridge
do_compile) and updated gbmc-ncsi-usb-test.sh covering tentative
addresses, unseen deletions, repeated RTM_NEWADDR refreshes, multiple
link-local addresses, and USB re-enumeration resets.

Change-Id: Ic242d311cac336f0b6c9a2bc7bcfbac701a0b011
Signed-off-by: William A. Kennington III &lt;wak@google.com&gt;
</content>
</entry>
<entry>
<title>meta-google: gbmc-bridge, gbmc-ncsi: Deduplicate dhcp-intfs</title>
<updated>2026-11-06T09:07:50+00:00</updated>
<author>
<name>William A. Kennington III</name>
<email>wak@google.com</email>
</author>
<published>2026-11-01T19:55:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/OpenBmc/openbmc.git/commit/?id=23f7a1747179527ae0e609e64b0f222c4e569d16'/>
<id>urn:sha1:23f7a1747179527ae0e609e64b0f222c4e569d16</id>
<content type='text'>
gbmc-ncsi-smartnic-wa appends the NCSI interface to
/run/gbmc-br-dhcp-intfs on every RA prefix update or gbmc-ncsi-ra
restart, accumulating duplicate entries that gbmc-start-dhcp.sh then
iterates repeatedly.

Guard writes in gbmc-ncsi-smartnic-wa with an exact-line check and
update /run/gbmc-br-dhcp-intfs atomically via gbmc_net_write_if_changed.
Also deduplicate interfaces in gbmc-start-dhcp.sh while keeping gbmcbr
first.

Tested: Verified repeated gbmc-ncsi-smartnic-wa runs write the NCSI
interface once to /run/gbmc-br-dhcp-intfs and gbmc-start-dhcp.sh starts
each unique interface once with gbmcbr first.

Change-Id: Id11e52e86db0f52f1b99163c238d0cbcff9d40af
Signed-off-by: William A. Kennington III &lt;wak@google.com&gt;
</content>
</entry>
<entry>
<title>meta-google: gbmc-ncsi-config: Write /run/gbmc-br-ip atomically</title>
<updated>2026-11-06T09:07:50+00:00</updated>
<author>
<name>William A. Kennington III</name>
<email>wak@google.com</email>
</author>
<published>2026-11-01T19:55:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/OpenBmc/openbmc.git/commit/?id=8266a1b16a7eca8f805c43c96a620d15b7b6bb71'/>
<id>urn:sha1:8266a1b16a7eca8f805c43c96a620d15b7b6bb71</id>
<content type='text'>
gbmc-ncsi-br-pub-addr writes /run/gbmc-br-ip directly via shell
redirection, which truncates the file in place before writing. If
gbmc-ip-monitor is interrupted mid-write while gbmc-br-dhcp-term or
another reader calls gbmc_br_get_ip, the reader observes an empty file.

Use gbmc_net_write_if_changed so /run/gbmc-br-ip is written via a
temporary file and atomic rename, and read /run/gbmc-br-ip with a bash
builtin instead of forking cat on address removal.

Tested: Verified gbmc_ncsi_br_pub_addr_hook atomically populates and
removes /run/gbmc-br-ip across NCSI global IPv6 address add and delete
events and passes shellcheck -x.

Change-Id: I1dd12f34a42c0f29916a8e6daf0058d9320ca271
Signed-off-by: William A. Kennington III &lt;wak@google.com&gt;
</content>
</entry>
<entry>
<title>meta-google: gbmc-ncsi-config: Avoid restarting USB RA on link updates</title>
<updated>2026-11-06T09:07:50+00:00</updated>
<author>
<name>William A. Kennington III</name>
<email>wak@google.com</email>
</author>
<published>2026-11-05T18:52:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/OpenBmc/openbmc.git/commit/?id=3ed1547a09d17b73f1d723a4bd58e385fcc0f840'/>
<id>urn:sha1:3ed1547a09d17b73f1d723a4bd58e385fcc0f840</id>
<content type='text'>
ip monitor emits link add (RTM_NEWLINK) on every carrier, operstate,
flag, and networkd reconfigure event, not only when an interface is
created. After commit 95fe730bb6 ("meta-google: gbmc-ncsi-config: Follow
the uplink table on re-enumeration") switched gbmc_ncsi_dynamic_hook to
`systemctl restart --no-block gbmc-ncsi-ra@$intf`, each networkd
reconfigure triggered by gbmc-ncsi-ra learning its router or prefix
emitted RTM_NEWLINK and restarted gbmc-ncsi-ra mid-update, repeatedly
interrupting prefix and firewall setup and counting toward
StartLimitBurst.

Track the current ifindex of each USB NCSI link from sysfs and ignore
repeated link add events while the ifindex is unchanged. When the link
is newly enumerated or re-enumerates under a new ifindex, reset stale
dhcrelay state and restart gbmc-ncsi-ra@. Disable start-limit rate
limiting in gbmc-ncsi-ra@.service with StartLimitIntervalSec=0 so rapid
re-enumerations do not trip start-limit-hit, and write
/run/ncsi-ips/&lt;intf&gt; atomically via gbmc_net_write_if_changed.

Tested: Added gbmc-ncsi-usb-test.sh covering initial enumeration,
no-op RTM_NEWLINK updates on the same ifindex, rapid re-enumeration to a
new ifindex, and link deletion. Verified on a head BMC with a USB NCSI
sideband link that `networkctl reconfigure` leaves the running
gbmc-ncsi-ra@ PID untouched.

Change-Id: I0e444d13c27f2b6d275caf1bcb518b31d43e5913
Signed-off-by: William A. Kennington III &lt;wak@google.com&gt;
</content>
</entry>
<entry>
<title>meta-google: gbmc-net: Retry interrupted networkd and nftables reloads</title>
<updated>2026-11-06T09:07:50+00:00</updated>
<author>
<name>William A. Kennington III</name>
<email>wak@google.com</email>
</author>
<published>2026-11-01T18:14:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/OpenBmc/openbmc.git/commit/?id=515c0460edd85e0f5d4bf81cb788046a6555307d'/>
<id>urn:sha1:515c0460edd85e0f5d4bf81cb788046a6555307d</id>
<content type='text'>
gbmc_net_write_if_changed and gbmc_net_rm_if_exists commit or unlink
their target files before running _gbmc_net_reload_for_paths (and, when
a reload queue or GBMC_NET_RELOAD_ASYNC is active, before the queued or
backgrounded reload runs). If the caller is stopped or restarted after
modifying a file under /run or /etc -- for example when a service
restarts mid-update -- the next run sees the desired contents already on
disk, returns unchanged, and never reloads systemd-networkd or nftables
for that file.

Mark /run/gbmc-net-reload/&lt;svc&gt;/dirty before renaming or removing
config files under /run or /etc, promote the marker into running/.dirty
when _gbmc_net_service_reload claims a batch, and restore it if the
reload fails or its lock holder dies. When _gbmc_net_reload_for_paths
runs on a subsequent call whose files already match, still trigger the
reload if the target service remains dirty.

Tested: Added testWriteIfChangedInterruptedReload in
gbmc-net-lib-test.sh covering interrupted writes, failed reloads,
orphaned running/.dirty recovery, and interrupted removals. Verified on
a head BMC that marking nftables dirty with a flushed forward chain and
re-running gbmc_net_write_if_changed with unchanged rule contents
reloads nftables, clears dirty, and restores forwarding to tray BMCs.

Change-Id: I3268571333557e43107cdb7a6bc2e4e043d14a81
Signed-off-by: William A. Kennington III &lt;wak@google.com&gt;
</content>
</entry>
<entry>
<title>meta-google: google-usb-network: Install the static gadget network config</title>
<updated>2026-10-31T16:20:10+00:00</updated>
<author>
<name>William A. Kennington III</name>
<email>wak@google.com</email>
</author>
<published>2026-10-31T06:15:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/OpenBmc/openbmc.git/commit/?id=64a8c081a1a086923e725a742693ef1ab47b6056'/>
<id>urn:sha1:64a8c081a1a086923e725a742693ef1ab47b6056</id>
<content type='text'>
The static gadgets are attached once systemd-networkd runs, and
usb_network.sh then writes their network config to /run and has
networkd reload it. On a busy boot, that reload is most of the ~8s
between networkd starting and the gadget link coming up.

The config of a static gadget is known at build time, so generate it
with the rest of the gadget config and install it with the image,
where networkd loads it when it starts. Add a --network-config option
to usb_network.sh to skip writing and removing the runtime config, and
use it for the static gadgets.

The bare metal setups are unaffected: the gadgets they keep from being
created leave the installed config unused, and the server3
++-bmc-cn&lt;n&gt;.network override that takes a host link down still sorts
before the installed +-bmc-cn&lt;n&gt;.network.

Tested: Built the recipe for sunfish: the generated gusb0 .network and
.link and the bloomusb .network are identical to what usb_network.sh
writes at runtime on a sunfish tray. Booted astoria, izumi and imperia
BMCs with the gusb0 config installed and the gadget started with
--network-config 0: the gadget no longer triggers a networkd reload,
and comes up 1-6s after networkd starts, from 2-8s.

Change-Id: I3e94f2b72289a740fd6367a26ab7e93ce34b0020
Signed-off-by: William A. Kennington III &lt;wak@google.com&gt;
</content>
</entry>
</feed>
