Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp782734ybk; Wed, 20 May 2020 11:49:46 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxIOn7Nto0/CUvv4e1Nme360IcnG7mOUbvF+z3cluFZPN0v2zyP8I1+H0a3h/7LFfmaVAGH X-Received: by 2002:a17:906:9493:: with SMTP id t19mr389673ejx.407.1590000586457; Wed, 20 May 2020 11:49:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590000586; cv=none; d=google.com; s=arc-20160816; b=S05uHgPlJu5CbgDPqkmAp8GZmPXA1uKuPdk68N8MdrWH4+9D5ASoV2gooDvtk4+jHp 9iiVN9VrsERjBoBqyEW6wyEEtgF1/SOgev+8vB+yf66Ax5hPvvhHbnCPIyztwoxFU2v9 JIUMdbvqOXHqlIBRC4Rvk4hOE1wotph/V0gSscYECyRr0s0BrVV6i/o3qJ/A6Mm5a+Bn kI9Ijz5w281JCg6Oz4W6nBNTSLqNcS/PPkUkevdI5kluQzcgeU6HXvO3VzlqJwF58Qah TU/kvgTPuCunEXpVoxdJhOo0jfyi4p5Vsfgy4u4n9tRDootRFGeCTnVEP7TyCLbnOfYz KVng== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=HwICrHSvqXW0KUjMgnBKpXTq3Lwh2cwDngS79k2qZPM=; b=pE4cbE76Cdp5ZLAeLpnEAxLksYFnWlTvbu7ApoDFBjnI34eGxcr7/JAef2kYFTWD9o EB/mRN/4XL30yMps7+t/MbSIQ4c6HP7A0dxe6sA6i17Y0AVGLwjPvw29Jzf29/LN1AQL n0/eeKm8XwM0fToSR6PT4ud3LDKSipnc5r5+VewtKk6Y4F4uM/SNjlVr/Fe0/MughJEZ HjOoNO/mxawx5scsv8cPg2kKIqA4q4z9s6gvX8rlbB6KBOE5w9r4/GF2FY7ay3QBkA4D MNDt1RJrGqseixF69jcYedsaXscXI1r9BAQmGv59Vg0ATDN/1r/6ra49Jo/vJ8Hbmi5p 7DqA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b=llGNjZNz; 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 e13si2118744ejb.684.2020.05.20.11.49.22; Wed, 20 May 2020 11:49:46 -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=llGNjZNz; 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 S1726881AbgETSry (ORCPT + 99 others); Wed, 20 May 2020 14:47:54 -0400 Received: from mail.skyhub.de ([5.9.137.197]:59994 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726847AbgETSrx (ORCPT ); Wed, 20 May 2020 14:47:53 -0400 Received: from zn.tnic (p200300ec2f0bab0028d24a65f02999fe.dip0.t-ipconnect.de [IPv6:2003:ec:2f0b:ab00:28d2:4a65:f029:99fe]) (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 F35791EC0350; Wed, 20 May 2020 20:47:51 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1590000472; 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=HwICrHSvqXW0KUjMgnBKpXTq3Lwh2cwDngS79k2qZPM=; b=llGNjZNz+wSlE07oaDxWE/C5t4nHS0kUHav3B1X9KHnYIDHmoM9guyTAtVNpCafhyHiQiR 80s5DfMTigf/vl1q9Pz+d+pg0THIGkEqdDX0f1a9kgNQjagkk1rN5BQ7VfwsEAxmpLUh1Y NaMCeG/1aocWagcBnEvKdHli2gzeUhk= Date: Wed, 20 May 2020 20:47:45 +0200 From: Borislav Petkov To: Jarkko Sakkinen Cc: linux-kernel@vger.kernel.org, x86@kernel.org, linux-sgx@vger.kernel.org, akpm@linux-foundation.org, dave.hansen@intel.com, sean.j.christopherson@intel.com, nhorman@redhat.com, npmccallum@redhat.com, haitao.huang@intel.com, andriy.shevchenko@linux.intel.com, tglx@linutronix.de, kai.svahn@intel.com, josh@joshtriplett.org, luto@kernel.org, kai.huang@intel.com, rientjes@google.com, cedric.xing@intel.com, puiterwijk@redhat.com, Jethro Beekman Subject: Re: [PATCH v30 04/20] x86/sgx: Add SGX microarchitectural data structures Message-ID: <20200520184745.GJ1457@zn.tnic> References: <20200515004410.723949-1-jarkko.sakkinen@linux.intel.com> <20200515004410.723949-5-jarkko.sakkinen@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20200515004410.723949-5-jarkko.sakkinen@linux.intel.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, May 15, 2020 at 03:43:54AM +0300, Jarkko Sakkinen wrote: > +/** > + * struct sgx_sigstruct_header - defines author of the enclave > + * @header1: constant byte string > + * @vendor: must be either 0x0000 or 0x8086 Out of pure curiosity: what is that about? Nothing in the patchset enforces this, so hw does? If so, why? Are those vendor IDs going to be assigned by someone or what's up? Thx. -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette