Page MenuHomeFreeBSD
Feed Search

Tue, Jan 20

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

thanks for the review!

Tue, Jan 20, 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.

Tue, Jan 20, 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.

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

looks good!

Tue, Jan 20, 11:58 AM
obiwac added inline comments to D48387: acpi_spmc: Add SPMC (system power management controller) driver.
Tue, Jan 20, 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).

Tue, Jan 20, 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.

Tue, Jan 20, 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.

Tue, Jan 20, 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.

Tue, Jan 20, 10:11 AM

Mon, Jan 19

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?

Mon, Jan 19, 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.

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

Sun, Jan 18

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.

Sun, Jan 18, 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:

Sun, Jan 18, 2:39 PM

Fri, Jan 16

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

Remove unused acpi_s2idle_looping

Fri, Jan 16, 2:22 PM
obiwac updated the summary of D54410: acpi: Implement s2idle loop.
Fri, Jan 16, 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.

Fri, Jan 16, 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.

Fri, Jan 16, 1:46 PM

Wed, Jan 14

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

Move comment.

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

Fix more issues pointed out by olce@.

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

style(9)

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

style(9)

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

Fri, Jan 9

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

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

Fri, Jan 9, 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.

Fri, Jan 9, 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

Fri, Jan 9, 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

Fri, Jan 9, 7:12 PM

Thu, Jan 8

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

Wed, Jan 7

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

Reorder includes.

Wed, Jan 7, 12:35 PM

Tue, Jan 6

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.

Tue, Jan 6, 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).

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

Mon, Dec 29

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

Simplify cpuset initialization.

Mon, Dec 29, 9:44 PM
obiwac requested review of D54410: acpi: Implement s2idle loop.
Mon, Dec 29, 9:03 PM
obiwac added reviewers for D54409: x86: New (un)idle IPIs for setting idle flag in scheduler: olce, markj.
Mon, Dec 29, 9:00 PM
obiwac requested review of D54409: x86: New (un)idle IPIs for setting idle flag in scheduler.
Mon, Dec 29, 8:59 PM
obiwac updated the summary of D54407: sched: Flag to force scheduler to always choose idle thread.
Mon, Dec 29, 8:58 PM
obiwac updated the summary of D54407: sched: Flag to force scheduler to always choose idle thread.
Mon, Dec 29, 8:54 PM
obiwac updated the summary of D54407: sched: Flag to force scheduler to always choose idle thread.
Mon, Dec 29, 8:54 PM
obiwac requested review of D54407: sched: Flag to force scheduler to always choose idle thread.
Mon, Dec 29, 8:54 PM
obiwac requested review of D54406: acpi: Make taskqueue only run on BSP.
Mon, Dec 29, 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.

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

Finally got around to updating this diff @olce :)

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

Fix issues pointed out by olce@.

Mon, Dec 29, 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
obiwac updated the summary of D53909: acpi: Fix setting sleep state sysctls to NONE.
Nov 25 2025, 9:20 PM
obiwac added a reviewer for D53909: acpi: Fix setting sleep state sysctls to NONE: thj.
Nov 25 2025, 9:19 PM
obiwac requested review of D53909: acpi: Fix setting sleep state sysctls to NONE.
Nov 25 2025, 9:17 PM

Nov 17 2025

obiwac accepted D53618: Add quarterly status report for wutil.
Nov 17 2025, 1:13 AM

Oct 26 2025

obiwac committed rGee363e1bab6f: thunderbolt: Fix stale symlink for opt_acpi_wmi.h.
Oct 26 2025, 11:24 AM

Oct 20 2025

obiwac added a comment to D53201: nhi: Fix a race with interrupt teardown during detach.
In D53201#1215648, @jhb wrote:

This fixes a panic when devmatch autoloads on my laptop.

Oct 20 2025, 9:20 PM
obiwac accepted D53201: nhi: Fix a race with interrupt teardown during detach.

tested it out on my machine and all is good

Oct 20 2025, 2:25 PM

Oct 16 2025

obiwac added inline comments to D53130: quot: Clean up.
Oct 16 2025, 10:05 PM
obiwac accepted D53130: quot: Clean up.
Oct 16 2025, 9:21 PM
obiwac accepted D53129: quot: Fix benign buffer overflow.
Oct 16 2025, 10:38 AM

Oct 6 2025

obiwac closed D51591: linuxkpi: Support s2idle in `pm_suspend_target_state`.
Oct 6 2025, 9:51 PM
obiwac committed rGa25cfcab9a9d: linuxkpi: Support s2idle in `pm_suspend_target_state`.
Oct 6 2025, 9:51 PM
obiwac committed rGfc2ed9d96804: power: Add stype parameter in power_suspend/resume eventhandlers.
Oct 6 2025, 9:51 PM

Oct 5 2025

obiwac added a comment to D51591: linuxkpi: Support s2idle in `pm_suspend_target_state`.
In D51591#1208761, @bz wrote:

I might go as far as splitting this into (a) the general event handler update and (b) improving linuxkpi?

Oct 5 2025, 11:39 AM

Oct 2 2025

obiwac abandoned D49451: USB4 Pink Sardine controller support.

Superseded by D52861 and D52862

Oct 2 2025, 3:53 PM · USB
obiwac added inline comments to D52862: thunderbolt: Pink Sardine support.
Oct 2 2025, 3:52 PM
obiwac requested review of D52862: thunderbolt: Pink Sardine support.
Oct 2 2025, 3:50 PM
obiwac requested review of D52861: thunderbolt: Support generic USB4 NHIs.
Oct 2 2025, 3:49 PM
obiwac added a comment to D52847: thunderbolt.4: Initial manual for HW Relnotes.

thanks for doing this work!

Oct 2 2025, 6:23 AM

Oct 1 2025

obiwac added a reverting change for rGa13f28d57ecf: acpi_powerres: Fix turning off power resources on first D-state switch: rGdc77c451f777: Revert "acpi_powerres: Fix turning off power resources on first D-state switch".
Oct 1 2025, 9:31 AM
obiwac added a reverting change for D48385: acpi_powerres: Fix turning off power resources on first D-state switch: rGdc77c451f777: Revert "acpi_powerres: Fix turning off power resources on first D-state switch".
Oct 1 2025, 9:31 AM
obiwac committed rGdc77c451f777: Revert "acpi_powerres: Fix turning off power resources on first D-state switch".
Oct 1 2025, 9:31 AM
obiwac added a reverting change for rG02a8fadd2c4d: acpi_powerres: `acpi_pwr_get_state` and getting initial D-state for device: rG929a887b321e: Revert "acpi_powerres: `acpi_pwr_get_state` and getting initial D-state for….
Oct 1 2025, 9:31 AM
obiwac added a reverting change for D48386: acpi_powerres: `acpi_pwr_get_state` and getting initial D-state for device: rG929a887b321e: Revert "acpi_powerres: `acpi_pwr_get_state` and getting initial D-state for….
Oct 1 2025, 9:31 AM
obiwac committed rG929a887b321e: Revert "acpi_powerres: `acpi_pwr_get_state` and getting initial D-state for….
Oct 1 2025, 9:31 AM
obiwac added a reverting change for rGa13f28d57ecf: acpi_powerres: Fix turning off power resources on first D-state switch: rG7bc6ec1a255d: Revert "acpi_powerres: Fix turning off power resources on first D-state switch".
Oct 1 2025, 9:21 AM
obiwac committed rG7bc6ec1a255d: Revert "acpi_powerres: Fix turning off power resources on first D-state switch".
Oct 1 2025, 9:21 AM
obiwac added a reverting change for D48385: acpi_powerres: Fix turning off power resources on first D-state switch: rG7bc6ec1a255d: Revert "acpi_powerres: Fix turning off power resources on first D-state switch".
Oct 1 2025, 9:21 AM

Sep 28 2025

obiwac added a reverting change for rG02a8fadd2c4d: acpi_powerres: `acpi_pwr_get_state` and getting initial D-state for device: rG7e5ab1857817: Revert "acpi_powerres: `acpi_pwr_get_state` and getting initial D-state for….
Sep 28 2025, 4:12 PM