Re: [PATCH kernel 09/15] powerpc/mmu: Add real mode support for IOMMU preregistered memory

2016-08-11 Thread David Gibson
On Wed, Aug 03, 2016 at 06:40:50PM +1000, Alexey Kardashevskiy wrote: > This makes mm_iommu_lookup() able to work in realmode by replacing > list_for_each_entry_rcu() (which can do debug stuff which can fail in > real mode) with list_for_each_entry_lockless(). > > This adds realmode version of mm_

[PATCH kernel 09/15] powerpc/mmu: Add real mode support for IOMMU preregistered memory

2016-08-03 Thread Alexey Kardashevskiy
This makes mm_iommu_lookup() able to work in realmode by replacing list_for_each_entry_rcu() (which can do debug stuff which can fail in real mode) with list_for_each_entry_lockless(). This adds realmode version of mm_iommu_ua_to_hpa() which adds explicit vmalloc'd-to-linear address conversion. Un