From mboxrd@z Thu Jan 1 00:00:00 1970 From: gpramod-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org Subject: Re: [PATCH 0/2] Bypass BAM init if Remotely controlled Date: Tue, 22 Mar 2016 16:06:35 +0530 Message-ID: References: <1458640151-15150-1-git-send-email-gpramod@codeaurora.org> <56F116AC.2000704@mm-sol.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <56F116AC.2000704-NEYub+7Iv8PQT0dZR+AlfA@public.gmane.org> Sender: devicetree-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Stanimir Varbanov Cc: andy.gross-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, dmaengine-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-arm-msm-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, dan.j.williams-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org, vinod.koul-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org, okaya-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org, architt-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org, linux-arm-msm-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: linux-arm-msm@vger.kernel.org On 2016-03-22 15:25, Stanimir Varbanov wrote: > On 03/22/2016 11:49 AM, Pramod Gurav wrote: >> On some QOCM platforms(eg 8996) BAM control registers are managed >> remotely >> hence can not be accessed by application processor for writes. So skip >> the bam_init >> for any such platform if DT property is set. >> >> Tested on 8996 (BAM Global control is through remote) and DB410C >> boards. >> Tested with i2c DMA on these targets which uses BAM as DMA controller. > > I have similar patches at [1] already, could you check them first. > > > [1] https://lkml.org/lkml/2015/12/1/113 Thanks. I should have known them. Will test them and and provide Tested-by. :) Regards, Pramod -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758601AbcCVKgk (ORCPT ); Tue, 22 Mar 2016 06:36:40 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:34795 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752822AbcCVKgh (ORCPT ); Tue, 22 Mar 2016 06:36:37 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Tue, 22 Mar 2016 16:06:35 +0530 From: gpramod@codeaurora.org To: Stanimir Varbanov Cc: andy.gross@linaro.org, linux-kernel@vger.kernel.org, dmaengine@vger.kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, dan.j.williams@intel.com, vinod.koul@intel.com, okaya@codeaurora.org, architt@codeaurora.org, linux-arm-msm-owner@vger.kernel.org Subject: Re: [PATCH 0/2] Bypass BAM init if Remotely controlled In-Reply-To: <56F116AC.2000704@mm-sol.com> References: <1458640151-15150-1-git-send-email-gpramod@codeaurora.org> <56F116AC.2000704@mm-sol.com> Message-ID: User-Agent: Roundcube Webmail/1.1.4 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2016-03-22 15:25, Stanimir Varbanov wrote: > On 03/22/2016 11:49 AM, Pramod Gurav wrote: >> On some QOCM platforms(eg 8996) BAM control registers are managed >> remotely >> hence can not be accessed by application processor for writes. So skip >> the bam_init >> for any such platform if DT property is set. >> >> Tested on 8996 (BAM Global control is through remote) and DB410C >> boards. >> Tested with i2c DMA on these targets which uses BAM as DMA controller. > > I have similar patches at [1] already, could you check them first. > > > [1] https://lkml.org/lkml/2015/12/1/113 Thanks. I should have known them. Will test them and and provide Tested-by. :) Regards, Pramod