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 (197 w, 5 d)

Recent Activity

Sat, Apr 25

obiwac added inline comments to D56619: amdsmu: Add Krackan Point support.
Sat, Apr 25, 8:20 AM

Fri, Apr 24

obiwac added a comment to D49452: USB4 host reset (& writing to router config space).

what do i need to check in dmesg / pciconf to see if i have something that can test this?

Fri, Apr 24, 2:57 PM · USB
obiwac added a comment to D56619: amdsmu: Add Krackan Point support.

this is PCI_DEVICE_ID_AMD_1AH_M60H_ROOT in the linux driver, which selects the following case for choosing the IP blocks array:

Fri, Apr 24, 2:28 PM

Tue, Apr 21

obiwac added inline comments to D49452: USB4 host reset (& writing to router config space).
Tue, Apr 21, 9:59 AM · USB

Sun, Apr 19

obiwac committed rG237d5b05f5bb: acpi: Return "unknown D-state" in acpi_d_state_to_str() if unknown (authored by obiwac).
acpi: Return "unknown D-state" in acpi_d_state_to_str() if unknown
Sun, Apr 19, 1:55 PM
obiwac updated the diff for D49452: USB4 host reset (& writing to router config space).

rebase

Sun, Apr 19, 1:50 PM · USB

Fri, Apr 17

obiwac accepted D56483: acpi_spmc(4): Small probe improvements/fixes.
Fri, Apr 17, 8:03 PM

Thu, Apr 16

obiwac committed rGdc9ff9e5d078: acpi: Return "unknown D-state" in acpi_d_state_to_str() if unknown (authored by obiwac).
acpi: Return "unknown D-state" in acpi_d_state_to_str() if unknown
Thu, Apr 16, 7:18 AM

Wed, Apr 15

obiwac committed rGbb36c457ea49: thunderbolt: Support generic USB4 NHIs (authored by obiwac).
thunderbolt: Support generic USB4 NHIs
Wed, Apr 15, 12:13 PM
obiwac closed D52861: thunderbolt: Support generic USB4 NHIs.
Wed, Apr 15, 12:13 PM
obiwac updated the summary of D56406: acpi_support: add FN keys support for Sony VAIO.
Wed, Apr 15, 12:02 PM
obiwac requested review of D56406: acpi_support: add FN keys support for Sony VAIO.
Wed, Apr 15, 12:01 PM

Mon, Apr 13

obiwac added a reviewer for D54882: intelthermal: Add Intel Processor Thermal driver: thj.
Mon, Apr 13, 4:02 AM

Wed, Apr 8

obiwac committed rG19ab46cc6604: acpi: Parse _S3D in s2idle instead of _S255D (authored by obiwac).
acpi: Parse _S3D in s2idle instead of _S255D
Wed, Apr 8, 12:12 PM
obiwac closed D55118: acpi: Parse _S3D s2idle instead of _S255D.
Wed, Apr 8, 12:12 PM
obiwac updated the diff for D55118: acpi: Parse _S3D s2idle instead of _S255D.

Return error if we get unknown state from acpi_stype_to_sstate

Wed, Apr 8, 10:21 AM
obiwac added inline comments to D55118: acpi: Parse _S3D s2idle instead of _S255D.
Wed, Apr 8, 10:20 AM

Wed, Apr 1

obiwac closed D56061: acpi_spmc: Fix checking expected DSMs.

Was committed in d8a8c890a1a3a003dbd12ec0235304db7fbe9e6e, I just messed up the "Differential Revision" tag.

Wed, Apr 1, 12:30 PM
obiwac committed rG683f7a8374ff: acpi_spmc: Call new MS turn on display DSM (authored by obiwac).
acpi_spmc: Call new MS turn on display DSM
Wed, Apr 1, 11:58 AM
obiwac committed rG0307db7744d4: acpi_spmc: Fail probe if acpi_spmc device already attached (authored by obiwac).
acpi_spmc: Fail probe if acpi_spmc device already attached
Wed, Apr 1, 11:58 AM
obiwac closed D56062: acpi_spmc: Call new MS turn on display DSM.
Wed, Apr 1, 11:58 AM

Tue, Mar 31

