Re: [PATCH 8/9] x86/apic: match destination id with destination mode

From: Eric W. Biederman
Date: Fri Jun 26 2009 - 17:47:22 EST


"Pan, Jacob jun" <jacob.jun.pan@xxxxxxxxx> writes:

> [[JPAN]] For Moorestown production silicon, we will use apic_default which uses
> logical dest mode. This patch is not required.
> But, I think it is wrong to assign destination ID without looking at the mode
> bit. If we have a new apic_xxxx with phy dest mode, we would have logical APIC
> ID assigned to physical mode.

Both phys dest and logical dest use the same bits in the apic.
The code that assigns the destination knows which mode we are operating in.

Even not supporting logical mode is likely ok. The key thing is doing the
work in the auto detect logic and not doing something weird in the assignments.

Eric


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