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=-9.6 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED autolearn=ham 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 278FCC433DB for ; Wed, 10 Feb 2021 17:16:28 +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 C34BC64DFF for ; Wed, 10 Feb 2021 17:16:27 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C34BC64DFF Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org 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:In-Reply-To:MIME-Version:References:Message-ID: Subject: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=4uoj7x+3Lk6vSCJSXLCIKecBa+5QwGM3A8VO9VUyJBQ=; b=Z+nUB99Ul+R/6SYpsgNxn//vv kL8n2Pm8pjKR4JiISdocRUCG30x2wCoFSDwkhxyY9voQ1vb/fT0Uc3mai6+Ls5js4X6d/HSXrRXyh jqIKTPMNObP0uLt4HLOjWxXaOg2s5iUeIrtWukqjba1sjrfhp21LdpOY01BanHh4lEPbhwvDaIqrh ZgtU17dLwibpSUrd0gNRWe6DFTgMUx9LnC48Ja2iOnHowjWzNOpei6B+a3Ix1pE3c3ANkB3+4JXnv eztyDPRt0n7Y2ZRtEWI5k2EySHP18O54waeePBjwjagqCRYx5kwyUtU020v3U+U11dnV1XYBjrgyc PTV2rTAew==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1l9t50-0007Kx-OL; Wed, 10 Feb 2021 17:15:06 +0000 Received: from mail-oi1-f178.google.com ([209.85.167.178]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1l9t4y-0007KP-QC for linux-arm-kernel@lists.infradead.org; Wed, 10 Feb 2021 17:15:05 +0000 Received: by mail-oi1-f178.google.com with SMTP id u66so2813520oig.9 for ; Wed, 10 Feb 2021 09:15:03 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=qJ1RPXH4Ky3rknP1i83/kgXLfXXCz/TwgTUNKoCqZ64=; b=a5Xcw4DLmkwzup0V7XouRVA8o4IPv3XrQiq7VE70SnMYInGK4kuxlQZ1VpU2n+AxGj yDi6C7fx+ihuPE5fqb3Wz5WIZUDsaXZ5gzkOXdwrtlipahHW9SY20frRjoHQPsyGzXQO AEh6kB+rFDiMGU80RXaHAphavwySZPxsmbxJW/RjJHWPbDBWHOOaYM8pqOtfVfgBFzs5 kifvk2jxf0ST2g0TYiH9pDI9CNV+UtxQUecG06LziKBxLMSYUUUxxkW2Vsdd7VruCN3/ VbJpRiCMSri/H0P11rUEwilich1/g0njEitGGIYUNZxDpEhWZi2HiVyMOau+qABXxwX0 G5ZQ== X-Gm-Message-State: AOAM533riKJ5eV5t+vjY91ZZxJKGjkxOKsyIHWu6VKA8KkUJVxJrHASm PcmDcstcIOSG4jub1Z8T7w== X-Google-Smtp-Source: ABdhPJzsuQvHnbVMCnXzigZFYvy1mjydqefuslXLM2227BCJ57eYbmrcMRouWbgxLWOcD8sgwjoLFw== X-Received: by 2002:a54:4803:: with SMTP id j3mr2257771oij.124.1612977302768; Wed, 10 Feb 2021 09:15:02 -0800 (PST) Received: from robh.at.kernel.org (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.gmail.com with ESMTPSA id u126sm567339oig.55.2021.02.10.09.15.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Feb 2021 09:15:02 -0800 (PST) Received: (nullmailer pid 2360939 invoked by uid 1000); Wed, 10 Feb 2021 17:15:00 -0000 Date: Wed, 10 Feb 2021 11:15:00 -0600 From: Rob Herring To: Lakshmi Ramasubramanian Subject: Re: [PATCH v17 00/10] Carry forward IMA measurement log on kexec on ARM64 Message-ID: <20210210171500.GA2328209@robh.at.kernel.org> References: <20210209182200.30606-1-nramas@linux.microsoft.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20210209182200.30606-1-nramas@linux.microsoft.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210210_121504_867694_3FDE6AA5 X-CRM114-Status: GOOD ( 22.13 ) 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, tao.li@vivo.com, zohar@linux.ibm.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, prsriva@linux.microsoft.com, hsinyi@chromium.org, allison@lohutok.net, christophe.leroy@c-s.fr, mbrugger@suse.com, balajib@linux.microsoft.com, dmitry.kasatkin@gmail.com, linux-kernel@vger.kernel.org, james.morse@arm.com, gregkh@linuxfoundation.org, joe@perches.com, linux-integrity@vger.kernel.org, linuxppc-dev@lists.ozlabs.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, Feb 09, 2021 at 10:21:50AM -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 96acc833dec8 ("ima: Free IMA measurement buffer after kexec syscall") > in https://git.kernel.org/pub/scm/linux/kernel/git/zohar/linux-integrity.git > "next-integrity" branch. Is that a hard dependency still? Given this is now almost entirely deleting arch code and adding drivers/of/ code, I was going to apply it. Rob _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel