User Details
- User Since
- May 14 2014, 7:57 AM (617 w, 6 d)
Yesterday
this is good work! i would like to figure out how to describe the "why" this extra stuff is necessary though, so lemme noodle on that a bit first.
Mon, Mar 16
Sun, Mar 15
Sat, Mar 14
Ok, i'm now actively looking at this.
Lemme see which I can delete and which I need to keep and use.
Sun, Mar 8
It's in here just in case i need it when figuring out WOL. I'd much prefer we figure out WOL :P
nice catch!
Thu, Mar 5
Wed, Mar 4
Tue, Mar 3
First up - the alignment should be what the hardware supports, not what the ethernet type supports. Eg, if the virtio API supports 1 byte alignment and it's not hugely inefficient to do so then that's what you should create the DMA tag with.
There's a bunch of un-fun stuff around RX alignment of buffers versus the network stack requirements - notably the IP stack will do unaligned accesses and will trip an exception if you don't enable unaligned access or handle it in said exception handler.
This typically comes up when you have hardware with 4 byte alignment requirements but you need to start the mbuf at a 2 byte offset so a non-VLAN ethernet header will result in the IP header starting at a 4 byte alignment.
(Honestly though it's 2026 and we should just finally fix the IP/TCP stack..) So just keep that in mind if you're trialing 1 byte hardware alignment and you see weird shenanigans with RX path mbufs.
Thu, Feb 26
Wed, Feb 25
Mon, Feb 23
Sun, Feb 22
Sat, Feb 21
ok, this one boots fine in p8 pseries and p9 pseries, but p8 powernv it .. just hangs during boot and eventually ends up at OPAL.
Wed, Feb 18
oh interesting. is this different from straight -head? If it is then i need to fix it. If it isn't then it's expected behaviour!
refactor
refactor
refactor
refactor
Tue, Feb 17
Mon, Feb 16
migrate this to /just/ do rwlock migration, not the iteration stuff.
Feb 16 2026
Hm, this is an interesting problem/question.
Feb 15 2026
oh this is a good catch!
looks good plz land
compile tested
rw_init_flags() -> rw_init()
Feb 14 2026
nope, still no dice
ok, lemme try this latest one in qemu real quick, hold.
Just tried the latest diff on power9/pseries qemu, it panics differently now
Feb 13 2026
ok i thought this was OK on power9 but it seems not:
ok, tried with 8g in the VM instead of 2g, same issue.
and from justin on irc
This boots fine in qemu-system-ppc64 pseries9 + power9, but in qemu-system-ppc64 pseries-8.0 + power8, it immediately panics on boot with
