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 168C1ECAA24 for ; Thu, 25 Aug 2022 18:28:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243403AbiHYS2N (ORCPT ); Thu, 25 Aug 2022 14:28:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43670 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241532AbiHYS2M (ORCPT ); Thu, 25 Aug 2022 14:28:12 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EF676B7EC1; Thu, 25 Aug 2022 11:28:02 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 3393461D49; Thu, 25 Aug 2022 18:28:02 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3FEAEC433D6; Thu, 25 Aug 2022 18:28:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1661452081; bh=FiEweROp+F0v4WN5aEo/fYg+dHXR3+spNrH2xA8zdZg=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=PrspMc76fO+PFMu9jpbPS263Jzf8KlcopVxJxXNcrPuleMeOU/sbIsKJnsd/Peh82 CSrQEXDQiRT2nBKvBBa6qY60fmHcmAUZVGpEqWkfNU1bF8huKOsCChIhfbDFK5ONwR Y9BJuVL2NBXHkiWsU/1+lYyHt3EIsVUBc/tPg8S7K5HLD5OykP/m9oxd/fFfP/03lm yj3NtqV6norJI04n2R3lWB320F+Lo6KESBvhMnjzacKz0fxNmYPxv1Y+siVn4xBOUx MuUOyHHEeEVi1WyzRTey/6G3xl9YfXsmCSOQAp5nuB2q9dS80zbfUkw275CrJTrhQO txkPT+FSkCOMA== Date: Thu, 25 Aug 2022 21:27:54 +0300 From: Jarkko Sakkinen To: Dave Hansen Cc: linux-sgx@vger.kernel.org, Paul Menzel , Haitao Huang , Dave Hansen , Reinette Chatre , Thomas Gleixner , Ingo Molnar , Borislav Petkov , "maintainer:X86 ARCHITECTURE (32-BIT AND 64-BIT)" , "H. Peter Anvin" , "open list:X86 ARCHITECTURE (32-BIT AND 64-BIT)" Subject: Re: [PATCH v3] x86/sgx: Do not consider unsanitized pages an error Message-ID: References: <20220825080802.259528-1-jarkko@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-sgx@vger.kernel.org On Thu, Aug 25, 2022 at 07:07:44AM -0700, Dave Hansen wrote: > On 8/25/22 01:08, Jarkko Sakkinen wrote: > > However, if the SGX subsystem initialization is retracted, the sanitization > > process could end up in the middle, and sgx_dirty_page_list be left > > non-empty for legit reasons. > > What does "retraction" mean in this context? Rest of the initialization failing or features not detected (-ENODEV). BR, Jarkko