Page MenuHomeFreeBSD

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

Projects

User does not belong to any projects.

User Details

User Since
Jul 12 2022, 11:32 AM (193 w, 3 d)

Recent Activity

Tue, Mar 24

obiwac committed rGd8a8c890a1a3: acpi_spmc: Fix checking expected DSMs.
Tue, Mar 24, 8:03 AM
obiwac committed rGc586944fa208: hid/hgame: Fix desync in hgame_dpad_cb() (authored by Majed Alkhaleefah <majedalkhaleefah@gmail.com>).
Tue, Mar 24, 6:45 AM

Sat, Mar 21

obiwac committed rGa87bde85232e: acpi_spmc: Simplify constraint freeing.
Sat, Mar 21, 5:21 AM
obiwac committed rG66447abae8bb: acpi: Print sysctl name in deprecated sleep type warning.
Sat, Mar 21, 3:22 AM

Wed, Mar 4

obiwac committed rG2f440158c686: hid: Fix 'strenght' typo in hpen.c (authored by Majed Alkhaleefah <majedalkhaleefah@gmail.com>).
Wed, Mar 4, 11:50 PM
obiwac committed rGbc3914737bce: bus_if: Fix typo.
Wed, Mar 4, 3:50 PM
obiwac committed rG2c60fce365f4: amdsmu: Sleep entry/exit hints for PMFW.
Wed, Mar 4, 3:50 PM

Feb 23 2026

obiwac committed rG16822dac32ab: acpi_panasonic: Clear wireless RF_KILL on boot and resume (authored by guest-seuros).
Feb 23 2026, 4:22 PM

Feb 21 2026

obiwac committed rG637a8ec15793: stdckdint.3: Fix standard in comment.
Feb 21 2026, 11:23 PM
obiwac committed rGc242bf1b7079: libc: Roll {l,ll,imax}div(3) manpages into just div(3).
Feb 21 2026, 11:23 PM
obiwac committed rG98ffaae49fea: libc: Roll {l,ll,imax}abs(3) manpages into just abs(3).
Feb 21 2026, 11:23 PM

Feb 17 2026

obiwac committed rGb6279be747fa: libc: Improve {,l,ll,imax}div(3) manpages.
Feb 17 2026, 1:17 PM
obiwac committed rG69a3d9ab8019: touch: Fix setting time of created file if fstat() fails.
Feb 17 2026, 1:17 PM

Feb 12 2026

obiwac committed rG0bba277f2223: libc: Improve {,l,ll,imax}div(3) manpages.
Feb 12 2026, 2:56 PM
obiwac committed rGc3f945eac453: libc: Remove leftover comments.
Feb 12 2026, 1:58 PM

Feb 7 2026

obiwac committed rGf3e9c94bc5e6: Revert "acpi: Make taskqueue only run on BSP".
Feb 7 2026, 8:15 PM
obiwac added a reverting change for rGc0df8f6f0e6a: acpi: Make taskqueue only run on BSP: rGf3e9c94bc5e6: Revert "acpi: Make taskqueue only run on BSP".
Feb 7 2026, 8:15 PM
obiwac added a reverting change for D54406: acpi: Make taskqueue only run on BSP: rGf3e9c94bc5e6: Revert "acpi: Make taskqueue only run on BSP".
Feb 7 2026, 8:15 PM

Feb 6 2026

obiwac committed rG067ad8b31bf6: thunderbolt: Fix tb_pcib device matching to check PCI class (authored by guest-seuros).
Feb 6 2026, 4:16 PM

Feb 5 2026

obiwac committed rGd35e369d0a7f: sys/power.h: enum power_sstate_transition.
Feb 5 2026, 3:12 PM
obiwac committed rGd15d6bf83de9: acpi: Fix trying to enter NONE state.
Feb 5 2026, 3:12 PM
obiwac committed rGb8d55a86995b: touch: Fix setting time of created file if fstat() fails.
Feb 5 2026, 11:17 AM

Feb 2 2026

obiwac committed rG4a71fc3b5ceb: acpi: Post/pre device suspend/resume eventhandlers.
Feb 2 2026, 11:52 PM
obiwac committed rGfedc9746bd37: acpi_spmc: Register SPMC suspend/resume routines.
Feb 2 2026, 11:52 PM

Jan 29 2026

obiwac committed rG578b4ec8f1a4: touch: Test for -a flag.
Jan 29 2026, 3:52 PM
obiwac committed rG5a733026088f: touch: Test for -m flag.
Jan 29 2026, 3:52 PM
obiwac committed rG21efed6cd844: touch: Tests for -h flag.
Jan 29 2026, 3:52 PM

Jan 26 2026

obiwac committed rG49ec19f1e101: acpi: Add ACPI_SPMC debug layer define.
Jan 26 2026, 5:03 PM
obiwac committed rGc5daa5a4c32c: acpi_spmc: Add system power management controller driver.
Jan 26 2026, 1:43 PM

Jan 20 2026

obiwac added a comment to D54407: sched: Flag to force scheduler to always choose idle thread.

thanks for the review!

Jan 20 2026, 3:37 PM
obiwac updated the diff for D48387: acpi_spmc: Add SPMC (system power management controller) driver.

Make hw.acpi.spmc.intel_dsm_revision sysctl operate directly on Intel DSM set struct.

Jan 20 2026, 3:36 PM
obiwac updated the diff for D54407: sched: Flag to force scheduler to always choose idle thread.

Make sched_preempt_locked entirely responsible for releasing thread lock and style change.

Jan 20 2026, 3:34 PM
obiwac accepted D54762: acpi: Add Darwin OSI support for Apple Mac hardware.

looks good!

Jan 20 2026, 11:58 AM
obiwac added inline comments to D48387: acpi_spmc: Add SPMC (system power management controller) driver.
Jan 20 2026, 10:50 AM
obiwac updated the diff for D48387: acpi_spmc: Add SPMC (system power management controller) driver.

Don't ever use Microsoft DSM UUID for getting constraints, as this isn't supported (checked on Intel acpidump).

Jan 20 2026, 10:47 AM
obiwac updated the diff for D48387: acpi_spmc: Add SPMC (system power management controller) driver.

Comment about changing sc->constraint_count and more style(9) improvements.

Jan 20 2026, 10:37 AM
obiwac updated the diff for D48387: acpi_spmc: Add SPMC (system power management controller) driver.

Remove struct acpi_spmc_private and just set DSM set flags directly on softc + style(9) improvements.

Jan 20 2026, 10:32 AM
obiwac planned changes to D48735: acpi: Call SPMC entry/exit hooks if SPMC device is set.

See changes/comments in D48387, but will add an interface for PMC suspend and resume which this will use.

Jan 20 2026, 10:11 AM

Jan 19 2026

obiwac added a comment to D54410: acpi: Implement s2idle loop.

Which kind of interrupts do you still see that prevent staying in S0ix? I think you mentioned some IPIs at some point, but which ones? Can we determine their cause?

Jan 19 2026, 10:50 PM
obiwac updated the diff for D48387: acpi_spmc: Add SPMC (system power management controller) driver.

Remove SPMC callbacks on struct acpi_softc. I will replace them with new pmc_suspend and pmc_resume methods in another revision. This leaves the acpi_spmc_suspend and acpi_spmc_resume (renamed from acpi_spmc_enter/exit) functions unused at the moment. Lmk if this is okay or if you'd rather I add these in a different revision too.

Jan 19 2026, 4:42 PM
obiwac committed rG4b534b814aa0: acpi: Fix not calling AcpiLeaveSleepState() in S3 path.
Jan 19 2026, 4:30 PM
obiwac closed D54777: acpi: Fix not calling AcpiLeaveSleepState() in S3 path.
Jan 19 2026, 4:30 PM
obiwac requested review of D54777: acpi: Fix not calling AcpiLeaveSleepState() in S3 path.
Jan 19 2026, 1:30 PM

Jan 18 2026

obiwac added a comment to D48387: acpi_spmc: Add SPMC (system power management controller) driver.

