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=-12.1 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,INCLUDES_PATCH,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable 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 34369C433E2 for ; Thu, 21 May 2020 13:29:31 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 14FA2207F9 for ; Thu, 21 May 2020 13:29:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1590067771; bh=+Vul0RFPdVZB0vQS1vT3FMvkdRIwInL6j//NVC1qhzU=; h=References:In-Reply-To:From:Date:Subject:To:Cc:List-ID:From; b=YGG/Z5vPzQKJF0pkQTh6KFwqsoeraOSAygdBAtFgf3rPSHaFioFkSHm27eMkdtH9i xlTMk5K/iWmvPxSfq8TpVCarfBVQm285xeBIKunamTQS5t3T187IUqOB3jZJEndyJC 6IApvr7NRE2hWHk/qsaiE+l0rSJploGxeVhBg0z0= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729491AbgEUN3a (ORCPT ); Thu, 21 May 2020 09:29:30 -0400 Received: from mail.kernel.org ([198.145.29.99]:35576 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729354AbgEUN3a (ORCPT ); Thu, 21 May 2020 09:29:30 -0400 Received: from mail-ot1-f45.google.com (mail-ot1-f45.google.com [209.85.210.45]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 75B2520872; Thu, 21 May 2020 13:29:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1590067769; bh=+Vul0RFPdVZB0vQS1vT3FMvkdRIwInL6j//NVC1qhzU=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=RnR7LQDq/x9Ij28pJbJmM6lvZTtP5kEYvMwF8rieOVu/rNm+FHySqrnsIpxMZWBHX GYOoUmXROau+GrCoaKOJ+QGWRx9oyNLmHaajGax+M/19uf94LxIcXmO61c4AKPllos jEwGPIwlV5CxQgeEAMFlDM2V7QSfNpK5DrC5F4To= Received: by mail-ot1-f45.google.com with SMTP id x22so5492490otq.4; Thu, 21 May 2020 06:29:29 -0700 (PDT) X-Gm-Message-State: AOAM533NNjD2DP9gkwF06u9LrLPeegbp4Vx5swO8EXYBwkjAt+VUlUrn bMLOcC48fuuZj6Db3HHRVQJuCBHwYTLQESm8aQ== X-Google-Smtp-Source: ABdhPJwr4rrTCR/Idttk5JgrSALx4SScRiwigbIhOO/HiSRN+KNXysfUOLEjfhqUUsjN5MDORr7rgIYX7slyHD18ORM= X-Received: by 2002:a9d:1441:: with SMTP id h59mr7152607oth.192.1590067768679; Thu, 21 May 2020 06:29:28 -0700 (PDT) MIME-Version: 1.0 References: <20200521093805.64398-1-chenzhou10@huawei.com> <20200521093805.64398-6-chenzhou10@huawei.com> In-Reply-To: <20200521093805.64398-6-chenzhou10@huawei.com> From: Rob Herring Date: Thu, 21 May 2020 07:29:17 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v8 5/5] dt-bindings: chosen: Document linux,low-memory-range for arm64 kdump To: Chen Zhou Cc: Thomas Gleixner , Ingo Molnar , Catalin Marinas , Will Deacon , dyoung@redhat.com, Baoquan He , Arnd Bergmann , John.p.donnelly@oracle.com, pkushwaha@marvell.com, Simon Horman , Hanjun Guo , "moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE" , devicetree@vger.kernel.org, Linux Doc Mailing List , "linux-kernel@vger.kernel.org" , kexec@lists.infradead.org Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, May 21, 2020 at 3:35 AM Chen Zhou wrote: > > Add documentation for DT property used by arm64 kdump: > linux,low-memory-range. > "linux,low-memory-range" is an another memory region used for crash > dump kernel devices. > > Signed-off-by: Chen Zhou > --- > Documentation/devicetree/bindings/chosen.txt | 25 ++++++++++++++++++++ > 1 file changed, 25 insertions(+) chosen is now a schema documented here[1]. > diff --git a/Documentation/devicetree/bindings/chosen.txt b/Documentation/devicetree/bindings/chosen.txt > index 45e79172a646..bfe6fb6976e6 100644 > --- a/Documentation/devicetree/bindings/chosen.txt > +++ b/Documentation/devicetree/bindings/chosen.txt > @@ -103,6 +103,31 @@ While this property does not represent a real hardware, the address > and the size are expressed in #address-cells and #size-cells, > respectively, of the root node. > > +linux,low-memory-range > +---------------------- > +This property (arm64 only) holds a base address and size, describing a > +limited region below 4G. Similar to "linux,usable-memory-range", it is > +an another memory range which may be considered available for use by the > +kernel. Why can't you just add a range to "linux,usable-memory-range"? It shouldn't be hard to figure out which part is below 4G. Rob [1] https://github.com/devicetree-org/dt-schema/blob/master/schemas/chosen.yaml 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=-12.0 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,INCLUDES_PATCH,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, SIGNED_OFF_BY,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 927B1C433E0 for ; Thu, 21 May 2020 13:29:37 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 56ACD206BE for ; Thu, 21 May 2020 13:29:37 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="noh2wnKl"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="RnR7LQDq" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 56ACD206BE 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+infradead-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=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:To:Subject:Message-ID:Date:From: In-Reply-To:References:MIME-Version:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=hDZvlxWc8B0XG5MwI0eFNhvUDUrZFz3ivZ0roNoKy7M=; b=noh2wnKlN/Jk84 q235nRGyY/48To6pdte09MbdOEPXEq7ibyPiX8GoR/iDX7IXMBLQlI/SPzAHuULsP0KF9j4t/3WKB FrNuwxDf8XXVZjFcoPgfDnOBSG42hdTQy/JfCSZEXCInkvAD6OOWBgylKGsDN3P3e6QgTMh+Ckik5 AvaZ0PNnln9DPAGhBN59k27cCLGuSckSMJpiYTN6Ih9TJ1EjSpqx5+Y/mkZaiFEQMLVPWJceIYFwc U9cUi4Pa0R0YmMPz2q2OtHUo3WB/f09JqBxN9N+YO1AHIvg+TIGpX3wt0Mi73dh/C9XdtG+pCJsBx 4MVQXtUmKIotZn+9VBMw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jblGS-00010H-FF; Thu, 21 May 2020 13:29:36 +0000 Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jblGL-0000xk-QG; Thu, 21 May 2020 13:29:32 +0000 Received: from mail-ot1-f44.google.com (mail-ot1-f44.google.com [209.85.210.44]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 6951620825; Thu, 21 May 2020 13:29:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1590067769; bh=+Vul0RFPdVZB0vQS1vT3FMvkdRIwInL6j//NVC1qhzU=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=RnR7LQDq/x9Ij28pJbJmM6lvZTtP5kEYvMwF8rieOVu/rNm+FHySqrnsIpxMZWBHX GYOoUmXROau+GrCoaKOJ+QGWRx9oyNLmHaajGax+M/19uf94LxIcXmO61c4AKPllos jEwGPIwlV5CxQgeEAMFlDM2V7QSfNpK5DrC5F4To= Received: by mail-ot1-f44.google.com with SMTP id b18so5504096oti.1; Thu, 21 May 2020 06:29:29 -0700 (PDT) X-Gm-Message-State: AOAM532cIPQBMmAL85oM8ANrtK82kTsdGZ9Uqu60GQDhMoYjic8gp3W8 LVYuSiClxGHrhbdEgWOccxq96MAt1vb14QOg2w== X-Google-Smtp-Source: ABdhPJwr4rrTCR/Idttk5JgrSALx4SScRiwigbIhOO/HiSRN+KNXysfUOLEjfhqUUsjN5MDORr7rgIYX7slyHD18ORM= X-Received: by 2002:a9d:1441:: with SMTP id h59mr7152607oth.192.1590067768679; Thu, 21 May 2020 06:29:28 -0700 (PDT) MIME-Version: 1.0 References: <20200521093805.64398-1-chenzhou10@huawei.com> <20200521093805.64398-6-chenzhou10@huawei.com> In-Reply-To: <20200521093805.64398-6-chenzhou10@huawei.com> From: Rob Herring Date: Thu, 21 May 2020 07:29:17 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v8 5/5] dt-bindings: chosen: Document linux, low-memory-range for arm64 kdump To: Chen Zhou X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200521_062929_877272_37E5B351 X-CRM114-Status: GOOD ( 16.23 ) 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: Simon Horman , John.p.donnelly@oracle.com, Baoquan He , Will Deacon , devicetree@vger.kernel.org, Catalin Marinas , Linux Doc Mailing List , kexec@lists.infradead.org, "linux-kernel@vger.kernel.org" , Ingo Molnar , Arnd Bergmann , Hanjun Guo , Thomas Gleixner , pkushwaha@marvell.com, dyoung@redhat.com, "moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE" Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Thu, May 21, 2020 at 3:35 AM Chen Zhou wrote: > > Add documentation for DT property used by arm64 kdump: > linux,low-memory-range. > "linux,low-memory-range" is an another memory region used for crash > dump kernel devices. > > Signed-off-by: Chen Zhou > --- > Documentation/devicetree/bindings/chosen.txt | 25 ++++++++++++++++++++ > 1 file changed, 25 insertions(+) chosen is now a schema documented here[1]. > diff --git a/Documentation/devicetree/bindings/chosen.txt b/Documentation/devicetree/bindings/chosen.txt > index 45e79172a646..bfe6fb6976e6 100644 > --- a/Documentation/devicetree/bindings/chosen.txt > +++ b/Documentation/devicetree/bindings/chosen.txt > @@ -103,6 +103,31 @@ While this property does not represent a real hardware, the address > and the size are expressed in #address-cells and #size-cells, > respectively, of the root node. > > +linux,low-memory-range > +---------------------- > +This property (arm64 only) holds a base address and size, describing a > +limited region below 4G. Similar to "linux,usable-memory-range", it is > +an another memory range which may be considered available for use by the > +kernel. Why can't you just add a range to "linux,usable-memory-range"? It shouldn't be hard to figure out which part is below 4G. Rob [1] https://github.com/devicetree-org/dt-schema/blob/master/schemas/chosen.yaml _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: MIME-Version: 1.0 References: <20200521093805.64398-1-chenzhou10@huawei.com> <20200521093805.64398-6-chenzhou10@huawei.com> In-Reply-To: <20200521093805.64398-6-chenzhou10@huawei.com> From: Rob Herring Date: Thu, 21 May 2020 07:29:17 -0600 Message-ID: Subject: Re: [PATCH v8 5/5] dt-bindings: chosen: Document linux, low-memory-range for arm64 kdump List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "kexec" Errors-To: kexec-bounces+dwmw2=infradead.org@lists.infradead.org To: Chen Zhou Cc: Simon Horman , John.p.donnelly@oracle.com, Baoquan He , Will Deacon , devicetree@vger.kernel.org, Catalin Marinas , Linux Doc Mailing List , kexec@lists.infradead.org, "linux-kernel@vger.kernel.org" , Ingo Molnar , Arnd Bergmann , Hanjun Guo , Thomas Gleixner , pkushwaha@marvell.com, dyoung@redhat.com, "moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE" On Thu, May 21, 2020 at 3:35 AM Chen Zhou wrote: > > Add documentation for DT property used by arm64 kdump: > linux,low-memory-range. > "linux,low-memory-range" is an another memory region used for crash > dump kernel devices. > > Signed-off-by: Chen Zhou > --- > Documentation/devicetree/bindings/chosen.txt | 25 ++++++++++++++++++++ > 1 file changed, 25 insertions(+) chosen is now a schema documented here[1]. > diff --git a/Documentation/devicetree/bindings/chosen.txt b/Documentation/devicetree/bindings/chosen.txt > index 45e79172a646..bfe6fb6976e6 100644 > --- a/Documentation/devicetree/bindings/chosen.txt > +++ b/Documentation/devicetree/bindings/chosen.txt > @@ -103,6 +103,31 @@ While this property does not represent a real hardware, the address > and the size are expressed in #address-cells and #size-cells, > respectively, of the root node. > > +linux,low-memory-range > +---------------------- > +This property (arm64 only) holds a base address and size, describing a > +limited region below 4G. Similar to "linux,usable-memory-range", it is > +an another memory range which may be considered available for use by the > +kernel. Why can't you just add a range to "linux,usable-memory-range"? It shouldn't be hard to figure out which part is below 4G. Rob [1] https://github.com/devicetree-org/dt-schema/blob/master/schemas/chosen.yaml _______________________________________________ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec