Page MenuHomeFreeBSD

bz (Bjoern A. Zeeb)
User

Projects (12)

User Details

User Since
Aug 29 2014, 12:11 PM (611 w, 4 d)

Recent Activity

Today

bz abandoned D50929: iwx: correct rssi calculations and reporting.

Adrian commit his version in e56f7becc7efe05acbb08162961dca574b152720

Tue, May 19, 3:50 PM
bz added a comment to D51399: net80211: unbreak (*ic_ioctl)() argument mismatch.

yeah, I'm pretty sure the original interface was for hardware stuff, not per-interface stuff. I don't even recall if we had per-VAP ioctls handled by the driver.

I don't mind doing this change; drivers should document what ioctls are per-vap and what are global.

Tue, May 19, 1:20 AM
bz added a comment to D51399: net80211: unbreak (*ic_ioctl)() argument mismatch.

Anyone?

Tue, May 19, 1:11 AM
bz committed rGda8f27de4f73: net80211: define a type for rssi values (authored by bz).
net80211: define a type for rssi values
Tue, May 19, 12:44 AM
bz committed rG7e74f27a5af8: wtap: use typed rssi and noise floor values (authored by bz).
wtap: use typed rssi and noise floor values
Tue, May 19, 12:44 AM
bz committed rG3f702b299aa1: fwget: update realtek and intel pci entries (authored by bz).
fwget: update realtek and intel pci entries
Tue, May 19, 12:44 AM
bz committed rG31c97d270796: iwlwifi: firmware: reduce script to extract fwget information (authored by bz).
iwlwifi: firmware: reduce script to extract fwget information
Tue, May 19, 12:44 AM
bz committed rGdb505345e32e: rtw89: firmware: extend script to extract fwget entries (authored by bz).
rtw89: firmware: extend script to extract fwget entries
Tue, May 19, 12:44 AM
bz committed rG85afe03ac3de: Remove -fms-extensions throughout the tree (authored by bz).
Remove -fms-extensions throughout the tree
Tue, May 19, 12:44 AM
bz committed rG6adb27eec8a6: man: iwlwifi/rtw88/rtw89: update man pages for Linux v7.0 based updates (authored by bz).
man: iwlwifi/rtw88/rtw89: update man pages for Linux v7.0 based updates
Tue, May 19, 12:44 AM
bz accepted D57004: linuxkpi: work with numpages > 1 in the set_pages_*() KPIs.
Tue, May 19, 12:41 AM

Yesterday

bz accepted D54547: wtap: Remove bogus NULL check in wtap_transmit.
Mon, May 18, 5:55 PM · wireless
bz updated subscribers of D57063: bhyve: Sync max {height,width} with pci_fbuf.c.
In D57063#1307650, @bz wrote:

What's the expected bandwidth needed for that with VNC? 30Mbit/s?

Some body mentioned the samething with me privately. The actual speed it needs is 30 * 60fps. I guess you want to tell me that it is impractical. I will switch it to 2k tomorrow instead of 4k. Thanks!

Mon, May 18, 4:58 PM
bz accepted D56997: sys: Use is_pci_device instead of direct comparisons to devclasses.
Mon, May 18, 3:40 PM
bz accepted D57066: LinuxKPI: Check the devclass of the parent device in dev_is_pci.

We assume that parent it is not a drmn device. Given I added this, it was for mt76 back then likely, so this was clearly a bug.

Mon, May 18, 3:38 PM
bz added a comment to D57063: bhyve: Sync max {height,width} with pci_fbuf.c.

What's the expected bandwidth needed for that with VNC? 30Mbit/s?

Mon, May 18, 3:16 PM

Sun, May 17

bz committed rG4f6c60c3d3c4: iwlwifi: firmware: reduce script to extract fwget information (authored by bz).
iwlwifi: firmware: reduce script to extract fwget information
Sun, May 17, 11:38 PM
bz committed rGca67cfa5237f: fwget: update realtek and intel pci entries (authored by bz).
fwget: update realtek and intel pci entries
Sun, May 17, 11:38 PM
bz committed rG56460a6a420a: rtw89: firmware: extend script to extract fwget entries (authored by bz).
rtw89: firmware: extend script to extract fwget entries
Sun, May 17, 11:38 PM
bz added a comment to D57050: wifi-firmware-*: update to 20260410.

I did a pouder run on all supported branches for the stack:

Sun, May 17, 4:26 PM
bz requested review of D57050: wifi-firmware-*: update to 20260410.
Sun, May 17, 4:24 PM
bz requested review of D57049: wifi-firmware-*: re-generate distinfo given file name changes.
Sun, May 17, 4:23 PM
bz requested review of D57048: net/wifi-firmware-kmod: deal with '?' in file names as sha256 broke it.
Sun, May 17, 4:22 PM
bz requested review of D57047: net/wifi-firmware-iwlwifi-kmod: update script to generate fw list.
Sun, May 17, 4:21 PM

Fri, May 15

bz added a comment to D57004: linuxkpi: work with numpages > 1 in the set_pages_*() KPIs.

I am fine with the logic, if @markj is as well. He understands the comments and the need for the MPASS better than I do.

Fri, May 15, 11:41 PM
bz committed rG96eaa6857ffe: net80211: define a type for rssi values (authored by bz).
net80211: define a type for rssi values
Fri, May 15, 10:00 PM
bz committed rGd201e4e84919: wtap: use typed rssi and noise floor values (authored by bz).
wtap: use typed rssi and noise floor values
Fri, May 15, 10:00 PM
bz closed D57021: net80211: define a type for rssi values.
Fri, May 15, 10:00 PM
bz closed D57020: wtap: use typed rssi and noise floor values.
Fri, May 15, 10:00 PM
bz committed rG0a2f7683bf0c: man: iwlwifi/rtw88/rtw89: update man pages for Linux v7.0 based updates (authored by bz).
man: iwlwifi/rtw88/rtw89: update man pages for Linux v7.0 based updates
Fri, May 15, 6:39 PM
bz closed D57019: man: iwlwifi/rtw88/rtw89: update man pages for Linux v7.0 based updates.
Fri, May 15, 6:39 PM
bz added inline comments to D57019: man: iwlwifi/rtw88/rtw89: update man pages for Linux v7.0 based updates.
Fri, May 15, 6:28 PM
bz added inline comments to D57020: wtap: use typed rssi and noise floor values.
Fri, May 15, 5:45 PM
bz added a comment to D57020: wtap: use typed rssi and noise floor values.

Want to rebase this to use the net80211_rssi_t once that diff lands?

Fri, May 15, 5:22 PM
bz requested review of D57021: net80211: define a type for rssi values.
Fri, May 15, 5:19 PM
bz requested review of D57020: wtap: use typed rssi and noise floor values.
Fri, May 15, 5:18 PM
bz requested review of D57019: man: iwlwifi/rtw88/rtw89: update man pages for Linux v7.0 based updates.
Fri, May 15, 4:37 PM
bz added a comment to D57004: linuxkpi: work with numpages > 1 in the set_pages_*() KPIs.

Mark's suggestion (which I interpreted as https://paste.fbsd.dev/5k6n) seems to work as well; I'm inserting an SDT probe now to confirm my test scenario is actually hitting it right and will stress-test it more.

The problem I have with all of these things is that I don't really know what the failure mode might look like if these attrs aren't adjusted correctly here -- I'm not naive enough to call not-panicking during a lowmem event a solid win since I'm removing the assertion that I hit, but I haven't yet spent enough time understanding where the page(s) are ending up after this (returned to the pool or actually freed) to try and reason about what plausible victims might look like.

Fri, May 15, 2:47 PM
bz added a comment to D57004: linuxkpi: work with numpages > 1 in the set_pages_*() KPIs.
#14 0xffffffff852d036f in set_pages_wb (vm_page=<optimized out>, numpages=-2126791527) at /usr/src.kbsd/sys/compat/linuxkpi/common/include/asm/set_memory.h:90

I have a suggestion from markj staged to walk the contiguous pages instead and continue using pmap_page_set_memattr since the m->md.pat_mode assignment is likely critical, and I'll try that tomorrow morning.

Fri, May 15, 6:07 AM

Thu, May 14

bz added a comment to D57004: linuxkpi: work with numpages > 1 in the set_pages_*() KPIs.

Am I correct in what you are describing is that if you had a debug kernel, you would hit the KASSERTs?

Thu, May 14, 9:39 PM
bz added inline comments to D56997: sys: Use is_pci_device instead of direct comparisons to devclasses.
Thu, May 14, 9:29 PM

Wed, May 13

bz updated the diff for D56248: pciconf: extend tree mode to also print numerical IDs.

Use 0x%04x instead of %#06x to avoid 000000 when 0x0000 would be better as suggested by @jhb.

Wed, May 13, 9:12 PM
bz accepted D56998: sys: Use is_pci_device instead of checking device or devclass names.
Wed, May 13, 9:01 PM
bz requested changes to D56997: sys: Use is_pci_device instead of direct comparisons to devclasses.

No necessarily changes but the LinuxKPI dev_is_pci() variant should get more careful checking (especially in drm land; I believe wireless is fine).

Wed, May 13, 9:01 PM
bz accepted D56996: pci: Add is_pci_device helper function.

I was contemplating the name but I couldn't come up with anything nice that started with pci_ ..

Wed, May 13, 8:32 PM

Sun, May 10

bz requested changes to D56927: rtsol: Trigger from devd(8) on media connection.
Sun, May 10, 10:36 PM
bz added a comment to D56927: rtsol: Trigger from devd(8) on media connection.

Well this may also result in a lot of unnecessary error logs on systems without IPv6 support (on an interface or at all).

Sun, May 10, 10:36 PM

Fri, May 1

bz requested changes to D56760: net80211: add initial README.md and PROTOCOL.md.

I stopped reading. I do not understand the PROTOCOL file for most of it. If you want an overview of the specification go and read a summary of the specification but that doesn't need to be in our tree.

Fri, May 1, 8:13 PM · wireless

Wed, Apr 29

bz accepted D56445: linuxkpi: Add `struct xa_limit` support to xarray.
Wed, Apr 29, 11:08 PM
bz accepted D56443: sx: Add `sx_has_waiters()` macro.
Wed, Apr 29, 11:08 PM
bz accepted D56719: linuxkpi: Add `copy_from_user_inatomic_nontemporal()` function.
Wed, Apr 29, 11:06 PM
bz added a comment to D56693: ath{10,11,12}k: Add missing header in Makefile.
In D56693#1298751, @bz wrote:

None of them is hooked up to the build and I have more local changes but yes, go for it. I have vague plans to enable ath10k soon.

Thanks:). I have this because I just buy a QCA9377 and is trying to build the module.

Wed, Apr 29, 1:14 PM

Tue, Apr 28

bz added a comment to D56443: sx: Add `sx_has_waiters()` macro.
In D56443#1298756, @bz wrote:

I would highly advise against this. Don't start splattering lock internals without KPI over the kernel. Seems not a good idea to me.

Sorry if that wasn't clear, but that reaction is completely missing my point, which is that sx(9) locks can readily provide the information of whether there are waiters, and there's no need to graft a machinery just for that purpose on top of it. I stand firm by it.

The snippet was just to illustrate how to implement retrieving the information (hence the e.g.). It goes without saying that sx internals should not be leaked, and that the best place for this code is in fact a sx(9) routine. As I was in a hurry when commenting, I just didn't make it explicit, but I'm pretty sure this point is obvious to everyone here.

The SX_READ_VALUE define should likely be moved to kern_sx.c, its only consumer so far--or at least seen as such.

