Page MenuHomeFreeBSD

adrian (Adrian Chadd)
User

Projects (6)

User Details

User Since
May 14 2014, 7:57 AM (604 w, 4 d)

Recent Activity

Today

adrian accepted D54211: libusb: change callback register handler to int.
Sun, Dec 14, 1:46 AM

Fri, Dec 12

adrian updated the diff for D54101: if_rge: initial import of if_rge driver from OpenBSD..
  • address manpage nits, from ziaee
Fri, Dec 12, 10:14 PM
adrian added inline comments to D54101: if_rge: initial import of if_rge driver from OpenBSD..
Fri, Dec 12, 7:15 PM

Thu, Dec 11

adrian added a comment to D49990: LinuxKPI: SKBuff: remove DMA32/36 workaround tunable.

I mean look it's 2025 and the machines that we're going to run these devices on have a huge amount of ram compared to the 90s. linux has always had the notion of low, high, very high, etc pools for allocators and their device drivers in various malloc/etc incantations end up using those behaviours implicitly. They have slowly churned on malloc flags, dev based allocations, etc to make this less error-prone but it's still not guaranteed.

Thu, Dec 11, 9:27 PM
adrian updated the diff for D54101: if_rge: initial import of if_rge driver from OpenBSD..
  • copyright updates (adrian, bz)
Thu, Dec 11, 4:59 PM
adrian added inline comments to D54101: if_rge: initial import of if_rge driver from OpenBSD..
Thu, Dec 11, 4:38 PM
adrian updated the diff for D54101: if_rge: initial import of if_rge driver from OpenBSD..
  • manpage fixes (ziaee)
Thu, Dec 11, 4:36 PM
adrian updated the diff for D54101: if_rge: initial import of if_rge driver from OpenBSD..
  • remove opt_platform.h (bz)
  • update locking (adrian)
  • clean up busdma stuff (adrian)
Thu, Dec 11, 4:34 PM

Sat, Dec 6

adrian added reviewers for D54101: if_rge: initial import of if_rge driver from OpenBSD.: network, emaste.
Sat, Dec 6, 5:29 AM
adrian updated the diff for D54101: if_rge: initial import of if_rge driver from OpenBSD..

add missing bit

Sat, Dec 6, 5:28 AM
adrian requested review of D54101: if_rge: initial import of if_rge driver from OpenBSD..
Sat, Dec 6, 5:27 AM

Sat, Nov 29

adrian added a comment to D53987: Export required symbols in nvidia.ko and nvidia-modeset.ko for their consumers.

I'm ok with for now just enabling all symbol exports to unblock things and then figure out how to clean things up in post.

Sat, Nov 29, 5:49 PM

Fri, Nov 28

adrian accepted D53657: libc: implement C23 <stdbit.h> functions.
Fri, Nov 28, 4:12 PM
adrian added inline comments to D53657: libc: implement C23 <stdbit.h> functions.
Fri, Nov 28, 4:10 PM

Thu, Nov 27

adrian added a comment to D53893: Fintek F81232 USB to serial driver.

all good plz land tyvm

Thu, Nov 27, 9:21 PM
adrian accepted D53895: xhci: Correct name of HCCPARAMS Register.
Thu, Nov 27, 3:50 PM

Wed, Nov 26

adrian accepted D53893: Fintek F81232 USB to serial driver.

looks good. manpage? :)

Wed, Nov 26, 2:57 PM

Tue, Nov 25

adrian accepted D53904: xhci: Move xhci_pci_match to a header so it can be used from loader.

.. and since this is just effectively a table of { id, string } and you want to use it in other places, we can later just turn it into a table.

Tue, Nov 25, 6:52 PM
adrian added a comment to D53904: xhci: Move xhci_pci_match to a header so it can be used from loader.

i'm ok with this; i would be putting it in a separate .c file instead because I dislike lots of code use like this in header files, bt that's just me. :-)

Tue, Nov 25, 6:51 PM

Sun, Nov 23

adrian added a reviewer for D53893: Fintek F81232 USB to serial driver: USB.

looks good to me but the lack of mutexes anywhere is suspicious. ;-)

Sun, Nov 23, 4:06 PM
adrian added inline comments to D53657: libc: implement C23 <stdbit.h> functions.
Sun, Nov 23, 3:05 AM

Fri, Nov 21

adrian accepted D53860: vt.4: Document increasing scrollback size.
Fri, Nov 21, 5:38 PM
adrian committed rG4d29178e7154: iwx: tag RX frames as A_MPDU RX; tag A-MSDU frames appropriately (authored by adrian).
iwx: tag RX frames as A_MPDU RX; tag A-MSDU frames appropriately
Fri, Nov 21, 7:11 AM
adrian closed D53781: iwx: tag RX frames as A_MPDU RX; tag A-MSDU frames appropriately.
Fri, Nov 21, 7:11 AM · wireless

