linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* What's the status of x2APIC support in Linux kernel?
@ 2008-02-01  8:43 Rijndael Cosque
  2008-02-01  8:53 ` Jike Song
  2008-02-01  9:46 ` Peter Zijlstra
  0 siblings, 2 replies; 10+ messages in thread
From: Rijndael Cosque @ 2008-02-01  8:43 UTC (permalink / raw)
  To: linux-kernel

Hi all,

I found the x2APIC spec via http://www.intel.com/products/processor/manuals/.

Looks at present there is no x2APIC support in Linux kernel 2.6.24?

Is there any experimental patch available for Linux kernel? -- I
googled "x2APIC Linux";  looks no patch for now?

Thanks!

-- Rij

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: What's the status of x2APIC support in Linux kernel?
  2008-02-01  8:43 What's the status of x2APIC support in Linux kernel? Rijndael Cosque
@ 2008-02-01  8:53 ` Jike Song
  2008-02-01 12:17   ` Andi Kleen
  2008-02-01  9:46 ` Peter Zijlstra
  1 sibling, 1 reply; 10+ messages in thread
From: Jike Song @ 2008-02-01  8:53 UTC (permalink / raw)
  To: Rijndael Cosque; +Cc: linux-kernel

On 2/1/08, Rijndael Cosque <rijcos@gmail.com> wrote:
> Hi all,
>
> I found the x2APIC spec via http://www.intel.com/products/processor/manuals/.
>
> Looks at present there is no x2APIC support in Linux kernel 2.6.24?
>
> Is there any experimental patch available for Linux kernel? -- I
> googled "x2APIC Linux";  looks no patch for now?
>
Maybe.   I have a question as well, what about the  status of I/O
xAPIC support in linux?  If it is not supported yet, is there any
effort to add it?  I'm interested in that, hopefully can take part in
the development.

Regards,

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: What's the status of x2APIC support in Linux kernel?
  2008-02-01  8:43 What's the status of x2APIC support in Linux kernel? Rijndael Cosque
  2008-02-01  8:53 ` Jike Song
@ 2008-02-01  9:46 ` Peter Zijlstra
  1 sibling, 0 replies; 10+ messages in thread
From: Peter Zijlstra @ 2008-02-01  9:46 UTC (permalink / raw)
  To: Rijndael Cosque; +Cc: linux-kernel, travis


On Fri, 2008-02-01 at 16:43 +0800, Rijndael Cosque wrote:
> Hi all,
> 
> I found the x2APIC spec via http://www.intel.com/products/processor/manuals/.
> 
> Looks at present there is no x2APIC support in Linux kernel 2.6.24?
> 
> Is there any experimental patch available for Linux kernel? -- I
> googled "x2APIC Linux";  looks no patch for now?

I think SGI has an implementation hidden away somewhere, Mike?


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: What's the status of x2APIC support in Linux kernel?
  2008-02-01  8:53 ` Jike Song
@ 2008-02-01 12:17   ` Andi Kleen
  2008-02-01 18:08     ` Siddha, Suresh B
  2008-02-02  2:55     ` Jike Song
  0 siblings, 2 replies; 10+ messages in thread
From: Andi Kleen @ 2008-02-01 12:17 UTC (permalink / raw)
  To: Jike Song; +Cc: Rijndael Cosque, linux-kernel

"Jike Song" <albcamus@gmail.com> writes:

> On 2/1/08, Rijndael Cosque <rijcos@gmail.com> wrote:
>> Hi all,
>>
>> I found the x2APIC spec via http://www.intel.com/products/processor/manuals/.
>>
>> Looks at present there is no x2APIC support in Linux kernel 2.6.24?
>>
>> Is there any experimental patch available for Linux kernel? -- I
>> googled "x2APIC Linux";  looks no patch for now?

There are right no CPUs shipping which implement x2apic.

> Maybe.   I have a question as well, what about the  status of I/O
> xAPIC support in linux?  If it is not supported yet, is there any
> effort to add it?  I'm interested in that, hopefully can take part in
> the development.

xAPIC has been supported forever.

-Andi

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: What's the status of x2APIC support in Linux kernel?
  2008-02-01 12:17   ` Andi Kleen
@ 2008-02-01 18:08     ` Siddha, Suresh B
  2008-02-14 19:06       ` Bjorn Helgaas
  2008-02-02  2:55     ` Jike Song
  1 sibling, 1 reply; 10+ messages in thread
From: Siddha, Suresh B @ 2008-02-01 18:08 UTC (permalink / raw)
  To: Andi Kleen; +Cc: Jike Song, Rijndael Cosque, linux-kernel

On Fri, Feb 01, 2008 at 01:17:14PM +0100, Andi Kleen wrote:
> "Jike Song" <albcamus@gmail.com> writes:
> 
> > On 2/1/08, Rijndael Cosque <rijcos@gmail.com> wrote:
> >> Hi all,
> >>
> >> I found the x2APIC spec via http://www.intel.com/products/processor/manuals/.
> >>
> >> Looks at present there is no x2APIC support in Linux kernel 2.6.24?
> >>
> >> Is there any experimental patch available for Linux kernel? -- I
> >> googled "x2APIC Linux";  looks no patch for now?
> 
> There are right no CPUs shipping which implement x2apic.

That's correct. None of the released CPU's support it.

I am working on a patch enabling these future x2apic extensions and the plan 
is to post this kernel patch shortly.

thanks,
suresh

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: What's the status of x2APIC support in Linux kernel?
  2008-02-01 12:17   ` Andi Kleen
  2008-02-01 18:08     ` Siddha, Suresh B
@ 2008-02-02  2:55     ` Jike Song
  2008-02-02  4:43       ` Andi Kleen
  1 sibling, 1 reply; 10+ messages in thread
From: Jike Song @ 2008-02-02  2:55 UTC (permalink / raw)
  To: Andi Kleen; +Cc: Rijndael Cosque, linux-kernel

On 2/1/08, Andi Kleen <andi@firstfloor.org> wrote:

> There are right no CPUs shipping which implement x2apic.
Thanks for your information.

> "Jike Song" <albcamus@gmail.com> writes:
> > Maybe.   I have a question as well, what about the  status of I/O
> > xAPIC support in linux?  If it is not supported yet, is there any
> > effort to add it?  I'm interested in that, hopefully can take part in
> > the development.
>
> xAPIC has been supported forever.

Thank you for your attention, Andi.

Oh, what do I mean is "I/O xAPIC", but not the "local xAPIC" or xAPIC
interrupt architecture introduced by Intel Pentium4 CPU.   It seems
that the "I/O xAPIC" hasn't been well documented yet, but some other
document do have some description about it.  Some Intel guys gave me
an URL for the document:

http://download.intel.com/technology/computing/vptech/Intel(r)_VT_for_Direct_IO.pdf

Section 5 and section 9.5 describe 'I/OxAPIC'. I'm not sure if it is
already supported by Linux, I guess it is not.

--
Best Regards,
Jike

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: What's the status of x2APIC support in Linux kernel?
  2008-02-02  2:55     ` Jike Song
@ 2008-02-02  4:43       ` Andi Kleen
  2008-02-02 17:43         ` Yinghai Lu
  0 siblings, 1 reply; 10+ messages in thread
From: Andi Kleen @ 2008-02-02  4:43 UTC (permalink / raw)
  To: Jike Song; +Cc: Andi Kleen, Rijndael Cosque, linux-kernel

> Section 5 and section 9.5 describe 'I/OxAPIC'. I'm not sure if it is
> already supported by Linux, I guess it is not.

I'm not sure what the point of your questions is.  Do you want to 
do something concrete or are you just interested in random buzzwords?

Anyways as far as I know Linux supports the IO APICs implemented in all
x86 chipsets fully. That is it doesn't use every possible feature they have,
but I'm not aware of any particular limitation caused by Linux
not supporting some IO APIC feature.

The reason for the local x/APIC was that the original non x APIC did not support
more than 8 logical CPUs being active in the system. Presumably IO xAPIC 
refers to the IO APIC without this limitation too.

-Andi

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: What's the status of x2APIC support in Linux kernel?
  2008-02-02  4:43       ` Andi Kleen
@ 2008-02-02 17:43         ` Yinghai Lu
  0 siblings, 0 replies; 10+ messages in thread
From: Yinghai Lu @ 2008-02-02 17:43 UTC (permalink / raw)
  To: Andi Kleen; +Cc: Jike Song, Rijndael Cosque, linux-kernel

