Re: [PATCH] Regard MSRs in lapic_suspend()/lapic_resume()

From: Ingo Molnar
Date: Sat Nov 18 2006 - 02:04:51 EST



* Karsten Wiese <fzu@xxxxxxxxxxxxxxxxxxxxx> wrote:

> Read/Write APIC_LVTPC and APIC_LVTTHMR only, if get_maxlvt() returns
> certain values. This is done like everywhere else in
> i386/kernel/apic.c, so I guess its correct. Suspends/Resumes to disk
> fine and eleminates an smp_error_interrupt() here on a K8.
>
> Signed-off-by: Karsten Wiese <fzu@xxxxxxxxxxxxxxxxxxxxx>

nice one! I'm tempted to suggest this for 2.6.19 merge because it causes
the kernel to do less (so it has little risk of breaking something that
is working) ... who knows what happens on certain (older?) APICs when we
try to write back those bogus values.

Acked-by: Ingo Molnar <mingo@xxxxxxx>

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