Committed. Thank you all!
On 2018/12/01 7:17, David Brownlee wrote: > On Thu, 29 Nov 2018 at 06:15, Masanobu SAITOH <[email protected]> wrote: >> >> On 2018/11/28 22:12, SAITOH Masanobu wrote: >>>>> http://ftp.netbsd.org/pub/NetBSD/misc/abs/acpi-suspend-resume/pcidump.pre >>>>> http://ftp.netbsd.org/pub/NetBSD/misc/abs/acpi-suspend-resume/pcidump.post >>>> >>>> The diff says we should save/restore MSI table. >>>> We also should save/restore some other registers. >>>> >>>> Give me one or two days to resolve the problem. >>> >>> Please try the following diff: >>> >>> http://www.netbsd.org/~msaitoh/pci-resume-20181118-0.dif >>> >>> Even if I use this change with Thinkpad X220, it doesn't recover from >>> suspend... >> >> But, my X61 survived from suspend with this patch! > > I can confirm a T420s, T430 and T530 all suspend and resume single > user or multiuser without X11 including disk and network fine with > this patch (excellent stuff!). > > X11 on T420s > - Suspend and resumes fine while in X or on console with X running in > another virtual console > - The display seems to reverts to a blank console on resume into which > you can type > - Switching vtys fixes the display > - The ThinkPad touchpoint stops working on resume (but an external USB > mouse is fine) > > X11 on T530 > - Panics on resume if X is running (even if I then switch to the console) > drm/i915: Resetting chip after gpu hang > ufm_fault(0xffffffff8a77a0c0, 0x0, 1) -> w > fatal page fault in supervisor mode > ... > at netbsd:fini_hash_table+0x88: movq 1 > > but this is awesome progress! > > Thanks > > David > > DAvid > -- ----------------------------------------------- SAITOH Masanobu ([email protected] [email protected])
