Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2418279rwd; Mon, 15 May 2023 11:22:03 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6ydaGgAxRD/1AV34GfZlxFim8wLprsYJmlPnTVvq4Uw/Qt9EobKc8C2BMQawheJquIyDNP X-Received: by 2002:a05:6a20:7fa5:b0:f0:eb30:d49e with SMTP id d37-20020a056a207fa500b000f0eb30d49emr44161213pzj.39.1684174923163; Mon, 15 May 2023 11:22:03 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1684174923; cv=pass; d=google.com; s=arc-20160816; b=J+DpFV6xVEq6VK6lUAnstk5uve8VTxxzAB5Yzcj8WyFUMb2iWumEIlSdZHHNEICleZ xk6Q0KtLa7rP03I2dS0uHZp0UTvtKsromLhQZ+0Eh6P+5xxLk6BqpPSbAP9ek+ceKxHf qRIYbCwlrokfdi4EY0h5Kl50x8ic/aWzDgHAbTI1de4eePAP7KNnjUjTi4lRRTL6NKmv mKNSsVVQOylSgTUjhVkGFyOckqQ6kELUiziZEhCy6hnYumrXxyA1Vg+MYrAv2Bbs2ZRf ZG+n8delmt+RRAiRtOW3Q3hml6RGJ3uBi8mxWENtk8XGXFLEI7jeTK1bcjJzCu6PW8wI mJRQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :in-reply-to:from:references:cc:to:content-language:subject :user-agent:date:message-id:dkim-signature:dkim-signature; bh=t+BAbbV9MF/cfI/jorGeLlbeMAF42g0Db+dEb3B33Kw=; b=bFuoF507mKMXi2y/6DA45sjsMvu2GV9aAE4ihXS31x4xAPsBSRd8tj8i2MSu2eE/27 T5AJClQ3vPPLDFaYlixN3oZDY43WalZ26Y5xU6nS+Cf+3VrM3+JQhM1Td2SaWckS0C9t R2Pwy25gRmXcdKOJSTBsAPvqIJWmMhAMnjRlUtz46ZHDO52coAEzyYjtOn+f/QzxH+2E iIiYyZlFgEZ1gA9B5/LPyvj3IPbidXWAKa9ca+oAUzU6xDJeU4QQbiK15zMFkpDEiJzE dP41F/Xx7Jr3GntSQDcgC0t8BihzzfpHM8e6O4WEamSWyJRyaDOgFml7bDvRIh+Pq8Zz x2mA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2023-03-30 header.b=p0AebR6P; dkim=pass header.i=@oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=s4b41QqK; arc=pass (i=1 spf=pass spfdomain=oracle.com dkim=pass dkdomain=oracle.com dmarc=pass fromdomain=oracle.com); spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l22-20020a17090ac59600b0024e1911ab42si165953pjt.18.2023.05.15.11.21.46; Mon, 15 May 2023 11:22:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2023-03-30 header.b=p0AebR6P; dkim=pass header.i=@oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=s4b41QqK; arc=pass (i=1 spf=pass spfdomain=oracle.com dkim=pass dkdomain=oracle.com dmarc=pass fromdomain=oracle.com); spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-crypto-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 S245244AbjEOSTS (ORCPT + 99 others); Mon, 15 May 2023 14:19:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52680 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S245146AbjEOSSV (ORCPT ); Mon, 15 May 2023 14:18:21 -0400 Received: from mx0a-00069f02.pphosted.com (mx0a-00069f02.pphosted.com [205.220.165.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3402C1899A; Mon, 15 May 2023 11:17:24 -0700 (PDT) Received: from pps.filterd (m0246629.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 34FGoUZR029093; Mon, 15 May 2023 18:16:48 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=message-id : date : subject : to : cc : references : from : in-reply-to : content-type : content-transfer-encoding : mime-version; s=corp-2023-03-30; bh=t+BAbbV9MF/cfI/jorGeLlbeMAF42g0Db+dEb3B33Kw=; b=p0AebR6Pes6Lu172D+2CYk+v3C9KB7wbaf/5Rj+Mfz+5BIqWhSb5HNMR+MHLSHoHU9Up Lpp3JzzmbpBGubnNhd+ZaIltlpoTWmE4bdhQ96uLBFre6Gt8b3f19alrd+dxIm9oJrcH m6+6X+yyo4fr/MqgZI6fwbNPlzcFAYVTihDeHJSUdGoSXA4bPh9VTCML3XV489uOmuMs ty74lNgr26rHtasfp86u2dWKXT7dDvK4ibVVCmG1VgvPinvnIUKpTCbpyu+rMPkC9KQb O2YrH3v0bQlVswTzt5FuwxeXGcuByebCrH/jRQG8R0r8ChA934yKMFGcUqTupiZr7o5G 3g== Received: from iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta02.appoci.oracle.com [147.154.18.20]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3qj2eb0c9n-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 15 May 2023 18:16:48 +0000 Received: from pps.filterd (iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com [127.0.0.1]) by iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com (8.17.1.19/8.17.1.19) with ESMTP id 34FGiGfO036751; Mon, 15 May 2023 18:16:47 GMT Received: from nam10-bn7-obe.outbound.protection.outlook.com (mail-bn7nam10lp2102.outbound.protection.outlook.com [104.47.70.102]) by iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com (PPS) with ESMTPS id 3qj10993y3-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 15 May 2023 18:16:46 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Dqq8puicltIhMoOhtNm766TtvMpQQbna7UzFKq53UCK9gXVpTqc1iBxGKAV+qEpR47YG7iZLW1Kk5yv3zSZs3lRa9Ga/GvvwbXxq4KkMd/+o3fl3p9H3h3RYHE6ZWSXLC9xhbY2sTEqyzHeYRXkUx2YYxNLjnoPY7fU2lngrud+2jQZAJ+WFlhr1FGbfaoxcXjRVzW8zftUIiGnYKdGOXtPiEe/m3DL2gZ053YuSQeUagZ8w0LihKky7eklvErX4C5o3wy0AnX/n+pQMDR6EePzSr+OE8q54BvjJtgdlU7oiQDOGEkI9ja5hhkGvUDRI0b53JQljn37RMYKuBbBMvw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=t+BAbbV9MF/cfI/jorGeLlbeMAF42g0Db+dEb3B33Kw=; b=khaY3AP2wfJOLN6xULZJifFloepgXny3V0KCzLbpf0Xndzt9IRIucTgWzrepJ7eNn7HEptjkztoECTn/UHSaQWyg/3+5Uz0rQFNw2O5chEwho7hF2tTridS1JY5WJy/lMEGFipP4fFoY9u/omPS5GY9QjIEnvqGxVYe3DXvu+D+sOox3ZfdnKWwc2EoBjYJfh8MX0Jd2gh3Yf+P7Cfhj5J5GNUJ4okJdh8+UQ1IHJ1hxBIQGCt7S4pgo5hDYqdA66q+ysuZkJJI1guh/SOIrsibPxuQs9C8j5OznRTXc0kJlg4JG3L7gfqgPFSgknajmPIcZPhfXGbJ6g9gzdB8EkA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com; dkim=pass header.d=oracle.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.onmicrosoft.com; s=selector2-oracle-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=t+BAbbV9MF/cfI/jorGeLlbeMAF42g0Db+dEb3B33Kw=; b=s4b41QqK67lb3e7trZvqtknh9+75P7KzF/tTWFevuvPLQwnCKasC/2eQ6QOilqeZXl3fSmMkmJB7+kjUnFB3yibyDRpF/mB+4icfKInOmarrJzd5jhT5j70bNWmeruQmmF1zF11mCVCzW/FKeo0tcovlmdYiw1mdWMtsiPr9s+M= Received: from BY5PR10MB3793.namprd10.prod.outlook.com (2603:10b6:a03:1f6::14) by CO1PR10MB4545.namprd10.prod.outlook.com (2603:10b6:303:9a::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6387.30; Mon, 15 May 2023 18:16:44 +0000 Received: from BY5PR10MB3793.namprd10.prod.outlook.com ([fe80::37d1:ec08:a280:1d91]) by BY5PR10MB3793.namprd10.prod.outlook.com ([fe80::37d1:ec08:a280:1d91%4]) with mapi id 15.20.6387.030; Mon, 15 May 2023 18:16:44 +0000 Message-ID: Date: Mon, 15 May 2023 14:16:39 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.7.1 Subject: Re: [PATCH v6 11/14] reboot: Secure Launch SEXIT support on reboot paths Content-Language: en-US To: Matthew Garrett Cc: linux-kernel@vger.kernel.org, x86@kernel.org, linux-integrity@vger.kernel.org, linux-doc@vger.kernel.org, linux-crypto@vger.kernel.org, iommu@lists.linux-foundation.org, kexec@lists.infradead.org, linux-efi@vger.kernel.org, dpsmith@apertussolutions.com, tglx@linutronix.de, mingo@redhat.com, bp@alien8.de, hpa@zytor.com, ardb@kernel.org, James.Bottomley@hansenpartnership.com, luto@amacapital.net, nivedita@alum.mit.edu, kanth.ghatraju@oracle.com, trenchboot-devel@googlegroups.com References: <20230504145023.835096-1-ross.philipson@oracle.com> <20230504145023.835096-12-ross.philipson@oracle.com> <20230512114000.GG14461@srcf.ucam.org> From: Ross Philipson In-Reply-To: <20230512114000.GG14461@srcf.ucam.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: MN2PR20CA0040.namprd20.prod.outlook.com (2603:10b6:208:235::9) To BY5PR10MB3793.namprd10.prod.outlook.com (2603:10b6:a03:1f6::14) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BY5PR10MB3793:EE_|CO1PR10MB4545:EE_ X-MS-Office365-Filtering-Correlation-Id: 7cb6e046-fd8a-45f0-8baf-08db557089de X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: klWbMHqxH+m98+IkoHnOZKiHQ0fNU9/2yRK5uq9QMCPFtyje6087nOxQYLKw4BnCwP9kfg61QgTJQ8eghRQum0cfRcZ1DVVHszpjmZKVdNb+YVVr85wjNBl3ZgtXR4/PlsyqxoQZFHYoo2Cl9IpESHpvwJ8oVnZwk3Jg2Qf7wtcLrVADBEnOur6FH04O4ESf5KuLedUHQ/wVQT5kSURykWSKmXhBrUTa/ksMDTZ81S9iJtWQ9zvtNs9avvhkYxnn6x6IMP54yC4uV5Wu7YE7aqhDnQeDKddpM8n45A2nEWUuo+7vqPjRfhE2B1OcDIbJTs2mBou5Ogf2/Mzaclz8ZSbXeb0P7PGztlOeyymfMQOiNF+aRjNpk8r8KKP77moRz7AcXz8fvzwyT1fMXuKSVpqsguILIxGKD3Ud4D8ZwBDXYZAlz4mSu1AxQ6EPmis0U2WqtJVyVEoMN3dYB2gX13abSo0HcZokNoH4qAPKql7zQz5jwpwD8TEuRjnqd8q8Hqg+1kIZ4z/HFSE39FYCKPHAbff0+G9QYH29bbSS66hcd3jxXBq9PD4RUS0CXSJI7b2Gb79o/MhMNiEQOni0iJpf5d7rnHocQv0Oli3qJucQZUKpq4T7SvqMbhuFT8OptjtbiVY8U5dn8r4ctVsDMg== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BY5PR10MB3793.namprd10.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230028)(136003)(39860400002)(376002)(366004)(346002)(396003)(451199021)(31686004)(6486002)(478600001)(6666004)(53546011)(6506007)(6512007)(7416002)(2616005)(86362001)(36756003)(31696002)(6916009)(4326008)(316002)(186003)(2906002)(4744005)(38100700002)(8676002)(66476007)(8936002)(41300700001)(66946007)(66556008)(44832011)(5660300002)(45980500001)(43740500002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?UCtudXgzTUR2WGZFbU9hdi9yeDBIaFJlZjQ5aDc5QVJQVkpkcFFYSit3M3pJ?= =?utf-8?B?QkU5V09WbndWV0xXMmhPVXRlUVdoZlVjY2dXUHJqK01iZFdsN3lEQmhuQjhQ?= =?utf-8?B?aVhvWCtvZVNHM0IzQnFLOWY2TmVtN2c3WkN3QTliQWIzQXd1K0JFc0lFZlF0?= =?utf-8?B?dFFRTGhMYXFIS1BTaFJ0RGM5NWluY3h1REg5ZGM3ejFBWUpUdUlrSEhXQkJD?= =?utf-8?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djVZZDJJ?= =?utf-8?B?M0o2UC9KaDNxZXAyN01vLzBtMElQaFBueDF2T2RrUmNYWlpTMjRRM0VNS2dC?= =?utf-8?B?eEpuaUd4NVpTNEZOWFE2MHhmbzFKVS9jT0xSZkNlbGRpTWwwU1hKWi9NNkVT?= =?utf-8?B?TWxYN2UvVlQ1cVZ0SXhDY3hmVE95STlCUUVSaHAwSytXZi9Cbzh6RnJ1dGox?= =?utf-8?Q?r5K9VGxbNBilMaqRl8=3D?= X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 7cb6e046-fd8a-45f0-8baf-08db557089de X-MS-Exchange-CrossTenant-AuthSource: BY5PR10MB3793.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 May 2023 18:16:44.5704 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: qgbchfvWmscej2Ku7mbePW7RzsKEfo8UoaiPfes0ogCp8MZLzrCRIZBgM3Z6bxatFUsyLlOXbtRxvJCWSB+J25/yTCuR5ikcdaXzo/FbA8A= X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO1PR10MB4545 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-05-15_17,2023-05-05_01,2023-02-09_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 spamscore=0 mlxlogscore=999 malwarescore=0 bulkscore=0 adultscore=0 phishscore=0 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2304280000 definitions=main-2305150154 X-Proofpoint-GUID: uz4zEZuxvAEgmMLmk8pp6rE_o4jc_XGZ X-Proofpoint-ORIG-GUID: uz4zEZuxvAEgmMLmk8pp6rE_o4jc_XGZ X-Spam-Status: No, score=-6.6 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org On 5/12/23 07:40, Matthew Garrett wrote: > On Thu, May 04, 2023 at 02:50:20PM +0000, Ross Philipson wrote: >> If the MLE kernel is being powered off, rebooted or halted, >> then SEXIT must be called. Note that the SEXIT GETSEC leaf >> can only be called after a machine_shutdown() has been done on >> these paths. The machine_shutdown() is not called on a few paths >> like when poweroff action does not have a poweroff callback (into >> ACPI code) or when an emergency reset is done. In these cases, >> just the TXT registers are finalized but SEXIT is skipped. > > What are the consequences of SEXIT not being called, and why is it ok to > skip it in these circumstances? Well the system is resetting so there are no real consequences. The problem on those two paths is that the APs have not been halted with a machine_shutdown() and that is a precondition to issuing GETSEC[SEXIT]. Only the BSP should be active and SEXIT must be done on it. Thanks Ross