Re: [PATCH] Use X86_EFLAGS_IF in x86-64/irqflags.h.

From: Andi Kleen
Date: Fri Mar 30 2007 - 06:12:41 EST


On Fri, Mar 30, 2007 at 01:12:23PM +1000, Rusty Russell wrote:
> On Thu, 2007-03-29 at 14:19 +0200, Andi Kleen wrote:
> > On Thu, Mar 29, 2007 at 09:06:57PM +1000, Rusty Russell wrote:
>
> [SNIP: processor-flags.h patch for i386 ]
>
> > Ok. Can you do it for x86-64 too?
>
> OK, here it is. Compiles, but -rc5-mm2 doesn't link for me on x86-64 at
> the moment.

What's the problem?

>
> Something seems quite wrong with CONFIG_X86_VSMP. AFAICT (1 << 18) is
> the "alignment check" flag, not the "virtual interrupt" flag which I
> expected.

They abuse that intentionally as a way to talk to their hypervisor.
You don't want to know details.

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