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 X-Spam-Level: X-Spam-Status: No, score=-10.5 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_2 autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 98121C433E0 for ; Tue, 12 Jan 2021 18:08:01 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 32B392311D for ; Tue, 12 Jan 2021 18:08:01 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 32B392311D Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linux.ibm.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:Mime-Version:References:In-Reply-To:Date:To:From: Subject:Message-ID:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=QdMBs6DcXZkQeb6Gyp2OUs2jErvVvdhLWUkm/R3qs3I=; b=qoczbIdyCZWzAokJ6cuMxHPNK gaLVIu1DSIwdh98sknd27yc3a4nJ6Np1nBHUJnt3vJGKjYDpOG9wuAKMIZjdnuUrCo0kRPl5UTVIN 3SSpY0/79EGFWcdzYkGefkxMjoEJYRQ/ZwL0fdfCysjAPcx3AdJu0rIXWWbmFV/FtVngJIxYfqelY SsmMDFN36jl/nP3vSjRKpp1jG9dSSMTBjC5DJ78bjJNcrEHLfaozkgwMtmzNPZBkiHQn4s1RlT+Ns KeqfCmbB1ULiEwckKUFE50oubJBPhLyLlaxN0AXJA1FmcMazeMRkqIVKgZ0s56pUIVaR1uGkz7mhB mB7XPtaVw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kzO3t-0000IA-RG; Tue, 12 Jan 2021 18:06:33 +0000 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kzO3r-0000GK-43 for linux-arm-kernel@lists.infradead.org; Tue, 12 Jan 2021 18:06:32 +0000 Received: from pps.filterd (m0098417.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 10CI4Jpv107375; Tue, 12 Jan 2021 13:06:01 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=message-id : subject : from : to : cc : date : in-reply-to : references : content-type : mime-version : content-transfer-encoding; s=pp1; bh=y92jepHkYu/5Ng7z5kVoqsbqJOO5aCJiOzGONr6fphM=; b=bCctGOy1rW9Z91ya/ym0rFmSTXboq1imdt2miIPI05dBM8xzi2EAevkz3ICEXUEkjcyJ Xw5DDDUC5b2KC8rKODzAYibBtTYc8XrgOuaplM5fHUhHaewSVDWFolBKhSLXCQJuYSPM 5ZuDwUeTVlVsjhFUqRKF2hC3Q0XLaCj4PSIlPR9qcu8zzavXaYKDd9fqlfKHxRA4ud7S xVm/rVeugbyKDemrqe391x50UIsNuUJPHKwb4lvavq3Q+5dK2qqG8k/jgjnZU6FMqPX1 /RqiS9Cfh69H5QxoxpJmbveJC3az3Zc9ju3efLM+3CDw9W21X7ZvPK7V35Tmeue3IFNV qQ== Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com with ESMTP id 361b5f3utc-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 12 Jan 2021 13:06:01 -0500 Received: from m0098417.ppops.net (m0098417.ppops.net [127.0.0.1]) by pps.reinject (8.16.0.36/8.16.0.36) with SMTP id 10CI4OdI107673; Tue, 12 Jan 2021 13:05:59 -0500 Received: from ppma05fra.de.ibm.com (6c.4a.5195.ip4.static.sl-reverse.com [149.81.74.108]) by mx0a-001b2d01.pphosted.com with ESMTP id 361b5f3uqf-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 12 Jan 2021 13:05:59 -0500 Received: from pps.filterd (ppma05fra.de.ibm.com [127.0.0.1]) by ppma05fra.de.ibm.com (8.16.0.42/8.16.0.42) with SMTP id 10CI3ElC016501; Tue, 12 Jan 2021 18:05:57 GMT Received: from b06cxnps3074.portsmouth.uk.ibm.com (d06relay09.portsmouth.uk.ibm.com [9.149.109.194]) by ppma05fra.de.ibm.com with ESMTP id 35y448a1nw-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 12 Jan 2021 18:05:56 +0000 Received: from d06av26.portsmouth.uk.ibm.com (d06av26.portsmouth.uk.ibm.com [9.149.105.62]) by b06cxnps3074.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 10CI5se928246474 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 12 Jan 2021 18:05:54 GMT Received: from d06av26.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 95D14AE04D; Tue, 12 Jan 2021 18:05:54 +0000 (GMT) Received: from d06av26.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 7BF62AE053; Tue, 12 Jan 2021 18:05:47 +0000 (GMT) Received: from sig-9-65-221-171.ibm.com (unknown [9.65.221.171]) by d06av26.portsmouth.uk.ibm.com (Postfix) with ESMTP; Tue, 12 Jan 2021 18:05:47 +0000 (GMT) Message-ID: <601825013d67584b0d2de7a973b806ec3cbc05ca.camel@linux.ibm.com> Subject: Re: [PATCH v14 0/6] Carry forward IMA measurement log on kexec on ARM64 From: Mimi Zohar To: Rob Herring , Lakshmi Ramasubramanian Date: Tue, 12 Jan 2021 13:05:46 -0500 In-Reply-To: <20210112144248.GA256955@robh.at.kernel.org> References: <20210104192602.10131-1-nramas@linux.microsoft.com> <20210112144248.GA256955@robh.at.kernel.org> X-Mailer: Evolution 3.28.5 (3.28.5-14.el8) Mime-Version: 1.0 X-TM-AS-GCONF: 00 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.343, 18.0.737 definitions=2021-01-12_12:2021-01-12, 2021-01-12 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 lowpriorityscore=0 bulkscore=0 adultscore=0 spamscore=0 priorityscore=1501 mlxscore=0 clxscore=1011 phishscore=0 mlxlogscore=999 suspectscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2101120103 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210112_130631_274072_B25C90BB X-CRM114-Status: GOOD ( 35.20 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: mark.rutland@arm.com, benh@kernel.crashing.org, bhsharma@redhat.com, tao.li@vivo.com, paulus@samba.org, vincenzo.frascino@arm.com, frowand.list@gmail.com, sashal@kernel.org, mpe@ellerman.id.au, masahiroy@kernel.org, jmorris@namei.org, takahiro.akashi@linaro.org, linux-arm-kernel@lists.infradead.org, catalin.marinas@arm.com, serge@hallyn.com, devicetree@vger.kernel.org, pasha.tatashin@soleen.com, will@kernel.org, linuxppc-dev@vger.kernel.org, prsriva@linux.microsoft.com, hsinyi@chromium.org, allison@lohutok.net, christophe.leroy@c-s.fr, mbrugger@suse.com, balajib@linux.microsoft.com, gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org, james.morse@arm.com, dmitry.kasatkin@gmail.com, linux-integrity@vger.kernel.org, bauerman@linux.ibm.com Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Tue, 2021-01-12 at 08:42 -0600, Rob Herring wrote: > On Mon, Jan 04, 2021 at 11:25:56AM -0800, Lakshmi Ramasubramanian wrote: > > On kexec file load Integrity Measurement Architecture (IMA) subsystem > > may verify the IMA signature of the kernel and initramfs, and measure > > it. The command line parameters passed to the kernel in the kexec call > > may also be measured by IMA. A remote attestation service can verify > > a TPM quote based on the TPM event log, the IMA measurement list, and > > the TPM PCR data. This can be achieved only if the IMA measurement log > > is carried over from the current kernel to the next kernel across > > the kexec call. > > > > powerpc already supports carrying forward the IMA measurement log on > > kexec. This patch set adds support for carrying forward the IMA > > measurement log on kexec on ARM64. > > > > This patch set moves the platform independent code defined for powerpc > > such that it can be reused for other platforms as well. A chosen node > > "linux,ima-kexec-buffer" is added to the DTB for ARM64 to hold > > the address and the size of the memory reserved to carry > > the IMA measurement log. > > > > This patch set has been tested for ARM64 platform using QEMU. > > I would like help from the community for testing this change on powerpc. > > Thanks. > > > > This patch set is based on > > commit a29a64445089 ("powerpc: Use common of_kexec_setup_new_fdt()") > > in https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git > > "dt/kexec" branch. > > This all looks good to me. I'd suggest you send the above patches out as > part of this series because I don't plan to do so. > > I would like to also resolve the vmalloc vs. kmalloc difference for > allocating the FDT. Then we can further consolidate the DT kexec code. > > It all needs some acks from arm64 and powerpc maintainers. As far as > merging, I think via the integrity tree makes the most sense. Thanks, Rob. Lakshmi, please update Rob's patches to include patch descriptions before re-posting. Mimi _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel