[PATCH 0/5] Remove qcom SoC configs

2017-01-18 Thread Stephen Boyd
We want to remove the ARCH_MSM* configs in mach-qcom/Kconfig because they are proxy configs for selecting the right clocksource driver and adjusting the text offset and there is no difference between ARCH_MSM8X60 and ARCH_MSM8960 anymore. Furthermore, there aren't configs for all the SoCs

[PATCH 1/5] iommu: Generalize MSM_IOMMU config to ARCH_QCOM

2017-01-18 Thread Stephen Boyd
We want to get rid of the ARCH_MSM* configs in the future, but this still depends on them. Generalize to the ARCH_QCOM config, which isn't going away. Cc: Joerg Roedel Signed-off-by: Stephen Boyd --- drivers/iommu/Kconfig | 2 +- 1 file changed, 1

Re: [PATCH v8 2/9] perf/amd/iommu: Clean up perf_iommu_enable_event

2017-01-18 Thread Borislav Petkov
On Mon, Jan 16, 2017 at 01:23:29AM -0600, Suravee Suthikulpanit wrote: > From: Suravee Suthikulpanit > > * Clean up various bitwise operations in perf_iommu_enable_event () It is a function. > *

Re: [PATCH v8 00/18] KVM PCIe/MSI passthrough on ARM/ARM64 and IOVA reserved regions

2017-01-18 Thread Auger Eric
Hi Tomasz, On 13/01/2017 14:59, Tomasz Nowicki wrote: > Hello Eric, > > On 11.01.2017 10:41, Eric Auger wrote: >> Following LPC discussions, we now report reserved regions through >> the iommu-group sysfs reserved_regions attribute file. >> >> Reserved regions are populated through the IOMMU

Re: [PATCH v8 18/18] iommu/arm-smmu: Do not advertise IOMMU_CAP_INTR_REMAP anymore

2017-01-18 Thread Tomasz Nowicki
On 11.01.2017 10:41, Eric Auger wrote: IOMMU_CAP_INTR_REMAP has been advertised in arm-smmu(-v3) although on ARM this property is not attached to the IOMMU but rather is implemented in the MSI controller (GICv3 ITS). Now vfio_iommu_type1 checks MSI remapping capability at MSI controller level,

Re: [PATCH v8 14/18] irqdomain: irq_domain_check_msi_remap

2017-01-18 Thread Tomasz Nowicki
On 17.01.2017 15:06, Tomasz Nowicki wrote: On 17.01.2017 14:53, Auger Eric wrote: Hi Tomasz, On 17/01/2017 14:40, Tomasz Nowicki wrote: On 11.01.2017 10:41, Eric Auger wrote: This new function checks whether all MSI irq domains implement IRQ remapping. This is useful to understand whether

Re: [PATCH v8 13/18] genirq/msi: Set IRQ_DOMAIN_FLAG_MSI on MSI domain creation

2017-01-18 Thread Tomasz Nowicki
On 11.01.2017 10:41, Eric Auger wrote: Now we have a flag value indicating an IRQ domain implements MSI, let's set it on msi_create_irq_domain(). Signed-off-by: Eric Auger Reviewed-by: Marc Zyngier Reviewed-by: Tomasz Nowicki

Re: [PATCH v8 12/18] irqdomain: Add irq domain MSI and MSI_REMAP flags

2017-01-18 Thread Tomasz Nowicki
On 11.01.2017 10:41, Eric Auger wrote: We introduce two new enum values for the irq domain flag: - IRQ_DOMAIN_FLAG_MSI indicates the irq domain corresponds to an MSI domain - IRQ_DOMAIN_FLAG_MSI_REMAP indicates the irq domain has MSI remapping capabilities. Those values will be useful to