Page MenuHomeFreeBSD

obiwac (Aymeric Wibo)
Fan-bearer on the Right Side of the King

Projects

User Details

User Since
Jul 12 2022, 11:32 AM (192 w, 5 d)

Recent Activity

Today

obiwac added a reviewer for D56026: hid/hsctrl: Add support for Wireless Radio Button: wulf.
Sun, Mar 22, 6:27 PM
obiwac accepted D56026: hid/hsctrl: Add support for Wireless Radio Button.

Can confirm this works on my machine too! Although sometimes when I press the button fast enough, it doesn't register. It always does when I hold it down for more than a fraction of a second though. Assuming this will be fixed once we're able to pass GPIO interrupts to iichid.

Sun, Mar 22, 6:27 PM
obiwac added a comment to D56026: hid/hsctrl: Add support for Wireless Radio Button.

i confirm I saw this work on his machine

Sun, Mar 22, 10:22 AM
obiwac added a comment to D52861: thunderbolt: Support generic USB4 NHIs.

If you commit the rest of the ICM code you got from hselasky, I'll work on making it function on my TB3 devices.

Sun, Mar 22, 9:14 AM

Yesterday

obiwac added a comment to D52861: thunderbolt: Support generic USB4 NHIs.

If you remove all of the TB3 PCI IDs from the NHI and PCIB drivers, the driver is basically useless for TB3 since it won't probe and attach to anything but generic USB4-capable controllers like the "Pink Sardine" ones (as-is).

Sat, Mar 21, 7:39 AM
obiwac planned changes to D55118: acpi: Ask SPMC for D-state in s2idle instead of _S255D.

I have not looked into this yet, but I think this revision causes S0i3 entry to fail for some reason (even though power consumers should still be switched to D3). So changing status to planned changes.

Sat, Mar 21, 7:24 AM
obiwac committed rG81d2c7d3e102: alloca.3: Add entry about defining VLAs in same block as alloca() to BUGS (authored by obiwac).
alloca.3: Add entry about defining VLAs in same block as alloca() to BUGS
Sat, Mar 21, 6:38 AM
obiwac accepted D55849: hid/hgame: Fix desync in hgame_dpad_cb().

logic looks sound!

Sat, Mar 21, 5:50 AM
obiwac added a reviewer for D55849: hid/hgame: Fix desync in hgame_dpad_cb(): obiwac.
Sat, Mar 21, 5:37 AM
obiwac committed rGa87bde85232e: acpi_spmc: Simplify constraint freeing (authored by obiwac).
acpi_spmc: Simplify constraint freeing
Sat, Mar 21, 5:21 AM
obiwac committed rG2547f9720221: acpi.4: Update sysctl descriptions for new stypes (authored by obiwac).
acpi.4: Update sysctl descriptions for new stypes
Sat, Mar 21, 5:17 AM
obiwac closed D56008: acpi.4: Update sysctl descriptions for new stypes.
Sat, Mar 21, 5:16 AM
obiwac added a comment to D56008: acpi.4: Update sysctl descriptions for new stypes.

It would be nice to describe somewhere how the new states map to ACPI sleep states.

Sat, Mar 21, 5:15 AM
obiwac accepted D55664: yes: Add getopt loop.
Sat, Mar 21, 5:02 AM
obiwac updated the summary of D56008: acpi.4: Update sysctl descriptions for new stypes.
Sat, Mar 21, 3:40 AM
obiwac requested review of D56008: acpi.4: Update sysctl descriptions for new stypes.
Sat, Mar 21, 3:39 AM
obiwac committed rG66447abae8bb: acpi: Print sysctl name in deprecated sleep type warning (authored by obiwac).
acpi: Print sysctl name in deprecated sleep type warning
Sat, Mar 21, 3:22 AM
obiwac added a comment to D55575: thunderbolt: make code -Wunused clean.

thanks for this!

Sat, Mar 21, 3:05 AM
obiwac added a comment to D55996: sys/x86/x86: Handle when MPERF/APERF MSRs aren't writable.

overall looks good

Sat, Mar 21, 2:59 AM

Fri, Mar 13