On Feb 1, 2008 8:43 PM, Andi Kleen <andi@firstfloor.org> wrote:
> > Section 5 and section 9.5 describe 'I/OxAPIC'. I'm not sure if it is
> > already supported by Linux, I guess it is not.
>
> I'm not sure what the point of your questions is.  Do you want to
> do something concrete or are you just interested in random buzzwords?
>
> Anyways as far as I know Linux supports the IO APICs implemented in all
> x86 chipsets fully. That is it doesn't use every possible feature they have,
> but I'm not aware of any particular limitation caused by Linux
> not supporting some IO APIC feature.
>
> The reason for the local x/APIC was that the original non x APIC did not support
> more than 8 logical CPUs being active in the system. Presumably IO xAPIC
> refers to the IO APIC without this limitation too.

APIC: 4bit
xAPIC: 8bit?
x2APIC: 32bit? 4g logical cpu?

patch from SGI for 4096cpu/512node will use apicid as 16 bits, but
actually still use only from 8 bit.
they may wait from Intel release code for x2APIC support for extend
that to 16 bit.
x2APIC will use MSR instead of MMIO to access. that is good.
we don't need to go over mptable or ACPI madt to find phyaddress for local apic.

current code could work well with 8bit local APIC, and 4 bit IOAPIC.
I tried with lifting local apic id to 0x80 or 0x40 above, and io apic
for 0 in linuxbios then load kernel 2.6.21 ( one year ago). it worked
well

YH

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: What's the status of x2APIC support in Linux kernel?
  2008-02-01 18:08     ` Siddha, Suresh B
@ 2008-02-14 19:06       ` Bjorn Helgaas
  2008-02-14 21:48         ` Siddha, Suresh B
  0 siblings, 1 reply; 10+ messages in thread
From: Bjorn Helgaas @ 2008-02-14 19:06 UTC (permalink / raw)
  To: Siddha, Suresh B; +Cc: Andi Kleen, Jike Song, Rijndael Cosque, linux-kernel

On Friday 01 February 2008 11:08:23 am Siddha, Suresh B wrote:
> On Fri, Feb 01, 2008 at 01:17:14PM +0100, Andi Kleen wrote:
> > "Jike Song" <albcamus@gmail.com> writes:
> > 
> > > On 2/1/08, Rijndael Cosque <rijcos@gmail.com> wrote:
> > >> Hi all,
> > >>
> > >> I found the x2APIC spec via http://www.intel.com/products/processor/manuals/.
> > >>
> > >> Looks at present there is no x2APIC support in Linux kernel 2.6.24?
> > >>
> > >> Is there any experimental patch available for Linux kernel? -- I
> > >> googled "x2APIC Linux";  looks no patch for now?
> > 
> > There are right no CPUs shipping which implement x2apic.
> 
> That's correct. None of the released CPU's support it.
> 
> I am working on a patch enabling these future x2apic extensions and the plan 
> is to post this kernel patch shortly.

Are you adding x2apic support for both x86 and ia64, or only for x86?

Bjorn

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: What's the status of x2APIC support in Linux kernel?
  2008-02-14 19:06       ` Bjorn Helgaas
@ 2008-02-14 21:48         ` Siddha, Suresh B
  0 siblings, 0 replies; 10+ messages in thread
From: Siddha, Suresh B @ 2008-02-14 21:48 UTC (permalink / raw)
  To: Bjorn Helgaas
  Cc: Siddha, Suresh B, Andi Kleen, Jike Song, Rijndael Cosque, linux-kernel

On Thu, Feb 14, 2008 at 12:06:37PM -0700, Bjorn Helgaas wrote:
> 
> Are you adding x2apic support for both x86 and ia64, or only for x86?

x2apic extension is specific to x86. ia64 already has an advanced lsapic,
isn't it..

thanks,
suresh

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2008-02-14 21:49 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-02-01  8:43 What's the status of x2APIC support in Linux kernel? Rijndael Cosque
2008-02-01  8:53 ` Jike Song
2008-02-01 12:17   ` Andi Kleen
2008-02-01 18:08     ` Siddha, Suresh B
2008-02-14 19:06       ` Bjorn Helgaas
2008-02-14 21:48         ` Siddha, Suresh B
2008-02-02  2:55     ` Jike Song
2008-02-02  4:43       ` Andi Kleen
2008-02-02 17:43         ` Yinghai Lu
2008-02-01  9:46 ` Peter Zijlstra

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).