Thu, Nov 20

adrian added a member for PowerPC: adrian.
Thu, Nov 20, 4:44 PM
adrian updated the diff for D53780: iwx: clean up / document noise floor and RSSI fetching.

more cleanups, inspired by bz's poking at this whole rssi/nf/signal strength cleanup.

Thu, Nov 20, 7:34 AM · wireless

Wed, Nov 19

adrian added a comment to D53813: Import snapshot of Aquantia ACQ107 vendor driver.

Isn't it better not to have a driver at all rather than having one which is six years old, a preview and heck knows working at all reasonably?

Wed, Nov 19, 9:38 PM
adrian accepted D53813: Import snapshot of Aquantia ACQ107 vendor driver.
Wed, Nov 19, 6:43 PM
adrian added a comment to D53813: Import snapshot of Aquantia ACQ107 vendor driver.

I think it's fine to land and clean up. It's a linux sourced driver with a HAL, debug and trace layer that we need to clean up and then they've written the iflib bits. So like, if it works for people, let's land it and clean it up in post.

Wed, Nov 19, 6:43 PM
adrian added inline comments to D53657: libc: implement C23 <stdbit.h> functions.
Wed, Nov 19, 1:34 PM

Tue, Nov 18

adrian accepted D53660: libc/tests: add stdbit test framework and unit tests.

absolutely amazing use of macros and included source files i love it

Tue, Nov 18, 3:08 PM
adrian accepted D53657: libc: implement C23 <stdbit.h> functions.
Tue, Nov 18, 3:06 PM
adrian accepted D53658: man/man3: add stdbit.3.

looks good, maybe get a review from @ziaee too for manpage stuff and then land?

Tue, Nov 18, 3:03 PM

Sun, Nov 16

adrian added a comment to D53776: iwx: make compile withtout IWX_DEBUG being on.

nono i mean the places in the diff where #ifdef IWX_DEBUG instead of using IWX_DPRINTF(), and an IWX_DPRINTF_CHECK() macro ...

Sun, Nov 16, 6:51 PM
adrian accepted D53776: iwx: make compile withtout IWX_DEBUG being on.
Sun, Nov 16, 5:50 PM
adrian added a comment to D53776: iwx: make compile withtout IWX_DEBUG being on.

I don't mind either; in fact the above diffs just remind me i need to finish cleaning up the iwx debug printing so this stuff doesn't require #ifdef IWX_DEBUG everywhere. :-)

Sun, Nov 16, 5:50 PM
adrian added a comment to D50928: [WIP] net80211: use uint16_t for rssi.

If you're worried about the ioctl change then let's do everything except the ioctl changes to begin with, and go fix all the divers and churn net80211's stuff a whole bunch first.

Sun, Nov 16, 4:27 PM
adrian added a comment to D50929: iwx: correct rssi calculations and reporting.
In D50929#1228066, @bz wrote:

hm, i wonder why iwx used -107 as its "nothing present" value. I wonder what iwlwifi is doing too.

like, -107dBm is a very low thermal noise floor; that's like for a 5MHz wide channel. (The noise floor gets higher as the channel width increases.)
But it's a damn sight better than -127dBm. :-)

There is none. You get a signal value. All the values we ever used in iwm/... are arbitrary. I think normally we used to us -96.

Sun, Nov 16, 4:18 PM
adrian added a comment to D50929: iwx: correct rssi calculations and reporting.

also in my poking I found that I'm not seeing any empty airtime RSSI (it's always 0) so it was setting sc->sc_noise to -127. so we still need to clamp that too to a default noise floor.

Sun, Nov 16, 4:14 PM
adrian added a comment to D50929: iwx: correct rssi calculations and reporting.

hm, i wonder why iwx used -107 as its "nothing present" value. I wonder what iwlwifi is doing too.

Sun, Nov 16, 4:12 PM
adrian added a reviewer for D53781: iwx: tag RX frames as A_MPDU RX; tag A-MSDU frames appropriately: wireless.
Sun, Nov 16, 4:32 AM · wireless
adrian requested review of D53781: iwx: tag RX frames as A_MPDU RX; tag A-MSDU frames appropriately.
Sun, Nov 16, 4:30 AM · wireless
adrian added a reviewer for D53780: iwx: clean up / document noise floor and RSSI fetching: wireless.

@bz here's another great example of "almost but not quite what net80211 "expects" " ;-) sigh.. :)

Sun, Nov 16, 3:30 AM · wireless
adrian requested review of D53780: iwx: clean up / document noise floor and RSSI fetching.
Sun, Nov 16, 3:28 AM · wireless

Sat, Nov 15

