Page MenuHomeFreeBSD
Feed Advanced Search

Today

adrian updated the diff for D57261: net80211: add DEFERRED_WORK.md.

Add a note on serialisation between the tasks and
control/data path.

Sun, May 31, 5:41 PM · wireless
adrian added a comment to D56835: rcd(8): new service manager daemon.
In D56835#1314322, @kib wrote:

I did not read the whole code, only looked at some syscall interactions, and even this not in the whole sources. At least for now.

Thanks for the freeback, I see all other places where I have been lazy regarding EINTR in particular, I'll fix all of them

Sun, May 31, 5:02 PM
adrian added a comment to D57373: stand: Bulk operations on each gfxfb_blt if shadow buffer enabled.

ok, i see where the multiple flushing is happening now. and yeah this makes drawing a single pixel have even more overhead! But that's not specifically your problem, its the API that's exposed.

Sun, May 31, 4:51 PM
adrian added a comment to D57373: stand: Bulk operations on each gfxfb_blt if shadow buffer enabled.

(ie, can you list some of the drawing done by the bootloader that's being accelerated by this?)

Sun, May 31, 4:14 PM
adrian added a comment to D57373: stand: Bulk operations on each gfxfb_blt if shadow buffer enabled.

hi! Oh, so this is to flush a partial region of the shadow frame buffer rather than the whole framebuffer? How does this accelerate things given the current framebuffer API in stand/ doesn't have an explicit flush() ? (ie, i think every putchar() is an individual rectangle blit, no?)

Sun, May 31, 4:13 PM
adrian added inline comments to D56984: powerpc: Implement RTAS event log support.
Sun, May 31, 1:53 AM · drivers, PowerPC

Yesterday

adrian accepted D56984: powerpc: Implement RTAS event log support.

ship it, thanks!

Sat, May 30, 9:13 PM · drivers, PowerPC
adrian accepted D56835: rcd(8): new service manager daemon.

I think this is great work and I think we should figure out how to adopt it in -head sooner rather than later.

Sat, May 30, 6:14 PM
adrian accepted D57089: apple_bce/vhci: add T2 virtual USB host controller.
Sat, May 30, 1:39 AM · USB, drivers, apple (x86)
adrian added a project to D57089: apple_bce/vhci: add T2 virtual USB host controller: USB.
Sat, May 30, 1:39 AM · USB, drivers, apple (x86)
adrian added a comment to D57089: apple_bce/vhci: add T2 virtual USB host controller.

whew this is a whole firmware data pipe and usb controller implementation! this broadly looks okay but i'd like some other usb eyeballs on it.

Sat, May 30, 1:39 AM · USB, drivers, apple (x86)
adrian accepted D57088: apple_bce: add Apple T2 Buffer Copy Engine driver.

this broadly looks fine to me!

Sat, May 30, 1:30 AM · apple (x86), drivers
adrian added a comment to D57087: nvme: add Apple T2 ANS2 NVMe quirks.

@imp does this look ok to you now?

Sat, May 30, 1:27 AM · apple (x86), drivers
adrian accepted D57086: asmc: add MMIO backend for T2 Macs.
Sat, May 30, 1:27 AM · apple (x86), drivers
adrian added a comment to D57086: asmc: add MMIO backend for T2 Macs.

This looks fine, we can refactor it further later!

Sat, May 30, 1:26 AM · apple (x86), drivers

Fri, May 29

adrian accepted D56942: lagg: Handle a port count of zero.
Fri, May 29, 7:49 PM
adrian accepted D57154: net: Fix handling of unmapped user pages in if_getgroup().
Fri, May 29, 7:46 PM
adrian updated the diff for D48172: net80211: add macros for testing if a channel is defined / channel is "any channel".

oops, over-did the conversion a bit

Fri, May 29, 5:05 PM · wireless
adrian added inline comments to D48172: net80211: add macros for testing if a channel is defined / channel is "any channel".
Fri, May 29, 5:03 PM · wireless
adrian committed rGee41a882054c: spi: switch to switch (authored by reviews-freebsd-org412_ketas.si.pri.ee).
spi: switch to switch
Fri, May 29, 5:01 PM
adrian closed D54759: spi: switch to switch.
Fri, May 29, 5:00 PM
adrian accepted D54759: spi: switch to switch.
Fri, May 29, 4:58 PM
adrian updated the diff for D48172: net80211: add macros for testing if a channel is defined / channel is "any channel".
  • migrate to NET80211_CHANNEL_* macro naming, to avoid adding more IEEE80211 pollution for things that aren't in the 802.11 spec
Fri, May 29, 4:46 PM · wireless
adrian updated the summary of D48172: net80211: add macros for testing if a channel is defined / channel is "any channel".
Fri, May 29, 2:07 AM · wireless
adrian updated the diff for D48172: net80211: add macros for testing if a channel is defined / channel is "any channel".
  • add IEEE80211_IS_CHAN_EQUIV() as part of this test
  • add a few more conversions
Fri, May 29, 2:06 AM · wireless

Thu, May 28

adrian closed D54485: LinuxKPI: migrate key data access to functions.
Thu, May 28, 7:51 PM · wireless
adrian committed rG774543072db4: LinuxKPI: migrate key data access to functions (authored by adrian).
LinuxKPI: migrate key data access to functions
Thu, May 28, 7:51 PM
adrian added inline comments to D54593: net80211: create IEEE80211_KEYBUF_128_SIZE / IEEE80211_MICBUF_128_SIZE.
Thu, May 28, 7:51 PM · wireless
adrian added a reviewer for D57312: net80211: delete the deprecated ieee80211_wepkey struct: wireless.
Thu, May 28, 7:48 PM · wireless
adrian requested review of D57312: net80211: delete the deprecated ieee80211_wepkey struct.
Thu, May 28, 7:44 PM · wireless
adrian added inline comments to D56760: net80211: add initial README.md and PROTOCOL.md.
Thu, May 28, 6:46 PM · wireless
adrian added inline comments to D54759: spi: switch to switch.
Thu, May 28, 4:22 PM
adrian accepted D54759: spi: switch to switch.
Thu, May 28, 4:20 PM
adrian accepted D57293: usb: Add missing mtx lock and unlock in pushing dma queue.

nice catch! Why's this not panicing though? I thought I saw a lock assertion in usb_command_wrapper() ?

Thu, May 28, 2:29 PM · USB

Wed, May 27

adrian added inline comments to D54593: net80211: create IEEE80211_KEYBUF_128_SIZE / IEEE80211_MICBUF_128_SIZE.
Wed, May 27, 5:08 PM · wireless
adrian added a reviewer for D57261: net80211: add DEFERRED_WORK.md: wireless.
Wed, May 27, 6:21 AM · wireless
adrian requested review of D57261: net80211: add DEFERRED_WORK.md.
Wed, May 27, 6:20 AM · wireless

Tue, May 26

adrian added a comment to D57253: qlxge(4): Distribute RSS over num_rx_rings with a modulo.

How's this relate to D57240 ?

Tue, May 26, 5:31 PM · drivers
adrian added a comment to D48172: net80211: add macros for testing if a channel is defined / channel is "any channel".
In D48172#1103014, @bz wrote:

Ok, so where do you want to take this? Find all the places in the tree and replace them, just do net80211 and leave the drivers? Just add the macros and let someone else do them all in a go?

Also the IEEE80211_IS_CHAN_ANY() according to https://lists.freebsd.org/archives/freebsd-wireless/2025-January/002700.html

Tue, May 26, 5:36 AM · wireless
adrian accepted D57240: aq(4): Fix RSS indirection table OOB write and queue distribution.
Tue, May 26, 4:50 AM · drivers
adrian added a comment to D57240: aq(4): Fix RSS indirection table OOB write and queue distribution.

oh, hm, how's 8 RSS queues but > 8 RX queues work? In any case, good catch!

Tue, May 26, 4:11 AM · drivers

Mon, May 25

adrian added projects to D57086: asmc: add MMIO backend for T2 Macs: drivers, apple (x86).
Mon, May 25, 2:58 PM · apple (x86), drivers
adrian updated the diff for D48172: net80211: add macros for testing if a channel is defined / channel is "any channel".

convert the rest of ANYC usage

Mon, May 25, 4:40 AM · wireless
adrian added inline comments to D56970: usb: Refactor usb_proc_msg.
Mon, May 25, 2:51 AM · USB
adrian added a comment to D56970: usb: Refactor usb_proc_msg.

ugh yeah you're right, our mwait() implementation does the same thing and has the same issues, doesn't it? I've come to increasingly not like that; code really needs to treat exiting the mwait() as "all state may have changed", and it's not really suitable for serialising stuff like usb state / transfers.

Mon, May 25, 2:41 AM · USB
adrian committed rG490c53e9353f: net80211: add initial README.md and PROTOCOL.md (authored by adrian).
net80211: add initial README.md and PROTOCOL.md
Mon, May 25, 1:34 AM
adrian committed rG1ccaef986746: net80211: update/add some VHT doxygen documentation (authored by adrian).
net80211: update/add some VHT doxygen documentation
Mon, May 25, 1:34 AM
adrian committed rG0c37c9928c68: net80211: add some example doxygen inline documents (authored by adrian).
net80211: add some example doxygen inline documents
Mon, May 25, 1:34 AM
adrian closed D56760: net80211: add initial README.md and PROTOCOL.md.
Mon, May 25, 1:34 AM · wireless
adrian committed rGe3b4dbb80577: net80211: create ieee80211_ht_check_bar_exceed_retry_count() (authored by adrian).
net80211: create ieee80211_ht_check_bar_exceed_retry_count()
Mon, May 25, 1:34 AM
adrian closed D57056: net80211: add some example doxygen inline documents.
Mon, May 25, 1:34 AM · wireless
adrian closed D57079: net80211: update/add some VHT doxygen documentation.
Mon, May 25, 1:34 AM · wireless
adrian closed D57055: net80211: create ieee80211_ht_check_bar_exceed_retry_count().
Mon, May 25, 1:34 AM · wireless

Sat, May 23

adrian requested changes to D56970: usb: Refactor usb_proc_msg.

So I'm starting to understand what you're trying to do here, however just a few things:

Sat, May 23, 4:44 PM · USB

Fri, May 22

adrian accepted D57158: netlink: Avoid undefined behaviour.

sure, but yes, short-circuit evaluation in C is fine!

Fri, May 22, 2:14 PM
adrian added a comment to D56748: asmc: fix asmc_key_dump() page fault on T2 MMIO backend.

wait, we're still missing the sc_is_mmio bits, so I think seuros has to find those diffs and add them to this stack.

Fri, May 22, 12:19 AM · apple (x86), drivers

Thu, May 21

adrian accepted D56748: asmc: fix asmc_key_dump() page fault on T2 MMIO backend.
Thu, May 21, 11:47 PM · apple (x86), drivers
adrian added a comment to D57146: xhci: Do not drop and add bits in xhci.

This looks fine, is there somewhere in the XHCI specification you can reference for drop bit handling? It'd be good to have a comment there.

Nice catch!

This is a Note in xHCI spec 4.6.8:

The Reset Endpoint Command may only be issued to endpoints in the Halted
state. If software wishes to reset the Data Toggle or Sequence Number of an
endpoint that isn't in the Halted state, then software may issue a Configure
Endpoint Command with the Drop and Add bits set for the target endpoint
that is in the Stopped state or Running but Idle state.

I will attach this in the comment tomorrow, thanks!:)