fixed most of the issues highlighted. Will address the allocating-memory-in-probe-function pattern and add an interface for late suspend/early resume (or maybe call this something like pmc_enter and pmc_exit? then again maybe on some platforms the PMC isn't necessarily intended to be called after device suspend) in the future.

Jan 18 2026, 2:45 PM
obiwac updated the diff for D48387: acpi_spmc: Add SPMC (system power management controller) driver.

Fix issues pointed out by olce@ and apply some suggestions. Main changes:

Jan 18 2026, 2:39 PM

Jan 16 2026

obiwac updated the diff for D54410: acpi: Implement s2idle loop.

Remove unused acpi_s2idle_looping

Jan 16 2026, 2:22 PM
obiwac updated the summary of D54410: acpi: Implement s2idle loop.
Jan 16 2026, 2:20 PM
obiwac updated the diff for D54410: acpi: Implement s2idle loop.

Don't use new IPI_IDLE/IPI_UNIDLE, but use smp_rendezvous_cpus() calling sched_do_idle() instead.

Jan 16 2026, 2:20 PM
obiwac abandoned D54409: x86: New (un)idle IPIs for setting idle flag in scheduler.

Can totally use smp_rendezvous_cpus() for this instead of adding 2 new IPIs. I thought I had run into a problem using rendezvous when I first implemented this, but I just tried it again and see no problem doing it this way.

Jan 16 2026, 1:46 PM

Jan 14 2026

obiwac planned changes to D54409: x86: New (un)idle IPIs for setting idle flag in scheduler.
Jan 14 2026, 4:22 PM
obiwac planned changes to D54407: sched: Flag to force scheduler to always choose idle thread.
Jan 14 2026, 4:21 PM
obiwac committed rG7669cbd0f064: acpi: Suspend-to-idle support (s2idle).
Jan 14 2026, 12:55 AM
obiwac committed rG38f941deb6fa: x86: Add intr_enable_src().
Jan 14 2026, 12:55 AM
obiwac closed D48734: acpi: Suspend-to-idle support (s2idle).
Jan 14 2026, 12:54 AM
obiwac updated the diff for D48734: acpi: Suspend-to-idle support (s2idle).

Move comment.

Jan 14 2026, 12:49 AM
obiwac updated the diff for D48734: acpi: Suspend-to-idle support (s2idle).

Fix more issues pointed out by olce@.

Jan 14 2026, 12:49 AM
obiwac updated the diff for D48735: acpi: Call SPMC entry/exit hooks if SPMC device is set.

style(9)

Jan 14 2026, 12:49 AM
obiwac updated the diff for D48721: amdsmu: Sleep entry/exit hints for PMFW.

style(9)

Jan 14 2026, 12:49 AM
obiwac added inline comments to D48387: acpi_spmc: Add SPMC (system power management controller) driver.
Jan 14 2026, 12:49 AM
obiwac added inline comments to D48734: acpi: Suspend-to-idle support (s2idle).
Jan 14 2026, 12:49 AM

Jan 9 2026

obiwac accepted D54624: acpi: Use only AcpiGetSleepTypeData() to determine Sx support.

Tested on my machine (only S5, S4, and S0) and all works

Jan 9 2026, 7:28 PM
obiwac added a comment to D54627: acpi: New R/O 'hw.acpi.s4bios_supported' sysctl, gate S4BIOS with it.

Should we even allow hw.acpi.s4bios to be set if not supported? feels like it could be confusing to users not super familiar with power management that hw.acpi.s4bios is set but the system is not entering S4BIOS.

Jan 9 2026, 7:24 PM
obiwac accepted D54626: acpi: 'hw.acpi.s4bios' sysctl: Change type to bool, expand description.

Accepting assuming no one has objections about changing the size of the sysctl

Jan 9 2026, 7:19 PM
obiwac accepted D54625: acpi: Use AcpiGbl_FACS even on ACPI_REDUCED_HARDWARE.

relevant commit in acpica, for reference: https://github.com/acpica/acpica/commit/79cd933e7b370e8d3fb490bf36ca5d111a12f96a

Jan 9 2026, 7:12 PM

Jan 8 2026

obiwac committed rGc0df8f6f0e6a: acpi: Make taskqueue only run on BSP.
Jan 8 2026, 10:45 AM
obiwac closed D54406: acpi: Make taskqueue only run on BSP.
Jan 8 2026, 10:45 AM

Jan 7 2026

obiwac retitled D54406: acpi: Make taskqueue only run on BSP from acpi: Make taskqueue only run on CPU0
Jan 7 2026, 1:08 PM
obiwac updated the summary of D54406: acpi: Make taskqueue only run on BSP.
Jan 7 2026, 1:07 PM
obiwac added inline comments to D54406: acpi: Make taskqueue only run on BSP.
Jan 7 2026, 1:00 PM
obiwac updated the diff for D54406: acpi: Make taskqueue only run on BSP.

Reorder includes.

Jan 7 2026, 12:35 PM

Jan 6 2026

obiwac abandoned D54556: stat(2): Zero stat struct before copyout.

That is a possibility, most other fo_stats seem to follow the bzero before setting fields pattern already.

Including vn_statfile(). I think I agree that for now we should patch dma-buf instead, but in the longer term we perhaps should consolidate the zeroing here.

Jan 6 2026, 3:39 PM
obiwac added a comment to D54556: stat(2): Zero stat struct before copyout.
In D54556#1246415, @kib wrote:

stat(2) was micro-optimized to the death. Do not introduce second write to the same memory (not to mention that the next two lines write to some fields third time).

Jan 6 2026, 1:56 PM
obiwac updated the test plan for D54556: stat(2): Zero stat struct before copyout.
Jan 6 2026, 12:53 PM
obiwac requested review of D54556: stat(2): Zero stat struct before copyout.
Jan 6 2026, 12:52 PM

Dec 29 2025

obiwac updated the diff for D54406: acpi: Make taskqueue only run on BSP.

Simplify cpuset initialization.

Dec 29 2025, 9:44 PM
obiwac requested review of D54410: acpi: Implement s2idle loop.
Dec 29 2025, 9:03 PM
obiwac added reviewers for D54409: x86: New (un)idle IPIs for setting idle flag in scheduler: olce, markj.
Dec 29 2025, 9:00 PM
obiwac requested review of D54409: x86: New (un)idle IPIs for setting idle flag in scheduler.
Dec 29 2025, 8:59 PM
obiwac updated the summary of D54407: sched: Flag to force scheduler to always choose idle thread.
Dec 29 2025, 8:58 PM
obiwac updated the summary of D54407: sched: Flag to force scheduler to always choose idle thread.
Dec 29 2025, 8:54 PM
obiwac updated the summary of D54407: sched: Flag to force scheduler to always choose idle thread.
Dec 29 2025, 8:54 PM
obiwac requested review of D54407: sched: Flag to force scheduler to always choose idle thread.
Dec 29 2025, 8:54 PM
obiwac requested review of D54406: acpi: Make taskqueue only run on BSP.
Dec 29 2025, 8:46 PM
obiwac updated the diff for D48387: acpi_spmc: Add SPMC (system power management controller) driver.

Remove rev_for_uuid for now and just use revision 0 everywhere.

Dec 29 2025, 7:30 PM
obiwac updated the summary of D48387: acpi_spmc: Add SPMC (system power management controller) driver.
Dec 29 2025, 6:15 PM
obiwac added a comment to D48734: acpi: Suspend-to-idle support (s2idle).

Finally got around to updating this diff @olce :)

