Received: by 10.192.165.148 with SMTP id m20csp4878707imm; Tue, 1 May 2018 05:35:56 -0700 (PDT) X-Google-Smtp-Source: AB8JxZoPFWoTKIPbBH5AWDHgv6/1bHCwRKNU477tBOZ3+YeC5bKPzoMvzEKsmA0iSZbHIEphXLnj X-Received: by 10.98.174.19 with SMTP id q19mr15511546pff.155.1525178156055; Tue, 01 May 2018 05:35:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525178156; cv=none; d=google.com; s=arc-20160816; b=J5aDeek9GphYRdQclT2PXX9KCCHbk87hnbgnnMI3WpzeWFAyTjtaaY3HhMF50Fpgoy vNIVtLqR1YHAYMbsbgGpm8vgz/uEM5TIDHfIgulFxszVg4KW9KmtLi1+0a7b3IISVm9R GFgFppWHrgx1Dq51WFrzvGn4FZrhDpp73XZnmpvBIDJ7Wp3z07kH9AiZQjWAULX00I+C KgIr0tpbU/aixGgvMlSpMOL6gVBA0i0r0gNzAW1/DyEIwSS+Sf9+dRIqEDc5aLAU7cu9 bUen+Ob3TeBWBAvIQ/E/o+wv9T6Xqhb91Yhmcv7WReol3gOCcnEqspQSKSuOYljpqez9 An2g== 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:arc-authentication-results; bh=8Itd33omx9B00SYSPYsGPBWJ/btkaVWnVdFJTkg82yI=; b=ENKDPLGzvtdMAwAWdB85EIqW9Qtn4QHZL5jyeMi7T7sbeHy88283i28f32DcWmfXiE cE3RgcOHlvbPr/UQiAAmcI6AP/NzUom936d326gAzwRbqAdOETgdERl98xf217UUtIja KR91AySd8WvBQfnohiJkRK8/gUFBZPTBbLbT7GW/7jiv00ZuesYTqlgY2g1Hzgxai1NK gLweLxB5Kp0lQleiWUVrozfNEoAR9rAERmstFN7O14ZdGRKJUZt/jJBaSdWJzGx9/Urd gmTLWxlN4Oy2tPU8Oppyf/Xp1wX4ZEQXcCj4JAW7FekSe/qb1k6upOlhQCJLnwc4udqi 2dDQ== 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 c8si9581466pfj.138.2018.05.01.05.35.41; Tue, 01 May 2018 05:35:56 -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 S1755795AbeEAMey (ORCPT + 99 others); Tue, 1 May 2018 08:34:54 -0400 Received: from mail-ot0-f196.google.com ([74.125.82.196]:45751 "EHLO mail-ot0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754952AbeEAMev (ORCPT ); Tue, 1 May 2018 08:34:51 -0400 Received: by mail-ot0-f196.google.com with SMTP id o8-v6so4019537ota.12; Tue, 01 May 2018 05:34:50 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=8Itd33omx9B00SYSPYsGPBWJ/btkaVWnVdFJTkg82yI=; b=KcK1hWBWFyHWdNbxQVxSNfBXZmB7COq0eeci8NKvz9bz3x6UwRXeDgw2ON8sTkxasn BwQ6KypEji3SapwBZqQvwkzAqdeZbFjJme7QbfTsC9UEY3X9OMcjBE76lBxntAdnGC95 D3rRlO/pUEe68XYxNja1ag//XdjTno2blfnhW8ulqR3fzwOaSZmNaUQisQVWLLkDTa15 sIGLm6JCWKwbgSjcIbm8pHAsbooyDXUkuCCCeum4YJjuHCLIGWXVvG5llyscxz7fjQvi yX7yizBaA8vvQ4+XJcLP62lj9otVis27RHYgM2lmO7MLIvu117/hncqdEfVqhF/lsJvO xVkg== X-Gm-Message-State: ALQs6tBrp50qR35IuXMa5GDyxDyJWL+sz0lRW5lEGAG8UM1VY/PFN8Up XAcMn4RsV+YSkQV7KYp6Ig== X-Received: by 2002:a9d:230b:: with SMTP id j11-v6mr2908237otb.234.1525178090061; Tue, 01 May 2018 05:34:50 -0700 (PDT) Received: from localhost (216-188-254-6.dyn.grandenetworks.net. [216.188.254.6]) by smtp.gmail.com with ESMTPSA id g143-v6sm4624734oic.53.2018.05.01.05.34.49 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 01 May 2018 05:34:49 -0700 (PDT) Date: Tue, 1 May 2018 07:34:48 -0500 From: Rob Herring To: Nipun Gupta Cc: robin.murphy@arm.com, hch@lst.de, linux@armlinux.org.uk, gregkh@linuxfoundation.org, m.szyprowski@samsung.com, bhelgaas@google.com, zajec5@gmail.com, andy.gross@linaro.org, david.brown@linaro.org, dan.j.williams@intel.com, vinod.koul@intel.com, thierry.reding@gmail.com, frowand.list@gmail.com, jarkko.sakkinen@linux.intel.com, rafael.j.wysocki@intel.com, dmitry.torokhov@gmail.com, johan@kernel.org, msuchanek@suse.de, linux-kernel@vger.kernel.org, iommu@lists.linux-foundation.org, linux-wireless@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org, dmaengine@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-tegra@vger.kernel.org, devicetree@vger.kernel.org, linux-pci@vger.kernel.org, bharat.bhushan@nxp.com, leoyang.li@nxp.com Subject: Re: [PATCH v4 2/2] drivers: remove force dma flag from buses Message-ID: <20180501123448.GA23861@rob-hp-laptop> References: <1520868292-2479-1-git-send-email-nipun.gupta@nxp.com> <1524883919-29484-1-git-send-email-nipun.gupta@nxp.com> <1524883919-29484-2-git-send-email-nipun.gupta@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1524883919-29484-2-git-send-email-nipun.gupta@nxp.com> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Apr 28, 2018 at 08:21:59AM +0530, Nipun Gupta wrote: > With each bus implementing its own DMA configuration callback, > there is no need for bus to explicitly have force_dma in its > global structure. This patch modifies of_dma_configure API to > accept an input parameter which specifies if implicit DMA > configuration is required even when it is not described by the > firmware. > > Signed-off-by: Nipun Gupta > Acked-by: Bjorn Helgaas # PCI parts > --- > Changes in v2: > - This is a new change suggested by Robin and Christoph > and is added to the series. > > Changes in v3: > - Rebase and changes corresponding to the changes in patch 1/2 > > Changes in v4: > - Rebased on top of 4.17-rc2 > > drivers/amba/bus.c | 1 - > drivers/base/platform.c | 3 +-- > drivers/bcma/main.c | 2 +- > drivers/dma/qcom/hidma_mgmt.c | 2 +- > drivers/gpu/host1x/bus.c | 5 ++--- > drivers/of/device.c | 6 ++++-- > drivers/of/of_reserved_mem.c | 2 +- > drivers/pci/pci-driver.c | 3 +-- > include/linux/device.h | 4 ---- > include/linux/of_device.h | 8 ++++++-- > 10 files changed, 17 insertions(+), 19 deletions(-) Reviewed-by: Rob Herring