Received: by 2002:a25:ef43:0:0:0:0:0 with SMTP id w3csp709736ybm; Fri, 29 May 2020 10:14:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyULpGIrp53K8OzLWdIrTKXdTQ3RVM3trscphrrGhEKdr0kSeMdJAXkZTknttQ+JYG/Ti5g X-Received: by 2002:a05:6402:31ad:: with SMTP id dj13mr9632785edb.232.1590772489338; Fri, 29 May 2020 10:14:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590772489; cv=none; d=google.com; s=arc-20160816; b=SDOGfoSVQRdMVb2VB15n4uAm7SfxabKftrK+LRo8WJQA0Ks3NmsnuNjvv0pVXNdMlp 2roDVO3sHcUJ2SJpTQGuavWajYntf2FUZwxDaRGLN6lHHcjYxDnk8S0V596ua6PZlSgN e0ifoCK6hsiLhhsLDqpdcGt8a8Gimf6r6dfrQlhRgRAm/SwgfL6Bal78rlyJADOGIyNb 8N3dcZ1D29Ar1cvb+i0fK6Mwc5DR+NmBB4TasSHMK+RlJxkdaDS82eKf1mY+M6sULkIA 0dlfW2V5nj6thl0mXBWrtGw3FiWClX17EtMDOgeK/F/xRDvK4x+3ti/jc3V7ZeC/EXrl BlKw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:in-reply-to:cc:references:message-id :date:subject:mime-version:from:content-transfer-encoding :dkim-signature; bh=nGp/+75iqlq3uduDZuD3kTDOrfn+KoznVQbzyWd/W0o=; b=ah5fehVpsGMBjFYbLWBGYpAEv3uIjImGdKNlq7hhVUbJzMd92RBSVw8mvaCuLUEnF4 DUqTPusApaHfnjl6GTf9VPEwEdiEtoUOOkZQkmUf+rdbHvtLFEyck5/4DCOC59PxDS4m NIqYpvNwyFyX9ADgXZT8aX1SnpVb1oONBJ5wBvZdeN9Hz4f3+p1ytGROB2U26wkqnz1s 2kIm/GW5/XVWYHbqixrtQenIcf02Z/tPj9qEHpTifkKgn6z5hJ46zfgDyLJZjJWPMrom XOKYykvUE+NNHg70RteID7WkbAjBptzFCs7FZkoFdavx+Qbf0o2VtRW+0ioorpD05Ptv IDEg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amacapital-net.20150623.gappssmtp.com header.s=20150623 header.b="Iz5G/NbY"; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z10si6103929ejx.94.2020.05.29.10.14.25; Fri, 29 May 2020 10:14:49 -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=@amacapital-net.20150623.gappssmtp.com header.s=20150623 header.b="Iz5G/NbY"; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726999AbgE2RLw (ORCPT + 99 others); Fri, 29 May 2020 13:11:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37690 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725601AbgE2RLv (ORCPT ); Fri, 29 May 2020 13:11:51 -0400 Received: from mail-pj1-x102b.google.com (mail-pj1-x102b.google.com [IPv6:2607:f8b0:4864:20::102b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6C1E1C03E969 for ; Fri, 29 May 2020 10:11:50 -0700 (PDT) Received: by mail-pj1-x102b.google.com with SMTP id z15so3285127pjb.0 for ; Fri, 29 May 2020 10:11:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amacapital-net.20150623.gappssmtp.com; s=20150623; h=content-transfer-encoding:from:mime-version:subject:date:message-id :references:cc:in-reply-to:to; bh=nGp/+75iqlq3uduDZuD3kTDOrfn+KoznVQbzyWd/W0o=; b=Iz5G/NbYnESBfEH6EWdVjujs8eFUmFP+RhrFVUnFccpnXv4Fa/BMMly6nTeGCYKQNz C8wEVN7Kny21GRz8hF5Q3DYntTnHnUP4Bb6E83XcTorLX6s0lCKByUnCXxHn0Qt87hIL a0Z3Hue9PxXFyB8S7an2uFhZkyhX47Ewf9Ct5tsdtdhtUH/nsbizxhYF19tREa6fIVtT PpeK7rJJcszGtoMaiZGWrzO1cp53RsPAYS3GNy93jxWxzsXT1QDnoq9MV/++bGm12YKg NEwfwlYSkboqITa2pkQa+0WBMg4DtDLrqQhTq2xfBYHBfSCvwkzHMejnXMDnUP6al0IK Eq+g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:content-transfer-encoding:from:mime-version :subject:date:message-id:references:cc:in-reply-to:to; bh=nGp/+75iqlq3uduDZuD3kTDOrfn+KoznVQbzyWd/W0o=; b=UIkYnzPSun6IB6aQ9HGmW2+pOi44RWyPOnn/PfqHQAvGOGN3daSAVC7J8h29F3Tx6h +17l9o0UMykz2RNzSwTIXrQkC+EQ1AzFcnpBELk9P2Id4Alq/r64DVhY8e7gcmkI8zp1 uKtTzmGNe07YPvJ3PU4B+s3cW4J8zkX6iqQJTpoUc4axXgDCI7I5rfNynsEWg8FCUifN jIxDHDv/qHHVo8yxgBty7Q+9DwTgOEoqSHHmNx/dEEb7ij5LNmJUiZoTFhR3xvDwdsfD Br26C+u6OgGGmTbBio/97bocl/G2otVoC7kabs6BSRYE9UXKAB90IMIbIyu+VITJlLj+ o5VA== X-Gm-Message-State: AOAM530B53S+wjEaJAfJ5cuY0qXTOuKyBNDhOu7LiJpomQ2kPCJ+pfyW cT+dWMGZ0GRVshCtDaAqoDK1Fw== X-Received: by 2002:a17:90a:9c6:: with SMTP id 64mr10932757pjo.83.1590772309919; Fri, 29 May 2020 10:11:49 -0700 (PDT) Received: from ?IPv6:2601:646:c200:1ef2:2dc1:c1e9:9ff7:54d4? ([2601:646:c200:1ef2:2dc1:c1e9:9ff7:54d4]) by smtp.gmail.com with ESMTPSA id n8sm32418pjq.49.2020.05.29.10.11.44 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 29 May 2020 10:11:48 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable From: Andy Lutomirski Mime-Version: 1.0 (1.0) Subject: Re: [BOOTLOADER SPECIFICATION RFC] The bootloader log format for TrenchBoot and others Date: Fri, 29 May 2020 10:11:40 -0700 Message-Id: <7FE0DF48-C221-460E-99D5-00E42128283C@amacapital.net> References: <20200529112735.qln44ds6z7djheof@tomti.i.net-space.pl> Cc: grub-devel@gnu.org, linux-kernel@vger.kernel.org, trenchboot-devel@googlegroups.com, x86@kernel.org, xen-devel@lists.xenproject.org, alec.brown@oracle.com, alexander.burmashev@oracle.com, andrew.cooper3@citrix.com, ard.biesheuvel@linaro.org, dpsmith@apertussolutions.com, eric.snowberg@oracle.com, hpa@zytor.com, javierm@redhat.com, kanth.ghatraju@oracle.com, konrad.wilk@oracle.com, krystian.hebel@3mdeb.com, leif@nuviainc.com, lukasz.hawrylko@linux.intel.com, michal.zygowski@3mdeb.com, mjg59@google.com, mtottenh@akamai.com, phcoder@gmail.com, piotr.krol@3mdeb.com, pjones@redhat.com, ross.philipson@oracle.com In-Reply-To: <20200529112735.qln44ds6z7djheof@tomti.i.net-space.pl> To: Daniel Kiper X-Mailer: iPhone Mail (17E262) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > On May 29, 2020, at 4:30 AM, Daniel Kiper wrote:= >=20 > =EF=BB=BFHey, >=20 > Below you can find my rough idea of the bootloader log format which is > generic thing but initially will be used for TrenchBoot work. I discussed > this proposal with Ross and Daniel S. So, the idea went through initial > sanitization. Now I would like to take feedback from other folks too. > So, please take a look and complain... > In general we want to pass the messages produced by the bootloader to the O= S > kernel and finally to the userspace for further processing and analysis. B= elow > is the description of the structures which will be used for this thing. Is the intent for a human to read these, or to get them into the system log f= ile, or are they intended to actually change the behavior of the system? IOW, what is this for?=