[PATCH] UP APIC suspend/resume support -- Please test

John Baldwin jhb at freebsd.org
Mon Oct 30 18:03:48 UTC 2006


On Saturday 28 October 2006 17:19, Nate Lawson wrote:
> Norikatsu Shigemura wrote:
> > On Wed, 11 Oct 200 23:31:13 +0900
> > Norikatsu Shigemura <nork at freebsd.org> wrote:
> >> On Tue, 10 Oct 2006 10:20:31 -0400
> >> John Baldwin <jhb at freebsd.org> wrote:
> >>> No one has tested this yet, so I gues folks missed it.  Can someone with
> >>> otherwise working suspend/resume on a system with APIC please test
> >>> http://www.freebsd.org/~jhb/patches/apic_resume.patch and let me know if
> >>> suspend/resume works?  Note that it doesn't add SMP support, so you'll
> >>> still need to disable SMP (either via kern.smp.disabled or by removing
> >>> SMP from the kernel config) to test.  Thanks.
> >> 	Perfect!! in my Panasonic CF-R4 (Let's note/Toughbook)
> >> 	on 6.2-PRERELEASE.
> > 
> > 	Oops, I found a problem.  After suspend/resume, acpi_panasonic(4)'s
> > 	ACPI hotkey driver is not works.  But sysctl hw.acpi.panasonic.*
> > 	can work well.  And if hint.apic.0.disabled=1, ACPI hotkey driver
> > 	always works.
> 
> I wonder if it's related to how the SCI is being reprogrammed (or not) 
> on resume.  I wonder if it needs different treatment than other APIC 
> interrupts.

We program it exactly the same as it was before the suspend.

-- 
John Baldwin


More information about the freebsd-mobile mailing list