Re: [PATCH] decouple x2apic from irq remapping
From: Ingo Molnar
Date: Thu Feb 19 2009 - 06:30:37 EST
* Gleb Natapov <gleb@xxxxxxxxxx> wrote:
> Hi,
>
> Currently x2apic is used only if interrupt remapping can be enabled,
> but if all apic ids are smaller then 255 there is no reason to
> enable interrupt remapping at all. Although there is not real HW that has
> x2apic but does not have IR the decoupling is useful since we want to
> emulate x2apic interface in KVM (it is more vitalization friendly), but
> we don't want to emulate IR just for that.
>
> According to Intel docs BIOS should pass control to OS in x2apic mode
> if there are apics with id > 255 and in xapic otherwise, so the proposed
> patch requires IR configuration only if BIOS switched apic to x2apic
> mode.
>
> The patch is against tip:x86/apic.
Applied to tip:x86/apic, thanks Gleb!
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/