Skip to content

Setting storage password requires iommu=pt to wake from suspend #54

@deepcube

Description

@deepcube

Device Information

System Model or SKU

Framework Laptop 13 (AMD Ryzen™ 7040 Series)

BIOS VERSION

3.05

DIY Edition information

Memory: Crucial 2x16GB DDR5 5600MHz CT2K16G56C46S5
Storage: Samsung 990 PRO 2 TB MZ-V9P2T0B/AM

Describe the bug

When using storage password in the BIOS the system fails to resume from suspend to RAM (s2idle) correctly. Adding iommu=pt works around the issue.

Steps To Reproduce

Steps to reproduce the behavior:

  1. Enable storage password for NVMe drive in BIOS.
  2. Boot into Linux (confirm CONFIG_BLK_SED_OPAL is enabled in kernel).
  3. Suspend to RAM echo mem > /sys/power/state.
  4. Wake laptop with keypress.
  5. Note laptop does not wake correctly (hangs or resumes but disk is unavailable).
  6. Add iommu=pt to kernel cmdline, repeat, note resume works.

Expected behavior

Can resume from suspend to RAM successfully without addition of iommu=pt to kernel cmdline.

Operating System (please complete the following information):

  • OS/Distribution: Void Linux
  • Linux Kernel Version: 6.13.7

Additional context

Forum thread: https://community.frame.work/t/responded-amd-7040-setting-storage-password-breaks-resume-from-suspend/42554/24

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions