Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp239330pxj; Wed, 16 Jun 2021 01:00:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzrDCZL3eAbQ6KlL+kXduu/jdjlWLUUO8cRe8lZOpOjvIG/8zEzKcPprNGd2itgrzM3VIk8 X-Received: by 2002:a17:906:7203:: with SMTP id m3mr3881080ejk.381.1623830453525; Wed, 16 Jun 2021 01:00:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623830453; cv=none; d=google.com; s=arc-20160816; b=Sg2Vxkul10Mwycimm1HKkDnxPrDqq013hNrA8dMSXDAnjAkD/081j4Roj5QCayZ89j TJS/XY6Dy6ShMd1C5qfjhTU9VNRLpxRVNQasau10MmOTuQq8zE1zjNcfxpR1C8xx1SNE AcA8etwLz9VL3k1j5V9RSJTLwn/kDDw3gNJX28794Xh/Ne4Z4ywDMKoitqrfL2RGECzq JPLWT1SgfhClrKneU5AZ2mMp8CScSlpMm/3Qyve1TQq2DAB+fB73cnjXzBuj1gNyXxhQ HkEuBm+BQqGv5AMD7mWwq171zPIigXPP3kCRWhNJEI/XL8RnHuY2SJXMCF1lg757LgN1 u3oA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version; bh=A+yCB8UdUcu8L919yh5+H3nemO0mqaZjsk7AFwxU6lk=; b=BxI+CbXD/5eyXOFfWzcNQtdjCadbHua9azDKcRFZ1w3llwzRl2ITL/NDssWcLvRTjc m1lGlJBb/t6JYY+pHioJBCgQuSk27J5+YoM/fG/lyq89swTYRogp3jZWKTI9sQEDiF/H KkOJutCw9WW2F78mRAtgAQfAdoUbJle0CC7HeQ0W8f9/GGQ5Pqb8g7luhpNXtMFi1QMN SKn0v5LhcbCLP0W474InkCs8HZjIcgDgiHCsoyU4YFYtKN4/tv6notBj91QygN0GO7IL jKocH1ehesylvIdItkER3tLy7bN+mD9zIMgnO2h4llR9PgOZxGqDxUUGiPIrcF+k6J3g eaxQ== ARC-Authentication-Results: i=1; mx.google.com; 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 y21si1411765edv.225.2021.06.16.01.00.31; Wed, 16 Jun 2021 01:00:53 -0700 (PDT) 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; 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 S231750AbhFPIBO convert rfc822-to-8bit (ORCPT + 99 others); Wed, 16 Jun 2021 04:01:14 -0400 Received: from mail-ua1-f52.google.com ([209.85.222.52]:37820 "EHLO mail-ua1-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231195AbhFPIBL (ORCPT ); Wed, 16 Jun 2021 04:01:11 -0400 Received: by mail-ua1-f52.google.com with SMTP id f34so468421uae.4; Wed, 16 Jun 2021 00:59:06 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=ok+NL5CmU/Ob0IX9KPH9BgLLQFejvOXElq4ySZvO/eg=; b=GMYFFijM+Jrxe+eHWUS/xuz/yvshwMnO1eGGNSGwuDMQivExCvCex49e9Xllf5B7Rv r1mkkP7n5VmFTZVRmuXEWQT2AHQGwnaAXnBKnJ1Pr6B7Wx8XtyqTJ7zMn2J1WBtd+jKH enPi02tBpfqiYC2N+LPJsY2w8fdC17lTGEwcvntdvSkijBuBDg2PJ8QSPHGPNRW8OA6p ECxi4QY/ZXvzDM0CHjB8Yerqnr1z+wCEFHlvzpWU3rAkIhWtpE+wK+MCF3kQmFJP7jWu 8XD36x7OU5dTbHtY/rl2gLYMAMZBXPUQzPmWdd44m9ZsQXAsOHt4Xf7ZlXTqx1O1xDOM 8Hgw== X-Gm-Message-State: AOAM5305cr3rVEmLNBSZ/JcKa9ZzShMRp2Fq/N9eXgoY0PmBjEt3s7NN kscueIgSFwJrO3JU09DNTzJUV9hXm4u7Fos3PcA= X-Received: by 2002:ab0:288f:: with SMTP id s15mr2815194uap.2.1623830345737; Wed, 16 Jun 2021 00:59:05 -0700 (PDT) MIME-Version: 1.0 References: <8661d652968d050489852ccb50df5ad4cc048900.1623780059.git.geert+renesas@glider.be> <96476719da53fe67dbb91268e2ad7492@mailhost.ics.forth.gr> In-Reply-To: <96476719da53fe67dbb91268e2ad7492@mailhost.ics.forth.gr> From: Geert Uytterhoeven Date: Wed, 16 Jun 2021 09:58:54 +0200 Message-ID: Subject: Re: [PATCH 1/3] of: fdt: Add generic support for parsing elf core header properties To: Nick Kossifidis Cc: Rob Herring , Paul Walmsley , Palmer Dabbelt , Albert Ou , Frank Rowand , Catalin Marinas , Will Deacon , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , linux-riscv , Linux ARM , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Nick, On Wed, Jun 16, 2021 at 1:28 AM Nick Kossifidis wrote: > > Στις 2021-06-15 21:17, Geert Uytterhoeven έγραψε: > > > > diff --git a/drivers/of/fdt.c b/drivers/of/fdt.c > > I believe drivers/of/kexec.c is better suited for this. From an earlier response from me to a comment from Rob: | > Also, note that there is now a drivers/of/kexec.c (in -next) though | > not sure if all this would go there or stay in fdt.c with the rest of | > the memory parsing. | | It's gonna be the latter, as that file handles the FDT during early | kernel startup, for both normal and kdump kernels. | | Despite the name, drivers/of/kexec.c is not for kexec, but for | kexec_file. This is the "new" fancy syscall that prepares the DTB | for the new kernel itself, unlike the classic kexec syscall, where | userspace is responsible for preparing the DTB for the new kernel. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds