Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp6815615ybi; Wed, 5 Jun 2019 06:52:18 -0700 (PDT) X-Google-Smtp-Source: APXvYqzRng0ruC5b2RrrrxjtYmCcQxWuLIDBjnNRZqT8LbkssDJ1XoHGh3RLphPYu4eZ2SY6PvNd X-Received: by 2002:a62:3145:: with SMTP id x66mr47037484pfx.223.1559742738447; Wed, 05 Jun 2019 06:52:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559742738; cv=none; d=google.com; s=arc-20160816; b=JP9MxAuRZpuycpYm0+Vl7kGXpSRqRHp57smQYIANlc+Qwgh7yjdgjWd3+C3du10paG v46w4JS/qrzOxzUtJRciciCsA/IBgXxIbizRMYk5Bn1+0Qlisqspwpf4r6ul6nosyckG VKOwD7Y0ELnHPA9tWx8L9z+zcfHiwyARwsogYy27Wi+Yq5casMCK7GfDCQVpnN0NK4rk 48zH7VOz0XzH4vX1BuKFXGwBtTzU7xSTGAw64rP4ARl5E8m1RtYenA5O9fRMQoBblp8v EnE2RE87WTEEH2u6OVfqsM38F8LU4A0h0NkNV3c5yRJad5zoQVelZV5/Hp+UjyCvg4gw D1Aw== 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=l4vcql0vdBgv0fylul1rOHFitrdqfzP4NKQKG4JIh34=; b=SepMBYwDRmtSloahWo215WecC5zw+lFd9++2/vrVVoboWNipEBSEgMhLckItWWQr2a sw1+4yj46hsnLOMYEdZ2Mio9zZ3FVAEDE/0GMlpnkNdAgUcnHcVmGaaB1/KL/+ZKvJ6/ JXhrI2O4phhAzzCu7fyI5+t74Y+vwR+0wwsKy6fuj/jl/vX2TIxPvx0aIinalmOXvAYs M+zDwB42Pr6QrHW2XB20lOyERyepi59BTUQvDfZ2bBq4U5ueEt9yG1S14OneVR4+GToO u8FIfpS3ZC/wrhIAjV1Ce6hUkrrFhsIhNtIjeT8GAJBr3gfZU3dnD5JtFAIDDRLgwJfZ Hafw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2018-07-02 header.b=iK5NC642; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o20si7980315pjp.48.2019.06.05.06.52.00; Wed, 05 Jun 2019 06:52:18 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2018-07-02 header.b=iK5NC642; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728184AbfFENup (ORCPT + 99 others); Wed, 5 Jun 2019 09:50:45 -0400 Received: from userp2120.oracle.com ([156.151.31.85]:39288 "EHLO userp2120.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727992AbfFENup (ORCPT ); Wed, 5 Jun 2019 09:50:45 -0400 Received: from pps.filterd (userp2120.oracle.com [127.0.0.1]) by userp2120.oracle.com (8.16.0.27/8.16.0.27) with SMTP id x55DmsGb143872; Wed, 5 Jun 2019 13:50:39 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=date : from : to : cc : subject : message-id : references : mime-version : content-type : in-reply-to; s=corp-2018-07-02; bh=l4vcql0vdBgv0fylul1rOHFitrdqfzP4NKQKG4JIh34=; b=iK5NC6428xrP1Ri7RuLHiwgYZXygi7BRUlSaWM5et6euuMT4dnOYZAqhYH1j23q+Glzb B/lyDEysgJ0+PGbUhMGbFp4ili2fFbyDWxs0DtgW1p4VlNQv/WEReJbxaKiEkzppv9KT 6TgjTdVVjnezKKuaHLxVcP3/7y5nhtu1GNHLZNqvwBLb6auPA9cdrxJKA0OcmX13nYpT SkJv5PMD328yYFmV459wqU7a4Mdf2IQJrg/vK91I/ZfpOHAa4VxhijIKVF9wrsixv4Zt FchEsp43i3mflV1/Xcj30B0+BqQ1AvADuJMwJpgViTLIXLFcjPYYZD6Xmyz3LXYTmCcH BQ== Received: from aserp3030.oracle.com (aserp3030.oracle.com [141.146.126.71]) by userp2120.oracle.com with ESMTP id 2suj0qjm4y-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 05 Jun 2019 13:50:38 +0000 Received: from pps.filterd (aserp3030.oracle.com [127.0.0.1]) by aserp3030.oracle.com (8.16.0.27/8.16.0.27) with SMTP id x55DoceR064243; Wed, 5 Jun 2019 13:50:38 GMT Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by aserp3030.oracle.com with ESMTP id 2swnhc54q8-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 05 Jun 2019 13:50:37 +0000 Received: from abhmp0018.oracle.com (abhmp0018.oracle.com [141.146.116.24]) by aserv0122.oracle.com (8.14.4/8.14.4) with ESMTP id x55DoaSU031971; Wed, 5 Jun 2019 13:50:37 GMT Received: from tomti.i.net-space.pl (/10.175.215.173) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Wed, 05 Jun 2019 06:50:35 -0700 Date: Wed, 5 Jun 2019 15:50:31 +0200 From: Daniel Kiper To: linux-kernel@vger.kernel.org, x86@kernel.org Cc: dpsmith@apertussolutions.com, eric.snowberg@oracle.com, hpa@zytor.com, kanth.ghatraju@oracle.com, konrad.wilk@oracle.com, ross.philipson@oracle.com Subject: Re: [PATCH RFC 0/2] x86/boot: Introduce the setup_header2 Message-ID: <20190605135031.62grhhxn2pfbkcdg@tomti.i.net-space.pl> References: <20190524095504.12894-1-daniel.kiper@oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190524095504.12894-1-daniel.kiper@oracle.com> User-Agent: NeoMutt/20170113 (1.7.2) X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9278 signatures=668687 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=643 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1906050088 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9278 signatures=668687 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=674 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1906050088 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, May 24, 2019 at 11:55:02AM +0200, Daniel Kiper wrote: > Hi, > > This change is needed to properly start the Linux kernel in Intel TXT mode and > is a part of the TrenchBoot project (https://github.com/TrenchBoot). > > Daniel > > Documentation/x86/boot.txt | 55 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ > arch/x86/Kconfig | 7 +++++++ > arch/x86/boot/Makefile | 2 +- > arch/x86/boot/compressed/Makefile | 5 +++-- > arch/x86/boot/compressed/setup_header2.S | 18 ++++++++++++++++++ > arch/x86/boot/compressed/sl_stub.S | 28 ++++++++++++++++++++++++++++ > arch/x86/boot/header.S | 3 ++- > arch/x86/boot/tools/build.c | 8 ++++++++ > arch/x86/include/uapi/asm/bootparam.h | 1 + > 9 files changed, 123 insertions(+), 4 deletions(-) > > Daniel Kiper (2): > x86/boot: Introduce the setup_header2 > x86/boot: Introduce dummy MLE header Ping? Daniel