From patchwork Sat Sep 9 12:28:37 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Ford X-Patchwork-Id: 9945335 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 8B72B6035D for ; Sat, 9 Sep 2017 12:29:20 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 76A4128A2C for ; Sat, 9 Sep 2017 12:29:20 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6A79C28A38; Sat, 9 Sep 2017 12:29:20 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, DKIM_VALID, FREEMAIL_FROM, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id E10F528A2C for ; Sat, 9 Sep 2017 12:29:16 +0000 (UTC) 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:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=GQMii3XLZ+TvQFkXv7vMss3wJ69lTEx/gj+P64KQJy8=; b=Xct JoaCA+BErgdsUnfKhxVqJ4ekH/vmLkGVz7mM+EtOb6rbrx7kBytuW1q2VhcjuSh8JDE9OPNpSILXC ImIL49FvkqdH+WgkweP/Rr1imLQKkqYpIUJbT73j23bLiuExfs5cqIWtMz1xyDfzIMXFbsW5ytgYw pdPrrDZ3H7VvkaW/jAQ1EApUpgoBCQMkC1eP2U6kEb1gqoEpf2s+7249zAJP4Pewo8rPQnhqZkATi L0z73x2Yn8Nc8MHvPrjKe0ZWoRMU3tJWTKth38hqTYp6k6Gja765zCSeCYiqeOb5Fs3XkEYQfTOG/ /zu4eprl1yww/N+UKjcesYDXIj/E9sw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dqesm-0000DE-5G; Sat, 09 Sep 2017 12:29:08 +0000 Received: from mail-io0-x241.google.com ([2607:f8b0:4001:c06::241]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dqesj-00008W-8X for linux-arm-kernel@lists.infradead.org; Sat, 09 Sep 2017 12:29:06 +0000 Received: by mail-io0-x241.google.com with SMTP id b142so2208880ioe.1 for ; Sat, 09 Sep 2017 05:28:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=RqOQBWCTBydUp5Gr+yVC9c2epML8M0CpnNAemSZ3e7Y=; b=GdUL+o8Pq1fxzcdgXMKEUw/6jtnZa3oNd1ySy/Pd35NQsmhoCdHlfMDFn8Mma6yZZ6 AT1VsjINsJI/WBrWHbSKSZPG7e5nLjfiZQMeXyqchQyItgNYqApLmNufNo+dooYEol0J 7H4yVzMU1guPxMa5EC5jUO7Zs+gkHd/UhiatisVoxg4/30CiXMyOxLUwPlmS2OPVPocq kJ3Ldecq49OMbqjBFc2E/0CQ5Xlb59VaPZqpZuEasD0jRrV5Gd2hVjMMohHkFoqqkbHN etQD4EF/OnpW6NIOQPTq7UA817dhBjgo6CeT2hgtJf+MArHizhZ1YGK77YbsUaMNH+BN tcIQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=RqOQBWCTBydUp5Gr+yVC9c2epML8M0CpnNAemSZ3e7Y=; b=PuKbYsOYbQP0jlAmWRskyJdV1LRa0OWUyN2ebbrLjq5cc/kP/JczfY7hzvJMkcKW/N QgTnWRDklVd0U2CBsAdmKL0ZlAg+5+w9de1kcCpchH5oxwBFfupE+9ZKl0SBi2yM3+lp ko4HreILHrwjExwevcXPJUymC1FEO3gHNmgZPgY6NjWAVgp+Y3+GMQ++GkTw9XIEsDlf s6bOqzLhog99jrzitZrc/f1k6n6s5m0JZYalWZxwu8ZafquePdXCWc+N2YUehu3G0IPD gEKDd5LUUI5T0lGwVnK+4kOcwDVd8lTdS3/pDv/qU4KpsHyBcx6IudMF+Sj+nnfShgVw gPLg== X-Gm-Message-State: AHPjjUjBYTn7PlD/rYq9jtuU1yyPIjh18m6RMSE7qQl7eq4co9srDD7M Ljaq7kxfLHntPgN+ X-Google-Smtp-Source: AOwi7QBpjfV7sYKu9o62KY7s7LKQwdAuqX8u6QBseaWUssEzgWmn8CtuGTlufWGfdd3MSZ56r2IcIw== X-Received: by 10.107.47.168 with SMTP id v40mr8167158iov.56.1504960123170; Sat, 09 Sep 2017 05:28:43 -0700 (PDT) Received: from ubuntu16.lan (c-73-65-120-235.hsd1.mn.comcast.net. [73.65.120.235]) by smtp.gmail.com with ESMTPSA id k189sm2111795itb.41.2017.09.09.05.28.42 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 09 Sep 2017 05:28:42 -0700 (PDT) From: Adam Ford To: linux-arm-kernel@lists.infradead.org Subject: [PATCH RFC] davinci: da850: define edma-memcpy-channels Date: Sat, 9 Sep 2017 07:28:37 -0500 Message-Id: <1504960117-24264-1-git-send-email-aford173@gmail.com> X-Mailer: git-send-email 2.7.4 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170909_052905_374401_85F34954 X-CRM114-Status: UNSURE ( 9.32 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Adam Ford , nsekhar@ti.com, khilman@kernel.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP When booting with a device tree, message appears: memcpy is disabled When reading through the bindings for eDMA3, it shows that ti,edma-memcpy-channels is an optional property, but the example binding uses it. RFC: I'll be the first to admit that I don't understand what this is doing, but it seems like a DMA enabled memcpy would improve performance. Is this appropriate for da850? Since there are two eDMA3-tpcc controllers, is there a set of channels we can use for each? Signed-off-by: Adam Ford diff --git a/arch/arm/boot/dts/da850.dtsi b/arch/arm/boot/dts/da850.dtsi index af68ef7..eacadb8 100644 --- a/arch/arm/boot/dts/da850.dtsi +++ b/arch/arm/boot/dts/da850.dtsi @@ -263,7 +263,7 @@ interrupts = <11 12>; interrupt-names = "edma3_ccint", "edma3_ccerrint"; #dma-cells = <2>; - + ti,edma-memcpy-channels = <20 21>; ti,tptcs = <&edma0_tptc0 7>, <&edma0_tptc1 0>; }; edma0_tptc0: tptc@8000 {