Even kern_sx.c does not use SX_READ_VALUE() everywhere it should (sc_lock direct accesses), and conversely internals of struct sx, including sc_lock, will stay exposed to the outside to allow for some inline implementations, regardless of whether SX_READ_VALUE() is hidden, and they are currently in use by LinuxKPI and ZFS. So moving SX_READ_VALUE() is not nearly enough.

That said, I agree this kind of leakage is a sorry state of affairs that should be fixed going forward.

If you really want this, add a tiny (inline) wrapper to the sx implementation and then use that as a proper KPI from here in LinuxKPI.

There's not the slightest doubt that leveraging sx(9) information is the best way.

According to style the check is not !! but != 0

Yes. !! is indeed a Linuxism (also used elsewhere).

Tue, Apr 28, 10:17 PM
bz added a comment to D56443: sx: Add `sx_has_waiters()` macro.

I'd suggest instead to give up on this new implementation as sx locks can directly provide this information, e.g., you can implement rwsem_is_contended() simply as:

static inline int
rwsem_is_contended(struct rw_semaphore *sem)
{
	return (SX_READ_VALUE(&sem->sx) & SX_LOCK_WAITERS);
}

(perhaps adding !! if Linux consumers expect 0 or 1)

Tue, Apr 28, 5:59 PM
bz accepted D56693: ath{10,11,12}k: Add missing header in Makefile.

None of them is hooked up to the build and I have more local changes but yes, go for it. I have vague plans to enable ath10k soon.

Tue, Apr 28, 5:52 PM

Sun, Apr 26

bz added a comment to D56637: dhclient(8): Add support for IPv6-Only option (RFC 8925).

We may want to also update the /etc/rc.d/defaultroute consequently to avoid unnecessary wait time.
But that's another review.

Sun, Apr 26, 4:29 PM

Sat, Apr 25

bz added a comment to D56560: kgss: remove KGSS_VNET_* macros family.
In D56560#1296776, @bz wrote:

Sorry but I don't know this code specifically and what these macros are doing or not in the end; unless I am going to read it all to understand I cannot help given there is no high level description of what you are trying to (de-)virtualize here.

I had initially asked if it was possible to run NFS exports from within jails. Rick made that happen in 2003(?). And that's kind-of as much as I know. I believe I had not reviewed any of that code back then; you may want to talk to people who did -- I think @markj , @jamie and @mjg did in the end when it came to jails and mounted and some other bits got refined. But that's just from vague memory.

Well, my vague memory is that you (bz@) requested that the vnet macros
be hidden behind other macros because you thought you might want
to do something different than that happen.
All the macros like KRPC_CURVNET_SET() do is CURVNET_SET(), etc.

Oh, and it happens a few years ago (closer to 2023 than 2003).

If you (bz@) don't want/need the macros, they can go away.

Sat, Apr 25, 12:13 AM

Fri, Apr 24

bz added a comment to D56560: kgss: remove KGSS_VNET_* macros family.

There also was NFSD_VNET_NAME et al intially btw (a quick grep says some still exists from ed03776ca7f43de8275da80cfa89a9ecc4732f82 ).

Fri, Apr 24, 9:40 PM
bz updated subscribers of D56560: kgss: remove KGSS_VNET_* macros family.

Sorry but I don't know this code specifically and what these macros are doing or not in the end; unless I am going to read it all to understand I cannot help given there is no high level description of what you are trying to (de-)virtualize here.

Fri, Apr 24, 9:37 PM
bz committed rG93d301d95ab2: Remove -fms-extensions throughout the tree (authored by bz).
Remove -fms-extensions throughout the tree
Fri, Apr 24, 8:37 PM
bz closed D55072: Remove -fms-extensions throughout the tree.
Fri, Apr 24, 8:36 PM
bz added a reviewer for D54992: kern: better hierarchical jail semantics for ALLOW_UNPRIV_PARENT_TAMPER: jamie.
Fri, Apr 24, 11:53 AM

Wed, Apr 22

