User Details
- User Since
- Jul 12 2022, 11:32 AM (197 w, 5 d)
Sat, Apr 25
Fri, Apr 24
this is PCI_DEVICE_ID_AMD_1AH_M60H_ROOT in the linux driver, which selects the following case for choosing the IP blocks array:
Tue, Apr 21
Sun, Apr 19
rebase
Fri, Apr 17
Thu, Apr 16
Wed, Apr 15
Mon, Apr 13
Wed, Apr 8
Return error if we get unknown state from acpi_stype_to_sstate
Wed, Apr 1
Was committed in d8a8c890a1a3a003dbd12ec0235304db7fbe9e6e, I just messed up the "Differential Revision" tag.
Tue, Mar 31
Move unit check to probe and not attach
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.
Sun, Mar 29
Mar 28 2026
- Fail attach if unit > 0
- Change device description
which leaves a lot to be desired
Mar 26 2026
Proper cleanup when mcnt = 0
Mar 25 2026
Mar 24 2026
Don't honour SPMC min D-state. Just read _S3D as if we were entering S3.
even though power consumers should still be switched to D3
i think your stack is the wrong way around, right?
Mar 23 2026
Mar 22 2026
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.
i confirm I saw this work on his machine
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 21 2026
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).
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.
don't have access to hardware to test this in a while, but logic looks sound!
It would be nice to describe somewhere how the new states map to ACPI sleep states.
thanks for this!
overall looks good
Mar 13 2026
Mar 12 2026
Mar 5 2026
i'm sorry, I must resign from this revision. I wish you the best of luck in getting this accepted into posix!
Mar 4 2026
ah, right, sorry, I didn't see there were other revisions
formatting
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).
Remove comment about overriding next D-state, as it was confusing and was anyway explained elsewhere.
rebase
Mar 3 2026
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.
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.