Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp3719928imm; Tue, 29 May 2018 12:17:04 -0700 (PDT) X-Google-Smtp-Source: AB8JxZpJjNFws958MD8E0wkkuR2jLXOabsOuEmvYRKFP0ZMD1lAz1r9/WQNJgMKjaMexN7J5l4lM X-Received: by 2002:a65:6285:: with SMTP id f5-v6mr15102640pgv.252.1527621424377; Tue, 29 May 2018 12:17:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527621424; cv=none; d=google.com; s=arc-20160816; b=nw47DgtDLX494+32xoeS9M0z98o2tT7+VuLkM0No/goL82jVhHlEKcCngsmqUwBlyo mZaoficD9ftjet2AtrF+YB/bFc0vC/CRcNZL5gGfFpJ/0wqg4po4IXAqqEySQPB0B71b CmlNAmeiN+km2E3FE2Q9wf/+SG80RiD5FyYbdZQaKsd75/K8Ct1runBSYQ4U5MhG1xxy rh3WtwI441dN5a2+AVo/MSkrMcBL+o+Jg4y+YZNUrnIBIzA0HaLt9Ksl9vWqY9XlyT0J YJWWssd1AvgCywIYmcsi4IjLVX7elnWhJNKVGjXpZatIBywLDM+hHaQNd4aDUY52Turp 4/OQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from :arc-authentication-results; bh=7igucygE9TmjCvy2yo7jWszZ4SjCPrqnOxc/WFRJSrs=; b=obkEOf6D8OzSeHu92XTK2cYdNj8q+SLkZRuV3Xd3h3A2pojup/vAuOFKQOFCWeMT+M CyAUAvhYIMh+NoQdtt077jJZ6vUXeSiL9pW4P/l4SP0Ru7Si5p9zPoRY9MftbLTahby8 wX4WftNRPY6CqH1LYcWWl8crTeO0EznGH0BT/oOHbqOIMZU2wNDryA5kJ5V6FLH4Bzqq nMxBlAKEkUqmYQkGdcXX2JnSUQnSIF9ztWGHcVjK3aWsAeCFy2bp+2xI+GnxWieXGHi/ RwKdPqL7mliRX8n9A5LKZt1r/ljUWpF7Fo2UdKC8T05znKmoWys/ibGtKEk0NtX9kAYE mq5w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 5-v6si33028737pfi.285.2018.05.29.12.16.50; Tue, 29 May 2018 12:17:04 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S966397AbeE2TO7 (ORCPT + 99 others); Tue, 29 May 2018 15:14:59 -0400 Received: from smtp06.smtpout.orange.fr ([80.12.242.128]:33284 "EHLO smtp.smtpout.orange.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965614AbeE2TO4 (ORCPT ); Tue, 29 May 2018 15:14:56 -0400 Received: from belgarion ([90.55.202.35]) by mwinf5d11 with ME id sKE01x0030mKt3N03KE7iQ; Tue, 29 May 2018 21:14:53 +0200 X-ME-Helo: belgarion X-ME-Auth: amFyem1pay5yb2JlcnRAb3JhbmdlLmZy X-ME-Date: Tue, 29 May 2018 21:14:53 +0200 X-ME-IP: 90.55.202.35 From: Robert Jarzmik To: Vinod Cc: Daniel Mack , Haojian Zhuang , Vinod Koul , linux-arm-kernel@lists.infradead.org, dmaengine@vger.kernel.org, linux-kernel@vger.kernel.org, Arnd Bergmann Subject: Re: [RESEND PATCH] dmaengine: pxa: add a default requestor policy References: <20180526095418.22960-1-robert.jarzmik@free.fr> <20180529072401.GG5666@vkoul-mobl> X-URL: http://belgarath.falguerolles.org/ Date: Tue, 29 May 2018 21:13:54 +0200 In-Reply-To: <20180529072401.GG5666@vkoul-mobl> (Vinod's message of "Tue, 29 May 2018 12:54:01 +0530") Message-ID: <874liqtgul.fsf@belgarion.home> User-Agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Vinod writes: > On 26-05-18, 11:54, Robert Jarzmik wrote: >> @@ -762,6 +762,8 @@ static void pxad_free_chan_resources(struct dma_chan *dchan) >> dma_pool_destroy(chan->desc_pool); >> chan->desc_pool = NULL; >> >> + chan->drcmr = (u32)-1; > > why not use U32_MAX for this? But of course, anything else you see ? Cheers. -- Robert