Re: [PATCH 1/3] x86, intel: Output microcode revision v6

From: H. Peter Anvin
Date: Thu Oct 13 2011 - 01:38:19 EST


On 10/12/2011 05:46 PM, Andi Kleen wrote:
>
> I had to add a memory barrier to native_cpuid to prevent it being
> optimized away when the result is not used.
>

This is BAD... this means gcc is optimizing away an asm volatile, which
should never happen. Please report a gcc bug. What version of gcc is this?

Other than that,

Acked-by: H. Peter Anvin <hpa@xxxxxxxxx>
--
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/