Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp7197774pxb; Thu, 18 Feb 2021 04:16:04 -0800 (PST) X-Google-Smtp-Source: ABdhPJw2UgRLDPRTPSeLOfmBlGtzEM/EtgSwKiwlP/od4AWo18SVMEuHhI3IVom+H2pzy/YhTe1M X-Received: by 2002:a17:906:3899:: with SMTP id q25mr3674460ejd.173.1613650563929; Thu, 18 Feb 2021 04:16:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1613650563; cv=none; d=google.com; s=arc-20160816; b=bQ8RH2L0MAXtHRqUX95i7GcuP1eCiXFL7nS/0GbX945fn+d3XjTnidNc5ZMdSPVmqX D2zVgYJvCgIpXAw2PujL80RdkR5ZLdO10wd6HiPl0cq5nAnfNi9JzR8AIAWwtnUwhl6D Gm4vp8GNZ+0NvS4ag/Fc1FJDjdpo51KPvLpW+gCjIruOKfwhiSXsv0zu/gCDi/L3pN8B DIT/IYGd59RSVDikAqUmh08l5ZiWCKKBq0e7A38hNuctt4Yv0LV/aHhsffcqaC+KQDt5 JzFlT6PhxaRT1p+TuobQlRasvNPuWyCz8V2QuS4Ex49KvLXtSj+NoK3/MlchvzgNxIeK MSRQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:dkim-signature; bh=3pS0ov98vY77KcuHVVx/n0WLd6bDosNb3K4KC76fM+o=; b=ADGbK+aSkr+HGdBRKNNY2viP4in09g7Eej0G1AeTCp4Ep0pXhOi5Pkxn8/5frXl1CF x7mLvQzU2/a0FiuZ+WxKY0iyD6rLgcwv81yyiMpAKqy+QEky+2e5Gebh7WP8blVcten4 1Nj0fZJkpfL0Btp0vzKWroatXzTpDdwAfd9ZRoV2a6peJ8jsncRCfvq0rkdrqU9hOX3H wocSUgbxEKAp6MziJizgf/fwpmDIoEnroLjHnqcyn5xgaVmKCqaAdPptxA3el/BiTOlm Rq+S6PH1pguo231FokBWuM9VG4FXuXF/ZK0JBfLiRlB6E3JesuEFSABxfsXByP/nZMq5 mtYQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ellerman.id.au header.s=201909 header.b=OHvydnjH; 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 j24si763144ejv.592.2021.02.18.04.15.39; Thu, 18 Feb 2021 04:16:03 -0800 (PST) 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=@ellerman.id.au header.s=201909 header.b=OHvydnjH; 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 S232518AbhBRML0 (ORCPT + 99 others); Thu, 18 Feb 2021 07:11:26 -0500 Received: from ozlabs.org ([203.11.71.1]:60105 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231817AbhBRKpm (ORCPT ); Thu, 18 Feb 2021 05:45:42 -0500 Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 4DhBD64vFvz9sBJ; Thu, 18 Feb 2021 21:44:38 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ellerman.id.au; s=201909; t=1613645079; bh=ZsNlPzRZrmg4PFm+VJmNAO7Irdgz1Plpmx+SNgFPZsc=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=OHvydnjHKxgHMLUHcND78HFYkWD+xm92BEqIiAhEdc7OJ6TiViZv4g7xrWsiyp+7w kBWgxU4fI565Am8ML/cW78MpEwSWxgfWl3mJhalmuJ6QRn7GyqbMH/4orAq+Uo94TK TG79AOyTlFWpeTnfBBzDIJlqb/cn83/FIzNPNrtIm2HTcKHU5dvhTRJdy3YwKkFCnF RXWK2Sy8wfF4ouZfctD3X2Sa+681bn8Z4F5d6iaeJB8je7D/xdFGI7yvbGRoJStC9X r/Txz5Ije+ogYpJRw2IDcNjxKN2YnFlQny3pHD8S9UF2tlc1hBqx75oJZO94PxwXlM OsvrGFBDcMWoA== From: Michael Ellerman To: Stephen Rothwell , Rob Herring , PowerPC Cc: Hari Bathini , Lakshmi Ramasubramanian , Linux Kernel Mailing List , Linux Next Mailing List , Rob Herring Subject: Re: linux-next: manual merge of the devicetree tree with the powerpc tree In-Reply-To: <20210218144815.5673ae6f@canb.auug.org.au> References: <20210218144815.5673ae6f@canb.auug.org.au> Date: Thu, 18 Feb 2021 21:44:37 +1100 Message-ID: <874ki9vene.fsf@mpe.ellerman.id.au> MIME-Version: 1.0 Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Stephen Rothwell writes: > Hi all, > > Today's linux-next merge of the devicetree tree got a conflict in: > > arch/powerpc/kexec/elf_64.c > > between commit: > > 2377c92e37fe ("powerpc/kexec_file: fix FDT size estimation for kdump kernel") > > from the powerpc tree and commit: > > 130b2d59cec0 ("powerpc: Use common of_kexec_alloc_and_setup_fdt()") > > from the devicetree tree. > > I can't easily see how to resolve these, so for now I have just used > the latter' changes to this file. I think it just needs this? diff --git a/arch/powerpc/kexec/elf_64.c b/arch/powerpc/kexec/elf_64.c index 87e34611f93d..0492ca6003f3 100644 --- a/arch/powerpc/kexec/elf_64.c +++ b/arch/powerpc/kexec/elf_64.c @@ -104,7 +104,7 @@ static void *elf64_load(struct kimage *image, char *kernel_buf, fdt = of_kexec_alloc_and_setup_fdt(image, initrd_load_addr, initrd_len, cmdline, - fdt_totalsize(initial_boot_params)); + kexec_fdt_totalsize_ppc64(image)); if (!fdt) { pr_err("Error setting up the new device tree.\n"); ret = -EINVAL; cheers