Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1629115
| Path | csiph.com!aioe.org!bofh.it!news.nic.it!robomod |
|---|---|
| From | Scott Wood <oss@buserror.net> |
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v2 03/11] dt-bindings: soc/fsl: Update reserved memory binding for QBMan |
| Date | Mon, 24 Apr 2017 03:20:01 +0200 |
| Message-ID | <tzAPv-8do-3@gated-at.bofh.it> (permalink) |
| References | <tzAPv-8do-5@gated-at.bofh.it> <tzAPv-8do-7@gated-at.bofh.it> |
| Organization | NXP |
| Content-Type | text/plain; charset="UTF-8" |
| X-Mailer | Evolution 3.22.6-1ubuntu1 |
| MIME-Version | 1.0 |
| Content-Transfer-Encoding | 8bit |
| X-Sa-Exim-Connect-IP | 50.171.225.118 |
| X-Sa-Exim-Rcpt-To | roy.pledge@nxp.com, linuxppc-dev@lists.ozlabs.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, robin.murphy@arm.com, madalin.bucur@nxp.com |
| X-Sa-Exim-Mail-From | oss@buserror.net |
| X-Spam-Report | * 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. * See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block * for more information. * [URIs: nxp.com] * -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP * -15 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] |
| X-Sa-Exim-Version | 4.2.1 (built Mon, 26 Dec 2011 16:57:07 +0000) |
| X-Sa-Exim-Scanned | Yes (on host.buserror.net) |
| Sender | robomod@news.nic.it |
| List-ID | <linux-kernel.vger.kernel.org> |
| X-Mailing-List | linux-kernel@vger.kernel.org |
| Approved | robomod@news.nic.it |
| Lines | 60 |
| X-Original-Cc | madalin.bucur@nxp.com |
| X-Original-Date | Sun, 23 Apr 2017 20:09:57 -0500 |
| X-Original-Message-ID | <1492996197.25397.12.camel@buserror.net> |
| X-Original-References | <1492634930-10765-1-git-send-email-roy.pledge@nxp.com> <1492634930-10765-4-git-send-email-roy.pledge@nxp.com> |
| X-Original-Sender | linux-kernel-owner@vger.kernel.org |
| Xref | csiph.com linux.kernel:1629115 |
Show key headers only | View raw
On Wed, 2017-04-19 at 16:48 -0400, Roy Pledge wrote:
> Updates the QMan and BMan device tree bindings for reserved memory
> nodes. This makes the reserved memory allocation compatiable with
> the shared-dma-pool usage.
>
> Signed-off-by: Roy Pledge <roy.pledge@nxp.com>
> ---
> Documentation/devicetree/bindings/soc/fsl/bman.txt | 11 ++++++-----
> Documentation/devicetree/bindings/soc/fsl/qman.txt | 18 +++++++++++-------
> 2 files changed, 17 insertions(+), 12 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/soc/fsl/bman.txt
> b/Documentation/devicetree/bindings/soc/fsl/bman.txt
> index 47ac834..3cd1e2c 100644
> --- a/Documentation/devicetree/bindings/soc/fsl/bman.txt
> +++ b/Documentation/devicetree/bindings/soc/fsl/bman.txt
> @@ -65,8 +65,8 @@ to the respective BMan instance
> BMan Private Memory Node
>
> BMan requires a contiguous range of physical memory used for the backing
> store
> -for BMan Free Buffer Proxy Records (FBPR). This memory is
> reserved/allocated as a
> -node under the /reserved-memory node
> +for BMan Free Buffer Proxy Records (FBPR). This memory is
> reserved/allocated as
> +a node under the /reserved-memory node.
>
> The BMan FBPR memory node must be named "bman-fbpr"
>
> @@ -75,7 +75,8 @@ PROPERTIES
> - compatible
> Usage: required
> Value type: <stringlist>
> - Definition: Must inclide "fsl,bman-fbpr"
> + Definition: PPC platforms: Must include "fsl,bman-fbpr"
> + ARM platforms: Must include "shared-dma-pool"
>
> The following constraints are relevant to the FBPR private memory:
> - The size must be 2^(size + 1), with size = 11..33. That is 4 KiB
> to
> @@ -100,10 +101,10 @@ The example below shows a BMan FBPR dynamic allocation
> memory node
> ranges;
>
> bman_fbpr: bman-fbpr {
> - compatible = "fsl,bman-fbpr";
> - alloc-ranges = <0 0 0x10 0>;
> + compatible = "shared-mem-pool";
> size = <0 0x1000000>;
> alignment = <0 0x1000000>;
> + no-map;
> };
> };
>
The requirement for using no-map with shared-mem-pool should be explicitly
stated, not just in the example.
-Scott
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
Re: [PATCH v2 03/11] dt-bindings: soc/fsl: Update reserved memory binding for QBMan Scott Wood <oss@buserror.net> - 2017-04-24 03:20 +0200
csiph-web