From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id B3857C43334 for ; Thu, 14 Jul 2022 17:21:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232338AbiGNRVm (ORCPT ); Thu, 14 Jul 2022 13:21:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49514 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231651AbiGNRVj (ORCPT ); Thu, 14 Jul 2022 13:21:39 -0400 Received: from mail-io1-f51.google.com (mail-io1-f51.google.com [209.85.166.51]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BED3552457; Thu, 14 Jul 2022 10:21:38 -0700 (PDT) Received: by mail-io1-f51.google.com with SMTP id n7so1953431ioo.7; Thu, 14 Jul 2022 10:21:38 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=TwlP1i3DseYJRbHuqOfV0GFqZdryH2G33X6Mm9Jm2CM=; b=YpzSu3HTJc2LdbWx25T3piHljMqbRRYDIIpn4+UR5HEJaVeadGUn1t0wheKcm4tNG0 yYVf9Y9NjCPNPNuRE2FVlzwy/1E+0bJVI7pKQZh/b2oa8YfFa5hde/DFoS5Gygwq4CzT NSgsmbQO6CJFfCYN+L9vMXNxPEKxN4lMUOEsD0eDBfQ+ZK1E+oF32Ong7QFmrsuLOhPR yqQ7LJUCjPcvO4TmYCUl5/MfYhS5E+tEY4MKqnkMDzxMfFk3kqf+TZP/DBOvrb16bZ37 pfjAPe81b3GsBthfKg0eZXgx5v23FXyqVj5yLTWflHRRnCBoOOhuj+/jC3JhVy5ADOuv ZT2Q== X-Gm-Message-State: AJIora9yVOusF35tIHCRiU7J0Yaj/rww11arxt9Xmv/ZYOE8S8ihwyKb Pm+xOUz4FIIcgH5Uvmyurw== X-Google-Smtp-Source: AGRyM1vO9dGrA7Y7SKsg+5554fBaotiNHywW1yLUMUZ53GyvbeVEnUtAvGac2Q1pjgYrrT0HbEWTiw== X-Received: by 2002:a05:6602:1682:b0:65d:f539:e30 with SMTP id s2-20020a056602168200b0065df5390e30mr4768576iow.81.1657819297971; Thu, 14 Jul 2022 10:21:37 -0700 (PDT) Received: from robh.at.kernel.org ([64.188.179.248]) by smtp.gmail.com with ESMTPSA id p32-20020a056638192000b00339da678a7csm970726jal.78.2022.07.14.10.21.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Jul 2022 10:21:37 -0700 (PDT) Received: (nullmailer pid 2584872 invoked by uid 1000); Thu, 14 Jul 2022 17:21:36 -0000 Date: Thu, 14 Jul 2022 11:21:36 -0600 From: Rob Herring To: Stefan Berger Cc: kexec@lists.infradead.org, devicetree@vger.kernel.org, linux-integrity@vger.kernel.org, linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, nayna@linux.ibm.com, nasastry@in.ibm.com, mpe@ellerman.id.au, Frank Rowand , Mimi Zohar Subject: Re: [PATCH v6 5/6] of: kexec: Refactor IMA buffer related functions to make them reusable Message-ID: <20220714172136.GA2575969-robh@kernel.org> References: <20220707172026.831614-1-stefanb@linux.ibm.com> <20220707172026.831614-6-stefanb@linux.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220707172026.831614-6-stefanb@linux.ibm.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jul 07, 2022 at 01:20:25PM -0400, Stefan Berger wrote: > Refactor IMA buffer related functions to make them reusable for carrying > TPM logs across kexec. > > Signed-off-by: Stefan Berger > Cc: Rob Herring > Cc: Frank Rowand > Cc: Mimi Zohar > > --- > v6: > - Add __init to get_kexec_buffer as suggested by Jonathan > > v5: > - Rebased on Jonathan McDowell's commit "b69a2afd5afc x86/kexec: Carry > forward IMA measurement log on kexec" > v4: > - Move debug output into setup_buffer() > --- > drivers/of/kexec.c | 126 ++++++++++++++++++++++++++------------------- > 1 file changed, 74 insertions(+), 52 deletions(-) Reviewed-by: Rob Herring From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 503DCC433EF for ; Thu, 14 Jul 2022 17:22:13 +0000 (UTC) Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4LkLrz2rlfz3cdY for ; Fri, 15 Jul 2022 03:22:11 +1000 (AEST) Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gmail.com (client-ip=209.85.166.51; helo=mail-io1-f51.google.com; envelope-from=robherring2@gmail.com; receiver=) Received: from mail-io1-f51.google.com (mail-io1-f51.google.com [209.85.166.51]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4LkLrP0zPTz3bdM for ; Fri, 15 Jul 2022 03:21:40 +1000 (AEST) Received: by mail-io1-f51.google.com with SMTP id u20so1958287iob.8 for ; Thu, 14 Jul 2022 10:21:40 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=TwlP1i3DseYJRbHuqOfV0GFqZdryH2G33X6Mm9Jm2CM=; b=yshbJULlbTkVEE4Nom95Ehg2ohDywAK8wT3o8008s9CGFj32njADMLvW0MxC0bvZra rYZ52xdcvEvsiGcGwew7nyZ5baNX/wiGegofPlWMfxwv0lkrEajSEkmOSexasrK6R+wB Z/AFqBk2ukjUgGjZHRnUyd1Y9s0DsYwoOpLQoVsQ8nOp2nqocP6WHK79gN6PULFo48+K JLrhZ+U25W7EH3ypnyqm4M2BzCieAVoFXRDuylnLpyeVwXKYZE8OjSCkS8sb0zFgGKAD qm5rtUTY0QR7dALIJuM0pDpQkmvjh5wOal+qluvPuGkA5p3++TixN8ehA9bz2ZFOKJ/Z 4btg== X-Gm-Message-State: AJIora/D8PS3Sll4PjVzv/UZ1B5VoL9D/m+WCdifYhTk5oyvYNTKuVUw ITQS5IijYOy7ZtwJevWWdQ== X-Google-Smtp-Source: AGRyM1vO9dGrA7Y7SKsg+5554fBaotiNHywW1yLUMUZ53GyvbeVEnUtAvGac2Q1pjgYrrT0HbEWTiw== X-Received: by 2002:a05:6602:1682:b0:65d:f539:e30 with SMTP id s2-20020a056602168200b0065df5390e30mr4768576iow.81.1657819297971; Thu, 14 Jul 2022 10:21:37 -0700 (PDT) Received: from robh.at.kernel.org ([64.188.179.248]) by smtp.gmail.com with ESMTPSA id p32-20020a056638192000b00339da678a7csm970726jal.78.2022.07.14.10.21.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Jul 2022 10:21:37 -0700 (PDT) Received: (nullmailer pid 2584872 invoked by uid 1000); Thu, 14 Jul 2022 17:21:36 -0000 Date: Thu, 14 Jul 2022 11:21:36 -0600 From: Rob Herring To: Stefan Berger Subject: Re: [PATCH v6 5/6] of: kexec: Refactor IMA buffer related functions to make them reusable Message-ID: <20220714172136.GA2575969-robh@kernel.org> References: <20220707172026.831614-1-stefanb@linux.ibm.com> <20220707172026.831614-6-stefanb@linux.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220707172026.831614-6-stefanb@linux.ibm.com> X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Frank Rowand , nayna@linux.ibm.com, kexec@lists.infradead.org, linux-kernel@vger.kernel.org, Mimi Zohar , nasastry@in.ibm.com, linux-integrity@vger.kernel.org, linuxppc-dev@lists.ozlabs.org Errors-To: linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Sender: "Linuxppc-dev" On Thu, Jul 07, 2022 at 01:20:25PM -0400, Stefan Berger wrote: > Refactor IMA buffer related functions to make them reusable for carrying > TPM logs across kexec. > > Signed-off-by: Stefan Berger > Cc: Rob Herring > Cc: Frank Rowand > Cc: Mimi Zohar > > --- > v6: > - Add __init to get_kexec_buffer as suggested by Jonathan > > v5: > - Rebased on Jonathan McDowell's commit "b69a2afd5afc x86/kexec: Carry > forward IMA measurement log on kexec" > v4: > - Move debug output into setup_buffer() > --- > drivers/of/kexec.c | 126 ++++++++++++++++++++++++++------------------- > 1 file changed, 74 insertions(+), 52 deletions(-) Reviewed-by: Rob Herring From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id E7ECAC43334 for ; Thu, 14 Jul 2022 17:21:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=INvvkLMy81e6lx7OHMNbDtw/8aYx6CghYPmijUU9AqU=; b=L+2PQA92yTTHn4 se6EvDp7aqkbfjeWL2HxxL/eXsPQXfq4lxoGJOoP5ZQx6JVnU1+0oWVFe284A7yfHyFtwyjnU5TGM 9Yyr6xhmFOi5i5dfVN+SuQp31gu00wspEUEi2NEchMRvv+WUN8DkD2Do9j0UIwmWHFG2KN3EITE72 LU6UTX/bzOclLKk7VAVDxCG7vLcZOPc40oBsVN6wibseEGWEXqjnpH5DwK+/zoeBg855AlfT+GElv AcbhrjW7r/FQMcWaYRJfxWeghhqa1PGEZK7bF0Cbs6w/M7gs45RFubml/82zQKQ3cq0sKf8l0/XX6 s4Ql2UCNCB0JtAOuT/YA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oC2X0-00GgnI-Id; Thu, 14 Jul 2022 17:21:42 +0000 Received: from mail-io1-f48.google.com ([209.85.166.48]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oC2Wx-00Ggkk-SU for kexec@lists.infradead.org; Thu, 14 Jul 2022 17:21:41 +0000 Received: by mail-io1-f48.google.com with SMTP id q14so1967791iod.3 for ; Thu, 14 Jul 2022 10:21:38 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=TwlP1i3DseYJRbHuqOfV0GFqZdryH2G33X6Mm9Jm2CM=; b=BXJPaazxiUYghuVhYd7wPll8zTaccWV7MF9yPgfWFYc37xOUskZ0oPOs1vuVfsiJAP kFpGKFpbNP7/veYmBjkmZoq9Agx6YgijtxCYuSzKrJjvADUf8/V4uiA48I05895vzy1L SZTaLQsziKq+7X2T5q+jf99rJmrq9wjQPUVYCumnY3Binrzd59Ze+o0lhF0Q3dv+4JFi ks5keT68bI1luMwTTWjJpDZKGZ0Gi/1w/GBcW/gtgvGrjTk8+O3e4IF/KnTD6qD+0x6C 9Rf4euyojUdEyVpoWtFULmXUllxUm7lChHcepE6AKsCDN1p+z8IqZ+IgB5lD/+Ikx6+G kVEw== X-Gm-Message-State: AJIora9ewQnJ5C1/MF7uilGzj+9865ijKGgjpvIbCpZAELyj166q0mie aA+PkyPe6sRtlA9MG2yaMTXbaKGVAg== X-Google-Smtp-Source: AGRyM1vO9dGrA7Y7SKsg+5554fBaotiNHywW1yLUMUZ53GyvbeVEnUtAvGac2Q1pjgYrrT0HbEWTiw== X-Received: by 2002:a05:6602:1682:b0:65d:f539:e30 with SMTP id s2-20020a056602168200b0065df5390e30mr4768576iow.81.1657819297971; Thu, 14 Jul 2022 10:21:37 -0700 (PDT) Received: from robh.at.kernel.org ([64.188.179.248]) by smtp.gmail.com with ESMTPSA id p32-20020a056638192000b00339da678a7csm970726jal.78.2022.07.14.10.21.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Jul 2022 10:21:37 -0700 (PDT) Received: (nullmailer pid 2584872 invoked by uid 1000); Thu, 14 Jul 2022 17:21:36 -0000 Date: Thu, 14 Jul 2022 11:21:36 -0600 From: Rob Herring To: Stefan Berger Cc: kexec@lists.infradead.org, devicetree@vger.kernel.org, linux-integrity@vger.kernel.org, linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, nayna@linux.ibm.com, nasastry@in.ibm.com, mpe@ellerman.id.au, Frank Rowand , Mimi Zohar Subject: Re: [PATCH v6 5/6] of: kexec: Refactor IMA buffer related functions to make them reusable Message-ID: <20220714172136.GA2575969-robh@kernel.org> References: <20220707172026.831614-1-stefanb@linux.ibm.com> <20220707172026.831614-6-stefanb@linux.ibm.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20220707172026.831614-6-stefanb@linux.ibm.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220714_102139_941013_E81BA6B9 X-CRM114-Status: GOOD ( 11.01 ) X-BeenThere: kexec@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "kexec" Errors-To: kexec-bounces+kexec=archiver.kernel.org@lists.infradead.org On Thu, Jul 07, 2022 at 01:20:25PM -0400, Stefan Berger wrote: > Refactor IMA buffer related functions to make them reusable for carrying > TPM logs across kexec. > > Signed-off-by: Stefan Berger > Cc: Rob Herring > Cc: Frank Rowand > Cc: Mimi Zohar > > --- > v6: > - Add __init to get_kexec_buffer as suggested by Jonathan > > v5: > - Rebased on Jonathan McDowell's commit "b69a2afd5afc x86/kexec: Carry > forward IMA measurement log on kexec" > v4: > - Move debug output into setup_buffer() > --- > drivers/of/kexec.c | 126 ++++++++++++++++++++++++++------------------- > 1 file changed, 74 insertions(+), 52 deletions(-) Reviewed-by: Rob Herring _______________________________________________ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec