Date: Mon, 22 Jan 2007 07:32:00 +0800 From: Ariff Abdullah <ariff@FreeBSD.org> To: Nate Lawson <nate@root.org> Cc: joerg_wunsch@uriah.heep.sax.de, freebsd-acpi@freebsd.org Subject: Re: ACPI problems on HP Compaq nx6325 Message-ID: <20070122073200.12622b8e.ariff@FreeBSD.org> In-Reply-To: <45B3E82D.2050207@root.org> References: <45AF925C.9050104@aei.mpg.de> <20070119223740.GD47713@uriah.heep.sax.de> <45B1579B.7010009@root.org> <20070121205107.GF66756@uriah.heep.sax.de> <45B3E82D.2050207@root.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--Signature=_Mon__22_Jan_2007_07_32_00_+0800_luN6+EbNnvp3Jbrh Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, 21 Jan 2007 14:24:45 -0800 Nate Lawson <nate@root.org> wrote: > Joerg Wunsch wrote: > > As Nate Lawson wrote: > >=20 > >>> Have a look at PR i386/104678, and the patches referenced there. > >>> Using these patches, my nx6325 works reasonably well. ... > >=20 > >> I looked at this and the solution should be "don't use anything > >> other than C1". > >=20 > > Nothing else is supported on the nx6325 anyway, only C1. So > > that's certainly not the problem here. >=20 > If nothing other than C1 is supported, I am almost certain the patch >=20 > doesn't affect anything. So what problem were you seeing and how is > it changed? >=20 > >> Also, *which* patch are you using from the PR? THere are a few > >> different ones. > >=20 > > The one with the "idle_cpu", it introduces the hw.apic.idle_cpu > > tunable. >=20 > That patch configures mixed mode so that C2 and above are supported=20 > while using the LAPIC timer. Again, I fail to see how this applies > to you. >=20 The patch use either i8254 mixed mode or rtc timer to piggyback lapic timer. The clock still driven by lapic timer. The rational of this crude hack is because these X2 cpus support [1] C1E halt state and the BIOS must not report C2 or C3 support to the OS. That is why hw.acpi.cpu.cx_supported shows nothing but C1. Whenever HLT is issued, we're dead unless: 1) disabling APIC (not an option, especially using FreeBSD/amd64) 2) drive the entire kernel clock through i8254/mixed mode (much like 5.x) or other interrupt sources (hpet? not supported on us, confirmed), or rtc. 3) Use other interrupt sources, (rtc or i8254) to piggyback lapic timer (this crude patch, ugly but works) [1] Section 10.2.4, "BIOS and Kernel Developer's Guide for AMD NPT Family 0FH Processors" -- Ariff Abdullah FreeBSD ... Recording in stereo is obviously too advanced and confusing for us idiot ***** users :P ........ --Signature=_Mon__22_Jan_2007_07_32_00_+0800_luN6+EbNnvp3Jbrh Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFFs/f6lr+deMUwTNoRAuxrAJ9+DWLWv+xO8YSuUtD4kUznHdO75QCgjmBN 70D1NCrISgJz+DOEyXAAYt4= =8lRg -----END PGP SIGNATURE----- --Signature=_Mon__22_Jan_2007_07_32_00_+0800_luN6+EbNnvp3Jbrh--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070122073200.12622b8e.ariff>