Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp3091733imm; Tue, 29 May 2018 00:25:53 -0700 (PDT) X-Google-Smtp-Source: AB8JxZrePz4EIvMgsBZwR0V/71eql1GgP6edco7f857qRppDbIXMp1ImwCVx1065KJiTPcFL8AeU X-Received: by 2002:a17:902:2826:: with SMTP id e35-v6mr16441788plb.348.1527578753851; Tue, 29 May 2018 00:25:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527578753; cv=none; d=google.com; s=arc-20160816; b=S8IhMt3Of3CcSOFZ7iltLxsCvv6tonQ1JvjCKawVQ/Jkbti0W1+J4IfQo5ZVhXJw09 3DnTmTwiFJHyysBP2fm9nkY3A/71MNNjlUR6E7TmV54BQGvX51zBAFdvwl5EnfD7moPz dmhVReiY5R4GuKLaxdkTntMc3rmig0/a4qK58v5+xa6jrvpFXMZt9JBelQ5wBqp2gKcr 2fEDXbO7SqZnXSGqWRe6ClgtZh71ulAzy4yl0tA/+j11Lfj40F6nLoBpoBr9wwjviwfb dNwP/eJhOnkRC7+JULt2uJVZeH6tR2uEFkjTh+WWhuIeuAHtx3MBIAPt2TjHcbSFQvSX 3+Kg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=10PzQx+TOoxfgpy152NFaKBqgwaa95b3NY9HJPv6WTI=; b=Qb1nvcGBJ7Bnm0ZrFmQs1i3rwpfY2ZUhlLgCywqBVlqgsAXC+9DpX+V2dABQcVl1W1 f6fzIU/FcosStIFfV7HnWJTy8cCBWl6A4jtX2shk9Xt5SyQGdFAqehRbtHTaeSJWwnyT DIE6TZhDNALDwMB0Kwzf6j7sOJRJv86U3ACMP9mQSBrC9Ds26lBLJlekzm7HSY1S+gjI Hf3ChwtPF+xOmvdaw1DYYwlK+PYywOpzgZlxKtUgUyyoA1/us6SSTQHTJmr+HKMgIdmb TGJcO08nkjgZgzmJBVlFjQhEevAcDGyd5UsPRGTn8gaQvgSXOzjH5G+xbkKvFYQgyWAW 4IGg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=NpEuV7Db; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w127-v6si32033240pfd.313.2018.05.29.00.25.39; Tue, 29 May 2018 00:25:53 -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; dkim=pass header.i=@kernel.org header.s=default header.b=NpEuV7Db; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754809AbeE2HYH (ORCPT + 99 others); Tue, 29 May 2018 03:24:07 -0400 Received: from mail.kernel.org ([198.145.29.99]:39066 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750831AbeE2HYF (ORCPT ); Tue, 29 May 2018 03:24:05 -0400 Received: from localhost (unknown [122.167.97.238]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 1272F20842; Tue, 29 May 2018 07:24:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1527578644; bh=EHShaNsiqRCS1BovFUmEa01UssWA73F3jVwQQAtazRs=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=NpEuV7DbdUdVTyfgEMWu43ezFvw0c+CJtiLZyIv79o5NRnvj6wVZDyj1HFRg4WKPU 69ozxTa5Vl5XNu8IpghyVh9Td0ul6hg9/P37o2TQmxPMZWiJXq+jVNBfZyDlORYGh8 wsiB8v3xuqPmrcKk2FOQUdZdQkHWSMSYgsVn84Xw= Date: Tue, 29 May 2018 12:54:01 +0530 From: Vinod To: Robert Jarzmik 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 Message-ID: <20180529072401.GG5666@vkoul-mobl> References: <20180526095418.22960-1-robert.jarzmik@free.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180526095418.22960-1-robert.jarzmik@free.fr> User-Agent: Mutt/1.9.2 (2017-12-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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? -- ~Vinod