obiwac added inline comments to D56062: acpi_spmc: Call new MS turn on display DSM.
Tue, Mar 31, 10:03 AM
obiwac committed rG33e095ee097d: acpi_spmc: Improve device description (authored by obiwac).
acpi_spmc: Improve device description
Tue, Mar 31, 10:03 AM
obiwac updated the diff for D56062: acpi_spmc: Call new MS turn on display DSM.

Move unit check to probe and not attach

Tue, Mar 31, 9:59 AM
obiwac added a comment to D56062: acpi_spmc: Call new MS turn on display DSM.

The "best" fix would be to move the storage of dsms_supported from struct dsm_set to some field in struct acpi_spmc_softc. That could be the occasion of grouping all struct dsm_set objects into a single array, and make it a constant (they would then form a cleanly separated specification for the driver). But since supporting multiple instances at this stage did not appear to be worth the trouble, I didn't require such a change.

Tue, Mar 31, 9:58 AM
obiwac committed rG69124109c5a0: amdsmu: Cezanne support (authored by obiwac).
amdsmu: Cezanne support
Tue, Mar 31, 4:52 AM
obiwac closed D55594: amdsmu: Cezanne support.
Tue, Mar 31, 4:51 AM

Sun, Mar 29

obiwac added inline comments to D56062: acpi_spmc: Call new MS turn on display DSM.
Sun, Mar 29, 5:32 PM

Mar 28 2026

obiwac added inline comments to D56062: acpi_spmc: Call new MS turn on display DSM.
Mar 28 2026, 4:10 AM
obiwac updated the diff for D56062: acpi_spmc: Call new MS turn on display DSM.
  • Fail attach if unit > 0
  • Change device description
Mar 28 2026, 4:10 AM
obiwac added a comment to D56062: acpi_spmc: Call new MS turn on display DSM.

which leaves a lot to be desired

Mar 28 2026, 3:39 AM

Mar 26 2026

obiwac accepted D56056: x86: Guard clock frequency against a divide by 0.
Mar 26 2026, 1:34 PM
obiwac updated the diff for D56056: x86: Guard clock frequency against a divide by 0.

Proper cleanup when mcnt = 0

Mar 26 2026, 1:32 PM
obiwac added inline comments to D56056: x86: Guard clock frequency against a divide by 0.
Mar 26 2026, 2:45 AM

Mar 25 2026

obiwac added inline comments to D55575: thunderbolt: make code -Wunused clean.
Mar 25 2026, 3:10 AM

Mar 24 2026

obiwac retitled D55118: acpi: Parse _S3D s2idle instead of _S255D from acpi: Ask SPMC for D-state in s2idle instead of _S255D to acpi: Parse _S3D s2idle instead of _S255D.
Mar 24 2026, 5:24 PM
obiwac updated the summary of D55118: acpi: Parse _S3D s2idle instead of _S255D.
Mar 24 2026, 5:24 PM
obiwac updated the diff for D55118: acpi: Parse _S3D s2idle instead of _S255D.

Don't honour SPMC min D-state. Just read _S3D as if we were entering S3.

Mar 24 2026, 5:19 PM
obiwac added a comment to D55118: acpi: Parse _S3D s2idle instead of _S255D.

even though power consumers should still be switched to D3

Mar 24 2026, 5:18 PM
obiwac committed rGd8a8c890a1a3: acpi_spmc: Fix checking expected DSMs (authored by obiwac).
acpi_spmc: Fix checking expected DSMs
Mar 24 2026, 8:03 AM
obiwac updated the summary of D56062: acpi_spmc: Call new MS turn on display DSM.
Mar 24 2026, 7:58 AM
obiwac updated the summary of D56062: acpi_spmc: Call new MS turn on display DSM.
Mar 24 2026, 7:58 AM
obiwac added inline comments to D56062: acpi_spmc: Call new MS turn on display DSM.
Mar 24 2026, 7:56 AM
obiwac requested review of D56062: acpi_spmc: Call new MS turn on display DSM.
Mar 24 2026, 7:54 AM
obiwac requested review of D56061: acpi_spmc: Fix checking expected DSMs.
Mar 24 2026, 7:29 AM
obiwac committed rGc586944fa208: hid/hgame: Fix desync in hgame_dpad_cb() (authored by majedalkhaleefah_gmail.com).
hid/hgame: Fix desync in hgame_dpad_cb()
Mar 24 2026, 6:45 AM
obiwac closed D55849: hid/hgame: Fix desync in hgame_dpad_cb().
Mar 24 2026, 6:45 AM
obiwac added a comment to D56056: x86: Guard clock frequency against a divide by 0.

i think your stack is the wrong way around, right?

Mar 24 2026, 5:44 AM
obiwac accepted D56056: x86: Guard clock frequency against a divide by 0.
Mar 24 2026, 5:42 AM

Mar 23 2026

obiwac added a comment to D56026: hid/hsctrl: Add support for Wireless Radio Button.

Radio button can not be correctly handled with hidmap. MS does strange things here assuming every event in report as a keypress. E.g. ASUS TUF always reported radio key as depressed that brokes Linux but works on Windows

Mar 23 2026, 4:54 PM

Mar 22 2026

obiwac added a reviewer for D56026: hid/hsctrl: Add support for Wireless Radio Button: wulf.
Mar 22 2026, 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.

Mar 22 2026, 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

Mar 22 2026, 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.

Mar 22 2026, 9:14 AM

Mar 21 2026

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).

Mar 21 2026, 7:39 AM
obiwac planned changes to D55118: acpi: Parse _S3D 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.

Mar 21 2026, 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
Mar 21 2026, 6:38 AM
obiwac accepted D55849: hid/hgame: Fix desync in hgame_dpad_cb().

don't have access to hardware to test this in a while, but logic looks sound!

Mar 21 2026, 5:50 AM
obiwac added a reviewer for D55849: hid/hgame: Fix desync in hgame_dpad_cb(): obiwac.
Mar 21 2026, 5:37 AM
obiwac committed rGa87bde85232e: acpi_spmc: Simplify constraint freeing (authored by obiwac).
acpi_spmc: Simplify constraint freeing
Mar 21 2026, 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
Mar 21 2026, 5:17 AM
obiwac closed D56008: acpi.4: Update sysctl descriptions for new stypes.
Mar 21 2026, 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.

Mar 21 2026, 5:15 AM
obiwac accepted D55664: yes: Add getopt loop.
Mar 21 2026, 5:02 AM
obiwac updated the summary of D56008: acpi.4: Update sysctl descriptions for new stypes.
Mar 21 2026, 3:40 AM
obiwac requested review of D56008: acpi.4: Update sysctl descriptions for new stypes.
Mar 21 2026, 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
Mar 21 2026, 3:22 AM
obiwac added a comment to D55575: thunderbolt: make code -Wunused clean.

thanks for this!

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

overall looks good

Mar 21 2026, 2:59 AM

Mar 13 2026

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
Mar 13 2026, 1:11 PM
obiwac closed D55370: alloca.3: Add entry about defining VLAs in same block as alloca() to BUGS.
Mar 13 2026, 1:10 PM

Mar 12 2026

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

Mar 5 2026

obiwac added inline comments to D55653: procstat: report vm mappings size.
Mar 5 2026, 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!

Mar 5 2026, 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.

Mar 5 2026, 4:53 AM

Mar 4 2026

obiwac committed rG2f440158c686: hid: Fix 'strenght' typo in hpen.c (authored by majedalkhaleefah_gmail.com).
hid: Fix 'strenght' typo in hpen.c
Mar 4 2026, 11:50 PM
obiwac closed D55626: hid: Fix 'strenght' typo in hpen.c.
Mar 4 2026, 11:50 PM
obiwac accepted D55626: hid: Fix 'strenght' typo in hpen.c.
Mar 4 2026, 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.

Mar 4 2026, 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 revisions

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

formatting

Mar 4 2026, 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)?

Mar 4 2026, 3:19 PM
obiwac updated subscribers of D55562: acpi: Don't attach a "wake" sysctl node to devices without the ACPI flags IVAR.
Mar 4 2026, 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)).

Mar 4 2026, 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).

Mar 4 2026, 1:23 PM
obiwac updated the diff for D55118: acpi: Parse _S3D s2idle instead of _S255D.

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

Mar 4 2026, 1:13 PM
obiwac updated the diff for D55118: acpi: Parse _S3D s2idle instead of _S255D.

rebase

Mar 4 2026, 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.

Mar 4 2026, 1:05 PM

Mar 3 2026

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.

Mar 3 2026, 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.

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

looks good, thanks for finding/fixing this!

Mar 3 2026, 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.

Mar 3 2026, 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.

Mar 3 2026, 9:42 PM