Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758586Ab2EVMwS (ORCPT ); Tue, 22 May 2012 08:52:18 -0400 Received: from eu1sys200aog116.obsmtp.com ([207.126.144.141]:51872 "EHLO eu1sys200aog116.obsmtp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751168Ab2EVMwQ (ORCPT ); Tue, 22 May 2012 08:52:16 -0400 Message-ID: <4FBB8BCB.3010802@stericsson.com> Date: Tue, 22 May 2012 14:51:23 +0200 From: frq09524 User-Agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:11.0) Gecko/20120312 Thunderbird/11.0 MIME-Version: 1.0 To: Ohad Ben-Cohen Cc: Michal Simek , "linux-omap@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , Brian Swetland , Iliyan Malchev , Arnd Bergmann , Grant Likely , Rusty Russell , Mark Grosen , John Williams , Loic PALLARDY , Omar Ramirez Luna , Guzman Lugo Fernando , Anna Suman , Clark Rob , Stephen Boyd , Saravana Kannan , David Brown , Kieran Bingham , Tony Lindgren Subject: Re: [PATCH 1/7] remoteproc: resource table overhaul References: <1330589497-4139-1-git-send-email-ohad@wizery.com> <1330589497-4139-2-git-send-email-ohad@wizery.com> <4F6354E4.8030704@monstr.eu> <4FBB5908.4010505@stericsson.com> In-Reply-To: Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1171 Lines: 41 hi Ohad In my previous patch, to find the correct subdevice that match with physical memory, I used pa member of rproc_mem_entry. but today in these 2 resources: fw_rsc_trace, fw_rsc_vdev_vring, pa menber has been removed. for fw_rsc_trace it's not a problem, because use rproc_da_to_va and carveout feature. but for fw_rsc_vdev_vring, I think use da member, like this. dev = rproc_dma_find_dev(rproc, (phys_addr_t) vring->da); va = dma_alloc_coherent(dev, size, &dma, GFP_KERNEL); if (!va) { dev_err(dev, "dma_alloc_coherent failed\n"); return -EINVAL; } are you OK ? /BR Ludovic Barr? On 05/22/2012 11:22 AM, Ohad Ben-Cohen wrote: > Hi Ludovic, > > On Tue, May 22, 2012 at 12:14 PM, frq09524 wrote: >> Ohad, for alignment I can take the latest branch of kernel.org (remoteproc) >> branch for-next? > > Sure, it's pretty much updated sans a few simple changes. > > Thanks, > Ohad. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/