Issues with Pcie port power states causing system freezes

Hello, I have noticed this in my logs when following with journalctl and whenever this shows up i have my system freezes and things lag a lot… any fixes?

Apr 01 15:34:29 EVA-01 libvirtd[15839]: internal error: Unknown PCI header type '127' for device '0000:0a:00.0'
Apr 01 15:34:29 EVA-01 kernel: pcieport 0000:09:00.0: not ready 65535ms after resume; giving up
Apr 01 15:34:29 EVA-01 kernel: pcieport 0000:09:00.0: Unable to change power state from D3cold to D0, device inaccessible
Apr 01 15:34:29 EVA-01 kernel: pcieport 0000:0a:00.0: Unable to change power state from D3cold to D0, device inaccessible
Apr 01 15:34:29 EVA-01 kernel: pcieport 0000:0a:01.0: Unable to change power state from D3cold to D0, device inaccessible
Apr 01 15:34:29 EVA-01 kernel: pcieport 0000:0a:02.0: Unable to change power state from D3cold to D0, device inaccessible
Apr 01 15:34:29 EVA-01 kernel: pcieport 0000:0a:03.0: Unable to change power state from D3cold to D0, device inaccessible
Apr 01 15:34:29 EVA-01 kernel: thunderbolt 0000:0b:00.0: Unable to change power state from D3cold to D0, device inaccessible
Apr 01 15:34:29 EVA-01 kernel: ------------[ cut here ]------------
Apr 01 15:34:29 EVA-01 kernel: thunderbolt 0000:0b:00.0: interrupt for TX ring 0 is already enabled
Apr 01 15:34:29 EVA-01 kernel: WARNING: CPU: 2 PID: 15877 at drivers/thunderbolt/nhi.c:146 ring_interrupt_active+0x241/0x2d0 [thunderbolt]
Apr 01 15:34:29 EVA-01 kernel: Modules linked in: snd_seq_dummy snd_hrtimer snd_seq xt_CHECKSUM ipt_REJECT xt_tcpudp nft_compat nf_nat_tftp nf_conntrack_tftp bridge stp llc rpcsec_gss_krb5 auth_rpcgss nfsv4 dns_resolver nfs lockd grace sunrpc netfs mlx4_ib ib_uverbs ib_core mlx4_en nft_fib_inet nft_fib_ipv4 nft_fib_ipv6 nft_fib nft_reject_inet nf_reject_ipv4 nf_reject_ipv6 nft_reject nft_ct nft_chain_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 nf_tables ext4 mbcache jbd2 vfat fat xe drm_gpuvm drm_exec gpu_sched drm_suballoc_helper drm_ttm_helper snd_sof_pci_intel_tgl snd_sof_intel_hda_common iwlmvm intel_rapl_msr soundwire_intel intel_rapl_common snd_sof_intel_hda_mlink soundwire_cadence snd_sof_intel_hda snd_sof_pci intel_uncore_frequency snd_sof_xtensa_dsp intel_uncore_frequency_common intel_tcc_cooling snd_sof x86_pkg_temp_thermal snd_sof_utils intel_powerclamp snd_soc_hdac_hda coretemp snd_hda_ext_core snd_soc_acpi_intel_match snd_soc_acpi soundwire_generic_allocation kvm_intel soundwire_bus kvm snd_hda_codec_hdmi mac80211
Apr 01 15:34:29 EVA-01 kernel:  snd_soc_core snd_compress ac97_bus irqbypass i915 libarc4 snd_pcm_dmaengine snd_usb_audio snd_hda_intel btusb snd_intel_dspcfg eeepc_wmi btrtl asus_nb_wmi snd_usbmidi_lib snd_intel_sdw_acpi asus_wmi snd_ump iTCO_wdt btintel snd_hda_codec ledtrig_audio igc iwlwifi intel_pmc_bxt rapl spi_nor snd_rawmidi iTCO_vendor_support btbcm platform_profile snd_seq_device snd_hda_core btmtk i8042 drm_buddy intel_cstate mtd mei_hdcp mei_pxp mc ptp snd_hwdep i2c_algo_bit i2c_i801 sparse_keymap bluetooth cfg80211 intel_uncore snd_pcm thunderbolt ttm wmi_bmof pcspkr serio spi_intel_pci i2c_smbus pps_core intel_lpss_pci spi_intel mei_me snd_timer drm_display_helper intel_lpss ecdh_generic snd mei cec idma64 crc16 rfkill mlx4_core soundcore intel_gtt intel_pmc_core intel_vsec pmt_telemetry mousedev joydev pmt_class acpi_pad acpi_tad mac_hid fuse loop nfnetlink ip_tables x_tables dm_crypt cbc encrypted_keys trusted asn1_encoder tee hid_logitech_hidpp hid_logitech_dj hid_generic usbhid crct10dif_pclmul crc32_pclmul
Apr 01 15:34:29 EVA-01 kernel:  polyval_clmulni polyval_generic gf128mul ghash_clmulni_intel sha512_ssse3 sha256_ssse3 ucsi_acpi sha1_ssse3 nvidia_drm(OE) nvidia_modeset(OE) typec_ucsi aesni_intel nvme roles crypto_simd xhci_pci nvme_core cryptd xhci_pci_renesas typec nvme_auth vmd video wmi pinctrl_alderlake vboxnetflt(OE) vboxnetadp(OE) btrfs vboxdrv(OE) blake2b_generic libcrc32c crc32c_generic pkcs8_key_parser crc32c_intel xor raid6_pq nvidia_uvm(OE) dm_mod nvidia(OE) i2c_dev crypto_user
Apr 01 15:34:29 EVA-01 kernel: CPU: 2 PID: 15877 Comm: kworker/2:1 Tainted: G        W  OE      6.8.2-arch2-1 #1 a430fb92f7ba43092b62bbe6bac995458d3d442d
Apr 01 15:34:29 EVA-01 kernel: Hardware name: ASUS System Product Name/ROG MAXIMUS Z690 HERO EVA, BIOS 3401 03/18/2024
Apr 01 15:34:29 EVA-01 kernel: Workqueue: pm pm_runtime_work
Apr 01 15:34:29 EVA-01 kernel: RIP: 0010:ring_interrupt_active+0x241/0x2d0 [thunderbolt]
Apr 01 15:34:29 EVA-01 kernel: Code: 08 44 89 04 24 e8 9f f1 f0 d2 44 8b 04 24 48 8b 4c 24 08 4d 89 f1 48 8b 54 24 10 48 89 c6 48 c7 c7 c8 cb 09 c2 e8 4f 0e 68 d2 <0f> 0b 4d 8b 77 08 44 8b 5c 24 04 49 8b 76 18 45 84 e4 0f 85 e9 fe
Apr 01 15:34:29 EVA-01 kernel: RSP: 0018:ffffb3fb61a3bce8 EFLAGS: 00010086
Apr 01 15:34:29 EVA-01 kernel: RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000027
Apr 01 15:34:29 EVA-01 kernel: RDX: ffff8ba49f0a19c8 RSI: 0000000000000001 RDI: ffff8ba49f0a19c0
Apr 01 15:34:29 EVA-01 kernel: RBP: 0000000000000001 R08: 0000000000000000 R09: ffffb3fb61a3bb78
Apr 01 15:34:29 EVA-01 kernel: R10: ffffb3fb61a3bb70 R11: 0000000000000003 R12: 0000000000000001
Apr 01 15:34:29 EVA-01 kernel: R13: 0000000000038200 R14: ffffffffc209b147 R15: ffff8b9d0606aa80
Apr 01 15:34:29 EVA-01 kernel: FS:  0000000000000000(0000) GS:ffff8ba49f080000(0000) knlGS:0000000000000000
Apr 01 15:34:29 EVA-01 kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Apr 01 15:34:29 EVA-01 kernel: CR2: 0000796e9c374800 CR3: 000000035ab88000 CR4: 0000000000f50ef0
Apr 01 15:34:29 EVA-01 kernel: PKRU: 55555554
Apr 01 15:34:29 EVA-01 kernel: Call Trace:
Apr 01 15:34:29 EVA-01 kernel:  <TASK>
Apr 01 15:34:29 EVA-01 kernel:  ? ring_interrupt_active+0x241/0x2d0 [thunderbolt c7613e56749a44ed9d45e5196e59303a769aeec3]
Apr 01 15:34:29 EVA-01 kernel:  ? __warn+0x81/0x130
Apr 01 15:34:29 EVA-01 kernel:  ? ring_interrupt_active+0x241/0x2d0 [thunderbolt c7613e56749a44ed9d45e5196e59303a769aeec3]
Apr 01 15:34:29 EVA-01 kernel:  ? report_bug+0x171/0x1a0
Apr 01 15:34:29 EVA-01 kernel:  ? prb_read_valid+0x1b/0x30
Apr 01 15:34:29 EVA-01 kernel:  ? handle_bug+0x3c/0x80
Apr 01 15:34:29 EVA-01 kernel:  ? exc_invalid_op+0x17/0x70
Apr 01 15:34:29 EVA-01 kernel:  ? asm_exc_invalid_op+0x1a/0x20
Apr 01 15:34:29 EVA-01 kernel:  ? ring_interrupt_active+0x241/0x2d0 [thunderbolt c7613e56749a44ed9d45e5196e59303a769aeec3]
Apr 01 15:34:29 EVA-01 kernel:  ? ring_interrupt_active+0x241/0x2d0 [thunderbolt c7613e56749a44ed9d45e5196e59303a769aeec3]
Apr 01 15:34:29 EVA-01 kernel:  tb_ring_start+0x152/0x300 [thunderbolt c7613e56749a44ed9d45e5196e59303a769aeec3]
Apr 01 15:34:29 EVA-01 kernel:  tb_ctl_start+0x26/0xa0 [thunderbolt c7613e56749a44ed9d45e5196e59303a769aeec3]
Apr 01 15:34:29 EVA-01 kernel:  ? __pfx_pci_pm_runtime_resume+0x10/0x10
Apr 01 15:34:29 EVA-01 kernel:  tb_domain_runtime_resume+0x19/0x40 [thunderbolt c7613e56749a44ed9d45e5196e59303a769aeec3]
Apr 01 15:34:29 EVA-01 kernel:  __rpm_callback+0x41/0x170
Apr 01 15:34:29 EVA-01 kernel:  ? __pfx_pci_pm_runtime_resume+0x10/0x10
Apr 01 15:34:29 EVA-01 kernel:  rpm_callback+0x5d/0x70
Apr 01 15:34:29 EVA-01 kernel:  ? __pfx_pci_pm_runtime_resume+0x10/0x10
Apr 01 15:34:29 EVA-01 kernel:  rpm_resume+0x56e/0x7b0
Apr 01 15:34:29 EVA-01 kernel:  ? kfree+0x29f/0x2f0
Apr 01 15:34:29 EVA-01 kernel:  pm_runtime_work+0x70/0xb0
Apr 01 15:34:29 EVA-01 kernel:  process_one_work+0x183/0x370
Apr 01 15:34:29 EVA-01 kernel:  worker_thread+0x3ab/0x4f0
Apr 01 15:34:29 EVA-01 kernel:  ? __pfx_worker_thread+0x10/0x10
Apr 01 15:34:29 EVA-01 kernel:  kthread+0xe5/0x120
Apr 01 15:34:29 EVA-01 kernel:  ? __pfx_kthread+0x10/0x10
Apr 01 15:34:29 EVA-01 kernel:  ret_from_fork+0x31/0x50
Apr 01 15:34:29 EVA-01 kernel:  ? __pfx_kthread+0x10/0x10
Apr 01 15:34:29 EVA-01 kernel:  ret_from_fork_asm+0x1b/0x30
Apr 01 15:34:29 EVA-01 kernel:  </TASK>
Apr 01 15:34:29 EVA-01 kernel: ---[ end trace 0000000000000000 ]---
Apr 01 15:34:29 EVA-01 kernel: ------------[ cut here ]------------
Apr 01 15:34:29 EVA-01 kernel: thunderbolt 0000:0b:00.0: interrupt for RX ring 0 is already enabled
Apr 01 15:34:29 EVA-01 kernel: WARNING: CPU: 2 PID: 15877 at drivers/thunderbolt/nhi.c:146 ring_interrupt_active+0x241/0x2d0 [thunderbolt]
Apr 01 15:34:29 EVA-01 kernel: Modules linked in: snd_seq_dummy snd_hrtimer snd_seq xt_CHECKSUM ipt_REJECT xt_tcpudp nft_compat nf_nat_tftp nf_conntrack_tftp bridge stp llc rpcsec_gss_krb5 auth_rpcgss nfsv4 dns_resolver nfs lockd grace sunrpc netfs mlx4_ib ib_uverbs ib_core mlx4_en nft_fib_inet nft_fib_ipv4 nft_fib_ipv6 nft_fib nft_reject_inet nf_reject_ipv4 nf_reject_ipv6 nft_reject nft_ct nft_chain_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 nf_tables ext4 mbcache jbd2 vfat fat xe drm_gpuvm drm_exec gpu_sched drm_suballoc_helper drm_ttm_helper snd_sof_pci_intel_tgl snd_sof_intel_hda_common iwlmvm intel_rapl_msr soundwire_intel intel_rapl_common snd_sof_intel_hda_mlink soundwire_cadence snd_sof_intel_hda snd_sof_pci intel_uncore_frequency snd_sof_xtensa_dsp intel_uncore_frequency_common intel_tcc_cooling snd_sof x86_pkg_temp_thermal snd_sof_utils intel_powerclamp snd_soc_hdac_hda coretemp snd_hda_ext_core snd_soc_acpi_intel_match snd_soc_acpi soundwire_generic_allocation kvm_intel soundwire_bus kvm snd_hda_codec_hdmi mac80211
Apr 01 15:34:29 EVA-01 kernel:  snd_soc_core snd_compress ac97_bus irqbypass i915 libarc4 snd_pcm_dmaengine snd_usb_audio snd_hda_intel btusb snd_intel_dspcfg eeepc_wmi btrtl asus_nb_wmi snd_usbmidi_lib snd_intel_sdw_acpi asus_wmi snd_ump iTCO_wdt btintel snd_hda_codec ledtrig_audio igc iwlwifi intel_pmc_bxt rapl spi_nor snd_rawmidi iTCO_vendor_support btbcm platform_profile snd_seq_device snd_hda_core btmtk i8042 drm_buddy intel_cstate mtd mei_hdcp mei_pxp mc ptp snd_hwdep i2c_algo_bit i2c_i801 sparse_keymap bluetooth cfg80211 intel_uncore snd_pcm thunderbolt ttm wmi_bmof pcspkr serio spi_intel_pci i2c_smbus pps_core intel_lpss_pci spi_intel mei_me snd_timer drm_display_helper intel_lpss ecdh_generic snd mei cec idma64 crc16 rfkill mlx4_core soundcore intel_gtt intel_pmc_core intel_vsec pmt_telemetry mousedev joydev pmt_class acpi_pad acpi_tad mac_hid fuse loop nfnetlink ip_tables x_tables dm_crypt cbc encrypted_keys trusted asn1_encoder tee hid_logitech_hidpp hid_logitech_dj hid_generic usbhid crct10dif_pclmul crc32_pclmul
Apr 01 15:34:29 EVA-01 kernel:  polyval_clmulni polyval_generic gf128mul ghash_clmulni_intel sha512_ssse3 sha256_ssse3 ucsi_acpi sha1_ssse3 nvidia_drm(OE) nvidia_modeset(OE) typec_ucsi aesni_intel nvme roles crypto_simd xhci_pci nvme_core cryptd xhci_pci_renesas typec nvme_auth vmd video wmi pinctrl_alderlake vboxnetflt(OE) vboxnetadp(OE) btrfs vboxdrv(OE) blake2b_generic libcrc32c crc32c_generic pkcs8_key_parser crc32c_intel xor raid6_pq nvidia_uvm(OE) dm_mod nvidia(OE) i2c_dev crypto_user
Apr 01 15:34:29 EVA-01 kernel: CPU: 2 PID: 15877 Comm: kworker/2:1 Tainted: G        W  OE      6.8.2-arch2-1 #1 a430fb92f7ba43092b62bbe6bac995458d3d442d
Apr 01 15:34:29 EVA-01 kernel: Hardware name: ASUS System Product Name/ROG MAXIMUS Z690 HERO EVA, BIOS 3401 03/18/2024
Apr 01 15:34:29 EVA-01 kernel: Workqueue: pm pm_runtime_work
Apr 01 15:34:29 EVA-01 kernel: RIP: 0010:ring_interrupt_active+0x241/0x2d0 [thunderbolt]
Apr 01 15:34:29 EVA-01 kernel: Code: 08 44 89 04 24 e8 9f f1 f0 d2 44 8b 04 24 48 8b 4c 24 08 4d 89 f1 48 8b 54 24 10 48 89 c6 48 c7 c7 c8 cb 09 c2 e8 4f 0e 68 d2 <0f> 0b 4d 8b 77 08 44 8b 5c 24 04 49 8b 76 18 45 84 e4 0f 85 e9 fe
Apr 01 15:34:29 EVA-01 kernel: RSP: 0018:ffffb3fb61a3bce8 EFLAGS: 00010086
Apr 01 15:34:29 EVA-01 kernel: RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000027
Apr 01 15:34:29 EVA-01 kernel: RDX: ffff8ba49f0a19c8 RSI: 0000000000000001 RDI: ffff8ba49f0a19c0
Apr 01 15:34:29 EVA-01 kernel: RBP: 0000000000001000 R08: 0000000000000000 R09: ffffb3fb61a3bb78
Apr 01 15:34:29 EVA-01 kernel: R10: ffffb3fb61a3bb70 R11: 0000000000000003 R12: 0000000000000001
Apr 01 15:34:29 EVA-01 kernel: R13: 0000000000038200 R14: ffffffffc209b147 R15: ffff8b9d0606bc80
Apr 01 15:34:29 EVA-01 kernel: FS:  0000000000000000(0000) GS:ffff8ba49f080000(0000) knlGS:0000000000000000
Apr 01 15:34:29 EVA-01 kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Apr 01 15:34:29 EVA-01 kernel: CR2: 0000796e9c374800 CR3: 000000035ab88000 CR4: 0000000000f50ef0
Apr 01 15:34:29 EVA-01 kernel: PKRU: 55555554
Apr 01 15:34:29 EVA-01 kernel: Call Trace:
Apr 01 15:34:29 EVA-01 kernel:  <TASK>
Apr 01 15:34:29 EVA-01 kernel:  ? ring_interrupt_active+0x241/0x2d0 [thunderbolt c7613e56749a44ed9d45e5196e59303a769aeec3]
Apr 01 15:34:29 EVA-01 kernel:  ? __warn+0x81/0x130
Apr 01 15:34:29 EVA-01 kernel:  ? ring_interrupt_active+0x241/0x2d0 [thunderbolt c7613e56749a44ed9d45e5196e59303a769aeec3]
Apr 01 15:34:29 EVA-01 kernel:  ? report_bug+0x171/0x1a0
Apr 01 15:34:29 EVA-01 kernel:  ? prb_read_valid+0x1b/0x30
Apr 01 15:34:29 EVA-01 kernel:  ? handle_bug+0x3c/0x80
Apr 01 15:34:29 EVA-01 kernel:  ? exc_invalid_op+0x17/0x70
Apr 01 15:34:29 EVA-01 kernel:  ? asm_exc_invalid_op+0x1a/0x20
Apr 01 15:34:29 EVA-01 kernel:  ? ring_interrupt_active+0x241/0x2d0 [thunderbolt c7613e56749a44ed9d45e5196e59303a769aeec3]
Apr 01 15:34:29 EVA-01 kernel:  ? ring_interrupt_active+0x241/0x2d0 [thunderbolt c7613e56749a44ed9d45e5196e59303a769aeec3]
Apr 01 15:34:29 EVA-01 kernel:  tb_ring_start+0x152/0x300 [thunderbolt c7613e56749a44ed9d45e5196e59303a769aeec3]
Apr 01 15:34:29 EVA-01 kernel:  tb_ctl_start+0x30/0xa0 [thunderbolt c7613e56749a44ed9d45e5196e59303a769aeec3]
Apr 01 15:34:29 EVA-01 kernel:  ? __pfx_pci_pm_runtime_resume+0x10/0x10
Apr 01 15:34:29 EVA-01 kernel:  tb_domain_runtime_resume+0x19/0x40 [thunderbolt c7613e56749a44ed9d45e5196e59303a769aeec3]
Apr 01 15:34:29 EVA-01 kernel:  __rpm_callback+0x41/0x170
Apr 01 15:34:29 EVA-01 kernel:  ? __pfx_pci_pm_runtime_resume+0x10/0x10
Apr 01 15:34:29 EVA-01 kernel:  rpm_callback+0x5d/0x70
Apr 01 15:34:29 EVA-01 kernel:  ? __pfx_pci_pm_runtime_resume+0x10/0x10
Apr 01 15:34:29 EVA-01 kernel:  rpm_resume+0x56e/0x7b0
Apr 01 15:34:29 EVA-01 kernel:  ? kfree+0x29f/0x2f0
Apr 01 15:34:29 EVA-01 kernel:  pm_runtime_work+0x70/0xb0
Apr 01 15:34:29 EVA-01 kernel:  process_one_work+0x183/0x370
Apr 01 15:34:29 EVA-01 kernel:  worker_thread+0x3ab/0x4f0
Apr 01 15:34:29 EVA-01 kernel:  ? __pfx_worker_thread+0x10/0x10
Apr 01 15:34:29 EVA-01 kernel:  kthread+0xe5/0x120
Apr 01 15:34:29 EVA-01 kernel:  ? __pfx_kthread+0x10/0x10
Apr 01 15:34:29 EVA-01 kernel:  ret_from_fork+0x31/0x50
Apr 01 15:34:29 EVA-01 kernel:  ? __pfx_kthread+0x10/0x10
Apr 01 15:34:29 EVA-01 kernel:  ret_from_fork_asm+0x1b/0x30
Apr 01 15:34:29 EVA-01 kernel:  </TASK>
Apr 01 15:34:29 EVA-01 kernel: ---[ end trace 0000000000000000 ]---
Apr 01 15:34:32 EVA-01 libvirtd[15839]: internal error: Unknown PCI header type '127' for device '0000:0b:00.0'
Apr 01 15:34:32 EVA-01 libvirtd[15839]: internal error: Unknown PCI header type '127' for device '0000:0a:01.0'
Apr 01 15:34:32 EVA-01 libvirtd[15839]: internal error: Unknown PCI header type '127' for device '0000:0a:02.0'
Apr 01 15:34:32 EVA-01 libvirtd[15839]: internal error: Unknown PCI header type '127' for device '0000:3f:00.0'
Apr 01 15:34:32 EVA-01 kernel: thunderbolt 0000:0b:00.0: failed to send driver ready to ICM
Apr 01 15:34:32 EVA-01 kernel: pcieport 0000:0a:01.0: Unable to change power state from D3cold to D0, device inaccessible
Apr 01 15:34:32 EVA-01 kernel: pcieport 0000:0a:02.0: Unable to change power state from D3cold to D0, device inaccessible
Apr 01 15:34:32 EVA-01 libvirtd[15839]: internal error: Unknown PCI header type '127' for device '0000:0a:03.0'
Apr 01 15:34:32 EVA-01 kernel: pcieport 0000:0a:03.0: Unable to change power state from D3cold to D0, device inaccessible
Apr 01 15:34:33 EVA-01 libvirtd[15839]: operation failed: failed to read the PCI VPD data: parsing ended prematurely
Apr 01 15:34:33 EVA-01 libvirtd[15839]: operation failed: failed to read the PCI VPD data: parsing ended prematurely