Thu, May 21, 2:48 PM · USB
adrian accepted D57146: xhci: Do not drop and add bits in xhci.

This looks fine, is there somewhere in the XHCI specification you can reference for drop bit handling? It'd be good to have a comment there.

Thu, May 21, 2:42 PM · USB
adrian added a project to D57146: xhci: Do not drop and add bits in xhci: USB.
Thu, May 21, 2:39 PM · USB

Wed, May 20

adrian added a project to D57090: bge: read MAC from loader hint for boards without NVRAM/EEPROM: network.
Wed, May 20, 4:46 PM · network, apple (x86), drivers
adrian accepted D57090: bge: read MAC from loader hint for boards without NVRAM/EEPROM.

Besides wanting some function comments, this looks fine to me. I've had to do this before for MIPS boards whose MAC addresses are not in a common location :(

Wed, May 20, 4:46 PM · network, apple (x86), drivers
adrian added projects to D57090: bge: read MAC from loader hint for boards without NVRAM/EEPROM: drivers, apple (x86).
Wed, May 20, 4:38 PM · network, apple (x86), drivers
adrian added projects to D57089: apple_bce/vhci: add T2 virtual USB host controller: apple (x86), drivers.
Wed, May 20, 4:38 PM · USB, drivers, apple (x86)
adrian added projects to D57088: apple_bce: add Apple T2 Buffer Copy Engine driver: drivers, apple (x86).
Wed, May 20, 4:37 PM · apple (x86), drivers
adrian added projects to D57087: nvme: add Apple T2 ANS2 NVMe quirks: drivers, apple (x86).
Wed, May 20, 4:36 PM · apple (x86), drivers
adrian added a comment to D54485: LinuxKPI: migrate key data access to functions.

