Re: [PATCH 3/9] ACPI: add struct acpi_amba_quirk for AMD pl330 specific device config

2015-12-11 Thread Vinod Koul
On Fri, Dec 11, 2015 at 06:57:51AM +, Wang, Annie wrote: > >> + /* > >> + * If the ACPI device already has a node attached. It must be > >> + * renamed. > >> + */ > >> + if (quirk->quirk & MULTI_ATTACHED_QUIRK) > >> + sprintf(amba_devname, "%s%s", dev_name(>dev), > >"DMA"); >

Re: [PATCH 4/9] dmaengine: pl330: add new items for pl330 private data

2015-12-11 Thread Vinod Koul
On Thu, Dec 10, 2015 at 06:38:09AM +, Wang, Annie wrote: > > > >Why not DT or ACPI for this? > > > We choose to use private data, as pl330 already has struct > dma_pl330_platdata. > Physically DMA share ACPI device with UART, however, BIOS believes DMA and > UART is one device. > We can't

Re: [PATCH 4/9] dmaengine: pl330: add new items for pl330 private data

2015-12-11 Thread Andy Shevchenko
On Fri, Dec 11, 2015 at 11:29 AM, Vinod Koul wrote: > On Thu, Dec 10, 2015 at 06:38:09AM +, Wang, Annie wrote: >> > >> >Why not DT or ACPI for this? >> > >> We choose to use private data, as pl330 already has struct >> dma_pl330_platdata. >> Physically DMA share ACPI

[PATCH] perf/x86/amd: Adding support for new IOMMU performance event

2015-12-11 Thread Suravee Suthikulpanit
From: Suravee Suthikulpanit This patch adds new IOMMU performance event based on the information in table 74 of the AMD I/O Virtualization Technology (IOMMU) Specification (Document Id: 4882, Rev 2.62, Feb 2015) Link:

[PATCH] iommu/amd: Assign default IOMMU when there is only one IOMMU

2015-12-11 Thread Suravee Suthikulpanit
Current driver makes assumption that device with devid zero is always included in the range of devices to be managed by IOMMU. However, certain FW does not include devid zero in IVRS table. This has caused IOMMU perf driver to fail to initialize. This patch implements a workaround for this case

RE: [PATCH] IOMMU: arm-smmu-v3: Use STE.S1STALLD only when supported

2015-12-11 Thread Prem (Premachandra) Mallappa
Hi Will, It is ready, in internal review, will be sending it in a day. /Prem > -Original Message- > From: Will Deacon [mailto:will.dea...@arm.com] > Sent: 12 December 2015 01:23 AM > To: Prem (Premachandra) Mallappa > Cc: iommu@lists.linux-foundation.org;