Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp7093376rwn; Tue, 13 Sep 2022 13:50:37 -0700 (PDT) X-Google-Smtp-Source: AA6agR5GADuioAp4W5qND9eHlaRpAu8MdlhAFv7j1PthtGxwZ/OgAdE4beeECHYNrgBs/qWTIRr7 X-Received: by 2002:a17:902:8bca:b0:178:1520:b252 with SMTP id r10-20020a1709028bca00b001781520b252mr19760537plo.159.1663102237176; Tue, 13 Sep 2022 13:50:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663102237; cv=none; d=google.com; s=arc-20160816; b=EZW6k4LhxOh413rTYsEFWR44x1j8jtJumk1yefA2NdiezeKGWya7D7VRt8V3+DW7VJ CdaFUj1HgBCJg4KEWGz88cEfdg1758tGPZ1Pbohx+0tE97venlN9bikpMSXf5Tna/rx8 vDJs8O2LZUMnuX2N+98Ny5LQyCbZ1yO4nJJbCh6LvuCLQ6f8AZL7ZevhIEvWEWbS+Vn1 DtV3wTspXFBKX0JICYwC6Ei2xu7vxb630oZFClT6bPlinI9UiEVWBOnL9zUfZ6sCZygs 1ej9jz3HjUkXgC8sIIkTmBQiUmsjMvYkzAB7q3TiXvzKkMBG8aVVc1Vj0hiFo4SsPHez R3CQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=Iv6LAHuQtTXeYWyq0DEDKZbOD/1nb3ztqrePD2HtkIE=; b=b5jq9F7VtCkzUKqYERgYx6PtoFE7FDqYbLJS+Np8ZaDVTcjBmbVVMx23UmI5zH93EG ib2GwRD4+Ldq05uDPsisG1Bz7DxfkSj+7SpWylAd/1kTB/NHcsZ6x+WapqGy1JyYBxi3 kwnDO3vybxCXUUwZRM1dNruoAaj7iH1X6nD3BMAexhApTzvWGENdCLH/ykNwEOCHkrbR YzFrKuN3QWjhfsRB2WhjAE+JkbSng7n0I6xCllaBnN0c/iyOsbkBdKkhZDXD2TI07t8q /Ah9JiVp9ddLdXpHhJdB59k8SKBXADZW2dcDREeTlqNuSf7wJvIL61KiFiDHG17Dgq5m e7Mg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=YrAFBuuy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u10-20020a17090341ca00b00178431e112asi4003785ple.449.2022.09.13.13.50.25; Tue, 13 Sep 2022 13:50:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=YrAFBuuy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230081AbiIMUAk (ORCPT + 99 others); Tue, 13 Sep 2022 16:00:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47056 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229982AbiIMT7v (ORCPT ); Tue, 13 Sep 2022 15:59:51 -0400 Received: from mail-qk1-x731.google.com (mail-qk1-x731.google.com [IPv6:2607:f8b0:4864:20::731]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 36D9A7437A; Tue, 13 Sep 2022 12:59:05 -0700 (PDT) Received: by mail-qk1-x731.google.com with SMTP id u28so6371503qku.2; Tue, 13 Sep 2022 12:59:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date; bh=Iv6LAHuQtTXeYWyq0DEDKZbOD/1nb3ztqrePD2HtkIE=; b=YrAFBuuyJkwRgGb5yJxtoTNNKh/7y4BOHe54UWWbwGw/7zVyvD5YS3xh6wOizb8P5y WPvQ65cSNAdgAQQ5wDi83N9jAKpum/P9kqfXIHyP2JYI4r5D1linVF+pAeO7tMTGeNJd s10XvBpPDdlS4NQdOIfsc4Y86zu8zbnj/iRe9JIr+LJQn5lsr3jvpDq8YkHXv8CVoVQ9 l1Y7VxuX7aqVyF4T9IwYMUdPvuZE/+WFrgImMS1687EPItdw+VwpQNOwUoolbQ3Hf9aR Ox2qAlcyZj/+2EVV8HvGsz7p+nWwMiSQtDYItBS1H3jfaKi/gJ7kAUpfhR4jWWYZpfwT Vmow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=Iv6LAHuQtTXeYWyq0DEDKZbOD/1nb3ztqrePD2HtkIE=; b=A5hoLNND822FCudX2ihAYymlfGK7yfBKgzASY9nWsW4RyOUx9pJrGxe1oWXoPLDGrn n9QMHEvcjkJP9QFiI602C29eEQ7zbrft1bm9ozpIUrJd+ESBvZE9urWmoZUWHru0obVd LvPDaBgVzdREnhNZ435dbSVOGH+KKVIWC1/iJTZPIpGLOvCdxcQ5JGtMqDnPA8Q32R3q ZHSoQ1m2GIItCGRBXcLNDyteTt16DL3XFybem2w2iwluVF56wVatG/rk4eHZNaKUjSi7 V2LTSmSa/XngYdssC51zP2M4DWaqQnkrsjNq6V51CPL93IugfbBbvs5f73tBf9OyAiKU W4hw== X-Gm-Message-State: ACgBeo163S6u9sLJ7xkyJuyxNzyCpJNm308cw2CT06JiXqOycO4d6eYX 1q/wHT16vw10JdFRJS3e6KM= X-Received: by 2002:a37:916:0:b0:6ce:5f1c:d5d9 with SMTP id 22-20020a370916000000b006ce5f1cd5d9mr5679706qkj.737.1663099144354; Tue, 13 Sep 2022 12:59:04 -0700 (PDT) Received: from stbirv-lnx-3.igp.broadcom.net ([192.19.223.252]) by smtp.gmail.com with ESMTPSA id s11-20020a05620a29cb00b006b8e049cf08sm276305qkp.2.2022.09.13.12.59.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Sep 2022 12:59:03 -0700 (PDT) From: Doug Berger To: Andrew Morton Cc: Jonathan Corbet , Rob Herring , Krzysztof Kozlowski , Frank Rowand , Mike Kravetz , Muchun Song , Mike Rapoport , Christoph Hellwig , Marek Szyprowski , Robin Murphy , Borislav Petkov , "Paul E. McKenney" , Neeraj Upadhyay , Randy Dunlap , Damien Le Moal , Doug Berger , Florian Fainelli , David Hildenbrand , Zi Yan , Oscar Salvador , Hari Bathini , Kees Cook , - , KOSAKI Motohiro , Mel Gorman , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-mm@kvack.org, iommu@lists.linux.dev Subject: [PATCH 19/21] dt-bindings: reserved-memory: shared-dma-pool: support DMB Date: Tue, 13 Sep 2022 12:55:06 -0700 Message-Id: <20220913195508.3511038-20-opendmb@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220913195508.3511038-1-opendmb@gmail.com> References: <20220913195508.3511038-1-opendmb@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The shared-dmb-pool compatible string creates a Designated Movable Block to contain a shared pool of DMA buffers. Signed-off-by: Doug Berger --- .../bindings/reserved-memory/shared-dma-pool.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Documentation/devicetree/bindings/reserved-memory/shared-dma-pool.yaml b/Documentation/devicetree/bindings/reserved-memory/shared-dma-pool.yaml index 618105f079be..85824fe05ac9 100644 --- a/Documentation/devicetree/bindings/reserved-memory/shared-dma-pool.yaml +++ b/Documentation/devicetree/bindings/reserved-memory/shared-dma-pool.yaml @@ -22,6 +22,14 @@ properties: operating system to instantiate the necessary pool management subsystem if necessary. + - const: shared-dmb-pool + description: > + This indicates a shared-dma-pool region that is located within + a Designated Movable Block. The operating system is free to + use unallocated memory for movable allocations in this region. + Devices need to be tolerant of allocation latency to use this + pool. + - const: restricted-dma-pool description: > This indicates a region of memory meant to be used as a pool -- 2.25.1