@bz would you mind taking a look at this and let me know if it's ok to land?

Wed, May 20, 4:32 PM · wireless

Tue, May 19

adrian committed rG8d36ec1c9c5b: net80211: migrate wk_rxmic / wk_rxmic in TKIP code to accessors (authored by adrian).
net80211: migrate wk_rxmic / wk_rxmic in TKIP code to accessors
Tue, May 19, 5:44 AM
adrian committed rGe56f7becc7ef: iwx: clean up / document noise floor and RSSI fetching (authored by adrian).
iwx: clean up / document noise floor and RSSI fetching
Tue, May 19, 5:44 AM
adrian closed D54790: net80211: migrate wk_rxmic / wk_rxmic in TKIP code to accessors.
Tue, May 19, 5:44 AM · wireless
adrian closed D53780: iwx: clean up / document noise floor and RSSI fetching.
Tue, May 19, 5:43 AM · wireless
adrian added a reviewer for D57079: net80211: update/add some VHT doxygen documentation: wireless.
Tue, May 19, 5:11 AM · wireless
adrian requested review of D57079: net80211: update/add some VHT doxygen documentation.
Tue, May 19, 5:09 AM · wireless
adrian accepted D51399: net80211: unbreak (*ic_ioctl)() argument mismatch.
Tue, May 19, 1:13 AM
adrian 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.

