From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id C14BDC25B08 for ; Sat, 20 Aug 2022 06:14:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244880AbiHTGOI (ORCPT ); Sat, 20 Aug 2022 02:14:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39030 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229458AbiHTGN6 (ORCPT ); Sat, 20 Aug 2022 02:13:58 -0400 Received: from mx1.molgen.mpg.de (mx3.molgen.mpg.de [141.14.17.11]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 65BAA24F2B; Fri, 19 Aug 2022 23:13:57 -0700 (PDT) Received: from [192.168.0.2] (ip5f5aea1a.dynamic.kabel-deutschland.de [95.90.234.26]) (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 EC1C061EA192D; Sat, 20 Aug 2022 08:13:53 +0200 (CEST) Message-ID: <04c9d5fa-5861-bbc3-3e2f-e18a73866645@molgen.mpg.de> Date: Sat, 20 Aug 2022 08:13:52 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.1.2 Subject: Re: WARNING: CPU: 1 PID: 83 at arch/x86/kernel/cpu/sgx/main.c:446 ksgxd+0x1b7/0x1d0 To: Dave Hansen , Jarkko Sakkinen , Thomas Gleixner , Ingo Molnar , Borislav Petkov , x86@kernel.org, Reinette Chatre Cc: linux-sgx@vger.kernel.org, LKML References: <4253695b-85aa-a2fb-fbf6-718db8b6c20c@molgen.mpg.de> <46e3483b-a5ab-2a05-8a28-f9ea87e881c3@intel.com> Content-Language: en-US From: Paul Menzel In-Reply-To: <46e3483b-a5ab-2a05-8a28-f9ea87e881c3@intel.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Dear Dave, Thank you for your quick reply. Am 19.08.22 um 20:28 schrieb Dave Hansen: > On 8/19/22 09:02, Paul Menzel wrote: >> On the Dell XPS 13 9370, Linux 5.18.16 prints the warning below: >> >> ``` >> [    0.000000] Linux version 5.18.0-4-amd64 (debian-kernel@lists.debian.org) (gcc-11 (Debian 11.3.0-5) 11.3.0, GNU ld (GNU Binutils for Debian) 2.38.90.20220713) #1 SMP PREEMPT_DYNAMIC Debian 5.18.16-1 (2022-08-10) >> [    0.000000] Command line: BOOT_IMAGE=/vmlinuz-5.18.0-4-amd64 root=UUID=56f398e0-1e25-4fda-aa9f-611dece4b333 ro quiet >> […] >> [    0.000000] DMI: Dell Inc. XPS 13 9370/0RMYH9, BIOS 1.21.0 07/06/2022 >> […] >> [    0.235418] sgx: EPC section 0x40200000-0x45f7ffff > Would you be able to send the entire dmesg, along with: The log message are attached to the first message, where I missed to carbon-copy linux-sgx@ [1]. > cat /proc/iomem # (as root) > and > cpuid -1 --raw I am going to provide that next week. (Side note, Intel might have some Dell XPS 9370 test machines in some QA lab.) > I'm suspecting either a BIOS problem. Reinette (cc'd) also thought this > might be a case of the SGX initialization getting a bit too far along > when it should have been disabled. > > We had some bugs where we didn't stop fast enough after spitting out the > "SGX Launch Control is locked..." errors. Kind regards, Paul [1]: https://lore.kernel.org/lkml/ce0b4d26-3a6e-7c5a-5f66-44cba05f9f35@molgen.mpg.de/