Skip to content

TSME/SME not activating on Ryzen 7 9700X (Zen 5) — MSR 0xC0010010 bit 23 remains 0 despite BIOS enable and mem_encrypt=on #292

Description

@benkilpatrick

System:

  • CPU: AMD Ryzen 7 9700X (Zen 5)
  • Motherboard: MSI MPG X870E EDGE TI WIFI
  • BIOS: 7E59v1A82 (AGESA 1.3.0.0)
  • OS: CachyOS (Arch-based)
  • Kernel: 7.0.0-1-cachyos-bore with CONFIG_AMD_MEM_ENCRYPT=y

Description:
TSME is enabled in BIOS (Overclocking → Advanced DRAM Configuration → TSME: Enabled). Despite this, the SME hardware enable bit (bit 23 of SYSCFG MSR 0xC0010010) reads 0 after boot. The sme flag is absent from /proc/cpuinfo. Adding mem_encrypt=on to the kernel cmdline has no effect — the kernel receives the parameter but never activates SME.

Notably, fwupd HSI previously reported Encrypted RAM as "Encrypted" and then on 2026-04-05 transitioned to "Not supported" with no corresponding BIOS update, package update, or any other identifiable system change on that date (confirmed via pacman log and journalctl). This suggests TSME may have stopped functioning at some point prior to investigation, or that fwupd's detection changed. Either way, the MSR confirms the current hardware state is inactive.

Diagnostic output:

# rdmsr -f 23:23 0xC0010010
0

# rdmsr 0xC0010010
740000

# grep sme /proc/cpuinfo
(no output — sme flag absent)

# grep AMD_MEM_ENCRYPT /proc/config.gz (decompressed)
CONFIG_X86_MEM_ENCRYPT=y
CONFIG_AMD_MEM_ENCRYPT=y
CONFIG_ARCH_HAS_MEM_ENCRYPT=y

# dmesg | grep -i sme
[    3.148127]     mem_encrypt=on
(no "AMD Memory Encryption Features active: SME" line)

# fwupdmgr security (HSI)
HSI-4: Encrypted RAM: Not supported
Event log: 2026-04-05 12:47:27 — Encrypted RAM changed: Encrypted → Not supported

Expected behavior:
With TSME enabled in firmware, AGESA should set SYSCFG bit 23 before OS handoff. Alternatively, mem_encrypt=on should allow the kernel to activate SME if the CPUID capability bit is exposed.

Actual behavior:
SYSCFG bit 23 is not set by firmware. The kernel does not detect SME capability via CPUID and silently ignores mem_encrypt=on.

Notes:
This may be an AGESA 1.3.0.0 regression or a Zen 5 consumer SKU limitation in CPUID SME capability reporting. The TSME BIOS option is present and togglable but has no observable effect on the hardware register. The historical fwupd state change with no identifiable trigger may be a useful data point for AMD's investigation. Happy to provide additional diagnostics if helpful.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions