Dear Borislav,
Thank you for your reply.
Am 05.10.21 um 16:38 schrieb Borislav Petkov:
On Tue, Oct 05, 2021 at 04:29:41PM +0200, Paul Menzel wrote:
Selecting the symbol `AMD_MEM_ENCRYPT` – as
done in Debian 5.13.9-1~exp1 [1] – also selects
`AMD_MEM_ENCRYPT_ACTIVE_BY_DEFAULT`, as it defaults to yes,
I'm assuming that "selecting" is done automatically: alldefconfig,
olddefconfig?
Because CONFIG_AMD_MEM_ENCRYPT_ACTIVE_BY_DEFAULT only depends on
CONFIG_AMD_MEM_ENCRYPT and former can be disabled in oldconfig or
menuconfig etc.
Sorry for being unclear. Distributions want to enable support for that
feature, but as long as it breaks systems, it should be opt-in via the
Linux kernel command line, and not opt-out. Also the Kconfig help texts
do not mention anything about these problems, and the AMDGPU log message
is of level info and not error. It’d be even better, if the message
would contain the information, how to disable SME (`mem_encrypt=off`).
Kind regards,
Paul