adrian committed rG70e73c43a472: vchiq: add compat_freebsd32 ioctls and respective datatypes (authored by devesas.campos_gmail.com).
vchiq: add compat_freebsd32 ioctls and respective datatypes
Sat, Nov 15, 3:29 AM
adrian committed rGaa6b871ea77e: arm64: Add support to vchiq and bcm2835_audio (plus some fixes) (authored by devesas.campos_gmail.com).
arm64: Add support to vchiq and bcm2835_audio (plus some fixes)
Sat, Nov 15, 3:28 AM
adrian closed D37879: vchiq: add compat_freebsd32 ioctls and respective datatypes.
Sat, Nov 15, 3:28 AM
adrian closed D37878: arm64: Add support to vchiq and bcm2835_audio (plus some fixes).
Sat, Nov 15, 3:28 AM

Nov 14 2025

adrian committed rG00b4d712e2be: iwx: clean up TX AMPDU session establishment and checking (authored by adrian).
iwx: clean up TX AMPDU session establishment and checking
Nov 14 2025, 2:38 AM
adrian committed rGb4c35d4622d5: iwx: fix and clean up suspend/resume path (authored by adrian).
iwx: fix and clean up suspend/resume path
Nov 14 2025, 2:38 AM
adrian committed rG7d88ac0eb2d2: iwx: clean up debugging around key add/set; comments on delete (authored by adrian).
iwx: clean up debugging around key add/set; comments on delete
Nov 14 2025, 2:38 AM
adrian closed D53721: iwx: fix and clean up suspend/resume path.
Nov 14 2025, 2:38 AM · wireless
adrian closed D53725: iwx: clean up TX AMPDU session establishment and checking.
Nov 14 2025, 2:37 AM · wireless
adrian closed D53703: iwx: clean up debugging around key add/set; comments on delete.
Nov 14 2025, 2:37 AM · wireless
adrian committed rG5431dafdb965: mtw: convert to new net80211 crypto key API (authored by adrian).
mtw: convert to new net80211 crypto key API
Nov 14 2025, 2:27 AM
adrian closed D53704: mtw: convert to new net80211 crypto key API.
Nov 14 2025, 2:26 AM · wireless
adrian committed rG333eb58deeda: rtwn: migrate to new ieee80211 key data accessors (authored by adrian).
rtwn: migrate to new ieee80211 key data accessors
Nov 14 2025, 2:26 AM
adrian closed D52712: rtwn: migrate to new ieee80211 key data accessors.
Nov 14 2025, 2:26 AM · wireless
adrian updated the diff for D53725: iwx: clean up TX AMPDU session establishment and checking.

comments from bz

Nov 14 2025, 1:42 AM · wireless

Nov 13 2025

adrian updated the summary of D53725: iwx: clean up TX AMPDU session establishment and checking.
Nov 13 2025, 6:35 AM · wireless
adrian updated the summary of D53725: iwx: clean up TX AMPDU session establishment and checking.
Nov 13 2025, 6:34 AM · wireless
adrian updated the diff for D53725: iwx: clean up TX AMPDU session establishment and checking.

more "correct" fixes, i hope!

Nov 13 2025, 6:33 AM · wireless
adrian added a reviewer for D53704: mtw: convert to new net80211 crypto key API: wireless.
Nov 13 2025, 4:38 AM · wireless
adrian added reviewers for D53703: iwx: clean up debugging around key add/set; comments on delete: wireless, thj.
Nov 13 2025, 4:38 AM · wireless
adrian added reviewers for D53725: iwx: clean up TX AMPDU session establishment and checking: wireless, thj.
Nov 13 2025, 4:37 AM · wireless
adrian requested review of D53725: iwx: clean up TX AMPDU session establishment and checking.
Nov 13 2025, 4:36 AM · wireless

Nov 12 2025

adrian added reviewers for D53721: iwx: fix and clean up suspend/resume path: wireless, thj.
Nov 12 2025, 9:06 PM · wireless
adrian requested review of D53721: iwx: fix and clean up suspend/resume path.
Nov 12 2025, 9:04 PM · wireless
adrian requested review of D53704: mtw: convert to new net80211 crypto key API.
Nov 12 2025, 2:59 AM · wireless
adrian requested review of D53703: iwx: clean up debugging around key add/set; comments on delete.
Nov 12 2025, 2:50 AM · wireless

Nov 11 2025

adrian added inline comments to D52712: rtwn: migrate to new ieee80211 key data accessors.
Nov 11 2025, 8:55 PM · wireless
adrian committed rG53880f09fb1b: acpi: add counters for cumulative time spent in each sleep state. (authored by adrian).
acpi: add counters for cumulative time spent in each sleep state.
Nov 11 2025, 8:46 PM
adrian closed D53633: acpi: add counters for cumulative time spent in each sleep state..
Nov 11 2025, 8:45 PM
adrian accepted D53633: acpi: add counters for cumulative time spent in each sleep state..

