Received: by 2002:a05:6358:5282:b0:b5:90e7:25cb with SMTP id g2csp96045rwa; Fri, 19 Aug 2022 23:18:08 -0700 (PDT) X-Google-Smtp-Source: AA6agR4NXRlI/kvECh5XlJBj3MXWtPmiGfBcnjhiAwJSDf7cnBqopoFr/UnTTEULb9bsF3UfkCxa X-Received: by 2002:a63:ce06:0:b0:41d:dcc3:aa6e with SMTP id y6-20020a63ce06000000b0041ddcc3aa6emr9214385pgf.251.1660976288386; Fri, 19 Aug 2022 23:18:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660976288; cv=none; d=google.com; s=arc-20160816; b=01B+tVQPU3h9chN972Ejo/jDGQJTxxwhFay/PK5/AH1Jn18jdVY2sAIQgzazn9IDOm puQiSEhUZ0cOeYl7o+BiXRp+AX4QOjhs90Drx03ys4OO4qGznhCQe3X9Wj9CcNbRfO7J 6C/jZ+OVBdOeiKNS/6FwYwmSES90EGdW/x2r7UCQMgGNlJ88stQ/BOr64JZGRyX5hi7m WFHQV2DlAkRx2Wab/sUmJKaZZKKnT7Ije2LlpNn8LhALt5TBRJx3xPO6dZx3bjpZ5OJq m2AkQAHf0/VnOiD9HvKvGxwt8BvJUf8d+CzZDb07T/CtGNNRgKVA39RfQR8suOr2K1Zs 85vg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id; bh=hy73DeiPl7zChgg22upynqDCBnRUNbBlgKy40k8yUbA=; b=qiqpOEOmQDTfrhpOd30x2yrYnb64DLzjqk8VMtdjTiVNMgDt/Pa4DqNcGxaZYJFCZi k+zLpTMDnVrq8fTfwAwa2qYUk4SdevhguLvc5wNKzNRShMq736C6O86njXNUKeuUzx+A WuWk5fAcSzd+JJJbfobeM9KvvbXcUo+nohmyxvz61u5Jfc8a+sHKmJXfow9PfVCw4/D9 VyK4tmOSEPzd1p4xQ/yjHm9yl25gJIrayl9IExfUld0xUqdNXTLTdy7eJuSV6KVTsunU EBr9g6R5OIlowmLm5oxegmRCEKaULjL4cZA6C8Iox5uAQtdmL9I1dbOQ32b2HzCl+IkT k6MQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y1-20020a656c01000000b0042195f30a73si5991234pgu.841.2022.08.19.23.17.57; Fri, 19 Aug 2022 23:18:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244644AbiHTGOE (ORCPT + 99 others); Sat, 20 Aug 2022 02:14:04 -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 X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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/