Dec 29 2025, 6:09 PM
obiwac updated the diff for D48734: acpi: Suspend-to-idle support (s2idle).

Fix issues pointed out by olce@.

Dec 29 2025, 6:06 PM

Dec 15 2025

obiwac committed rG5bd839792b6a: thunderbolt: Remove PNP info.
Dec 15 2025, 11:29 PM
obiwac added a comment to D54158: pcib: Add a new IVAR returning the Thunderbolt generation of a bridge.
In D54158#1237352, @jhb wrote:

I think we just need some sort of IVAR we can test for and this is just as easy as any other. Can you test this to make sure it works? I have only compile tested it as my only FreeBSD box with TB has the older chipsets that don't work.

Dec 15 2025, 10:34 PM

Dec 10 2025

obiwac accepted D54158: pcib: Add a new IVAR returning the Thunderbolt generation of a bridge.

looks good, though I wonder if there is a point in actually passing down tb_gen, considering I don't think we'll be supporting non-TB_GEN_USB4 in a while (and I was gonna remove the existing tb_pcib_identifiers after D52861)

Dec 10 2025, 12:29 PM

Dec 5 2025

obiwac added a comment to D48734: acpi: Suspend-to-idle support (s2idle).

ack your review comments, I have a couple changes I need to bring out of a stash commit before I address your comments. My local commit log is getting pretty messy from all the suspend debugging stuff I'm trying ;)

Dec 5 2025, 1:39 PM
obiwac added inline comments to D48387: acpi_spmc: Add SPMC (system power management controller) driver.
Dec 5 2025, 1:36 PM
obiwac updated the diff for D48387: acpi_spmc: Add SPMC (system power management controller) driver.

Fix DSM call ordering

Dec 5 2025, 1:32 PM

Dec 3 2025

obiwac added a comment to D48734: acpi: Suspend-to-idle support (s2idle).

thanks for taking a look at this!

Dec 3 2025, 11:57 AM

Nov 28 2025

obiwac committed rGe966eb403971: acpi: Fix typos in sysctl descriptions.
Nov 28 2025, 2:45 PM
obiwac committed rGeeaa865edba6: acpi: Fix setting sleep state sysctls to NONE.
Nov 28 2025, 2:45 PM
obiwac closed D53909: acpi: Fix setting sleep state sysctls to NONE.
Nov 28 2025, 2:45 PM

Nov 26 2025

obiwac added inline comments to D53909: acpi: Fix setting sleep state sysctls to NONE.
Nov 26 2025, 5:15 PM

Nov 25 2025

obiwac updated the summary of D52861: thunderbolt: Support generic USB4 NHIs.
Nov 25 2025, 11:41 PM
obiwac updated the diff for D52861: thunderbolt: Support generic USB4 NHIs.

Remove previous IDs.

Nov 25 2025, 11:35 PM