Re: [PATCH v3 12/24] powerpc/iommu/powernv: Release replaced TCE

2015-02-04 Thread Alexey Kardashevskiy
On 02/04/2015 05:08 PM, Paul Mackerras wrote: > On Thu, Jan 29, 2015 at 08:21:53PM +1100, Alexey Kardashevskiy wrote: >> At the moment writing new TCE value to the IOMMU table fails with EBUSY >> if there is a valid entry already. However PAPR specification allows >> the guest to write new TCE

Re: [PATCH v3 12/24] powerpc/iommu/powernv: Release replaced TCE

2015-02-04 Thread Alexey Kardashevskiy
On 02/04/2015 05:08 PM, Paul Mackerras wrote: On Thu, Jan 29, 2015 at 08:21:53PM +1100, Alexey Kardashevskiy wrote: At the moment writing new TCE value to the IOMMU table fails with EBUSY if there is a valid entry already. However PAPR specification allows the guest to write new TCE value

Re: [PATCH v3 12/24] powerpc/iommu/powernv: Release replaced TCE

2015-02-03 Thread Paul Mackerras
On Thu, Jan 29, 2015 at 08:21:53PM +1100, Alexey Kardashevskiy wrote: > At the moment writing new TCE value to the IOMMU table fails with EBUSY > if there is a valid entry already. However PAPR specification allows > the guest to write new TCE value without clearing it first. > > Another problem

Re: [PATCH v3 12/24] powerpc/iommu/powernv: Release replaced TCE

2015-02-03 Thread Paul Mackerras
On Thu, Jan 29, 2015 at 08:21:53PM +1100, Alexey Kardashevskiy wrote: At the moment writing new TCE value to the IOMMU table fails with EBUSY if there is a valid entry already. However PAPR specification allows the guest to write new TCE value without clearing it first. Another problem this

[PATCH v3 12/24] powerpc/iommu/powernv: Release replaced TCE

2015-01-29 Thread Alexey Kardashevskiy
At the moment writing new TCE value to the IOMMU table fails with EBUSY if there is a valid entry already. However PAPR specification allows the guest to write new TCE value without clearing it first. Another problem this patch is addressing is the use of pool locks for external IOMMU users such

[PATCH v3 12/24] powerpc/iommu/powernv: Release replaced TCE

2015-01-29 Thread Alexey Kardashevskiy
At the moment writing new TCE value to the IOMMU table fails with EBUSY if there is a valid entry already. However PAPR specification allows the guest to write new TCE value without clearing it first. Another problem this patch is addressing is the use of pool locks for external IOMMU users such