Hi @gallatin would you mind helping me eyeball what the cacheline size / offset implications would be for extending the per-CPU ACPI stuff like this? Thanks!

Nov 11 2025, 4:18 PM
adrian committed rG77b1e4f32f31: net80211: create accessors for accessing the ieee80211_key key/mic data (authored by adrian).
net80211: create accessors for accessing the ieee80211_key key/mic data
Nov 11 2025, 4:07 PM
adrian committed rGc5f7cb19f527: iwx: migrate to using net80211 crypto key methods (authored by adrian).
iwx: migrate to using net80211 crypto key methods
Nov 11 2025, 4:07 PM
adrian closed D52711: net80211: create accessors for accessing the ieee80211_key key/mic data.
Nov 11 2025, 4:07 PM · wireless
adrian closed D52523: iwx: migrate to using net80211 crypto key methods.
Nov 11 2025, 4:07 PM · wireless

Nov 7 2025

adrian added a reviewer for D53633: acpi: add counters for cumulative time spent in each sleep state.: obiwac.
Nov 7 2025, 4:45 AM
adrian requested review of D53633: acpi: add counters for cumulative time spent in each sleep state..
Nov 7 2025, 4:39 AM

Nov 1 2025

adrian committed rG0726d6e87ad5: vchiq: fix compilation error on armv7 in CI and local armv7 builds (authored by adrian).
vchiq: fix compilation error on armv7 in CI and local armv7 builds
Nov 1 2025, 5:25 PM
adrian added inline comments to D53372: vchiq: fix another logging format string for 32/64 bit.
Nov 1 2025, 3:54 PM

Oct 30 2025

adrian accepted D53254: sbuf_delete() after sbuf_finish() & add SBUF_INCLUDENUL.
Oct 30 2025, 3:54 AM
adrian added inline comments to D37878: arm64: Add support to vchiq and bcm2835_audio (plus some fixes).
Oct 30 2025, 3:47 AM
adrian committed rG8b43286fc3ba: vchiq: fix another logging format string for 32/64 bit (authored by devesas.campos_gmail.com).
vchiq: fix another logging format string for 32/64 bit
Oct 30 2025, 12:49 AM
adrian committed rGdf764dd133ec: vchiq: logging/tracing refactoring (authored by devesas.campos_gmail.com).
vchiq: logging/tracing refactoring
Oct 30 2025, 12:49 AM
adrian closed D53372: vchiq: fix another logging format string for 32/64 bit.
Oct 30 2025, 12:49 AM
adrian closed D53371: vchiq: logging/tracing refactoring.
Oct 30 2025, 12:49 AM

Oct 29 2025

adrian updated the diff for D37879: vchiq: add compat_freebsd32 ioctls and respective datatypes.

rebase; reindent some stuff

Oct 29 2025, 2:33 PM
adrian updated the diff for D37878: arm64: Add support to vchiq and bcm2835_audio (plus some fixes).

rebase

Oct 29 2025, 2:33 PM
adrian updated the diff for D53372: vchiq: fix another logging format string for 32/64 bit.

rebase

Oct 29 2025, 2:33 PM
adrian updated the diff for D53371: vchiq: logging/tracing refactoring.

rename macros, cleanup

Oct 29 2025, 2:32 PM
adrian added inline comments to D53372: vchiq: fix another logging format string for 32/64 bit.
Oct 29 2025, 12:34 AM

Oct 28 2025

adrian added inline comments to D53371: vchiq: logging/tracing refactoring.
Oct 28 2025, 2:44 PM
adrian updated the diff for D37878: arm64: Add support to vchiq and bcm2835_audio (plus some fixes).
  • update now that some of the work has been moved into D53372
  • some style(9) cleanup
Oct 28 2025, 6:07 AM
adrian updated the diff for D53372: vchiq: fix another logging format string for 32/64 bit.

Break out some more of the debug changes into this file

Oct 28 2025, 6:06 AM

Oct 27 2025

adrian added inline comments to D53372: vchiq: fix another logging format string for 32/64 bit.
Oct 27 2025, 12:06 AM

Oct 26 2025

adrian resigned from D53372: vchiq: fix another logging format string for 32/64 bit.

(sigh how'd I convince it that /i/ approved it)

Oct 26 2025, 11:50 PM
adrian added reviewers for D53371: vchiq: logging/tracing refactoring: emaste, ARM.
Oct 26 2025, 11:29 PM
adrian accepted D53372: vchiq: fix another logging format string for 32/64 bit.
Oct 26 2025, 11:28 PM