Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp102547pxb; Wed, 22 Sep 2021 17:10:56 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxhBvzxpGnfY+WxikwKmOEfLOLEnkLrGCPQpK3LFFoQqU8/5YgIJcVotNYRJKPql2Hb0xR3 X-Received: by 2002:a17:906:d057:: with SMTP id bo23mr2092552ejb.208.1632355855999; Wed, 22 Sep 2021 17:10:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632355855; cv=none; d=google.com; s=arc-20160816; b=Ub4NKY/xz+RrpbXSmejUTaiaFAZUnfoHKgWLFjYvPk+vAI09abo/t2gvQ/O+xKxdOD 1PSaECMXZcUbdYu5Ay9697ZjPuzUsPeN9nhDu69IR0IPIujWtseRzKpEVfWtSbppX8/j tRsCdETU5cVzkDopoQmar7TIP37BSQvdCxwzUk/UlQZW4+USap16aNQTWWphFuT2Rp+N C7Qz7Jl71b1IbtaCvvljL7UdNMrJ7DeLDvZ6Ogo6n3C7LAUpfhJ5H29ymXs2ZYWgoLjW el8ncwsONpfgUpVRdW+yjhpVf7OuMALssl0NoBUsRTgBdCtrCK1KkQoENXYVeuKzyU/I mp+g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=c61zkWeyMKH6LL6icsQDLy8x0upVKK9C7hT0bg7V0+0=; b=TRLQvlADE34J2Xb9xF5s5f8I/DasMUio1d6jNX1267oYUnOCslWlkKye3SzCPq9uLj OF9LjDhelpislGQotm2Ub9QGFkh6CAiwfk2OoBvAx7viO26zlraozgyb4ew1oRSRPeOg Iseiuw0k1/TWDpyfRApdZlybzHnZtT7pl1o5ZrqSjkYCrzL/MzfdU7Ux6MZn5/SE1/+F SN02RDpt6IlfnltVUQVvLDpuYcrMik+NI2dCNQ3dHP5rSbOxMUIndSiIt0wtlvLJMv9n xDgP5ljm3xG172B40HcPsoty1BZTuDkguGGSKqcSEMAcC2dAWTI2zudvP2BIvNqHRpPC jFcQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=a3bNOYwH; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f29si4300069ejj.403.2021.09.22.17.10.28; Wed, 22 Sep 2021 17:10:55 -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; dkim=pass header.i=@linaro.org header.s=google header.b=a3bNOYwH; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232944AbhIWAKX (ORCPT + 99 others); Wed, 22 Sep 2021 20:10:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50208 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238524AbhIWAKW (ORCPT ); Wed, 22 Sep 2021 20:10:22 -0400 Received: from mail-lf1-x12a.google.com (mail-lf1-x12a.google.com [IPv6:2a00:1450:4864:20::12a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E0689C061756 for ; Wed, 22 Sep 2021 17:08:51 -0700 (PDT) Received: by mail-lf1-x12a.google.com with SMTP id u18so18441291lfd.12 for ; Wed, 22 Sep 2021 17:08:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=c61zkWeyMKH6LL6icsQDLy8x0upVKK9C7hT0bg7V0+0=; b=a3bNOYwHCLWdW+uqIZMVyLPdTmYFfQZhZmd3R+ig/T+TGpkI56Mz3an74YjRDGlRNz 4OMn2AggkvbmO9CcqQfZHCvjZE49E4yUXJVgznbBxZ6Qg+OEBop5fGwIIel7kSDiaAO8 iJsU3iWZiFA8pAMYgEYTEjVx8HbxxGrYNfPm4r0ed6K+9mrKpELqbgtgzuMfiI/KlX6M 8U3pVpD4hosSgSFiNBcGAERmiOabbMaV0nBih9Tc3n0CxT2/vW9P4Lzk5uVgqyYL+i3t 3qpP4z2hoMnrKgdSKhfI7Az6HoUgVH02p6NXReo4R1I3n0dyRAD23M9ot2Wigemntxzj 1/dA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=c61zkWeyMKH6LL6icsQDLy8x0upVKK9C7hT0bg7V0+0=; b=Ym6d4SP28CO//jmvFisxBrTghcCYclNLEv+Lo3Frm3sTNNSsPO9NN3PqLd9DecTCNM PkK6nnmlncEM4BqDPpbQVrK1WhU0TxcxFB9YvKHqbFPvemylMqvXTgcM6/GOtdCZ3RVT fTHVBGFFwOsprMEVEa4Bb5UMzITfSvCWVrBdatUt6Qq6Fw2BFE9lvhuVvOuM3G6axuF0 sSrJHngtVu9rSIz+c/xS+O1+n3uj8cJHsAIpVIbWDJHrsz0QFFvkfLzcVw9TohyWKfOW SbXTH0Pucz7eKnlQKlxvnhMekiqEAKkp7DleIR3Y+fgd0/KMV9Az4Aryv781niloNkYf yFaQ== X-Gm-Message-State: AOAM531fpX0fSX6LVjVLTz5dW/u87328ybB3KzcBVi9SIQF6diGQr30L BhZXzkhnIixPYhP1AXOZuGgY0zSOUBXTEP1SHjFuNQ== X-Received: by 2002:a05:6512:10cb:: with SMTP id k11mr1649114lfg.72.1632355730261; Wed, 22 Sep 2021 17:08:50 -0700 (PDT) MIME-Version: 1.0 References: <0de07021e49ac26a8f9386f62f3e15e947d0f6d0.1631709384.git.geert+renesas@glider.be> In-Reply-To: <0de07021e49ac26a8f9386f62f3e15e947d0f6d0.1631709384.git.geert+renesas@glider.be> From: Linus Walleij Date: Thu, 23 Sep 2021 02:08:39 +0200 Message-ID: Subject: Re: [PATCH v6] ARM: uncompress: Parse "linux,usable-memory-range" DT property To: Geert Uytterhoeven Cc: Russell King , Nicolas Pitre , Ard Biesheuvel , Lukasz Stelmach , Simon Horman , Linux ARM , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , linux-kernel , kexec@lists.infradead.org Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Sep 15, 2021 at 3:20 PM Geert Uytterhoeven wrote: > Add support for parsing the "linux,usable-memory-range" DT property. > This property is used to describe the usable memory reserved for the > crash dump kernel, and thus makes the memory reservation explicit. > If present, Linux no longer needs to mask the program counter, and rely > on the "mem=" kernel parameter to obtain the start and size of usable > memory. > > For backwards compatibility, the traditional method to derive the start > of memory is still used if "linux,usable-memory-range" is absent. > > Signed-off-by: Geert Uytterhoeven Very nice patch! Reviewed-by: Linus Walleij Yours, Linus Walleij