Received: by 2002:a05:6a10:d5a5:0:0:0:0 with SMTP id gn37csp4647853pxb; Tue, 5 Oct 2021 07:32:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxkgfLA4ONzbyHnx/OZXyAn3JYsvBXCqlHAagi2zBOQCnetf7yKTU6HeQ1OG12nMkuu/Jmc X-Received: by 2002:a17:906:5689:: with SMTP id am9mr8840638ejc.416.1633444325084; Tue, 05 Oct 2021 07:32:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633444325; cv=none; d=google.com; s=arc-20160816; b=zdY/X9GFYfgVajca8igKE42gdAnr5SFvF2CTu5fIcbrZR9BOcKKevnPIJ5vQ+bS4+0 UBek3Xe7p8oYTM0eaozVAdB7hbcqeJXU2OExez5rhHJiOpy0tuxJuafQmPcWtKxJyClC ROvncXPJcNOKj8ui/lU+cHvVubxb6f+6wkjpHvTYhAIGeSzL4urOcwoKQjkQNGdEy1yv cWKfs6cQhcsyI3BCqrSuIRAZwJ4X5CAX2qZulL1d8byY5dxEbGAKzVBYtzPpI9g600D4 Zo3vETSUJF0d2Hzka4bLBMqJrrTgURC+7xKINeUm9OguYpRIWuu+jsQmksqSLzRpznjy uLsQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :mime-version:user-agent:date:message-id:subject:cc:to:from; bh=3CSHDhNJ9sbhJJDDIxFhbBQ3ZXiNdg7ndVroi8iti6o=; b=YowukFlYoiO9UEgqFtxrJ8WfsH0irXU1+5J4hMnBzuEBYp7Mt3zk/9Yhvw3Gz0YVqa ilgVfbEsEiCCGEcFs1yx4icZ2GF4/lZJdiiCARRgBjKm0tFeJCblO4Aa4CxjQLeicXjL sxLuLb+fQ5pkgl569vJObHSOp/ljjBnn+qUaaXZg4at31IFLYZ+LkR9OnW/oa+RQZrhJ m07eV8uTxW4KaSqZ44oNoXhcfwqmCcWHKUMKs9qvaF3CMq0RXNNWZyWByrYglsWh2brL 2y+okh8XyYGgqLLqPuDEOeArzIpfTBFPIo7zgKT4KsnJEJBx/eYK9s/YPiYznYaIhlFy HuRg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 12si8878757edw.16.2021.10.05.07.31.36; Tue, 05 Oct 2021 07:32:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235085AbhJEObg (ORCPT + 99 others); Tue, 5 Oct 2021 10:31:36 -0400 Received: from mx3.molgen.mpg.de ([141.14.17.11]:47265 "EHLO mx1.molgen.mpg.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S234899AbhJEObe (ORCPT ); Tue, 5 Oct 2021 10:31:34 -0400 Received: from [192.168.0.2] (ip5f5ae91d.dynamic.kabel-deutschland.de [95.90.233.29]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: pmenzel) by mx.molgen.mpg.de (Postfix) with ESMTPSA id EF0BD61EA1936; Tue, 5 Oct 2021 16:29:41 +0200 (CEST) From: Paul Menzel To: Tom Lendacky , Thomas Gleixner , Ingo Molnar , Borislav Petkov , x86@kernel.org Cc: Dave Hansen , Andy Lutomirski , Peter Zijlstra , LKML , amd-gfx@lists.freedesktop.org Subject: `AMD_MEM_ENCRYPT_ACTIVE_BY_DEFAULT=y` causes AMDGPU to fail on Ryzen: amdgpu: SME is not compatible with RAVEN Message-ID: <8bbacd0e-4580-3194-19d2-a0ecad7df09c@molgen.mpg.de> Date: Tue, 5 Oct 2021 16:29:41 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Dear Tom, dear Linux folks, 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, causing boot failures on AMD Raven systems. On the MSI B350M MORTAR with AMD Ryzen 3 2200G, Linux logs and the AMDGPU graphics driver, despite being loaded, does not work, and the framebuffer driver is used instead. [ 19.679824] amdgpu 0000:26:00.0: amdgpu: SME is not compatible with RAVEN It even causes black screens on other systems as reported to the Debian bug tracking system *Black screen on AMD Ryzen based systems (AMDGPU related when AMD Secure Memory Encryption not disabled -- mem_encrypt=off)* [2]. Should the default be changed? Kind regards, Paul [1]: https://salsa.debian.org/kernel-team/linux/-/blob/master/debian/changelog#L1138 [2]: https://bugs.debian.org/994453