Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp5285677iob; Mon, 9 May 2022 12:48:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy/BJtmLdmpHDD+rGNbLWzB7Daxy/GWlXiCinXG2nPpnXduk8NIYpcsWhNSdvqnNh1T+3rH X-Received: by 2002:a65:6cc5:0:b0:3c6:1d79:145d with SMTP id g5-20020a656cc5000000b003c61d79145dmr14177767pgw.567.1652125706891; Mon, 09 May 2022 12:48:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652125706; cv=none; d=google.com; s=arc-20160816; b=Cd7Ims+w2yl5anduQekfQRdyUvtCX7rEaCYVmMttglM52QACCNUSO3O8HyZpuOf96r 0U8kV2FEPj5yW5cgeLdZyQCKIXRv6Tw/ezXpClsL8dlXx5FjibKHTDAdC7NIiYY7S/fy lVDlJ0y1uttlODiI8qEv10gUWP0Oyff951Za12Gol2XAhx5qs96t1gZgN7hdV9toik6X yHu013lUlcmalKHFndUA2xGCgCv587VoxCYxpYWmLdINmJ/abqCgQ4CmwFYxWGibp4iO 8+jKskTVBBz79AwcECthvPYYVrdVVM5TjDw/oiu6hQGTbruK4NBjdTzcYtvu8e8qEhwh wLow== 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=AoQvWKpDU2P9lFLXU3ELvlGMrlfk5EWwWkEu8isye3M=; b=chFzb8NHCeSYXHf+5YxilVQ3vlztjcnsFoLjb4uTCjDlfmYGohRL9LsJeyhO7lKoWI WPUb9O/aBmXbLtualmt2caJ6FlSn9J+ekDUmk/4W7OBhmmBTpDtIhxQn1r5c3JMZMvoe t+NuatIrxg73QQbefCMvLEGDoQxveA2PgF/hNE8LMLXKPHRIKcSH0A5TZpWKE4ta5lUV vZDOgkLIM2RVhLTcro0CThvlMvbCopukvuUFohSqqpXh+GSzh/EV0n8t8GQ86D9YgW15 Cozbo+9rFw8PQrQKK4Imlo4lIFLdgfWBxTSbBl+g03cJeDVGtR70NNnGYj522aXIgGaz VRjg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b=DQuH+dnu; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1: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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id pj2-20020a17090b4f4200b001dc4c06a2ccsi275885pjb.54.2022.05.09.12.48.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 May 2022 12:48:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b=DQuH+dnu; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1: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: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 3536352516; Mon, 9 May 2022 12:40:56 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240631AbiEIToa (ORCPT + 99 others); Mon, 9 May 2022 15:44:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49676 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231781AbiEITo2 (ORCPT ); Mon, 9 May 2022 15:44:28 -0400 Received: from mail.skyhub.de (mail.skyhub.de [5.9.137.197]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AC68B17706D; Mon, 9 May 2022 12:40:32 -0700 (PDT) Received: from zn.tnic (p5de8eeb4.dip0.t-ipconnect.de [93.232.238.180]) (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 8BA8B1EC0494; Mon, 9 May 2022 21:40:26 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1652125226; 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=AoQvWKpDU2P9lFLXU3ELvlGMrlfk5EWwWkEu8isye3M=; b=DQuH+dnuMo1XHCdc4ZpdApzMaFQlpLltEumRjTO50gpT+YcXRQwzFwSB5wJ2DyhUWQ/HFz KZ50vFjPK3Eo8Oo0PNr+rFPebrt+K0CRHG4cS6DBsf7DllxhAOeBaeyMX23V+ApO6wOyW5 8OnulC85syhrH2iJiEvQ95QtbvZ2bOo= Date: Mon, 9 May 2022 21:40:28 +0200 From: Borislav Petkov To: Jonathan McDowell Cc: Thomas Gleixner , James Morris , Ingo Molnar , Dave Hansen , "H. Peter Anvin" , Dmitry Kasatkin , "x86@kernel.org" , Mimi Zohar , "Serge E. Hallyn" , "linux-kernel@vger.kernel.org" , "linux-integrity@vger.kernel.org" , "linux-security-module@vger.kernel.org" Subject: Re: [PATCH v2] Carry forward IMA measurement log on kexec on x86_64 Message-ID: References: <0960C132-581C-4881-8948-C566657C3998@alien8.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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-kernel@vger.kernel.org On Mon, May 09, 2022 at 06:41:17PM +0000, Jonathan McDowell wrote: > I'm not tied to setup_data but given the concerns I raise above with > device tree on x86 and the need to handle this in the kernel it seemed > like a reasonable first approach. You seem to be saying it's not and > either adding the device tree infrastructure or doing a command line > hack would be preferable? All I'm doing is asking more questions to make you give more details as to why you wanna do it this way. I'll take a detailed look tomorrow but it looks ok from a quick glance. Thx. -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette