Re: [PATCH v5 31/32] x86: Add sysfs support for Secure Memory Encryption

From: Dave Hansen
Date: Fri Apr 21 2017 - 17:55:21 EST


On 04/18/2017 02:22 PM, Tom Lendacky wrote:
> Add sysfs support for SME so that user-space utilities (kdump, etc.) can
> determine if SME is active.
>
> A new directory will be created:
> /sys/kernel/mm/sme/
>
> And two entries within the new directory:
> /sys/kernel/mm/sme/active
> /sys/kernel/mm/sme/encryption_mask

Why do they care, and what will they be doing with this information?