Re: >3G => iommu => suspend problems -- was Re: SB600 AHCI: Hard Disk Corruption

From: Pavel Machek
Date: Fri Jun 06 2008 - 09:25:47 EST


Hi!

> > > > Can you try this one? It should prevent suspend in the broken cases,
> > > > but allow it in mem=4G config.
> > >
> > > Sure!
> > >
> > > root@babar:/usr/src/linux-2.6.25# patch -p1 < /home/pat/patch-2.6.26-rc3.gart-suspend
> > > patching file arch/x86/kernel/pci-gart_64.c
> > > Hunk #4 succeeded at 629 with fuzz 2 (offset 11 lines).
> > >
> > > .....make; cp bzImage /boot; reboot....
> >
> > Thanks!
> >
> > This goes on top of the second patch... it makes it work.
> >
> > Pavel
> >
> > For iommu suspend/resume code to work, functions it calls may not be
> > __init.
> >
> > Signed-off-by: Pavel Machek <pavel@xxxxxxx>
>
> I consolidated some of your patches sent in this thread and made the result
> apply to the current -git. It hasn't been tested yet, but does it look good?
>
> It's on top of the patch that adds the GART sysdev.

Looks ok to me.

Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
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/