Re: [PATCH] x86: fdiv bug detection fix
- From: Ingo Molnar <mingo@xxxxxxx>
- Date: Thu, 31 Jul 2008 23:57:12 +0200
* Krzysztof Helt <krzysztof.h1@xxxxx> wrote:
From: Krzysztof Helt <krzysztof.h1@xxxxx>
The fdiv detection code writes s32 integer into
the boot_cpu_data.fdiv_bug.
However, the boot_cpu_data.fdiv_bug is only char (s8)
field so the detection overwrites already set fields for
other bugs, e.g. the f00f bug field.
Use local s32 variable to receive result.
applied to tip/x86/urgent, thanks Krzysztof!
this bug seems to be rather old - i guess new kernels rarely get tested
with those CPUs that are affected by those bugs?
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/
- References:
- [PATCH] x86: fdiv bug detection fix
- From: Krzysztof Helt
- [PATCH] x86: fdiv bug detection fix
- Prev by Date: Re: [PATCH] x86_32: use apic_ops at print_local_APIC()
- Next by Date: Re: [patch 0/9] x86, xsave: xsave/xrstor support
- Previous by thread: Re: [PATCH] x86: fdiv bug detection fix
- Next by thread: [git pull] core fixlet
- Index(es):
Relevant Pages
|