Re: xen: IPI interrupts not resumed early enough on suspend/resume

From: Thomas Gleixner
Date: Mon Oct 03 2011 - 16:35:58 EST


On Mon, 3 Oct 2011, Ian Campbell wrote:
> On Mon, 2011-10-03 at 19:42 +0100, Thomas Gleixner wrote:
> > On Mon, 3 Oct 2011, Ian Campbell wrote:
> > > I can see a few options for how I might go about solving this in a
> > > non-hacky way, which approach do you think would be preferable:
> >
> > The question is whether you need to disable the IPI interrupt at
> > all. If not, we have a flag for that.
>
> We already that flag for these (I think that was why it was added even).
> The issue is that in the resuming domain on the other side event
> channels all start off masked and something needs to unmask them.

Bah.

> > > * Add "IRQF_RESUME_EARLY", driven from syscore_resume, and use it
> > > for these interrupts.
> >
> > That's the preferable solution, as we could use that for PPC as well,
> > unless we can move stuff around, so we disable stuff later.
>
> OK

I guess we should go down that road then.

Thanks,

tglx
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/