Tue, May 19, 1:13 AM

Mon, May 18

adrian reopened D56748: asmc: fix asmc_key_dump() page fault on T2 MMIO backend.
Mon, May 18, 8:13 PM · apple (x86), drivers
adrian accepted D56322: routing: Add support for route metric.
Mon, May 18, 5:06 PM
adrian committed rG32f854663d76: qcom_tlmm: remove annoying debugging (authored by adrian).
qcom_tlmm: remove annoying debugging
Mon, May 18, 5:04 PM
adrian added a reverting change for rG3abc07947c14: asmc: fix asmc_key_dump() page fault on T2 MMIO backend: rGaf5cdcd8b18c: Revert "asmc: fix asmc_key_dump() page fault on T2 MMIO backend".
Mon, May 18, 5:00 PM
adrian committed rGaf5cdcd8b18c: Revert "asmc: fix asmc_key_dump() page fault on T2 MMIO backend" (authored by adrian).
Revert "asmc: fix asmc_key_dump() page fault on T2 MMIO backend"
Mon, May 18, 5:00 PM
adrian added a reverting change for D56748: asmc: fix asmc_key_dump() page fault on T2 MMIO backend: rGaf5cdcd8b18c: Revert "asmc: fix asmc_key_dump() page fault on T2 MMIO backend".
Mon, May 18, 4:59 PM · apple (x86), drivers
adrian committed rG3abc07947c14: asmc: fix asmc_key_dump() page fault on T2 MMIO backend (authored by guest-seuros).
asmc: fix asmc_key_dump() page fault on T2 MMIO backend
Mon, May 18, 2:10 PM
adrian closed D56748: asmc: fix asmc_key_dump() page fault on T2 MMIO backend.
Mon, May 18, 2:09 PM · apple (x86), drivers
adrian added a comment to D56322: routing: Add support for route metric.

