User Details
- User Since
- Jul 4 2018, 7:23 PM (406 w, 1 d)
Today
Yesterday
No support for ucontext.h posix API (looks like legacy)
Thu, Apr 2
Mon, Mar 30
I can't help but feel a lot of this belongs in packages rather than being big splats of hard-coded config that bsdinstall writes out that risks getting stale when ports gets updated
Thu, Mar 26
Mon, Mar 23
Sat, Mar 21
Thu, Mar 19
Did you simulate the UX of this happening? This looks like it's going to just silently report success and cause the next installer step to fail (or not, if there's already a partition table there?).
Don't we need to do a broadcast invalidate on fini (or remember the allocated VMIDs from the current epoch), otherwise we'll reallocate the same VMIDs if we kldload and start VMs? Also, don't leave the epoch as is whilst clearing the bitmap and next, that doesn't make sense, if the epoch is staying then so does the allocated set, and if it's being reset then so does the allocated set (along with invalidate).
Wed, Mar 18
Mar 16 2026
Mar 14 2026
One tiny missing space, otherwise LGTM, feel free to fix on commit
Mar 13 2026
Mar 11 2026
Feb 27 2026
attempt to restore ints
Feb 25 2026
Feb 24 2026
Can you please include an appropriate description of the effects in the commit message?
Feb 23 2026
NB: It's also about to be in 14.4 via 829e479a0a37eb72023ce361f5b2379d82f8bc2a
update_uefi_bootentry assumes that the caller sets FREEBSD_BOOTNAME and
mntpt, which isn't the case anymore
Feb 18 2026
Feb 16 2026
Feb 10 2026
Oh I see, the point is about what's passed up as the second argument, not what device the method is invoked on. I guess then my question becomes why is the DMA tag special? We don't do this for resources, and we don't do this for the bus space tag. Is that just because normally it's virtio_pci doing the resource allocation?
How does this differ from the default implementation specified in sys/kern/bus_if.m, namely bus_generic_get_dma_tag?
Feb 9 2026
Use correct variable
So how are we dealing with /etc/fstab for existing systems?
Feb 8 2026
Feb 5 2026
Feb 4 2026
Is this actually KBI or just internal KBI between kernel and vmm, which would always be in sync?
Feb 3 2026
virtio_blk calls bus_dma_tag_set_iommu on PowerPC; would that not be needed for these new tags?
Do we still need the mb()s? I would expect bus_dmamap_sync to suffice.
Feb 2 2026
Jan 31 2026
IIRC GNU as and LLVM IAS disagree on what .weak and .glob[a]l mean. LLVM IAS doesn't let you mix them, but that's not really sensible, since one is binding and the other is visibility. We use .weak for linker sets but not .glob[a]l (I think used to use both) because one version of LLVM introduced that error, whilst I think GNU as wants what we used to have where we put both. I should probably raise it with upstream LLVM to point out that what they did doesn't make sense.
Ping? I went to update my board last night and noticed I still had this (with my inline suggested fix) as a local patch.
Jan 30 2026
Jan 28 2026
Effort: CHERI upstreaming or whatever it is seems like it would apply?
Jan 27 2026
Jan 26 2026
Jan 25 2026
Jan 24 2026
Well it is where it is because (a) asserting in vmmops_init is pointless with M_WAITOK as you say (b) vm_init is in a separate translation unit so in some world views should treat vmmops_init as a black box, and is therefore asserting that it never fails. And this pattern is copied from arm64, so we should keep the two consistent, whichever way it goes.
https://reviews.freebsd.org/P685 is a proposal for how to drastically reduce the amount of boilerplate here (even compared with the ifunc-only version). The wrapper vs ifunc difference is mostly hidden, with the only way it leaks out being that the macro needs to take argument types and names separately so it can use just the names in the call for the wrapper variant. That could be simplified back down in a future ifunc-only version. Built and test-booted arm64 GENERIC and riscv64 QEMU (with other patches to deal with the other issues here).
Jan 23 2026
armv7 and riscv64 are tier 2, breaking them is not permitted. I have an idea for how to make them work though, without being too invasive.
Jan 22 2026
Do we need to worry about $s in OBJROOT?
Jan 20 2026
This probably needs more of an explanation for the issue with this pattern on CHERI than we had downstream
Our pkg is old enough to predate that support, but we're also not doing pkgbase yet, so presumably once it's mature enough upstream for us to adopt it downstream we'll first update pkg.
Won’t that break the dependencies list if clang is itself 32-bit? This also introduces a new hard-coding of the set of compat libraries rather than using _ALL_libcompats.