[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [Qemu-devel] Re: [PATCH 2/4] move CPUID_APIC flag to where it belong
From: |
Stanislav |
Subject: |
RE: [Qemu-devel] Re: [PATCH 2/4] move CPUID_APIC flag to where it belongs |
Date: |
Wed, 6 May 2009 20:43:09 +0300 |
Local apic and i/o apic are not really related.
Local apic is actually a cpu feature, not optional external peripheral.
I/O apic is external hardware on board and if you don't have it - you can't
program your interrupts that much.
I am not telling if a patch is wrong/better than it was before - just want
to point out how it really works.
Stanislav
-----Original Message-----
From: Glauber Costa [mailto:address@hidden
Sent: Wednesday, May 06, 2009 8:42 PM
To: Stanislav
Cc: 'Jan Kiszka'; address@hidden; address@hidden
Subject: Re: [Qemu-devel] Re: [PATCH 2/4] move CPUID_APIC flag to where it
belongs
On Wed, May 06, 2009 at 08:29:23PM +0300, Stanislav wrote:
> If OS boot fine its more luck. The flag indicates presence of local apic,
> not "if it is supported".
> For example when lapic is globally disabled (i.e. not present) CPUID flag
is
> cleared off as well.
> But CPU is still supports lapic, after reset it will be back.
What if we take out a cpu that supports lapic, and is connected to an apic
system,
and connects it to a board that has no apic?
Also, note that in the old code, it was set regardless of the existance of
an APIC
anyway. The only dependancy was on smp_cpus > 1.
- [Qemu-devel] [PATCH 4/4] move apic functions to a separate apic.h header, (continued)
- [Qemu-devel] Re: [PATCH 3/4] move halted state setting to inside of cpu_x86_init, Jan Kiszka, 2009/05/06
- Re: [Qemu-devel] [PATCH 3/4] move halted state setting to inside of cpu_x86_init, Blue Swirl, 2009/05/06
- Re: [Qemu-devel] [PATCH 3/4] move halted state setting to inside of cpu_x86_init, Glauber Costa, 2009/05/06
- [Qemu-devel] Re: [PATCH 2/4] move CPUID_APIC flag to where it belongs, Jan Kiszka, 2009/05/06
- [Qemu-devel] Re: [PATCH 2/4] move CPUID_APIC flag to where it belongs, Glauber Costa, 2009/05/06
- RE: [Qemu-devel] Re: [PATCH 2/4] move CPUID_APIC flag to where it belongs, Stanislav, 2009/05/06
- Re: [Qemu-devel] Re: [PATCH 2/4] move CPUID_APIC flag to where it belongs, Glauber Costa, 2009/05/06
- RE: [Qemu-devel] Re: [PATCH 2/4] move CPUID_APIC flag to where it belongs,
Stanislav <=
- Re: [Qemu-devel] Re: [PATCH 2/4] move CPUID_APIC flag to where it belongs, Anthony Liguori, 2009/05/06
[Qemu-devel] Re: [PATCH 1/4] move registering of cpu_reset to inside cpu_init, Jan Kiszka, 2009/05/06
Re: [Qemu-devel] [PATCH 1/4] move registering of cpu_reset to inside cpu_init, Blue Swirl, 2009/05/06