Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp809855pxf; Thu, 18 Mar 2021 12:04:56 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyyLlFyGdM/oVfC9KHoJeeRH0cjF31MIecA4vGg+9pCnIuyug00WosMsS7wGZVPl7wp8di+ X-Received: by 2002:aa7:cb97:: with SMTP id r23mr5394751edt.106.1616094296498; Thu, 18 Mar 2021 12:04:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616094296; cv=none; d=google.com; s=arc-20160816; b=YwDIftoTumP6haXIo1sH9ANrCjqREIf5BMlPgEMIIrzgKUlqeGj8DnPk603iiQg1VX fUtt4+1ouc+3Hsno20JDRz3hHiGhS9z9dF4xlek34zcISKNM1jZ44uGY7j+2Ho+lk3My 9kgFgDKA3XYLpZK/qtgS01Izq6aKJncth7Wh6nZrllNp7VMF1DSrfw1zaURnU57yhoIk OIKd4ajWacwATMAlDf73b6Xsd2M6WTMRhU/ZzUYisNp0eeyNqfgXY8KI8Xp2OyZzuTC+ GvTZtfcvJ+qVvDAWPqsUUsVGAv9vqqsjQN8rEFEyU4GSxUql8AJidblyZHQubl6BWzPQ 49/w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=TQpOk5Dm8ZoP30gwc+SscQpNxBorTjF21sskVywJuDY=; b=N68fFElev3bixSMp8EvWmkipsiEtqT47lKW0vW2RaVVc7sUlXGONRv4yTM2nqpoEnp Remat80HcIstoCk4E+KquYqrcj8Pg1SeHx2U+KLyUy6XMGKaV+/HVPLY2WnAphWnyIx3 4a9dMkjmtsOpXZutmdBGcNekJWw2QlPKdERkkdtNiHfKG0VlxWLDMlf18simF8CXg/ra +GbbfDP0aFdm951tfEEfrzb5+4riStnRJdQJLY7PMk4O+Iw1/d0DXOnHP91b8qDGVjcK xSZWaCUS3dVz1evO2DEPLzmQXfmwGr5+KsETeZjmL9wZslSAnDfVLaXH+mR/Ru7z0FWU EvpA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b="sF9CRZ/E"; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id hc17si2376254ejc.480.2021.03.18.12.04.33; Thu, 18 Mar 2021 12:04:56 -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; dkim=pass header.i=@alien8.de header.s=dkim header.b="sF9CRZ/E"; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232695AbhCRTCF (ORCPT + 99 others); Thu, 18 Mar 2021 15:02:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57856 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232854AbhCRTBl (ORCPT ); Thu, 18 Mar 2021 15:01:41 -0400 Received: from mail.skyhub.de (mail.skyhub.de [IPv6:2a01:4f8:190:11c2::b:1457]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 41014C06174A; Thu, 18 Mar 2021 12:01:41 -0700 (PDT) Received: from zn.tnic (p200300ec2f0fad0097421b4cbe68ffd9.dip0.t-ipconnect.de [IPv6:2003:ec:2f0f:ad00:9742:1b4c:be68:ffd9]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.skyhub.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id A779A1EC04D3; Thu, 18 Mar 2021 20:01:39 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1616094099; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:in-reply-to:in-reply-to: references:references; bh=TQpOk5Dm8ZoP30gwc+SscQpNxBorTjF21sskVywJuDY=; b=sF9CRZ/E1HVk9QHNUZ9YT6vs06BrgUuSyFGhZIr+jC7RbQ5jfBmPLTC2tYmoZ9+okxCWJT 68c8nT0pQYIzFnPIf2iQS9kf1jLNhu2BSora+QyW0FX/MF2NAzyXKmrQQ7qsUaZLrTa63r pgAWDdNHP+nX9mFO8OI8RZG6TGkvJWE= Date: Thu, 18 Mar 2021 20:01:38 +0100 From: Borislav Petkov To: Dave Hansen Cc: Jarkko Sakkinen , linux-sgx@vger.kernel.org, Jarkko Sakkinen , Dave Hansen , Thomas Gleixner , Ingo Molnar , x86@kernel.org, "H. Peter Anvin" , linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/2] x86/sgx: Replace section->init_laundry_list with sgx_dirty_page_list Message-ID: <20210318190138.GJ19570@zn.tnic> References: <20210317235332.362001-1-jarkko.sakkinen@intel.com> <20210318174032.GI19570@zn.tnic> <1269283f-ddad-9049-dcf5-818a6ecbbc53@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <1269283f-ddad-9049-dcf5-818a6ecbbc53@intel.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Mar 18, 2021 at 11:34:10AM -0700, Dave Hansen wrote: > I usually get that after I reboot. I have to do this: > > chmod 755 /dev/sgx_enclave > mount -o remount,exec /dev Yap, that did it: 0x0000000000000000 0x0000000000002000 0x03 0x0000000000002000 0x0000000000001000 0x05 0x0000000000003000 0x0000000000003000 0x03 SUCCESS > BTW, that *IS* going to get tripped over all the time. Yap, and I saw it last time and we talked about it and I forgot again. Conveniently. > The selftest needs a better error message. I'll send a patch. Please do. Thx. -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette