[{"id":1766125,"web_url":"http://patchwork.ozlabs.org/comment/1766125/","msgid":"<20170911082517.GA25352@dhcp-128-65.nay.redhat.com>","list_archive_url":null,"date":"2017-09-11T08:25:17","subject":"Re: [PATCH 6/9] arm64: kexec_file: load initrd, device-tree and\n\tpurgatory segments","submitter":{"id":16844,"url":"http://patchwork.ozlabs.org/api/people/16844/","name":"Dave Young","email":"dyoung@redhat.com"},"content":"> > +int arch_kimage_file_post_load_cleanup(struct kimage *image)\n> > +{\n> > +\tvfree(image->arch.dtb_buf);\n> > +\timage->arch.dtb_buf = NULL;\n> > +\n> > +\tvfree(image->arch.elf_headers);\n> > +\timage->arch.elf_headers = NULL;\n> > +\timage->arch.elf_headers_sz = 0;\n> > +\n> > +\tif (!image->fops || !image->fops->cleanup)\n> > +\t\treturn 0;\n> > +\n> > +\treturn image->fops->cleanup(image->image_loader_data);\n> > +}\n> > +\n> > +#ifdef CONFIG_KEXEC_VERIFY_SIG\n> > +int arch_kexec_kernel_verify_sig(struct kimage *image, void *kernel,\n> > +\t\t\t\t unsigned long kernel_len)\n> > +{\n> > +\tif (!image->fops || !image->fops->verify_sig) {\n> > +\t\tpr_debug(\"kernel loader does not support signature verification.\\n\");\n> > +\t\treturn -EKEYREJECTED;\n> > +\t}\n> > +\n> > +\treturn image->fops->verify_sig(kernel, kernel_len);\n> > +}\n> \n> \n> arch_kexec_kernel_verify_sig now be duplicated so it can be put in the\n> general function in kexec_file.c\n> \n> Also the probe and load function are also duplicated, they can be moved\n> to common code as well.\n> \n> The x86 load function can be cleaned up with removing the vfree\n> callback.\n> \n> ---\n>  arch/x86/kernel/machine_kexec_64.c |    3 ---\n>  1 file changed, 3 deletions(-)\n> \n> --- linux-x86.orig/arch/x86/kernel/machine_kexec_64.c\n> +++ linux-x86/arch/x86/kernel/machine_kexec_64.c\n> @@ -384,9 +384,6 @@ int arch_kexec_kernel_image_probe(struct\n>  \n>  void *arch_kexec_kernel_image_load(struct kimage *image)\n>  {\n> -\tvfree(image->arch.elf_headers);\n> -\timage->arch.elf_headers = NULL;\n> -\n\nHmm, should move above to arch_kimage_file_post_load_cleanup instead.. \n\n>  \tif (!image->fops || !image->fops->load)\n>  \t\treturn ERR_PTR(-ENOEXEC);\n>  \n> \n\n\nThanks\nDave","headers":{"Return-Path":"<linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org>","X-Original-To":"incoming-imx@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming-imx@bilbo.ozlabs.org","Authentication-Results":["ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=lists.infradead.org\n\t(client-ip=65.50.211.133; helo=bombadil.infradead.org;\n\tenvelope-from=linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org;\n\treceiver=<UNKNOWN>)","ozlabs.org; dkim=pass (2048-bit key;\n\tunprotected) header.d=lists.infradead.org\n\theader.i=@lists.infradead.org\n\theader.b=\"HYevfMzt\"; dkim-atps=neutral","ext-mx09.extmail.prod.ext.phx2.redhat.com;\n\tdmarc=none (p=none dis=none) header.from=redhat.com","ext-mx09.extmail.prod.ext.phx2.redhat.com;\n\tspf=fail smtp.mailfrom=dyoung@redhat.com"],"Received":["from bombadil.infradead.org (bombadil.infradead.org\n\t[65.50.211.133])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256\n\tbits)) (No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3xrLcP73fZz9s83\n\tfor <incoming-imx@patchwork.ozlabs.org>;\n\tMon, 11 Sep 2017 18:26:27 +1000 (AEST)","from localhost ([127.0.0.1] helo=bombadil.infradead.org)\n\tby bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux))\n\tid 1drK2x-0003we-BC; Mon, 11 Sep 2017 08:26:23 +0000","from mx1.redhat.com ([209.132.183.28])\n\tby bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux))\n\tid 1drK2U-0003lB-CU; Mon, 11 Sep 2017 08:25:56 +0000","from smtp.corp.redhat.com\n\t(int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14])\n\t(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby mx1.redhat.com (Postfix) with ESMTPS id 566F523737E;\n\tMon, 11 Sep 2017 08:25:28 +0000 (UTC)","from dhcp-128-65.nay.redhat.com (ovpn-12-101.pek2.redhat.com\n\t[10.72.12.101])\n\tby smtp.corp.redhat.com (Postfix) with ESMTPS id 991595E24F;\n\tMon, 11 Sep 2017 08:25:21 +0000 (UTC)"],"DKIM-Signature":"v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;\n\td=lists.infradead.org; s=bombadil.20170209; h=Sender:\n\tContent-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post:\n\tList-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:\n\tMessage-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description:\n\tResent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:\n\tList-Owner; bh=0irGUqgb41depfEg5FY9opWd+yxFejxnH2KjU87UGbY=;\n\tb=HYevfMztuWj4SK\n\tLXiyz03mNHdl9MTqHm54YKURvoqn+q+P5E0ozV48LY+hBXMJ2gLCa7TiNcg54yMYp+UsGQX1TxGQu\n\tS2av0N1jBCU9JM1+2xvXJvS6OXoMRs38iHqVQ+B2UnDuMMRsCE6NcIz870d2HEUUuWxh5081i60va\n\t1oZnwEY1LVlTCaVVZVIbzVbUTYAnodS4kJQnyFpT7uFdLqbeBrDev8cZju08gYNHWW8tx7HTgzlJP\n\tvJr/uyMEBNkcpk8wLcbEJwWp6HMTEcSQA7dAh22pxbZrJfIQWDH9bCUxZ8ifBBp1nllZOY92q10Ds\n\t7Dnd/t2ARBiMh0NoSVvA==;","DMARC-Filter":"OpenDMARC Filter v1.3.2 mx1.redhat.com 566F523737E","Date":"Mon, 11 Sep 2017 16:25:17 +0800","From":"Dave Young <dyoung@redhat.com>","To":"AKASHI Takahiro <takahiro.akashi@linaro.org>","Subject":"Re: [PATCH 6/9] arm64: kexec_file: load initrd, device-tree and\n\tpurgatory segments","Message-ID":"<20170911082517.GA25352@dhcp-128-65.nay.redhat.com>","References":"<20170908031616.17916-1-takahiro.akashi@linaro.org>\n\t<20170908031616.17916-7-takahiro.akashi@linaro.org>\n\t<20170911064754.GA7332@dhcp-128-65.nay.redhat.com>","MIME-Version":"1.0","Content-Disposition":"inline","In-Reply-To":"<20170911064754.GA7332@dhcp-128-65.nay.redhat.com>","User-Agent":"Mutt/1.8.3 (2017-05-23)","X-Scanned-By":"MIMEDefang 2.79 on 10.5.11.14","X-Greylist":"Sender IP whitelisted, not delayed by milter-greylist-4.5.16\n\t(mx1.redhat.com [10.5.110.38]); Mon, 11 Sep 2017 08:25:28 +0000 (UTC)","X-CRM114-Version":"20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 ","X-CRM114-CacheID":"sfid-20170911_012554_459707_134F6BEA ","X-CRM114-Status":"GOOD (  16.17  )","X-Spam-Score":"-6.9 (------)","X-Spam-Report":"SpamAssassin version 3.4.1 on bombadil.infradead.org summary:\n\tContent analysis details:   (-6.9 points)\n\tpts rule name              description\n\t---- ----------------------\n\t--------------------------------------------------\n\t-5.0 RCVD_IN_DNSWL_HI RBL: Sender listed at http://www.dnswl.org/,\n\thigh trust [209.132.183.28 listed in list.dnswl.org]\n\t-0.0 RCVD_IN_MSPIKE_H3      RBL: Good reputation (+3)\n\t[209.132.183.28 listed in wl.mailspike.net]\n\t-0.0 SPF_PASS               SPF: sender matches SPF record\n\t-0.0 RP_MATCHES_RCVD Envelope sender domain matches handover relay\n\tdomain\n\t-0.0 SPF_HELO_PASS          SPF: HELO matches SPF record\n\t-1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%\n\t[score: 0.0000]\n\t-0.0 RCVD_IN_MSPIKE_WL      Mailspike good senders","X-BeenThere":"linux-arm-kernel@lists.infradead.org","X-Mailman-Version":"2.1.21","Precedence":"list","List-Unsubscribe":"<http://lists.infradead.org/mailman/options/linux-arm-kernel>,\n\t<mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe>","List-Archive":"<http://lists.infradead.org/pipermail/linux-arm-kernel/>","List-Post":"<mailto:linux-arm-kernel@lists.infradead.org>","List-Help":"<mailto:linux-arm-kernel-request@lists.infradead.org?subject=help>","List-Subscribe":"<http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>,\n\t<mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe>","Cc":"herbert@gondor.apana.org.au, bhe@redhat.com, ard.biesheuvel@linaro.org, \n\tcatalin.marinas@arm.com, will.deacon@arm.com,\n\tlinux-kernel@vger.kernel.org, \n\tkexec@lists.infradead.org, dhowells@redhat.com, arnd@arndb.de,\n\tlinux-arm-kernel@lists.infradead.org, mpe@ellerman.id.au,\n\tbauerman@linux.vnet.ibm.com, akpm@linux-foundation.org,\n\tdavem@davemloft.net, vgoyal@redhat.com","Content-Type":"text/plain; charset=\"us-ascii\"","Content-Transfer-Encoding":"7bit","Sender":"\"linux-arm-kernel\" <linux-arm-kernel-bounces@lists.infradead.org>","Errors-To":"linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org","List-Id":"linux-imx-kernel.lists.patchwork.ozlabs.org"}},{"id":1766675,"web_url":"http://patchwork.ozlabs.org/comment/1766675/","msgid":"<20170912044647.GH17186@linaro.org>","list_archive_url":null,"date":"2017-09-12T04:46:49","subject":"Re: [PATCH 6/9] arm64: kexec_file: load initrd, device-tree and\n\tpurgatory segments","submitter":{"id":61166,"url":"http://patchwork.ozlabs.org/api/people/61166/","name":"AKASHI Takahiro","email":"takahiro.akashi@linaro.org"},"content":"On Mon, Sep 11, 2017 at 02:47:54PM +0800, Dave Young wrote:\n> Hi,\n> \n> On 09/08/17 at 12:16pm, AKASHI Takahiro wrote:\n> > load_other_segments() sets up and adds all the memory segments necessary\n> > other than kernel, including initrd, device-tree blob and purgatory.\n> > Most of the code was borrowed from kexec-tools' counterpart.\n> > \n> > In addition, arch_kexec_image_probe(), arch_kexec_image_load() and\n> > arch_kexec_kernel_verify_sig() are added as stubs for supporting multiple\n> > types of kernel image formats.\n> > \n> > Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>\n> > Cc: Catalin Marinas <catalin.marinas@arm.com>\n> > Cc: Will Deacon <will.deacon@arm.com>\n> > ---\n> >  arch/arm64/include/asm/kexec.h         |  19 +++\n> >  arch/arm64/kernel/machine_kexec_file.c | 264 +++++++++++++++++++++++++++++++++\n> >  2 files changed, 283 insertions(+)\n> >  create mode 100644 arch/arm64/kernel/machine_kexec_file.c\n> > \n> > diff --git a/arch/arm64/include/asm/kexec.h b/arch/arm64/include/asm/kexec.h\n> > index e17f0529a882..d74dc49670ad 100644\n> > --- a/arch/arm64/include/asm/kexec.h\n> > +++ b/arch/arm64/include/asm/kexec.h\n> > @@ -93,6 +93,25 @@ static inline void crash_prepare_suspend(void) {}\n> >  static inline void crash_post_resume(void) {}\n> >  #endif\n> >  \n> > +#ifdef CONFIG_KEXEC_FILE\n> > +#define ARCH_HAS_KIMAGE_ARCH\n> > +\n> > +struct kimage_arch {\n> > +\tvoid *dtb_buf;\n> > +};\n> > +\n> > +struct kimage;\n> > +\n> > +extern int setup_dtb(struct kimage *image,\n> > +\t\tunsigned long initrd_load_addr, unsigned long initrd_len,\n> > +\t\tchar *cmdline, unsigned long cmdline_len,\n> > +\t\tchar **dtb_buf, size_t *dtb_buf_len);\n> > +extern int load_other_segments(struct kimage *image,\n> > +\t\tunsigned long kernel_load_addr,\n> > +\t\tchar *initrd, unsigned long initrd_len,\n> > +\t\tchar *cmdline, unsigned long cmdline_len);\n> > +#endif\n> > +\n> >  #endif /* __ASSEMBLY__ */\n> >  \n> >  #endif\n> > diff --git a/arch/arm64/kernel/machine_kexec_file.c b/arch/arm64/kernel/machine_kexec_file.c\n> > new file mode 100644\n> > index 000000000000..a6d2c006b4f7\n> > --- /dev/null\n> > +++ b/arch/arm64/kernel/machine_kexec_file.c\n> > @@ -0,0 +1,264 @@\n> > +/*\n> > + * kexec_file for arm64\n> > + *\n> > + * Copyright (C) 2017 Linaro Limited\n> > + * Author: AKASHI Takahiro <takahiro.akashi@linaro.org>\n> > + *\n> > + * Most code is derived from arm64 port of kexec-tools\n> > + *\n> > + * This program is free software; you can redistribute it and/or modify\n> > + * it under the terms of the GNU General Public License version 2 as\n> > + * published by the Free Software Foundation.\n> > + */\n> > +\n> > +#define pr_fmt(fmt) \"kexec_file: \" fmt\n> > +\n> > +#include <linux/errno.h>\n> > +#include <linux/kernel.h>\n> > +#include <linux/kexec.h>\n> > +#include <linux/libfdt.h>\n> > +#include <linux/memblock.h>\n> > +#include <linux/of_fdt.h>\n> > +#include <asm/kexec_file.h>\n> > +\n> > +static int __dt_root_addr_cells;\n> > +static int __dt_root_size_cells;\n> > +\n> > +static struct kexec_file_ops *kexec_file_loaders[0];\n> > +\n> > +int arch_kexec_kernel_image_probe(struct kimage *image, void *buf,\n> > +\t\t\t\t  unsigned long buf_len)\n> > +{\n> > +\tstruct kexec_file_ops *fops;\n> > +\tint i, ret;\n> > +\n> > +\tfor (i = 0; i < ARRAY_SIZE(kexec_file_loaders); i++) {\n> > +\t\tfops = kexec_file_loaders[i];\n> > +\t\tif (!fops || !fops->probe)\n> > +\t\t\tcontinue;\n> > +\n> > +\t\tret = fops->probe(buf, buf_len);\n> > +\t\tif (!ret) {\n> > +\t\t\timage->fops = fops;\n> > +\t\t\treturn 0;\n> > +\t\t}\n> > +\t}\n> > +\n> > +\treturn -ENOEXEC;\n> > +}\n> > +\n> > +void *arch_kexec_kernel_image_load(struct kimage *image)\n> > +{\n> > +\tif (!image->fops || !image->fops->load)\n> > +\t\treturn ERR_PTR(-ENOEXEC);\n> > +\n> > +\treturn image->fops->load(image, image->kernel_buf,\n> > +\t\t\t\t image->kernel_buf_len, image->initrd_buf,\n> > +\t\t\t\t image->initrd_buf_len, image->cmdline_buf,\n> > +\t\t\t\t image->cmdline_buf_len);\n> > +}\n> > +\n> > +int arch_kimage_file_post_load_cleanup(struct kimage *image)\n> > +{\n> > +\tvfree(image->arch.dtb_buf);\n> > +\timage->arch.dtb_buf = NULL;\n> > +\n> > +\tvfree(image->arch.elf_headers);\n> > +\timage->arch.elf_headers = NULL;\n> > +\timage->arch.elf_headers_sz = 0;\n> > +\n> > +\tif (!image->fops || !image->fops->cleanup)\n> > +\t\treturn 0;\n> > +\n> > +\treturn image->fops->cleanup(image->image_loader_data);\n> > +}\n> > +\n> > +#ifdef CONFIG_KEXEC_VERIFY_SIG\n> > +int arch_kexec_kernel_verify_sig(struct kimage *image, void *kernel,\n> > +\t\t\t\t unsigned long kernel_len)\n> > +{\n> > +\tif (!image->fops || !image->fops->verify_sig) {\n> > +\t\tpr_debug(\"kernel loader does not support signature verification.\\n\");\n> > +\t\treturn -EKEYREJECTED;\n> > +\t}\n> > +\n> > +\treturn image->fops->verify_sig(kernel, kernel_len);\n> > +}\n> \n> \n> arch_kexec_kernel_verify_sig now be duplicated so it can be put in the\n> general function in kexec_file.c\n> \n> Also the probe and load function are also duplicated, they can be moved\n> to common code as well.\n\nOkay!\n\n> The x86 load function can be cleaned up with removing the vfree\n> callback.\n\nSure\n\nThanks,\n-Takahiro AKASHI","headers":{"Return-Path":"<linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org>","X-Original-To":"incoming-imx@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming-imx@bilbo.ozlabs.org","Authentication-Results":["ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=lists.infradead.org\n\t(client-ip=65.50.211.133; helo=bombadil.infradead.org;\n\tenvelope-from=linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org;\n\treceiver=<UNKNOWN>)","ozlabs.org; dkim=pass (2048-bit key;\n\tunprotected) header.d=lists.infradead.org\n\theader.i=@lists.infradead.org header.b=\"KSFec3y2\"; \n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n\tunprotected) header.d=linaro.org header.i=@linaro.org\n\theader.b=\"ajWZU95N\"; dkim-atps=neutral"],"Received":["from bombadil.infradead.org (bombadil.infradead.org\n\t[65.50.211.133])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256\n\tbits)) (No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3xrsg01ZXgz9s76\n\tfor <incoming-imx@patchwork.ozlabs.org>;\n\tTue, 12 Sep 2017 14:45:32 +1000 (AEST)","from localhost ([127.0.0.1] helo=bombadil.infradead.org)\n\tby bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux))\n\tid 1drd4i-00072e-8i; Tue, 12 Sep 2017 04:45:28 +0000","from mail-it0-x230.google.com ([2607:f8b0:4001:c0b::230])\n\tby bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux))\n\tid 1drd4Z-0005hN-Oc for linux-arm-kernel@lists.infradead.org;\n\tTue, 12 Sep 2017 04:45:24 +0000","by mail-it0-x230.google.com with SMTP id v19so20202473ite.0\n\tfor <linux-arm-kernel@lists.infradead.org>;\n\tMon, 11 Sep 2017 21:44:59 -0700 (PDT)","from linaro.org ([121.95.100.191])\n\tby smtp.googlemail.com with ESMTPSA id\n\tm20sm5630752itm.19.2017.09.11.21.44.53\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tMon, 11 Sep 2017 21:44:58 -0700 (PDT)"],"DKIM-Signature":["v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;\n\td=lists.infradead.org; s=bombadil.20170209; h=Sender:\n\tContent-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post:\n\tList-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:\n\tMessage-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description:\n\tResent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:\n\tList-Owner; bh=xjHXey4tzzRDqEgKz4ZPwuYKTarOnn2UiIMEr4QBio4=;\n\tb=KSFec3y2422pdJ\n\tu2XC8Igtw8Wmri4JEjt7PQILI5k/lyUqNqWZqgFdjV4KZ5nNv0kl4u6Ps8zj4O01lfa7Ek32Cv9q+\n\tOoEI+jmD2WbpGyVvq+B+WTzWg6IQ0QmzkZ2GaUm2ZS0/8raU+UD8ycATJAtGslBtl9uw1MUTnnUaC\n\tbp61G9t6KvsPa8/SFy2QZMAR/DGfu7duXGHVTqx9A4jt2GeCArxKMV9/wTZkL2I/5aIHO90y7iUNN\n\tkfeAIJmdfgnqVs1Pm+HM/wdDr7zRrAn4ZyKChj6mog4wMWR9BKc960j1MknnZ8TrdkyoqPF7v6r66\n\tMqQzwCnkN+k4Lv1/RBRA==;","v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google;\n\th=date:from:to:cc:subject:message-id:mail-followup-to:references\n\t:mime-version:content-disposition:in-reply-to:user-agent;\n\tbh=HodttF7r9K9ALhJMzKYf0m6vWxymQUADaim5nk/s1KQ=;\n\tb=ajWZU95NnJo9IjqCquMIiRO460GjE8k7NjhSj0HVsSDPIE1ev0c9tC+kCUyncQ0f/R\n\tTOeYMk9TNhd01GtOD1AyV3sC48CPHjIrA19apcsjXSLK4OA02q586HYbnDH4wk1sEAUA\n\teEEK0AKys9Bt0pWHfRaFflyHbTi6PneoV0Ho8="],"X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:date:from:to:cc:subject:message-id\n\t:mail-followup-to:references:mime-version:content-disposition\n\t:in-reply-to:user-agent;\n\tbh=HodttF7r9K9ALhJMzKYf0m6vWxymQUADaim5nk/s1KQ=;\n\tb=fAh4jcD0ikTZklFAHsDqv8WSXSt0gFAw/w3lTYurTPAgGrxg3fj1xBbuBRF5hJmI+s\n\t5EPXWqxdE3wQE3pkrKu0akwvlyCaJKm/1EUXYixD6DtKWfnXAg4F0wCma4PaXfamtvVv\n\tQqBej9cIQ9UgP7lAmJmy90SY46NUQzBcJOUwIClMOpfAb0P/+6dU7QKBhEgQP4ZNpjaO\n\tU8wOX0L0eJ6x9sVv7EigblLa/nFXuZRZP1uqWPer8faqHJRZMlebJq5fooDy494VbEnA\n\tI4aHyGrgG6+syeiN72AsoNV4su9VE/iq4uWOpIKuMgvdmMSCeA2Ct8ikNwX8LOz3ySgb\n\t+PMg==","X-Gm-Message-State":"AHPjjUikEn0u32FqyfSfqQ1OoO9YGrSPnrG/UZtIG2d3DjIV8PlMrzjB\n\tu3n3V5fJEnbKvkPQSIuf4Utebw==","X-Google-Smtp-Source":"AOwi7QBcMhqgyESsYJa2/FXOQWKkrjaNjhAKi3UZF7e1k94MTN3vkiHpap7ojMWCGySoCJijlVORgQ==","X-Received":"by 10.36.121.85 with SMTP id z82mr15591729itc.87.1505191498651; \n\tMon, 11 Sep 2017 21:44:58 -0700 (PDT)","Date":"Tue, 12 Sep 2017 13:46:49 +0900","From":"AKASHI Takahiro <takahiro.akashi@linaro.org>","To":"Dave Young <dyoung@redhat.com>","Subject":"Re: [PATCH 6/9] arm64: kexec_file: load initrd, device-tree and\n\tpurgatory segments","Message-ID":"<20170912044647.GH17186@linaro.org>","Mail-Followup-To":"AKASHI Takahiro <takahiro.akashi@linaro.org>,\n\tDave Young <dyoung@redhat.com>, catalin.marinas@arm.com,\n\twill.deacon@arm.com, bauerman@linux.vnet.ibm.com,\n\tdhowells@redhat.com, vgoyal@redhat.com, herbert@gondor.apana.org.au, \n\tdavem@davemloft.net, akpm@linux-foundation.org, mpe@ellerman.id.au,\n\tbhe@redhat.com, arnd@arndb.de, ard.biesheuvel@linaro.org,\n\tkexec@lists.infradead.org, linux-kernel@vger.kernel.org,\n\tlinux-arm-kernel@lists.infradead.org","References":"<20170908031616.17916-1-takahiro.akashi@linaro.org>\n\t<20170908031616.17916-7-takahiro.akashi@linaro.org>\n\t<20170911064754.GA7332@dhcp-128-65.nay.redhat.com>","MIME-Version":"1.0","Content-Disposition":"inline","In-Reply-To":"<20170911064754.GA7332@dhcp-128-65.nay.redhat.com>","User-Agent":"Mutt/1.5.24 (2015-08-30)","X-CRM114-Version":"20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 ","X-CRM114-CacheID":"sfid-20170911_214519_941967_D2C8B224 ","X-CRM114-Status":"GOOD (  25.14  )","X-Spam-Score":"-2.7 (--)","X-Spam-Report":"SpamAssassin version 3.4.1 on bombadil.infradead.org summary:\n\tContent analysis details:   (-2.7 points)\n\tpts rule name              description\n\t---- ----------------------\n\t--------------------------------------------------\n\t-0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/,\n\tlow\n\ttrust [2607:f8b0:4001:c0b:0:0:0:230 listed in] [list.dnswl.org]\n\t-0.0 SPF_PASS               SPF: sender matches SPF record\n\t-1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%\n\t[score: 0.0000]\n\t-0.1 DKIM_VALID Message has at least one valid DKIM or DK signature\n\t0.1 DKIM_SIGNED            Message has a DKIM or DK signature,\n\tnot necessarily valid\n\t-0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from\n\tauthor's domain","X-BeenThere":"linux-arm-kernel@lists.infradead.org","X-Mailman-Version":"2.1.21","Precedence":"list","List-Unsubscribe":"<http://lists.infradead.org/mailman/options/linux-arm-kernel>,\n\t<mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe>","List-Archive":"<http://lists.infradead.org/pipermail/linux-arm-kernel/>","List-Post":"<mailto:linux-arm-kernel@lists.infradead.org>","List-Help":"<mailto:linux-arm-kernel-request@lists.infradead.org?subject=help>","List-Subscribe":"<http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>,\n\t<mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe>","Cc":"herbert@gondor.apana.org.au, bhe@redhat.com, ard.biesheuvel@linaro.org, \n\tcatalin.marinas@arm.com, will.deacon@arm.com,\n\tlinux-kernel@vger.kernel.org, \n\tkexec@lists.infradead.org, dhowells@redhat.com, arnd@arndb.de,\n\tlinux-arm-kernel@lists.infradead.org, mpe@ellerman.id.au,\n\tbauerman@linux.vnet.ibm.com, akpm@linux-foundation.org,\n\tdavem@davemloft.net, vgoyal@redhat.com","Content-Type":"text/plain; charset=\"us-ascii\"","Content-Transfer-Encoding":"7bit","Sender":"\"linux-arm-kernel\" <linux-arm-kernel-bounces@lists.infradead.org>","Errors-To":"linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org","List-Id":"linux-imx-kernel.lists.patchwork.ozlabs.org"}},{"id":1766694,"web_url":"http://patchwork.ozlabs.org/comment/1766694/","msgid":"<20170912055521.GA8787@dhcp-128-65.nay.redhat.com>","list_archive_url":null,"date":"2017-09-12T05:55:21","subject":"Re: [PATCH 3/9] kexec_file: factor out crashdump elf header function\n\tfrom x86","submitter":{"id":16844,"url":"http://patchwork.ozlabs.org/api/people/16844/","name":"Dave Young","email":"dyoung@redhat.com"},"content":"Hi,\nOn 09/08/17 at 12:16pm, AKASHI Takahiro wrote:\n[snip]\n> --- a/include/linux/kexec.h\n> +++ b/include/linux/kexec.h\n> @@ -162,6 +162,25 @@ int __weak arch_kexec_walk_mem(struct kexec_buf *kbuf,\n>  \t\t\t       int (*func)(u64, u64, void *));\n>  extern int kexec_add_buffer(struct kexec_buf *kbuf);\n>  int kexec_locate_mem_hole(struct kexec_buf *kbuf);\n> +#ifdef CONFIG_CRASH_CORE\n> +extern int prepare_elf_headers(struct kimage *image, void **addr,\n> +\t\t\t\tunsigned long *sz);\n> +\n> +/* This primarily represents number of split ranges due to exclusion */\n> +#define CRASH_MAX_RANGES        16\n> +\n> +struct crash_mem_range {\n> +\tu64 start, end;\n> +};\n> +\n> +struct crash_mem {\n> +\tunsigned int nr_ranges;\n> +\tstruct crash_mem_range ranges[CRASH_MAX_RANGES];\n> +};\n> +\n> +extern int exclude_mem_range(struct crash_mem *mem,\n> +\t\tunsigned long long mstart, unsigned long long mend);\n> +#endif /* CONFIG_CRASH_CORE */\n\nMaybe I did not say it clear when reviewing the v1.\n\nI suggested to move the code from to kexec_file.c because the\nCONFIG_CRASH_CORE originally was introduced for the common code for\nvmcoreinfo stuff when Hari worked on sharing code between powerpc\nfadump and kdump.\n\nI'm not sure we need the #ifdef CONFIG_CRASH_CORE here for these\nkexec file load functions. Since they are already in kexec_file.c\nso I think no need to add the #ifdef\n\n>  #endif /* CONFIG_KEXEC_FILE */\nThanks\nDave","headers":{"Return-Path":"<linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org>","X-Original-To":"incoming-imx@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming-imx@bilbo.ozlabs.org","Authentication-Results":["ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=lists.infradead.org\n\t(client-ip=65.50.211.133; helo=bombadil.infradead.org;\n\tenvelope-from=linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org;\n\treceiver=<UNKNOWN>)","ozlabs.org; dkim=pass (2048-bit key;\n\tunprotected) header.d=lists.infradead.org\n\theader.i=@lists.infradead.org\n\theader.b=\"kS+i4Gr9\"; dkim-atps=neutral","ext-mx10.extmail.prod.ext.phx2.redhat.com;\n\tdmarc=none (p=none dis=none) header.from=redhat.com","ext-mx10.extmail.prod.ext.phx2.redhat.com;\n\tspf=fail smtp.mailfrom=dyoung@redhat.com"],"Received":["from bombadil.infradead.org (bombadil.infradead.org\n\t[65.50.211.133])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256\n\tbits)) (No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3xrvDs5dwZz9s7g\n\tfor <incoming-imx@patchwork.ozlabs.org>;\n\tTue, 12 Sep 2017 15:56:27 +1000 (AEST)","from localhost ([127.0.0.1] helo=bombadil.infradead.org)\n\tby bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux))\n\tid 1dreBM-0008O6-D5; Tue, 12 Sep 2017 05:56:24 +0000","from mx1.redhat.com ([209.132.183.28])\n\tby bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux))\n\tid 1dreAt-0008HA-BD; Tue, 12 Sep 2017 05:55:57 +0000","from smtp.corp.redhat.com\n\t(int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12])\n\t(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby mx1.redhat.com (Postfix) with ESMTPS id 2FC9B5D686;\n\tTue, 12 Sep 2017 05:55:32 +0000 (UTC)","from dhcp-128-65.nay.redhat.com (ovpn-12-42.pek2.redhat.com\n\t[10.72.12.42])\n\tby smtp.corp.redhat.com (Postfix) with ESMTPS id 6218618A4E;\n\tTue, 12 Sep 2017 05:55:25 +0000 (UTC)"],"DKIM-Signature":"v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;\n\td=lists.infradead.org; s=bombadil.20170209; h=Sender:\n\tContent-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post:\n\tList-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:\n\tMessage-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description:\n\tResent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:\n\tList-Owner; bh=928baeHiov2RclsRyNCdxoCWF5eJbQ3Pwx5R07nY1xs=;\n\tb=kS+i4Gr9jWuGFx\n\tIsfBTxZlpxzBoP+Xi/1eZuDCwe/A+Fpp9T/LLHm2eBMOnqD39adXHCldAvt24mrbghchPyvQRzz7R\n\tI6ofjaJ7ElFmCZO6SDArsccMJPygJU5IYftj5tRwkAvSNS4brOzgg5KucbtKSFp0AR66EIn6vPziw\n\trK7gy7JNgr+q3Sp3CDDTSmhv5MpEGVXjuNyv/G7X4w4FUJffSef8rJ7DXSjC/kwa15D+NOq/vzRIN\n\td2U+FLroIoN2fvDPpW7I+g7BCYlJMm1GMZVAI3yVcwncEIRbjCR1D5T3TuQlAuHkqP9z0F1A8Qcv/\n\t3v+chxcdVG2zzLmGoysw==;","DMARC-Filter":"OpenDMARC Filter v1.3.2 mx1.redhat.com 2FC9B5D686","Date":"Tue, 12 Sep 2017 13:55:21 +0800","From":"Dave Young <dyoung@redhat.com>","To":"AKASHI Takahiro <takahiro.akashi@linaro.org>","Subject":"Re: [PATCH 3/9] kexec_file: factor out crashdump elf header function\n\tfrom x86","Message-ID":"<20170912055521.GA8787@dhcp-128-65.nay.redhat.com>","References":"<20170908031616.17916-1-takahiro.akashi@linaro.org>\n\t<20170908031616.17916-4-takahiro.akashi@linaro.org>","MIME-Version":"1.0","Content-Disposition":"inline","In-Reply-To":"<20170908031616.17916-4-takahiro.akashi@linaro.org>","User-Agent":"Mutt/1.8.3 (2017-05-23)","X-Scanned-By":"MIMEDefang 2.79 on 10.5.11.12","X-Greylist":"Sender IP whitelisted, not delayed by milter-greylist-4.5.16\n\t(mx1.redhat.com [10.5.110.39]); Tue, 12 Sep 2017 05:55:32 +0000 (UTC)","X-CRM114-Version":"20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 ","X-CRM114-CacheID":"sfid-20170911_225555_438621_E9FFA12E ","X-CRM114-Status":"GOOD (  13.05  )","X-Spam-Score":"-6.9 (------)","X-Spam-Report":"SpamAssassin version 3.4.1 on bombadil.infradead.org summary:\n\tContent analysis details:   (-6.9 points)\n\tpts rule name              description\n\t---- ----------------------\n\t--------------------------------------------------\n\t-5.0 RCVD_IN_DNSWL_HI RBL: Sender listed at http://www.dnswl.org/,\n\thigh trust [209.132.183.28 listed in list.dnswl.org]\n\t-0.0 SPF_PASS               SPF: sender matches SPF record\n\t-0.0 RP_MATCHES_RCVD Envelope sender domain matches handover relay\n\tdomain\n\t-0.0 SPF_HELO_PASS          SPF: HELO matches SPF record\n\t-0.0 RCVD_IN_MSPIKE_H3      RBL: Good reputation (+3)\n\t[209.132.183.28 listed in wl.mailspike.net]\n\t-1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%\n\t[score: 0.0000]\n\t-0.0 RCVD_IN_MSPIKE_WL      Mailspike good senders","X-BeenThere":"linux-arm-kernel@lists.infradead.org","X-Mailman-Version":"2.1.21","Precedence":"list","List-Unsubscribe":"<http://lists.infradead.org/mailman/options/linux-arm-kernel>,\n\t<mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe>","List-Archive":"<http://lists.infradead.org/pipermail/linux-arm-kernel/>","List-Post":"<mailto:linux-arm-kernel@lists.infradead.org>","List-Help":"<mailto:linux-arm-kernel-request@lists.infradead.org?subject=help>","List-Subscribe":"<http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>,\n\t<mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe>","Cc":"herbert@gondor.apana.org.au, bhe@redhat.com, ard.biesheuvel@linaro.org, \n\tcatalin.marinas@arm.com, will.deacon@arm.com,\n\tlinux-kernel@vger.kernel.org, \n\tkexec@lists.infradead.org, dhowells@redhat.com, arnd@arndb.de,\n\tlinux-arm-kernel@lists.infradead.org, mpe@ellerman.id.au,\n\tbauerman@linux.vnet.ibm.com, akpm@linux-foundation.org,\n\tdavem@davemloft.net, vgoyal@redhat.com","Content-Type":"text/plain; charset=\"us-ascii\"","Content-Transfer-Encoding":"7bit","Sender":"\"linux-arm-kernel\" <linux-arm-kernel-bounces@lists.infradead.org>","Errors-To":"linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org","List-Id":"linux-imx-kernel.lists.patchwork.ozlabs.org"}},{"id":1767441,"web_url":"http://patchwork.ozlabs.org/comment/1767441/","msgid":"<20170913004645.GI17186@linaro.org>","list_archive_url":null,"date":"2017-09-13T00:46:47","subject":"Re: [PATCH 3/9] kexec_file: factor out crashdump elf header function\n\tfrom x86","submitter":{"id":61166,"url":"http://patchwork.ozlabs.org/api/people/61166/","name":"AKASHI Takahiro","email":"takahiro.akashi@linaro.org"},"content":"On Tue, Sep 12, 2017 at 01:55:21PM +0800, Dave Young wrote:\n> Hi,\n> On 09/08/17 at 12:16pm, AKASHI Takahiro wrote:\n> [snip]\n> > --- a/include/linux/kexec.h\n> > +++ b/include/linux/kexec.h\n> > @@ -162,6 +162,25 @@ int __weak arch_kexec_walk_mem(struct kexec_buf *kbuf,\n> >  \t\t\t       int (*func)(u64, u64, void *));\n> >  extern int kexec_add_buffer(struct kexec_buf *kbuf);\n> >  int kexec_locate_mem_hole(struct kexec_buf *kbuf);\n> > +#ifdef CONFIG_CRASH_CORE\n> > +extern int prepare_elf_headers(struct kimage *image, void **addr,\n> > +\t\t\t\tunsigned long *sz);\n> > +\n> > +/* This primarily represents number of split ranges due to exclusion */\n> > +#define CRASH_MAX_RANGES        16\n> > +\n> > +struct crash_mem_range {\n> > +\tu64 start, end;\n> > +};\n> > +\n> > +struct crash_mem {\n> > +\tunsigned int nr_ranges;\n> > +\tstruct crash_mem_range ranges[CRASH_MAX_RANGES];\n> > +};\n> > +\n> > +extern int exclude_mem_range(struct crash_mem *mem,\n> > +\t\tunsigned long long mstart, unsigned long long mend);\n> > +#endif /* CONFIG_CRASH_CORE */\n> \n> Maybe I did not say it clear when reviewing the v1.\n> \n> I suggested to move the code from to kexec_file.c because the\n\n(from crash_core.c)\n\n> CONFIG_CRASH_CORE originally was introduced for the common code for\n> vmcoreinfo stuff when Hari worked on sharing code between powerpc\n> fadump and kdump.\n> \n> I'm not sure we need the #ifdef CONFIG_CRASH_CORE here for these\n> kexec file load functions. Since they are already in kexec_file.c\n> so I think no need to add the #ifdef\n\nRight. CRASH_CORE is always selected, in arch/Kconfig, by KEXEC_CORE\nwhich is selected by KEXEC_FILE.\n(In this sense, CRASH_CORE has no use any more.)\n\nThanks,\n-Takahiro AKASHI\n\n> >  #endif /* CONFIG_KEXEC_FILE */\n> Thanks\n> Dave","headers":{"Return-Path":"<linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org>","X-Original-To":"incoming-imx@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming-imx@bilbo.ozlabs.org","Authentication-Results":["ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=lists.infradead.org\n\t(client-ip=65.50.211.133; helo=bombadil.infradead.org;\n\tenvelope-from=linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org;\n\treceiver=<UNKNOWN>)","ozlabs.org; dkim=pass (2048-bit key;\n\tunprotected) header.d=lists.infradead.org\n\theader.i=@lists.infradead.org header.b=\"Fl4SO9U2\"; \n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n\tunprotected) header.d=linaro.org header.i=@linaro.org\n\theader.b=\"MoWieSll\"; dkim-atps=neutral"],"Received":["from bombadil.infradead.org (bombadil.infradead.org\n\t[65.50.211.133])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256\n\tbits)) (No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3xsNHs1kPNz9t3J\n\tfor <incoming-imx@patchwork.ozlabs.org>;\n\tWed, 13 Sep 2017 10:45:45 +1000 (AEST)","from localhost ([127.0.0.1] helo=bombadil.infradead.org)\n\tby bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux))\n\tid 1drvoE-0002KW-5Q; Wed, 13 Sep 2017 00:45:42 +0000","from mail-pg0-x236.google.com ([2607:f8b0:400e:c05::236])\n\tby bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux))\n\tid 1drvnm-0000wZ-8W for linux-arm-kernel@lists.infradead.org;\n\tWed, 13 Sep 2017 00:45:16 +0000","by mail-pg0-x236.google.com with SMTP id d8so24362753pgt.4\n\tfor <linux-arm-kernel@lists.infradead.org>;\n\tTue, 12 Sep 2017 17:44:53 -0700 (PDT)","from linaro.org ([121.95.100.191])\n\tby smtp.googlemail.com with ESMTPSA id\n\to5sm21057647pfh.67.2017.09.12.17.44.48\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tTue, 12 Sep 2017 17:44:52 -0700 (PDT)"],"DKIM-Signature":["v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;\n\td=lists.infradead.org; s=bombadil.20170209; h=Sender:\n\tContent-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post:\n\tList-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:\n\tMessage-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description:\n\tResent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:\n\tList-Owner; bh=5+0N528iQhzm0hKbCSUX8JSza+hUUYjybiaHnpLuuVg=;\n\tb=Fl4SO9U2u0OLF9\n\tWbx333pp7x8VJbHOfsUViezdIX+iiijs9UEi71jQ/gFaHLzdYWqfFBSqLQpuBmzGozOfmqfQ3Difs\n\tCLB7iMS79+hs/x3OtYQwZ8zLdnE5p4cW+LJu1KEijuIPYTsBDFgRfap3I9Beedc88nEvGSWfNoWG/\n\tY67US6KhzMNDSpSo5Hf9K4FQUe2vELw/3xS86psO6T6MyZf8L2fjXoBspbi2tC0ZgG/pjSB4Ml9tP\n\tAbj4plaFY/hH94QYQfut8Ro0BxueIE7HzVaXeOzKbU9IDwKEMV6TAeI2W+WgWr+NRNffhyg7X+BaC\n\tgN/PKNdSM0NlH2eezieg==;","v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google;\n\th=date:from:to:cc:subject:message-id:mail-followup-to:references\n\t:mime-version:content-disposition:in-reply-to:user-agent;\n\tbh=dPpzo0sTYlHVJXoABn1sJV4fOIxQ6xUztl3rE93Uq4o=;\n\tb=MoWieSlliJZ84BSmsww7uxUCWMZ4oyEtnQgvdGN3+vtIB2Awwll1xHVuP5MuVaQNtB\n\twtSkbf1mqpIOXqhkUlZTFJLJioZGSDFfnbDxpw0pAtp+GuoL3/GofwOrGyja/GilOos1\n\tz7NiG6iC78ruxairJRNJXbbVXtmeS4Dq7SlEA="],"X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:date:from:to:cc:subject:message-id\n\t:mail-followup-to:references:mime-version:content-disposition\n\t:in-reply-to:user-agent;\n\tbh=dPpzo0sTYlHVJXoABn1sJV4fOIxQ6xUztl3rE93Uq4o=;\n\tb=jV6ft+kK6nrXTYD9EzcZBsQHVDC2W82hc+dHImf8h++NgDYqay6Nri5ZeM+45tvNmx\n\tIAq/43bl6ve47WtIO80KJHTx9xNTTwh7Q5XZsqUTOsbviiX+6STrp/O4EfH1efkC1D2u\n\tixn64m7zJNZiM/0++e0t8d1RR44Ov5sNR1AXGptDgq8/xylkLusdYk5CGjJXP431zqAv\n\tNHt7Iw/CMLTqx8dgg2ZovK52wVLNQD76DhorzsjvkqguSX/XmC1CC5icQL9cpO//FalH\n\t5Kb+uZ7yK0q0jbEk/tBdyJ2x1RTXi+IISkw3tqe6n+Ja0p9InjABBbBcm1IAg6sX5K2Y\n\tPEhQ==","X-Gm-Message-State":"AHPjjUjLNqNazta8jHdc3P1dk2gCwVKv6r4lpRILoeKnqcEwBRXoNSzc\n\tGIx1rlTZA5v/DqO3","X-Google-Smtp-Source":"ADKCNb5EUVOOIFZ0LkixyXZP6+183QkmDH+21GR9JCdq2hPKGSEpHC8PVOldcXc2m6NlIUI+/6hfTw==","X-Received":"by 10.99.157.200 with SMTP id\n\ti191mr16055741pgd.247.1505263492631; \n\tTue, 12 Sep 2017 17:44:52 -0700 (PDT)","Date":"Wed, 13 Sep 2017 09:46:47 +0900","From":"AKASHI Takahiro <takahiro.akashi@linaro.org>","To":"Dave Young <dyoung@redhat.com>","Subject":"Re: [PATCH 3/9] kexec_file: factor out crashdump elf header function\n\tfrom x86","Message-ID":"<20170913004645.GI17186@linaro.org>","Mail-Followup-To":"AKASHI Takahiro <takahiro.akashi@linaro.org>,\n\tDave Young <dyoung@redhat.com>, catalin.marinas@arm.com,\n\twill.deacon@arm.com, bauerman@linux.vnet.ibm.com,\n\tdhowells@redhat.com, vgoyal@redhat.com, herbert@gondor.apana.org.au, \n\tdavem@davemloft.net, akpm@linux-foundation.org, mpe@ellerman.id.au,\n\tbhe@redhat.com, arnd@arndb.de, ard.biesheuvel@linaro.org,\n\tkexec@lists.infradead.org, linux-kernel@vger.kernel.org,\n\tlinux-arm-kernel@lists.infradead.org","References":"<20170908031616.17916-1-takahiro.akashi@linaro.org>\n\t<20170908031616.17916-4-takahiro.akashi@linaro.org>\n\t<20170912055521.GA8787@dhcp-128-65.nay.redhat.com>","MIME-Version":"1.0","Content-Disposition":"inline","In-Reply-To":"<20170912055521.GA8787@dhcp-128-65.nay.redhat.com>","User-Agent":"Mutt/1.5.24 (2015-08-30)","X-CRM114-Version":"20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 ","X-CRM114-CacheID":"sfid-20170912_174514_338290_917C8950 ","X-CRM114-Status":"GOOD (  16.66  )","X-Spam-Score":"-2.0 (--)","X-Spam-Report":"SpamAssassin version 3.4.1 on bombadil.infradead.org summary:\n\tContent analysis details:   (-2.0 points)\n\tpts rule name              description\n\t---- ----------------------\n\t--------------------------------------------------\n\t-0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/,\n\tno\n\ttrust [2607:f8b0:400e:c05:0:0:0:236 listed in] [list.dnswl.org]\n\t-0.0 SPF_PASS               SPF: sender matches SPF record\n\t-1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%\n\t[score: 0.0000]\n\t-0.1 DKIM_VALID Message has at least one valid DKIM or DK signature\n\t0.1 DKIM_SIGNED            Message has a DKIM or DK signature,\n\tnot necessarily valid\n\t-0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from\n\tauthor's domain","X-BeenThere":"linux-arm-kernel@lists.infradead.org","X-Mailman-Version":"2.1.21","Precedence":"list","List-Unsubscribe":"<http://lists.infradead.org/mailman/options/linux-arm-kernel>,\n\t<mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe>","List-Archive":"<http://lists.infradead.org/pipermail/linux-arm-kernel/>","List-Post":"<mailto:linux-arm-kernel@lists.infradead.org>","List-Help":"<mailto:linux-arm-kernel-request@lists.infradead.org?subject=help>","List-Subscribe":"<http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>,\n\t<mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe>","Cc":"herbert@gondor.apana.org.au, bhe@redhat.com, ard.biesheuvel@linaro.org, \n\tcatalin.marinas@arm.com, will.deacon@arm.com,\n\tlinux-kernel@vger.kernel.org, \n\tkexec@lists.infradead.org, dhowells@redhat.com, arnd@arndb.de,\n\tlinux-arm-kernel@lists.infradead.org, mpe@ellerman.id.au,\n\tbauerman@linux.vnet.ibm.com, akpm@linux-foundation.org,\n\tdavem@davemloft.net, vgoyal@redhat.com","Content-Type":"text/plain; charset=\"us-ascii\"","Content-Transfer-Encoding":"7bit","Sender":"\"linux-arm-kernel\" <linux-arm-kernel-bounces@lists.infradead.org>","Errors-To":"linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org","List-Id":"linux-imx-kernel.lists.patchwork.ozlabs.org"}}]