Re: [PATCH 2/2] x86, CPUID: Correct operator precedence when generatingmask

From: H. Peter Anvin
Date: Mon Sep 20 2010 - 11:12:11 EST


On 09/20/2010 07:06 AM, Borislav Petkov wrote:
> NEED_<cpufeature> masks used in the CPU feature testing macros are
> cutoff at the last 5 bits to prevent overflow since the cpu feature
> words are 32-bit-wide bitfields. Fix this for the PSE and PGE masks too.
>
> This wasn't a real problem since the PSE and PGE bits are nicely < 31.
>
> Cc: stable@xxxxxxxxxx
> Signed-off-by: Borislav Petkov <borislav.petkov@xxxxxxx>

Since this is a non-manifest bug there really doesn't seem to be any
reason to bother stable with it.

-hpa

--
H. Peter Anvin, Intel Open Source Technology Center
I work for Intel. I don't speak on their behalf.

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