Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp954896ybb; Wed, 25 Mar 2020 12:45:58 -0700 (PDT) X-Google-Smtp-Source: ADFU+vt/WWfBd5vxaDQJf2MyxzI5NdJwYuHW9S8+YNJCmpCcilrNs8uYqeJBnytO8zJWU+BM5JYA X-Received: by 2002:aca:4a08:: with SMTP id x8mr3814027oia.158.1585165558296; Wed, 25 Mar 2020 12:45:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585165558; cv=none; d=google.com; s=arc-20160816; b=IBVCeMzsmQ7pBwfyzpxUdHWGznb1udTtUibK8von5Br4WqPsY1dHxhm75VtBOGVrXF i8UaBHwqi8RORDK4DDN08WAL313n94a6czDDVXZTTw90w8lFv+lsVpcRNwfuHoyC3I3g OKZhG40F3KweaOYnVRDJFGFk8ZDAc/rat3R66415eA6JK+Gs5RtOyW/W6ZJsua1IFMQc xCYEv7Hk6xJwm7+C08Nev1QDhzvlW4nTSmitoAWZuLGTmRcxCyhbaQaMgj7kNFnEYIo9 3HfFN8gfc/aBONzr5Lh6KvUivL12PTrSwpNxYVXkQIuTd4D/uNsNgMuPANIZPdyzXmoo vFPw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=HSRsOOQW8bntMDbaRCFyx56wyw0QuBUro13yxcUuNss=; b=UF9vJskFkKnA8NxaSPf+0KDxTGVpSoKaymRVrlXOMG24bD4bJ8CKBpenjLf/j90PVX /uhzhBrXd8sB05jCvtsvZVGOLMUvL301dXP3cqGEdOGQEw/ySeVtoa+KJKmckjUYVMOW 9W3v4XTebgP0tqCbhT8i1/23eCEr9sHwTbfEE9VP+2bsqId7MLmKoxs6fztJjVttb7pC s3w7iDSt3Ls6+ndFHrSruSCLFqqmt8b3X6BKQpSsYHS5hVUSA5FsdbfT01gHtTVq4psI GLkeSuV+x4uV12X8/nzc0F/0moaj0oaYPlupJ5BZ8LmvzB8NylV/i3ngkSZ0MM9KraCr KPeQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2020-01-29 header.b=iioRgsX+; 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 y16si2992oie.225.2020.03.25.12.45.45; Wed, 25 Mar 2020 12:45:58 -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-2020-01-29 header.b=iioRgsX+; 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 S1727593AbgCYTn5 (ORCPT + 99 others); Wed, 25 Mar 2020 15:43:57 -0400 Received: from userp2120.oracle.com ([156.151.31.85]:50976 "EHLO userp2120.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727401AbgCYTn4 (ORCPT ); Wed, 25 Mar 2020 15:43:56 -0400 Received: from pps.filterd (userp2120.oracle.com [127.0.0.1]) by userp2120.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 02PJeNUl126879; Wed, 25 Mar 2020 19:43:28 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding; s=corp-2020-01-29; bh=HSRsOOQW8bntMDbaRCFyx56wyw0QuBUro13yxcUuNss=; b=iioRgsX+XuhHsjk2/si5lx5hh3Y5WB+JQFstUTYCV4hFdfu4EYgd732gEQ9sIxYXSQ/p gxfuntP8h7GG5MgFCoC3M2FovJy4IwaZ7QW5PzecyJZzppPIQunhaiy5fys733/d4Ngc BkKW/7m8cx3JXUvyOKliRn5vEj89Q05nXQKQ2zJqao/SyOG/cr8AY6mEmacZNIUmv1O9 k+HPCnI2pAC6QrsgdkNNBZC0lCQot9GfwRYbG307yVaquZxaM8nDiqXW+EeoMGV3tDHT 7Qg7pXnm2pZ9s66HB+32skcIqSaGr02gk40V7PtkrTH1b0flBRhwHCk+wwFqk06Y4NfO 2A== Received: from aserp3020.oracle.com (aserp3020.oracle.com [141.146.126.70]) by userp2120.oracle.com with ESMTP id 3005kvasxv-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 25 Mar 2020 19:43:28 +0000 Received: from pps.filterd (aserp3020.oracle.com [127.0.0.1]) by aserp3020.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 02PJgYw9072475; Wed, 25 Mar 2020 19:43:27 GMT Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by aserp3020.oracle.com with ESMTP id 30073b1tvw-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 25 Mar 2020 19:43:27 +0000 Received: from abhmp0016.oracle.com (abhmp0016.oracle.com [141.146.116.22]) by aserv0122.oracle.com (8.14.4/8.14.4) with ESMTP id 02PJhPs2025269; Wed, 25 Mar 2020 19:43:25 GMT Received: from pneuma.us.oracle.com (/10.39.203.246) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Wed, 25 Mar 2020 12:43:25 -0700 From: Ross Philipson To: linux-kernel@vger.kernel.org, x86@kernel.org, linux-doc@vger.kernel.org Cc: ross.philipson@oracle.com, dpsmith@apertussolutions.com, tglx@linutronix.de, mingo@redhat.com, bp@alien8.de, hpa@zytor.com, trenchboot-devel@googlegroups.com Subject: [RFC PATCH 01/12] x86: Secure Launch Kconfig Date: Wed, 25 Mar 2020 15:43:06 -0400 Message-Id: <20200325194317.526492-2-ross.philipson@oracle.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200325194317.526492-1-ross.philipson@oracle.com> References: <20200325194317.526492-1-ross.philipson@oracle.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9571 signatures=668685 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxlogscore=999 adultscore=0 suspectscore=0 mlxscore=0 phishscore=0 bulkscore=0 spamscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2003020000 definitions=main-2003250157 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9571 signatures=668685 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 malwarescore=0 bulkscore=0 phishscore=0 suspectscore=0 impostorscore=0 spamscore=0 adultscore=0 priorityscore=1501 mlxlogscore=999 lowpriorityscore=0 mlxscore=0 clxscore=1015 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2003020000 definitions=main-2003250156 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Initial bits to bring in Secure Launch functionality. Add Kconfig options for compiling in/out the Secure Launch code. Signed-off-by: Ross Philipson --- arch/x86/Kconfig | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index 5e8949953660..7f3406a9948b 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig @@ -2014,6 +2014,17 @@ config EFI_MIXED If unsure, say N. +config SECURE_LAUNCH + bool "Secure Launch support" + default n + depends on X86_64 + help + This Secure Launch kernel feature allows a bzImage to be loaded + directly through Intel TXT or AMD SKINIT measured launch. This + allows extablishing a Dynamic Root of Trust Measurement (DRTM) + of all the modules and configuration information used for + boooting the operating system. + config SECCOMP def_bool y prompt "Enable seccomp to safely compute untrusted bytecode" -- 2.25.1