From: Scott Wood Subject: Re: [PATCH] iommu/fsl_pamu: use physical cpu index to find the matched cpu nodes Date: Mon, 18 Nov 2013 13:37:29 -0600 Message-ID: <1384803449.1403.313.camel@snotra.buserror.net> References: <1384457440.2144.15.camel@haiying-laptop> <1384467025.1403.210.camel@snotra.buserror.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: iommu-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org Errors-To: iommu-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org To: Sethi Varun-B16395 Cc: "linuxppc-dev-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org" , "iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org" , Wang Haiying-R54964 List-Id: iommu@lists.linux-foundation.org On Thu, 2013-11-14 at 21:16 -0600, Sethi Varun-B16395 wrote: > Haiying/Scott, > Forgot to mention this, the PAMU driver has to handle stash destination > settings both for power and dsp cores (on B4 platform). For the dsp > cores we would expect the physical core id (not controlled by Linux). > To make the interface consistent, I would expect the caller (for > iommu_set_attr) to pass the physical core id. That sounds like you need two different interfaces. -Scott