RE: [PATCH] iommu/fsl_pamu: use physical cpu index to find the matched cpu nodes

2013-11-18 Thread Varun Sethi
> -Original Message- > From: Wood Scott-B07421 > Sent: Tuesday, November 19, 2013 8:34 AM > To: Sethi Varun-B16395 > Cc: Wang Haiying-R54964; j...@8bytes.org; iommu@lists.linux- > foundation.org; linuxppc-...@lists.ozlabs.org > Subject: Re: [PATCH] iommu/fsl_pamu: u

Re: [PATCH] iommu/fsl_pamu: use physical cpu index to find the matched cpu nodes

2013-11-18 Thread Scott Wood
On Mon, 2013-11-18 at 20:42 -0600, Varun Sethi wrote: > For the DSP case again we have to set up the stash attribute. Are you saying > that this should be a separate attribute? Not necessarily a separate attribute, but there should be some way to distinguish whether you're providing a Linux cpu n

RE: [PATCH] iommu/fsl_pamu: use physical cpu index to find the matched cpu nodes

2013-11-18 Thread Varun Sethi
j...@8bytes.org; iommu@lists.linux- > foundation.org; linuxppc-...@lists.ozlabs.org > Subject: Re: [PATCH] iommu/fsl_pamu: use physical cpu index to find the > matched cpu nodes > > On Thu, 2013-11-14 at 21:16 -0600, Sethi Varun-B16395 wrote: > > Haiying/Scott, > > Forg

Re: [PATCH] iommu/fsl_pamu: use physical cpu index to find the matched cpu nodes

2013-11-18 Thread Scott Wood
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

[PATCH] iommu/fsl_pamu: use physical cpu index to find the matched cpu nodes

2013-11-17 Thread Haiying Wang
In the case we miss to bring up some cpus, we need to make sure we can find the correct cpu nodes in the device tree based on the given logical cpu index from the caller. Signed-off-by: Haiying Wang --- drivers/iommu/fsl_pamu.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff -

RE: [PATCH] iommu/fsl_pamu: use physical cpu index to find the matched cpu nodes

2013-11-14 Thread Varun Sethi
Sethi Varun-B16395 > Subject: Re: [PATCH] iommu/fsl_pamu: use physical cpu index to find the > matched cpu nodes > > On Thu, 2013-11-14 at 14:30 -0500, Haiying Wang wrote: > > In the case we miss to bring up some cpus, we need to make sure we can > > find the correct cpu n

Re: [PATCH] iommu/fsl_pamu: use physical cpu index to find the matched cpu nodes

2013-11-14 Thread Scott Wood
On Thu, 2013-11-14 at 14:30 -0500, Haiying Wang wrote: > In the case we miss to bring up some cpus, we need to make sure we can > find the correct cpu nodes in the device tree based on the given logical > cpu index from the caller. > > Signed-off-by: Haiying Wang > --- > drivers/iommu/fsl_pamu.c