Re: ACPI on Averatec 2370

From: Ben Collins
Date: Fri Aug 03 2007 - 11:52:29 EST


On Thu, 2007-08-02 at 14:07 -0700, Linus Torvalds wrote:
>
> On Thu, 2 Aug 2007, Cal Peake wrote:
> >
> > Figured I should have sent that right after I hit the send key...
> >
> > processor : 0
> > vendor_id : AuthenticAMD
> > cpu family : 15
> > model : 72
> > model name : AMD Turion(tm) 64 X2 Mobile Technology TL-52
>
> Sadly, this doesn't show the "extended family" stuff from cpuid.
>
> So it doesn't show any of the bits we actually care about. Sad.
>
> That said, the "AMD Turion(tm) 64 X2 Mobile Technology TL-52" _should_ be
> a REV-F CPU afaik, and it should have thus fallen through to the
> "ENABLE_C1E_MASK" logic. Afaik that's broken.
>
> Cal - can you
> (a) test that forcing a "return 1" from that amd_apic_timer_broken()
> function fixes it for you.
> (b) make that function print out the values it uses for debugging (ie the
> xtended family and model numbers, and the MSR_K8_ENABLE_C1E MSR
> values)?
>
> Andi, can you check with your AMD contacts that those bits are correct..
> Maybe the "Mobile Technology" things *always* have the broken "Enhanced
> Halt State", regardless of any MSR settings? That would perhaps be what
> makes them "Mobile".

This is the same problem I'm seeing (See Subject: Regression in 2.6.22,
clock problems on Turion with 32-bit kernel).

This commit is what we bisected to:

commit e9e2cdb412412326c4827fc78ba27f410d837e6e
Author: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
Date: Fri Feb 16 01:28:04 2007 -0800

[PATCH] clockevents: i386 drivers

Add clockevent drivers for i386: lapic (local) and PIT/HPET (global). Update
the timer IRQ to call into the PIT/HPET driver's event handler and the
lapic-timer IRQ to call into the lapic clockevent driver. The assignement of
timer functionality is delegated to the core framework code and replaces the
compile and runtime evalution in do_timer_interrupt_hook()

Use the clockevents broadcast support and implement the lapic_broadcast
function for ACPI.

No changes to existing functionality.

--
Ubuntu : http://www.ubuntu.com/
Linux1394: http://wiki.linux1394.org/

-
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/