Bug 237357 - Not resuming from suspend with IOMMU DMAR enabled
Summary: Not resuming from suspend with IOMMU DMAR enabled
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: CURRENT
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
: 280950 (view as bug list)
Depends on:
Blocks:
 
Reported: 2019-04-18 08:01 UTC by Val Packett
Modified: 2024-08-26 13:34 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Val Packett 2019-04-18 08:01:11 UTC
With hw.dmar.enable=1, this Haswell laptop doesn't wake up from S3, similar symptoms to what it was doing when the TPM was enabled: no reaction to lid open / power button press, power LED keeps blinking.
Comment 1 Val Packett 2019-10-03 22:45:06 UTC
Same on a Kaby Lake laptop, I guess the dmar driver just doesn't handle suspend-resume correctly.
Comment 2 Val Packett 2019-10-05 14:28:00 UTC
Actually, I recall vmm.ko also breaking suspend.

The only suspend method I see in sys/amd64/vmm is in AMD ivrs_drv.c.

sys/x86/iommu/intel_drv.c has suspend/resume methods but they're blank. That explains things.
Comment 3 Val Packett 2019-12-29 17:48:16 UTC
( WIP code at https://reviews.freebsd.org/D22642 )
Comment 4 Ed Maste freebsd_committer freebsd_triage 2024-08-26 13:33:22 UTC
*** Bug 280950 has been marked as a duplicate of this bug. ***