This looks good; how would we unit test this behaviour?

Mon, May 18, 1:37 AM

Sun, May 17

adrian added a reviewer for D57056: net80211: add some example doxygen inline documents: wireless.
Sun, May 17, 6:56 PM · wireless
adrian added a reviewer for D57055: net80211: create ieee80211_ht_check_bar_exceed_retry_count(): wireless.
Sun, May 17, 6:56 PM · wireless
adrian requested review of D57056: net80211: add some example doxygen inline documents.
Sun, May 17, 6:47 PM · wireless
adrian requested review of D57055: net80211: create ieee80211_ht_check_bar_exceed_retry_count().
Sun, May 17, 6:46 PM · wireless

Fri, May 15

adrian updated the diff for D56760: net80211: add initial README.md and PROTOCOL.md.

add some receive documentation

Fri, May 15, 11:07 PM · wireless
adrian accepted D57020: wtap: use typed rssi and noise floor values.

ok!

Fri, May 15, 5:23 PM
adrian 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:21 PM
adrian accepted D57021: net80211: define a type for rssi values.
Fri, May 15, 5:20 PM

Wed, May 13

adrian added a comment to D56994: nvme: Fix broken ahci attachment.

Tested on my intel comet lake desktop w/ nvme attached via an ahci sata/raid integrated, worked just fine.

Wed, May 13, 8:55 PM · drivers
adrian accepted D56994: nvme: Fix broken ahci attachment.
Wed, May 13, 8:55 PM · drivers
adrian added inline comments to D56994: nvme: Fix broken ahci attachment.
Wed, May 13, 7:07 PM · drivers
adrian added a project to D56994: nvme: Fix broken ahci attachment: drivers.
Wed, May 13, 7:06 PM · drivers
adrian added a comment to D53910: website: complete refresh of beastie theme.

@carlavilla The width is too much now - I only ever get the burger menu on my laptop screen, even at max width.

yes, happened the same to me in my computer, the problem is with the Russian language only. Maybe @vladlen can help us and put a short texts

I see the problem: Russian words in the menu are long, making the menu very wide. I have not yet found a good replacement — abbreviated versions of the menu items look rude or like slang. I would also say that the English descriptions are quite long as well, and currently the menu switches to smartphone mode at a width of 1350 px, whereas the recommended breakpoint for smartphones is 767 px.

I have a proposal. When the screen becomes smaller, the angle symbols in the menu wrap to a new line, and the menu looks strange. Could we remove these angles (I mean the HTML elements <i class="fa fa-angle-down fa-lg" aria-hidden="true"></i>)? The menu items look quite visible without these elements. As a result, the screen width can be decreased down to 767 px (smartphone size), and both English and Russian texts look good — for example, "Get FreeBSD" in both languages splits into two lines and looks good. In this case we could use:
@media screen and (max-width: 768px)

Wed, May 13, 2:43 PM
adrian added inline comments to D56984: powerpc: Implement RTAS event log support.
Wed, May 13, 2:30 PM · drivers, PowerPC
adrian added projects to D56984: powerpc: Implement RTAS event log support: PowerPC, drivers.
Wed, May 13, 2:28 PM · drivers, PowerPC

Mon, May 11

adrian accepted D56955: where: Remove list of downstreams.
Mon, May 11, 10:16 PM