Suspend is still broken on kernels 6.10 and newer.
Oct 30 15:05:11 archlinux kernel: ------------[ cut here ]------------
Oct 30 15:05:11 archlinux kernel: WARNING: CPU: 10 PID: 8555 at include/linux/rwsem.h:80 follow_pte+0x1de/0x200
Oct 30 15:05:11 archlinux kernel: Modules linked in: uhid rfcomm cmac algif_hash algif_skcipher af_alg snd_seq_dummy snd_hrtimer snd_seq mt7921e mt7921_common mt792x_lib mt76_connac_lib mt76 bnep mac80211 btusb btrtl snd_usb_audio btintel libarc4 b>
Oct 30 15:05:11 archlinux kernel: nvidia_uvm(OE) snd cryptd sp5100_tco usbhid soundcore rapl i2c_piix4 ccp video k10temp i2c_smbus pcspkr wmi mac_hid gpio_amdpt gpio_generic nvidia(OE) crypto_user dm_mod loop nfnetlink zram ip_tables x_tables ext4>
Oct 30 15:05:11 archlinux kernel: CPU: 10 UID: 0 PID: 8555 Comm: nvidia-sleep.sh Tainted: G OE 6.11.5-arch1-1 #1 1400000003000000474e55005271cfbcddaab6f6
Oct 30 15:05:11 archlinux kernel: Tainted: [O]=OOT_MODULE, [E]=UNSIGNED_MODULE
Oct 30 15:05:11 archlinux kernel: Hardware name: Micro-Star International Co., Ltd. MS-7D75/MAG B650 TOMAHAWK WIFI (MS-7D75), BIOS 1.J0 07/24/2024
Oct 30 15:05:11 archlinux kernel: RIP: 0010:follow_pte+0x1de/0x200
Oct 30 15:05:11 archlinux kernel: Code: 52 d9 00 48 81 e2 00 00 00 c0 48 09 c2 48 f7 d2 48 85 fa 75 20 e8 42 f1 ff ff 48 8b 35 7b b5 5c 01 48 81 e6 00 00 00 c0 eb 8d <0f> 0b 48 3b 1f 0f 83 50 fe ff ff bd ea ff ff ff eb b6 49 8b 3c 24
Oct 30 15:05:11 archlinux kernel: RSP: 0018:ffffbb3f0549f850 EFLAGS: 00010246
Oct 30 15:05:11 archlinux kernel: RAX: 0000000000000000 RBX: 0000769ca002f000 RCX: ffffbb3f0549f890
Oct 30 15:05:11 archlinux kernel: RDX: ffffbb3f0549f888 RSI: 0000769ca002f000 RDI: ffff9e85e1e02730
Oct 30 15:05:11 archlinux kernel: RBP: ffffbb3f0549f8d0 R08: ffffbb3f0549fa28 R09: 0000000000000000
Oct 30 15:05:11 archlinux kernel: R10: 000000000040002c R11: ffffffffc111ee9e R12: ffffbb3f0549f890
Oct 30 15:05:11 archlinux kernel: R13: ffffbb3f0549f888 R14: ffff9e85c6945280 R15: 0000000000000000
Oct 30 15:05:11 archlinux kernel: FS: 000075ea7ed8bb80(0000) GS:ffff9e8cddf00000(0000) knlGS:0000000000000000
Oct 30 15:05:11 archlinux kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Oct 30 15:05:11 archlinux kernel: CR2: 0000000000000003 CR3: 000000019687c000 CR4: 0000000000f50ef0
Oct 30 15:05:11 archlinux kernel: PKRU: 55555554
Oct 30 15:05:11 archlinux kernel: Call Trace:
Oct 30 15:05:11 archlinux kernel: <TASK>
Oct 30 15:05:11 archlinux kernel: ? follow_pte+0x1de/0x200
Oct 30 15:05:11 archlinux kernel: ? __warn.cold+0x8e/0xe8
Oct 30 15:05:11 archlinux kernel: ? follow_pte+0x1de/0x200
Oct 30 15:05:11 archlinux kernel: ? report_bug+0xff/0x140
Oct 30 15:05:11 archlinux kernel: ? handle_bug+0x3c/0x80
Oct 30 15:05:11 archlinux kernel: ? exc_invalid_op+0x17/0x70
Oct 30 15:05:11 archlinux kernel: ? asm_exc_invalid_op+0x1a/0x20
Oct 30 15:05:11 archlinux kernel: ? follow_pte+0x1de/0x200
Oct 30 15:05:11 archlinux kernel: follow_phys+0x49/0x110
Oct 30 15:05:11 archlinux kernel: untrack_pfn+0x55/0x120
Oct 30 15:05:11 archlinux kernel: unmap_single_vma+0xa6/0xe0
Oct 30 15:05:11 archlinux kernel: zap_page_range_single+0x122/0x1d0
Oct 30 15:05:11 archlinux kernel: unmap_mapping_range+0x116/0x140
Oct 30 15:05:11 archlinux kernel: nv_revoke_gpu_mappings_locked+0x47/0x70 [nvidia 1400000003000000474e55009c5f68e515278c81]
Oct 30 15:05:11 archlinux kernel: nv_set_system_power_state+0x1cd/0x480 [nvidia 1400000003000000474e55009c5f68e515278c81]
Oct 30 15:05:11 archlinux kernel: nv_procfs_write_suspend+0xef/0x170 [nvidia 1400000003000000474e55009c5f68e515278c81]
Oct 30 15:05:11 archlinux kernel: proc_reg_write+0x5a/0xa0
Oct 30 15:05:11 archlinux kernel: vfs_write+0xf5/0x460
Oct 30 15:05:11 archlinux kernel: ? srso_alias_return_thunk+0x5/0xfbef5
Oct 30 15:05:11 archlinux kernel: ? get_page_from_freelist+0x16db/0x1970
Oct 30 15:05:11 archlinux kernel: ksys_write+0x6d/0xf0
Oct 30 15:05:11 archlinux kernel: do_syscall_64+0x82/0x190
Oct 30 15:05:11 archlinux kernel: ? srso_alias_return_thunk+0x5/0xfbef5
Oct 30 15:05:11 archlinux kernel: ? page_counter_uncharge+0x33/0x80
Oct 30 15:05:11 archlinux kernel: ? srso_alias_return_thunk+0x5/0xfbef5
Oct 30 15:05:11 archlinux kernel: ? drain_stock+0x68/0xa0
Oct 30 15:05:11 archlinux kernel: ? srso_alias_return_thunk+0x5/0xfbef5
Oct 30 15:05:11 archlinux kernel: ? __refill_stock+0x81/0x90
Oct 30 15:05:11 archlinux kernel: ? srso_alias_return_thunk+0x5/0xfbef5
Oct 30 15:05:11 archlinux kernel: ? refill_stock+0x1a/0x30
Oct 30 15:05:11 archlinux kernel: ? srso_alias_return_thunk+0x5/0xfbef5
Oct 30 15:05:11 archlinux kernel: ? try_charge_memcg+0x5dd/0x630
Oct 30 15:05:11 archlinux kernel: ? srso_alias_return_thunk+0x5/0xfbef5
Oct 30 15:05:11 archlinux kernel: ? __mod_memcg_lruvec_state+0xa0/0x150
Oct 30 15:05:11 archlinux kernel: ? srso_alias_return_thunk+0x5/0xfbef5
Oct 30 15:05:11 archlinux kernel: ? __lruvec_stat_mod_folio+0x83/0xd0
Oct 30 15:05:11 archlinux kernel: ? srso_alias_return_thunk+0x5/0xfbef5
Oct 30 15:05:11 archlinux kernel: ? set_ptes.isra.0+0x41/0x90
Oct 30 15:05:11 archlinux kernel: ? srso_alias_return_thunk+0x5/0xfbef5
Oct 30 15:05:11 archlinux kernel: ? do_anonymous_page+0xfe/0x870
Oct 30 15:05:11 archlinux kernel: ? __pte_offset_map+0x1b/0x180
Oct 30 15:05:11 archlinux kernel: ? srso_alias_return_thunk+0x5/0xfbef5
Oct 30 15:05:11 archlinux kernel: ? __handle_mm_fault+0xbe7/0x1030
Oct 30 15:05:11 archlinux kernel: ? srso_alias_return_thunk+0x5/0xfbef5
Oct 30 15:05:11 archlinux kernel: ? __count_memcg_events+0x58/0xf0
Oct 30 15:05:11 archlinux kernel: ? srso_alias_return_thunk+0x5/0xfbef5
Oct 30 15:05:11 archlinux kernel: ? count_memcg_events.constprop.0+0x1a/0x30
Oct 30 15:05:11 archlinux kernel: ? srso_alias_return_thunk+0x5/0xfbef5
Oct 30 15:05:11 archlinux kernel: ? handle_mm_fault+0x1bb/0x2c0
Oct 30 15:05:11 archlinux kernel: ? srso_alias_return_thunk+0x5/0xfbef5
Oct 30 15:05:11 archlinux kernel: ? do_user_addr_fault+0x36c/0x620
Oct 30 15:05:11 archlinux kernel: ? srso_alias_return_thunk+0x5/0xfbef5
Oct 30 15:05:11 archlinux kernel: ? exc_page_fault+0x81/0x190
Oct 30 15:05:11 archlinux kernel: entry_SYSCALL_64_after_hwframe+0x76/0x7e
Oct 30 15:05:11 archlinux kernel: RIP: 0033:0x75ea7ef23ca4
Oct 30 15:05:11 archlinux kernel: Code: c7 00 16 00 00 00 b8 ff ff ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 f3 0f 1e fa 80 3d 05 94 0d 00 00 74 13 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 54 c3 0f 1f 00 53 48 83 ec 20 48 89 54 24 18
Oct 30 15:05:11 archlinux kernel: RSP: 002b:00007ffcd7355fa8 EFLAGS: 00000202 ORIG_RAX: 0000000000000001
Oct 30 15:05:11 archlinux kernel: RAX: ffffffffffffffda RBX: 0000000000000008 RCX: 000075ea7ef23ca4
Oct 30 15:05:11 archlinux kernel: RDX: 0000000000000008 RSI: 000057891724bd40 RDI: 0000000000000001
Oct 30 15:05:11 archlinux kernel: RBP: 000057891724bd40 R08: 0000000000000000 R09: 0000000000000400
Oct 30 15:05:11 archlinux kernel: R10: 0000000000000001 R11: 0000000000000202 R12: 0000000000000008
Oct 30 15:05:11 archlinux kernel: R13: 000075ea7eff6600 R14: 000075ea7eff4010 R15: 000075ea7eff3ec0
Oct 30 15:05:11 archlinux kernel: </TASK>
Oct 30 15:05:11 archlinux kernel: ---[ end trace 0000000000000000 ]---
Oct 30 15:05:11 archlinux kernel: ------------[ cut here ]------------
Causes some monitors to sometimes not wake from sleep.
Also causes some other weird bugs like layouts swapping monitors on certain DEs.