obiwac committed rG4da237aee328: alloca.3: Add entry about defining VLAs in same block as alloca() to BUGS (authored by obiwac).
alloca.3: Add entry about defining VLAs in same block as alloca() to BUGS
Fri, Mar 13, 1:11 PM
obiwac closed D55370: alloca.3: Add entry about defining VLAs in same block as alloca() to BUGS.
Fri, Mar 13, 1:10 PM

Thu, Mar 12

obiwac accepted D55819: queue.h: Reorder STAILQ_INSERT_TAIL.
Thu, Mar 12, 6:17 AM

Thu, Mar 5

obiwac added inline comments to D55653: procstat: report vm mappings size.
Thu, Mar 5, 4:37 PM
obiwac resigned from D50634: Add missing stdio functions to libc.

i'm sorry, I must resign from this revision. I wish you the best of luck in getting this accepted into posix!

Thu, Mar 5, 3:21 PM
obiwac added a comment to D55653: procstat: report vm mappings size.
In D55653#1273804, @kib wrote:

Why is this needed? Size is end-start.
Note that there are huge amount of scripts used by people who parse procstat vm output based on the text format, with the fixed assignment of the columns. The output layout for text is kind of ABI, due to this.

If you insist that it is must be added, it probably fine for structured output like json/xml, but even less useful because its parsing already requires some full language that can do end-start. For the text columnar format, the new column perhaps requires a new option to enable it.

Thu, Mar 5, 4:53 AM

Wed, Mar 4

obiwac committed rG2f440158c686: hid: Fix 'strenght' typo in hpen.c (authored by majedalkhaleefah_gmail.com).
hid: Fix 'strenght' typo in hpen.c
Wed, Mar 4, 11:50 PM
obiwac closed D55626: hid: Fix 'strenght' typo in hpen.c.
Wed, Mar 4, 11:50 PM
obiwac accepted D55626: hid: Fix 'strenght' typo in hpen.c.
Wed, Mar 4, 11:35 PM
obiwac added a comment to D52861: thunderbolt: Support generic USB4 NHIs.

Maybe I’m confused, I was referring to tb_pcib.c.

Wed, Mar 4, 10:19 PM
obiwac added a comment to D55562: acpi: Don't attach a "wake" sysctl node to devices without the ACPI flags IVAR.

ah, right, sorry, I didn't see there were other reviews

Wed, Mar 4, 10:05 PM
obiwac accepted D55562: acpi: Don't attach a "wake" sysctl node to devices without the ACPI flags IVAR.
Wed, Mar 4, 9:50 PM
obiwac added inline comments to D55653: procstat: report vm mappings size.
Wed, Mar 4, 7:20 PM
obiwac updated the summary of D55653: procstat: report vm mappings size.
Wed, Mar 4, 6:59 PM
obiwac committed rGbc3914737bce: bus_if: Fix typo (authored by obiwac).
bus_if: Fix typo
Wed, Mar 4, 3:51 PM
obiwac committed rG2c60fce365f4: amdsmu: Sleep entry/exit hints for PMFW (authored by obiwac).
amdsmu: Sleep entry/exit hints for PMFW
Wed, Mar 4, 3:51 PM
obiwac closed D48721: amdsmu: Sleep entry/exit hints for PMFW.
Wed, Mar 4, 3:50 PM
obiwac updated the diff for D48721: amdsmu: Sleep entry/exit hints for PMFW.

formatting

Wed, Mar 4, 3:24 PM
obiwac added a comment to D48721: amdsmu: Sleep entry/exit hints for PMFW.

I have a question related to amdsmu but not the change here: Given the logic in amdsmu_cmd(), I concur that the SMU will always return again the same result when re-reading SMU_REG_RESPONSE without any intervening command (except perhaps on a previous timeout)?

Wed, Mar 4, 3:19 PM
obiwac updated subscribers of D55562: acpi: Don't attach a "wake" sysctl node to devices without the ACPI flags IVAR.
Wed, Mar 4, 1:53 PM
obiwac added a comment to D55562: acpi: Don't attach a "wake" sysctl node to devices without the ACPI flags IVAR.

Hmm... atopcase(4) still panicked with a similar issue (once I figured out that I needed to add ig4 to my KERNCONF). This may have also occurred because my Mac had low battery and the hardware sends out events at the hardware level to OSes to suspend the host (there's always a chance that this is a bug with atopcase(4)).

Wed, Mar 4, 1:51 PM
obiwac added a comment to D55508: power: Power device and ioctl for state transitions.

I think we should consider renaming these constants, perhaps doing something as radical as POWER_SSTATE_TRANSITION_* => POWER_*, or perhaps keeping STATE (instead of SSTATE), before they are made publicly available (after which, we will have to provide them (almost) indefinitely).

Wed, Mar 4, 1:23 PM
obiwac updated the diff for D55118: acpi: Ask SPMC for D-state in s2idle instead of _S255D.

Remove comment about overriding next D-state, as it was confusing and was anyway explained elsewhere.

Wed, Mar 4, 1:13 PM
obiwac updated the diff for D55118: acpi: Ask SPMC for D-state in s2idle instead of _S255D.

rebase

Wed, Mar 4, 1:10 PM
obiwac added a comment to D52861: thunderbolt: Support generic USB4 NHIs.

Either return the PCI IDs in the tb_pcib driver, or remove the entire driver. With this review, the entire driver is dead code.

Wed, Mar 4, 1:05 PM

Tue, Mar 3

obiwac updated subscribers of D55635: Thunderbolt: add initial Titan Ridge support.

What I meant by "kinda recommending" is that if you're going to support TB3 PCI IDs, then bring back the ICM code until you've written an HCM to replace it. Otherwise you're relying on people to find the right option in their BIOS to disable the ICM challenge-response authorization exchange with devices.

Tue, Mar 3, 11:47 PM
obiwac added a comment to D52861: thunderbolt: Support generic USB4 NHIs.

I must decline being a reviewer or otherwise being involved in the freebsd code. Happy to discuss publicly available information regarding the tech in general.

I think that if you dig deep into the linux nhi and thunderbolt code you'll see some TB3 vs USB4 differences. I know what I know based on my time at Intel and my access to the TB3 specs at the time, obviously I can't share those with you.

Tue, Mar 3, 11:43 PM
obiwac accepted D55639: Fixing.
Tue, Mar 3, 11:03 PM
obiwac accepted D55639: Fixing.

looks good, thanks for finding/fixing this!

Tue, Mar 3, 10:02 PM
obiwac added a comment to D52861: thunderbolt: Support generic USB4 NHIs.

If I had access to the specs, I would like to get ICM/HCM working (which includes investing time in making that functionality in TB3 work). It's mildly annoying how I need to have separate RJ-45 dongles for communication between TB nodes when (in reality) I could just get 2 hosts to talk directly with each other over another IP-like protocol using a TB3/4 capable cable.

Tue, Mar 3, 9:55 PM
obiwac added a comment to D55635: Thunderbolt: add initial Titan Ridge support.

I assume that TR has an ICM, but if you've removed the ICM code from freebsd then that's moot. I would kinda recommend bringing the ICM code back and supporting TR and ICL controllers with it until you've written a comprehensive HCM. Just stay away from AR host controllers.

Tue, Mar 3, 9:42 PM
obiwac added a comment to D52861: thunderbolt: Support generic USB4 NHIs.

The relationship between TB3 and USB4 isn't as simple as you suggest. There are optional vs mandatory feature considerations, there are differences in the bus properties and device config registers, there are differences in the necessary behavior of the Connection Manager, not to mention that an HCM is mandatory for USB4 but not for TB3, and there are even differences in the NHI programming interface. A better comparison is TB4 and USB4, their programming interfaces and functional attributes are more closely related, with TB4 being a superset of USB4.

Tue, Mar 3, 9:35 PM
obiwac updated the summary of D52861: thunderbolt: Support generic USB4 NHIs.
Tue, Mar 3, 8:06 PM
obiwac updated the diff for D52861: thunderbolt: Support generic USB4 NHIs.

completely remove last remnants of ICM support, and assume we're always just using HCM

Tue, Mar 3, 8:05 PM
obiwac added inline comments to D52861: thunderbolt: Support generic USB4 NHIs.
Tue, Mar 3, 8:04 PM
obiwac updated subscribers of D55635: Thunderbolt: add initial Titan Ridge support.

One thing I found interesting in this exercise is that the PCI IDs are flip flopped between FreeBSD and Linux: the NHI PCI IDs on FreeBSD are the TB PCIB PCI IDs and vice versa.

Tue, Mar 3, 7:33 PM
obiwac added a comment to D55635: Thunderbolt: add initial Titan Ridge support.

I'm not entirely sure if titan ridge supports having a HCM (USB4) or if it is ICM-only (linux uses its ICM it would seem), and short of checking if the progif is USB4 (0x40) or just trying it out, I don't know how to be sure a device supports HCM. In any case, D52861 will end up removing support for non-generic USB4 NHIs.

Tue, Mar 3, 7:24 PM

Sat, Feb 28

obiwac updated the diff for D55594: amdsmu: Cezanne support.

style

Sat, Feb 28, 3:52 PM
obiwac updated the summary of D55594: amdsmu: Cezanne support.
Sat, Feb 28, 3:49 PM
obiwac requested review of D55594: amdsmu: Cezanne support.
Sat, Feb 28, 3:46 PM

Fri, Feb 27

obiwac updated the diff for D55508: power: Power device and ioctl for state transitions.

Check trans bounds while still unsigned

Fri, Feb 27, 3:38 PM

Thu, Feb 26

obiwac updated the test plan for D55508: power: Power device and ioctl for state transitions.
Thu, Feb 26, 11:28 PM
obiwac updated the diff for D55508: power: Power device and ioctl for state transitions.

casting to enum power_sstate_transition can make uint32_t signed

Thu, Feb 26, 11:27 PM
obiwac added inline comments to D55508: power: Power device and ioctl for state transitions.
Thu, Feb 26, 11:23 PM
obiwac updated the diff for D55508: power: Power device and ioctl for state transitions.
  • move FWRITE check outside switch()
  • check trans is in enum power_sstate_transition
Thu, Feb 26, 11:23 PM
obiwac updated the diff for D55508: power: Power device and ioctl for state transitions.
  • uint32_t for PIOTRANSITION
  • check writable for PIOTRANSITION
  • style
Thu, Feb 26, 3:16 PM

Wed, Feb 25

obiwac added a comment to D55508: power: Power device and ioctl for state transitions.

I thought about making this a sysctl and am still open to that, but having this as a device node does give us room to expand the interface in the future. No specific plans, but we may e.g. want to be able to report state change events.

Wed, Feb 25, 9:53 PM
obiwac requested review of D55508: power: Power device and ioctl for state transitions.
Wed, Feb 25, 12:46 PM
obiwac updated the diff for D52862: thunderbolt: Pink Sardine support.

Rebase

Wed, Feb 25, 9:24 AM
obiwac updated the diff for D52861: thunderbolt: Support generic USB4 NHIs.

Rebase

Wed, Feb 25, 9:21 AM
obiwac updated the summary of D52861: thunderbolt: Support generic USB4 NHIs.
Wed, Feb 25, 9:19 AM

Tue, Feb 24

obiwac accepted D55484: system(3): Fix null case.
Tue, Feb 24, 2:56 PM
obiwac added a comment to D55472: appleir: Add Apple IR receiver driver.

haven't done a hugely in-depth review yet. Overall looks pretty good!

Tue, Feb 24, 12:25 AM

Mon, Feb 23

obiwac accepted D55463: mpool/mpool_get.c: Avoid clobbering 'errno' when handling 'pread' errors.
Mon, Feb 23, 5:59 PM
obiwac added inline comments to D55463: mpool/mpool_get.c: Avoid clobbering 'errno' when handling 'pread' errors.
Mon, Feb 23, 4:30 PM
obiwac committed rG16822dac32ab: acpi_panasonic: Clear wireless RF_KILL on boot and resume (authored by guest-seuros).
acpi_panasonic: Clear wireless RF_KILL on boot and resume
Mon, Feb 23, 4:22 PM
obiwac closed D55265: acpi_panasonic: Clear wireless RF_KILL on boot and resume.
Mon, Feb 23, 4:22 PM
obiwac accepted D55265: acpi_panasonic: Clear wireless RF_KILL on boot and resume.
Mon, Feb 23, 4:12 PM

Sat, Feb 21

obiwac committed rG98ffaae49fea: libc: Roll {l,ll,imax}abs(3) manpages into just abs(3) (authored by obiwac).
libc: Roll {l,ll,imax}abs(3) manpages into just abs(3)
Sat, Feb 21, 11:23 PM
obiwac committed rG637a8ec15793: stdckdint.3: Fix standard in comment (authored by obiwac).
stdckdint.3: Fix standard in comment
Sat, Feb 21, 11:23 PM
obiwac committed rGc242bf1b7079: libc: Roll {l,ll,imax}div(3) manpages into just div(3) (authored by obiwac).
libc: Roll {l,ll,imax}div(3) manpages into just div(3)
Sat, Feb 21, 11:23 PM
obiwac closed D55361: libc: Roll {l,ll,imax}abs(3) manpages into just abs(3).
Sat, Feb 21, 11:23 PM
obiwac closed D55360: libc: Roll {l,ll,imax}div(3) manpages into just div(3).
Sat, Feb 21, 11:23 PM
obiwac added inline comments to D55360: libc: Roll {l,ll,imax}div(3) manpages into just div(3).
Sat, Feb 21, 3:26 PM
obiwac updated the test plan for D55361: libc: Roll {l,ll,imax}abs(3) manpages into just abs(3).
Sat, Feb 21, 3:25 PM
obiwac updated the diff for D55360: libc: Roll {l,ll,imax}div(3) manpages into just div(3).

update names

Sat, Feb 21, 3:25 PM
obiwac updated the diff for D55361: libc: Roll {l,ll,imax}abs(3) manpages into just abs(3).

update HISTORY & names

Sat, Feb 21, 3:24 PM
obiwac updated the test plan for D55360: libc: Roll {l,ll,imax}div(3) manpages into just div(3).
Sat, Feb 21, 12:14 PM
obiwac added inline comments to D55360: libc: Roll {l,ll,imax}div(3) manpages into just div(3).
Sat, Feb 21, 12:14 PM
obiwac updated the diff for D55360: libc: Roll {l,ll,imax}div(3) manpages into just div(3).

update history section

Sat, Feb 21, 12:13 PM

Fri, Feb 20

obiwac updated the test plan for D55361: libc: Roll {l,ll,imax}abs(3) manpages into just abs(3).
Fri, Feb 20, 9:18 PM
obiwac updated the test plan for D55360: libc: Roll {l,ll,imax}div(3) manpages into just div(3).
Fri, Feb 20, 9:18 PM
obiwac added inline comments to D55360: libc: Roll {l,ll,imax}div(3) manpages into just div(3).
Fri, Feb 20, 9:17 PM
obiwac updated the diff for D55361: libc: Roll {l,ll,imax}abs(3) manpages into just abs(3).

remove LIBRARY

Fri, Feb 20, 9:17 PM
obiwac updated the diff for D55360: libc: Roll {l,ll,imax}div(3) manpages into just div(3).

remove LIBRARY

Fri, Feb 20, 9:16 PM

Feb 19 2026

obiwac added inline comments to D55360: libc: Roll {l,ll,imax}div(3) manpages into just div(3).
Feb 19 2026, 10:24 PM
obiwac added reviewers for D55360: libc: Roll {l,ll,imax}div(3) manpages into just div(3): Klara, manpages.
Feb 19 2026, 7:45 PM
obiwac added reviewers for D55361: libc: Roll {l,ll,imax}abs(3) manpages into just abs(3): Klara, manpages.
Feb 19 2026, 7:44 PM
obiwac added inline comments to D55360: libc: Roll {l,ll,imax}div(3) manpages into just div(3).
Feb 19 2026, 4:58 PM
obiwac updated the diff for D55361: libc: Roll {l,ll,imax}abs(3) manpages into just abs(3).

use posix 2024 as standard

Feb 19 2026, 4:57 PM
obiwac updated the diff for D55360: libc: Roll {l,ll,imax}div(3) manpages into just div(3).

use posix 2024 as standard

Feb 19 2026, 4:57 PM