Even if this device is currently not mentioned upstream between the
devices that need this I stressed my machine (using `s-tui`) with and
without and I can confirm that it incremented the average CPU frequency
during the stress test (from 1.8/2GHz to around 3GHz).
IOMMU still breaks suspend/resume on multiple Lenovo models including X1.
Currently broken on at least Gen4 which I'm testing on. Hard locks the system during suspend.
This thread claims it works on Gen4 with kernel 5.16.1 but it doesn't work on my hardware, firmware fully updated.
https://bugzilla.kernel.org/show_bug.cgi?id=197029
This should probably be turned on individually for models known to work until it can be more thoroughly tested.
Newer ThinkPads have a new name for the Trackpoint - "TPPS/2 Elan TrackPoint".
Having the "[...] IBM Trackpoint" as default caused some weird
side-effects on my machine (e.g. stopped the trackpoint working after a
suspend) with the wrong name. Although this is mentioned in the option's
description[1], I think that this should be declared explicitly here.
As soon, as we supported newer models as well[2], we should probably
move this into its own common profile.
[1] https://nixos.org/nixos/options.html#hardware.trackpoint.device
[2] https://certification.ubuntu.com/catalog/component/input/5313/input%3ATPPS/2ElanTrackPoint/
With UEFI >= 1.30, there's an explicit option to enable S3 power management.
Once this is selected, S3 is enabled and "deep" is selected as the default
/sys/power/mem_sleep value without requiring any kernel boot parameters.