Re: [PATCH v3 1/2] iopoll: Introduce memory-mapped IO polling macros

2014-09-29 Thread Thierry Reding
On Sat, Sep 27, 2014 at 08:27:28PM -0700, Mitchel Humpherys wrote: > From: Matt Wagantall > > It is sometimes necessary to poll a memory-mapped register until its > value satisfies some condition. Introduce a family of convenience macros > that do this. Tight-loop and sleeping versions are provid

Re: [PATCH v2 00/22] Use MSI chip framework to configure MSI/MSI-X in all platforms

2014-09-29 Thread Lucas Stach
Am Sonntag, den 28.09.2014, 14:11 +0800 schrieb Yijing Wang: > On 2014/9/28 10:32, Yijing Wang wrote: > > On 2014/9/26 17:05, Thierry Reding wrote: > >> On Fri, Sep 26, 2014 at 10:54:32AM +0200, Thierry Reding wrote: > >> [...] > >>> At least for Tegra it's trivial to just hook it up in > >>> tegr

Re: [PATCH v2 00/22] Use MSI chip framework to configure MSI/MSI-X in all platforms

2014-09-29 Thread Liviu Dudau
On Mon, Sep 29, 2014 at 09:44:17AM +0800, Yijing Wang wrote: > On 2014/9/28 19:21, Liviu Dudau wrote: > > On Sun, Sep 28, 2014 at 10:16:12AM +0800, Yijing Wang wrote: > >> What I would like to see is a way of creating the pci_host_bridge > >> structure outside > >> the pci_create_root_

Re: [PATCH v2 00/22] Use MSI chip framework to configure MSI/MSI-X in all platforms

2014-09-29 Thread Yijing Wang
>>> Not necessarily. What I have in mind is something like this: >> >> This is a good idea, what I'm worried is this series is already large, so I >> think we need to post >> another series to do it. > > I wasn't asking to do it here, I was just offering a suggestion (and sharing > some experien

Re: [PATCH v2 00/22] Use MSI chip framework to configure MSI/MSI-X in all platforms

2014-09-29 Thread Yijing Wang
On 2014/9/29 16:37, Lucas Stach wrote: > Am Sonntag, den 28.09.2014, 14:11 +0800 schrieb Yijing Wang: >> On 2014/9/28 10:32, Yijing Wang wrote: >>> On 2014/9/26 17:05, Thierry Reding wrote: On Fri, Sep 26, 2014 at 10:54:32AM +0200, Thierry Reding wrote: [...] > At least for Tegra it's

Re: [PATCHv7 07/26] driver core: amba: add device binding path 'driver_override'

2014-09-29 Thread Antonios Motakis
On Fri, Sep 26, 2014 at 5:37 PM, Russell King - ARM Linux wrote: > On Tue, Sep 23, 2014 at 04:46:06PM +0200, Antonios Motakis wrote: >> As already demonstrated with PCI [1] and the platform bus [2], a >> driver_override property in sysfs can be used to bypass the id matching >> of a device to a AM

Re: [PATCHv7 10/26] vfio: platform: probe to devices on the platform bus

2014-09-29 Thread Antonios Motakis
On Fri, Sep 26, 2014 at 10:18 PM, Alex Williamson wrote: > On Fri, 2014-09-26 at 17:30 +0200, Antonios Motakis wrote: >> On Wed, Sep 24, 2014 at 1:01 AM, Alex Williamson >> wrote: >> > >> > On Tue, 2014-09-23 at 16:46 +0200, Antonios Motakis wrote: >> > > Driver to bind to Linux platform devices,

Re: [PATCHv7 06/26] vfio/iommu_type1: implement the VFIO_DMA_MAP_FLAG_NOEXEC flag

2014-09-29 Thread Antonios Motakis
On Fri, Sep 26, 2014 at 10:27 PM, Alex Williamson wrote: > On Fri, 2014-09-26 at 17:39 +0200, Antonios Motakis wrote: >> On Wed, Sep 24, 2014 at 12:40 AM, Alex Williamson >> wrote: >> > On Tue, 2014-09-23 at 16:46 +0200, Antonios Motakis wrote: >> >> Some IOMMU drivers, such as the ARM SMMU drive

Re: [PATCH v3 0/5] enhance DMA CMA on x86

2014-09-29 Thread Peter Hurley
On 09/27/2014 08:31 PM, Akinobu Mita wrote: > 2014-09-27 23:30 GMT+09:00 Peter Hurley : >> On 04/15/2014 09:08 AM, Akinobu Mita wrote: >>> This patch set enhances the DMA Contiguous Memory Allocator on x86. [...] >> What this patchset does is restrict all iommu configurations which can >> map all

Re: [PATCH 1/2] x86: don't unnecessarily call dma_alloc_from_contiguous()

2014-09-29 Thread Akinobu Mita
2014-09-29 5:45 GMT+09:00 Chuck Ebbert : > On Mon, 29 Sep 2014 00:52:03 +0900 > Akinobu Mita wrote: > >> If CONFIG_DMA_CMA is enabled, dma_generic_alloc_coherent() tries to >> allocate memory region by dma_alloc_from_contiguous() before trying to >> use alloc_pages(). >> >> This wastes CMA region

Re: [PATCH v3 0/5] enhance DMA CMA on x86

2014-09-29 Thread Akinobu Mita
2014-09-29 21:09 GMT+09:00 Peter Hurley : > On 09/27/2014 08:31 PM, Akinobu Mita wrote: >> 2014-09-27 23:30 GMT+09:00 Peter Hurley : >>> On 04/15/2014 09:08 AM, Akinobu Mita wrote: This patch set enhances the DMA Contiguous Memory Allocator on x86. > > [...] > >>> What this patchset does is re

Re: [PATCH v3 1/2] iopoll: Introduce memory-mapped IO polling macros

2014-09-29 Thread Mitchel Humpherys
On Mon, Sep 29 2014 at 01:31:37 AM, Thierry Reding wrote: > On Sat, Sep 27, 2014 at 08:27:28PM -0700, Mitchel Humpherys wrote: >> From: Matt Wagantall >> >> It is sometimes necessary to poll a memory-mapped register until its >> value satisfies some condition. Introduce a family of convenience

Re: [PATCH v5 0/2] Support for nesting IOMMUs in VFIO

2014-09-29 Thread Alex Williamson
On Thu, 2014-09-25 at 18:44 +0100, Will Deacon wrote: > Hello, > > This is version five of the patches I previously posted here: > > RFCv1: http://permalink.gmane.org/gmane.linux.kernel.iommu/5552 > RFCv2: http://permalink.gmane.org/gmane.linux.kernel.iommu/5700 > v3: http://permalink.gm

Re: [PATCH v3 1/2] iopoll: Introduce memory-mapped IO polling macros

2014-09-29 Thread Thierry Reding
On Mon, Sep 29, 2014 at 09:47:34AM -0700, Mitchel Humpherys wrote: > On Mon, Sep 29 2014 at 01:31:37 AM, Thierry Reding > wrote: > > On Sat, Sep 27, 2014 at 08:27:28PM -0700, Mitchel Humpherys wrote: > >> From: Matt Wagantall > >> > >> It is sometimes necessary to poll a memory-mapped register