bz committed rG5cfbcaa13fb3: dpaa2: ni: add more stats and link information (authored by bz).
dpaa2: ni: add more stats and link information
Wed, Apr 22, 10:48 PM
bz accepted D56590: linuxkpi: Implement __GFP_THISNODE in alloc_pages().
Wed, Apr 22, 10:37 PM
bz added a comment to D56586: linuxkpi: Do not use a bit flag for __GFP_THISNODE as it is unimplemented.

You probably want to abandon this review then?

Wed, Apr 22, 10:35 PM
bz committed rG5280ba4fcf55: LinuxKPI: 802.11: factor out getting and setting a chanctx (authored by bz).
LinuxKPI: 802.11: factor out getting and setting a chanctx
Wed, Apr 22, 9:18 PM
bz committed rG7e911385115f: linuxkpi: Add <linux/linux_logo.h> (authored by dumbbell).
linuxkpi: Add <linux/linux_logo.h>
Wed, Apr 22, 9:18 PM
bz committed rG6425b7399b34: linuxkpi: Add eventfd_*() (authored by dumbbell).
linuxkpi: Add eventfd_*()
Wed, Apr 22, 9:17 PM
bz committed rG10e515465543: eventfd: Add refcounting (authored by dumbbell).
eventfd: Add refcounting
Wed, Apr 22, 9:17 PM
bz committed rG0866e454c216: linuxkpi: Add `radix_tree_deref_slot()` (authored by dumbbell).
linuxkpi: Add `radix_tree_deref_slot()`
Wed, Apr 22, 9:17 PM
bz committed rG74fbc6bc6c33: linuxkpi: Add get_unaligned_le64() (authored by dumbbell).
linuxkpi: Add get_unaligned_le64()
Wed, Apr 22, 9:17 PM
bz committed rG5d1539f8401e: linuxkpi: Add `rol64()` (authored by dumbbell).
linuxkpi: Add `rol64()`
Wed, Apr 22, 9:17 PM
bz committed rGd1c800badec7: UPDATING: Bump __FreeBSD_version to 1500508 (authored by bz).
UPDATING: Bump __FreeBSD_version to 1500508
Wed, Apr 22, 9:14 PM
bz committed rG8696cc8d0bbf: rtw89: fix mismerge (authored by bz).
rtw89: fix mismerge
Wed, Apr 22, 9:14 PM
bz committed rGdd8d3ae8e531: ath12k: update module Makefiles for v7.0 driver version (authored by bz).
ath12k: update module Makefiles for v7.0 driver version
Wed, Apr 22, 9:14 PM
bz committed rG24c9bc6e364a: ath11k: update Atheros/QCA's ath11k driver (authored by bz).
ath11k: update Atheros/QCA's ath11k driver
Wed, Apr 22, 9:14 PM
bz committed rGbbfa2e7345fe: ath12k: update Atheros/QCA's ath12k driver (authored by bz).
ath12k: update Atheros/QCA's ath12k driver
Wed, Apr 22, 9:14 PM
bz committed rGcb309ee5c170: ath11k: update module Makefiles for v7.0 driver version (authored by bz).
ath11k: update module Makefiles for v7.0 driver version
Wed, Apr 22, 9:14 PM
bz committed rG8696b3a607f0: brcm80211: update module Makefiles for v7.0 driver version (authored by bz).
brcm80211: update module Makefiles for v7.0 driver version
Wed, Apr 22, 9:14 PM
bz committed rG0bd21f777d0d: brcm80211: update Broadcom wireless brcmsmac and brcmfmac drivers (authored by bz).
brcm80211: update Broadcom wireless brcmsmac and brcmfmac drivers
Wed, Apr 22, 9:14 PM
bz committed rGe38e480251d0: athk_common / ath10k: update module Makefiles for v7.0 driver version (authored by bz).
athk_common / ath10k: update module Makefiles for v7.0 driver version
Wed, Apr 22, 9:14 PM
bz committed rG4208012711cc: ath10k: update Atheros/QCA's ath10k driver (authored by bz).
ath10k: update Atheros/QCA's ath10k driver
Wed, Apr 22, 9:14 PM
bz committed rG3b03525843f1: ath-common: update common Atheros/QCA code (authored by bz).
ath-common: update common Atheros/QCA code
Wed, Apr 22, 9:14 PM
bz committed rG05a157596b9f: mt76: update module Makefile for v7.0 driver version (authored by bz).
mt76: update module Makefile for v7.0 driver version
Wed, Apr 22, 9:14 PM
bz committed rG808910385ce9: mt76: update Mediatek's mt76 driver (authored by bz).
mt76: update Mediatek's mt76 driver
Wed, Apr 22, 9:14 PM
bz committed rG47263c162d31: rtw89: update module Makefile for v7.0 driver version (authored by bz).
rtw89: update module Makefile for v7.0 driver version
Wed, Apr 22, 9:14 PM
bz committed rG7ffebcdb702d: rtw89: update Realtek's rtw89 driver (authored by bz).
rtw89: update Realtek's rtw89 driver
Wed, Apr 22, 9:14 PM
bz committed rGf45e34316eb7: iwlwifi: update Intel's mvm/mld drivers (authored by bz).
iwlwifi: update Intel's mvm/mld drivers
Wed, Apr 22, 9:14 PM
bz committed rGf08c02995e65: iwlwifi: update module Makefile for v7.0 driver version (authored by bz).
iwlwifi: update module Makefile for v7.0 driver version
Wed, Apr 22, 9:14 PM
bz committed rG7410ff27b2b2: rtw88: update module Makefile for v7.0 driver version (authored by bz).
rtw88: update module Makefile for v7.0 driver version
Wed, Apr 22, 9:13 PM
bz committed rG342a37387f31: LinuxKPI: 802.11: set IEEE80211_MIN_ACTION_SIZE according to struct (authored by bz).
LinuxKPI: 802.11: set IEEE80211_MIN_ACTION_SIZE according to struct
Wed, Apr 22, 9:13 PM
bz committed rGe6f14601d39c: LinuxKPI: add kmalloc_obj[s], kzalloc_obj[s], and kzalloc_flex (authored by bz).
LinuxKPI: add kmalloc_obj[s], kzalloc_obj[s], and kzalloc_flex
Wed, Apr 22, 9:13 PM
bz committed rGbcdf750def1d: rtw88: update Realtek's rtw88 driver (authored by bz).
rtw88: update Realtek's rtw88 driver
Wed, Apr 22, 9:13 PM
bz committed rGf8d147d65d44: LinuxKPI: 802.11: Add structures and functions for NAN support (authored by bz).
LinuxKPI: 802.11: Add structures and functions for NAN support
Wed, Apr 22, 9:13 PM
bz committed rG1cd58406e47b: LinuxKPI: 802.11: add struct/fields and functions for v7.0 (authored by bz).
LinuxKPI: 802.11: add struct/fields and functions for v7.0
Wed, Apr 22, 9:13 PM
bz committed rGedbcaca4353c: LinuxKPI: implement devm_kmemdup_array() (authored by bz).
LinuxKPI: implement devm_kmemdup_array()
Wed, Apr 22, 9:13 PM
bz committed rG3548ab72de58: LinuxKPI: sync overflow.h from Linux v7.0 (authored by bz).
LinuxKPI: sync overflow.h from Linux v7.0
Wed, Apr 22, 9:13 PM
bz committed rG74455d192b8c: net80211: radiotap: add more VHT flags, and struct (authored by bz).
net80211: radiotap: add more VHT flags, and struct
Wed, Apr 22, 9:13 PM
bz committed rG70cc86a2c8c0: LinuxKPI: conditionally add __flex_counter() (authored by bz).
LinuxKPI: conditionally add __flex_counter()
Wed, Apr 22, 9:13 PM
bz committed rG97c58ec8702f: LinuxKPI: move hex2bin() from kernel.h to new hex.h (authored by bz).
LinuxKPI: move hex2bin() from kernel.h to new hex.h
Wed, Apr 22, 9:13 PM