>>> On 02.06.16 at 08:00, wrote:
> On June 01, 2016 6:05 PM, Jan Beulich wrote:
>> >>> On 31.05.16 at 15:57, wrote:
>> > @@ -680,11 +682,27 @@ p2m_pt_set_entry(struct p2m_domain *p2m,
>> unsigned long gfn, mfn_t mfn,
>> > }
>> > else if ( iommu_pte_flags )
>> > for
On June 01, 2016 6:05 PM, Jan Beulich wrote:
> >>> On 31.05.16 at 15:57, wrote:
> > --- a/xen/arch/x86/mm/p2m-pt.c
> > +++ b/xen/arch/x86/mm/p2m-pt.c
> > @@ -673,6 +673,8 @@ p2m_pt_set_entry(struct p2m_domain *p2m,
> unsigned long gfn, mfn_t mfn,
> > if ( iommu_enabled && need_iommu(p2m->dom
>>> On 31.05.16 at 15:57, wrote:
> --- a/xen/arch/x86/mm/p2m-pt.c
> +++ b/xen/arch/x86/mm/p2m-pt.c
> @@ -673,6 +673,8 @@ p2m_pt_set_entry(struct p2m_domain *p2m, unsigned long
> gfn, mfn_t mfn,
> if ( iommu_enabled && need_iommu(p2m->domain) &&
> (iommu_old_flags != iommu_pte_flags
From: Quan Xu
When IOMMU mapping is failed, we issue a best effort rollback, stopping
IOMMU mapping, unmapping the previous IOMMU maps and then reporting the
error up to the call trees. When rollback is not feasible (in early
initialization phase or trade-off of complexity) for the hardware domai