Re: [PATCH 10/10] xen/swiotlb: Depending on after_bootmem is notcorrect.

From: Konrad Rzeszutek Wilk
Date: Mon Sep 17 2012 - 13:13:13 EST


On Mon, Sep 17, 2012 at 03:52:20PM +0100, Stefano Stabellini wrote:
> On Mon, 17 Sep 2012, Konrad Rzeszutek Wilk wrote:
> > > > start_dma_addr = xen_virt_to_bus(xen_io_tlb_start);
> > > > - if (!after_bootmem)
> > > > + rc = 0;
> > > ^
> > > why does this change belong to this patch?
> > >
> > >
> >
> > I took that out of the this patch, so it is now:
> >
> >
> > >From c5bc5502abc0f70b682c0f2a70d08e6319825163 Mon Sep 17 00:00:00 2001
> > From: Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>
> > Date: Wed, 5 Sep 2012 13:35:47 -0400
> > Subject: [PATCH 1/2] xen/swiotlb: Depending on after_bootmem is not correct.
> >
> > When PCI IOMMUs are initialized it is after after_bootmem but
> > before a lot of "other" subsystems are initialized. As such
> > the check for after_bootmem is incorrect and we should
> > just use a parameter to define whether we are early or late.
>
> Given that the after_bootmem checks are introduced by patch 6/10, I
> would just merge the two.
> In any case, it looks OK now.

Squashed it in: