* APIC version
@ 2003-01-13 18:44 Protasevich, Natalie
0 siblings, 0 replies; 18+ messages in thread
From: Protasevich, Natalie @ 2003-01-13 18:44 UTC (permalink / raw)
To: 'Martin J. Bligh', 'Pallipadi, Venkatesh'
Cc: 'William Lee Irwin III', 'Nakajima, Jun',
'Christoph Hellwig', 'James Cleverdon',
'Linux Kernel', Protasevich, Natalie
I have a little patch here for the APIC version.
Without it, I get version 0x10 instead of 0x14 for Fosters/Gallatins
(booting with ACPI):
--- mpparse.c.org 2003-01-13 11:32:18.000000000 -0700
+++ mpparse.c 2003-01-13 11:33:26.000000000 -0700
@@ -773,6 +773,8 @@
if (boot_cpu_physical_apicid == -1U)
boot_cpu_physical_apicid = GET_APIC_ID(apic_read(APIC_ID));
+ apic_version[smp_processor_id()] =
GET_APIC_VERSION(apic_read(APIC_LVR));
+
Dprintk("Boot CPU = %d\n", boot_cpu_physical_apicid);
}
@@ -795,7 +797,7 @@
processor.mpc_type = MP_PROCESSOR;
processor.mpc_apicid = id;
- processor.mpc_apicver = 0x10; /* TBD: lapic version */
+ processor.mpc_apicver = apic_version[smp_processor_id()];
processor.mpc_cpuflag = (enabled ? CPU_ENABLED : 0);
processor.mpc_cpuflag |= (boot_cpu ? CPU_BOOTPROCESSOR : 0);
processor.mpc_cpufeature = (boot_cpu_data.x86 << 8) |
It seems to work OK for me, although you may find some implications...
Anyway -
Thanks,
--Natalie
^ permalink raw reply [flat|nested] 18+ messages in thread
* RE: APIC version
@ 2003-01-13 18:59 Nakajima, Jun
2003-01-13 19:26 ` Martin J. Bligh
2003-01-13 22:53 ` Zwane Mwaikambo
0 siblings, 2 replies; 18+ messages in thread
From: Nakajima, Jun @ 2003-01-13 18:59 UTC (permalink / raw)
To: Protasevich, Natalie, Martin J. Bligh, Pallipadi, Venkatesh
Cc: William Lee Irwin III, Christoph Hellwig, James Cleverdon,
Linux Kernel
The entries in acpi_version[] are indexed by the APIC id, not smp_processor_id(). So you can overwrite acpi_version[] for a different processor.
Jun
> -----Original Message-----
> From: Protasevich, Natalie [mailto:Natalie.Protasevich@UNISYS.com]
> Sent: Monday, January 13, 2003 10:44 AM
> To: 'Martin J. Bligh'; Pallipadi, Venkatesh
> Cc: 'William Lee Irwin III'; Nakajima, Jun; 'Christoph Hellwig'; 'James
> Cleverdon'; 'Linux Kernel'; Protasevich, Natalie
> Subject: APIC version
>
> I have a little patch here for the APIC version.
> Without it, I get version 0x10 instead of 0x14 for Fosters/Gallatins
> (booting with ACPI):
>
> --- mpparse.c.org 2003-01-13 11:32:18.000000000 -0700
> +++ mpparse.c 2003-01-13 11:33:26.000000000 -0700
> @@ -773,6 +773,8 @@
> if (boot_cpu_physical_apicid == -1U)
> boot_cpu_physical_apicid = GET_APIC_ID(apic_read(APIC_ID));
>
> + apic_version[smp_processor_id()] =
> GET_APIC_VERSION(apic_read(APIC_LVR));
> +
> Dprintk("Boot CPU = %d\n", boot_cpu_physical_apicid);
> }
>
> @@ -795,7 +797,7 @@
>
> processor.mpc_type = MP_PROCESSOR;
> processor.mpc_apicid = id;
> - processor.mpc_apicver = 0x10; /* TBD: lapic version */
> + processor.mpc_apicver = apic_version[smp_processor_id()];
> processor.mpc_cpuflag = (enabled ? CPU_ENABLED : 0);
> processor.mpc_cpuflag |= (boot_cpu ? CPU_BOOTPROCESSOR : 0);
> processor.mpc_cpufeature = (boot_cpu_data.x86 << 8) |
>
>
> It seems to work OK for me, although you may find some implications...
> Anyway -
>
> Thanks,
>
> --Natalie
^ permalink raw reply [flat|nested] 18+ messages in thread
* RE: APIC version
2003-01-13 18:59 Nakajima, Jun
@ 2003-01-13 19:26 ` Martin J. Bligh
2003-01-13 22:53 ` Zwane Mwaikambo
1 sibling, 0 replies; 18+ messages in thread
From: Martin J. Bligh @ 2003-01-13 19:26 UTC (permalink / raw)
To: Nakajima, Jun, Protasevich, Natalie, Pallipadi, Venkatesh
Cc: William Lee Irwin III, Christoph Hellwig, James Cleverdon,
Linux Kernel
> The entries in acpi_version[] are indexed by the APIC id, not smp_processor_id(). So you can overwrite acpi_version[] for a different processor.
>> + apic_version[smp_processor_id()] =
Ugh.
It's indexed by the apic ID, not the cpu id. They're not 1-1.
^ permalink raw reply [flat|nested] 18+ messages in thread
* RE: APIC version
@ 2003-01-13 19:39 Protasevich, Natalie
0 siblings, 0 replies; 18+ messages in thread
From: Protasevich, Natalie @ 2003-01-13 19:39 UTC (permalink / raw)
To: 'Nakajima, Jun', Protasevich, Natalie, Martin J. Bligh,
Pallipadi, Venkatesh
Cc: William Lee Irwin III, Christoph Hellwig, James Cleverdon,
Linux Kernel
Sould it be hard_smp_processor_id()?
-----Original Message-----
From: Nakajima, Jun [mailto:jun.nakajima@intel.com]
Sent: Monday, January 13, 2003 12:00 PM
To: Protasevich, Natalie; Martin J. Bligh; Pallipadi, Venkatesh
Cc: William Lee Irwin III; Christoph Hellwig; James Cleverdon; Linux
Kernel
Subject: RE: APIC version
The entries in acpi_version[] are indexed by the APIC id, not
smp_processor_id(). So you can overwrite acpi_version[] for a different
processor.
Jun
> -----Original Message-----
> From: Protasevich, Natalie [mailto:Natalie.Protasevich@UNISYS.com]
> Sent: Monday, January 13, 2003 10:44 AM
> To: 'Martin J. Bligh'; Pallipadi, Venkatesh
> Cc: 'William Lee Irwin III'; Nakajima, Jun; 'Christoph Hellwig'; 'James
> Cleverdon'; 'Linux Kernel'; Protasevich, Natalie
> Subject: APIC version
>
> I have a little patch here for the APIC version.
> Without it, I get version 0x10 instead of 0x14 for Fosters/Gallatins
> (booting with ACPI):
>
> --- mpparse.c.org 2003-01-13 11:32:18.000000000 -0700
> +++ mpparse.c 2003-01-13 11:33:26.000000000 -0700
> @@ -773,6 +773,8 @@
> if (boot_cpu_physical_apicid == -1U)
> boot_cpu_physical_apicid = GET_APIC_ID(apic_read(APIC_ID));
>
> + apic_version[smp_processor_id()] =
> GET_APIC_VERSION(apic_read(APIC_LVR));
> +
> Dprintk("Boot CPU = %d\n", boot_cpu_physical_apicid);
> }
>
> @@ -795,7 +797,7 @@
>
> processor.mpc_type = MP_PROCESSOR;
> processor.mpc_apicid = id;
> - processor.mpc_apicver = 0x10; /* TBD: lapic version */
> + processor.mpc_apicver = apic_version[smp_processor_id()];
> processor.mpc_cpuflag = (enabled ? CPU_ENABLED : 0);
> processor.mpc_cpuflag |= (boot_cpu ? CPU_BOOTPROCESSOR : 0);
> processor.mpc_cpufeature = (boot_cpu_data.x86 << 8) |
>
>
> It seems to work OK for me, although you may find some implications...
> Anyway -
>
> Thanks,
>
> --Natalie
^ permalink raw reply [flat|nested] 18+ messages in thread
* RE: APIC version
@ 2003-01-13 19:55 Protasevich, Natalie
0 siblings, 0 replies; 18+ messages in thread
From: Protasevich, Natalie @ 2003-01-13 19:55 UTC (permalink / raw)
To: 'Martin J. Bligh', Nakajima, Jun, Protasevich, Natalie,
Pallipadi, Venkatesh
Cc: William Lee Irwin III, Christoph Hellwig, James Cleverdon,
Linux Kernel
The thing is, this array never gets filled with correct values for XAPICs in
case when we go through ACPI, not MP.
I only care about it because that is how I used to distinguish Cascades from
Fosters on ES7000 (which I need to do very early, before I get to APIC mode
setup).
On the other hand, I just noticed that I could go with smp_num_siblings for
this purpose... so if this issue is too shady as of now, i will survive, I
guess...:)
--Natalie
-----Original Message-----
From: Martin J. Bligh [mailto:mbligh@aracnet.com]
Sent: Monday, January 13, 2003 12:26 PM
To: Nakajima, Jun; Protasevich, Natalie; Pallipadi, Venkatesh
Cc: William Lee Irwin III; Christoph Hellwig; James Cleverdon; Linux
Kernel
Subject: RE: APIC version
> The entries in acpi_version[] are indexed by the APIC id, not
smp_processor_id(). So you can overwrite acpi_version[] for a different
processor.
>> + apic_version[smp_processor_id()] =
Ugh.
It's indexed by the apic ID, not the cpu id. They're not 1-1.
^ permalink raw reply [flat|nested] 18+ messages in thread
* RE: APIC version
@ 2003-01-13 20:12 Nakajima, Jun
0 siblings, 0 replies; 18+ messages in thread
From: Nakajima, Jun @ 2003-01-13 20:12 UTC (permalink / raw)
To: Protasevich, Natalie, Martin J. Bligh, Pallipadi, Venkatesh
Cc: William Lee Irwin III, Christoph Hellwig, James Cleverdon,
Linux Kernel
The only thing you need to do is
processor.mpc_type = MP_PROCESSOR;
processor.mpc_apicid = id;
- processor.mpc_apicver = 0x10; /* TBD: lapic version */
+ processor.mpc_apicver = GET_APIC_VERSION(apic_read(APIC_LVR));
processor.mpc_cpuflag = (enabled ? CPU_ENABLED : 0);
processor.mpc_cpuflag |= (boot_cpu ? CPU_BOOTPROCESSOR : 0);
processor.mpc_cpufeature = (boot_cpu_data.x86 << 8) |
Jun
> -----Original Message-----
> From: Protasevich, Natalie [mailto:Natalie.Protasevich@UNISYS.com]
> Sent: Monday, January 13, 2003 11:55 AM
> To: 'Martin J. Bligh'; Nakajima, Jun; Protasevich, Natalie; Pallipadi,
> Venkatesh
> Cc: William Lee Irwin III; Christoph Hellwig; James Cleverdon; Linux
> Kernel
> Subject: RE: APIC version
>
>
> The thing is, this array never gets filled with correct values for XAPICs
> in
> case when we go through ACPI, not MP.
> I only care about it because that is how I used to distinguish Cascades
> from
> Fosters on ES7000 (which I need to do very early, before I get to APIC
> mode
> setup).
>
> On the other hand, I just noticed that I could go with smp_num_siblings
> for
> this purpose... so if this issue is too shady as of now, i will survive, I
> guess...:)
>
> --Natalie
>
>
> -----Original Message-----
> From: Martin J. Bligh [mailto:mbligh@aracnet.com]
> Sent: Monday, January 13, 2003 12:26 PM
> To: Nakajima, Jun; Protasevich, Natalie; Pallipadi, Venkatesh
> Cc: William Lee Irwin III; Christoph Hellwig; James Cleverdon; Linux
> Kernel
> Subject: RE: APIC version
>
>
> > The entries in acpi_version[] are indexed by the APIC id, not
> smp_processor_id(). So you can overwrite acpi_version[] for a different
> processor.
>
> >> + apic_version[smp_processor_id()] =
>
> Ugh.
>
> It's indexed by the apic ID, not the cpu id. They're not 1-1.
^ permalink raw reply [flat|nested] 18+ messages in thread
* RE: APIC version
@ 2003-01-13 20:21 Protasevich, Natalie
0 siblings, 0 replies; 18+ messages in thread
From: Protasevich, Natalie @ 2003-01-13 20:21 UTC (permalink / raw)
To: 'Nakajima, Jun', Protasevich, Natalie, Martin J. Bligh,
Pallipadi, Venkatesh
Cc: William Lee Irwin III, Christoph Hellwig, James Cleverdon,
Linux Kernel
Wow, this is pretty brilliant, Jun! In cases like this one always thinks
"Why this didn't occur to me, this is so obvious..."
(Sadly I noticed that I tend to go "round and about" sometimes instead of
direct :(
I hope this will get incorporated in the source tree.
Thanks,
--Natalie
-----Original Message-----
From: Nakajima, Jun [mailto:jun.nakajima@intel.com]
Sent: Monday, January 13, 2003 1:13 PM
To: Protasevich, Natalie; Martin J. Bligh; Pallipadi, Venkatesh
Cc: William Lee Irwin III; Christoph Hellwig; James Cleverdon; Linux
Kernel
Subject: RE: APIC version
The only thing you need to do is
processor.mpc_type = MP_PROCESSOR;
processor.mpc_apicid = id;
- processor.mpc_apicver = 0x10; /* TBD: lapic version */
+ processor.mpc_apicver = GET_APIC_VERSION(apic_read(APIC_LVR));
processor.mpc_cpuflag = (enabled ? CPU_ENABLED : 0);
processor.mpc_cpuflag |= (boot_cpu ? CPU_BOOTPROCESSOR : 0);
processor.mpc_cpufeature = (boot_cpu_data.x86 << 8) |
Jun
>
^ permalink raw reply [flat|nested] 18+ messages in thread
* RE: APIC version
2003-01-13 18:59 Nakajima, Jun
2003-01-13 19:26 ` Martin J. Bligh
@ 2003-01-13 22:53 ` Zwane Mwaikambo
2003-01-13 23:22 ` Martin J. Bligh
1 sibling, 1 reply; 18+ messages in thread
From: Zwane Mwaikambo @ 2003-01-13 22:53 UTC (permalink / raw)
To: Nakajima, Jun
Cc: Protasevich, Natalie, Martin J. Bligh, Pallipadi, Venkatesh,
William Lee Irwin III, Christoph Hellwig, James Cleverdon,
Linux Kernel
On Mon, 13 Jan 2003, Nakajima, Jun wrote:
> The entries in acpi_version[] are indexed by the APIC id, not
> smp_processor_id(). So you can overwrite acpi_version[] for a different
> processor.
Is it possible to use smp_processor_id instead to avoid wasting memory
for the sparse APIC id case?
Zwane
--
function.linuxpower.ca
^ permalink raw reply [flat|nested] 18+ messages in thread
* RE: APIC version
@ 2003-01-13 23:14 Protasevich, Natalie
0 siblings, 0 replies; 18+ messages in thread
From: Protasevich, Natalie @ 2003-01-13 23:14 UTC (permalink / raw)
To: 'Zwane Mwaikambo', Nakajima, Jun
Cc: Protasevich, Natalie, Martin J. Bligh, Pallipadi, Venkatesh,
William Lee Irwin III, Christoph Hellwig, James Cleverdon,
Linux Kernel
As for apic_version[] indexing in general, I am also for smp_processor_id,
although it could take a few changes in apic.c, mpparse.c, and especially
smpboot.c. Speaking of es7000, its APIC ID's are always huge, defined by
fixed topology. For those like us, the array would shrink from MAX_APICS
(256) to NR_CPUS (32, maybe 64). I wonder if it would do any good for (true)
NUMA.
--Natalie
-----Original Message-----
From: Zwane Mwaikambo [mailto:zwane@holomorphy.com]
Sent: Monday, January 13, 2003 3:53 PM
To: Nakajima, Jun
Cc: Protasevich, Natalie; Martin J. Bligh; Pallipadi, Venkatesh; William
Lee Irwin III; Christoph Hellwig; James Cleverdon; Linux Kernel
Subject: RE: APIC version
On Mon, 13 Jan 2003, Nakajima, Jun wrote:
> The entries in acpi_version[] are indexed by the APIC id, not
> smp_processor_id(). So you can overwrite acpi_version[] for a different
> processor.
Is it possible to use smp_processor_id instead to avoid wasting memory
for the sparse APIC id case?
Zwane
--
function.linuxpower.ca
^ permalink raw reply [flat|nested] 18+ messages in thread
* RE: APIC version
2003-01-13 22:53 ` Zwane Mwaikambo
@ 2003-01-13 23:22 ` Martin J. Bligh
0 siblings, 0 replies; 18+ messages in thread
From: Martin J. Bligh @ 2003-01-13 23:22 UTC (permalink / raw)
To: Zwane Mwaikambo, Nakajima, Jun
Cc: Protasevich, Natalie, Pallipadi, Venkatesh, William Lee Irwin III,
Christoph Hellwig, James Cleverdon, Linux Kernel
>> The entries in acpi_version[] are indexed by the APIC id, not
>> smp_processor_id(). So you can overwrite acpi_version[] for a different
>> processor.
>
> Is it possible to use smp_processor_id instead to avoid wasting memory
> for the sparse APIC id case?
No, the array is set up in mpparse.c before we know the real processor
numbers.
M.
^ permalink raw reply [flat|nested] 18+ messages in thread
* RE: APIC version
@ 2003-01-13 23:35 Nakajima, Jun
0 siblings, 0 replies; 18+ messages in thread
From: Nakajima, Jun @ 2003-01-13 23:35 UTC (permalink / raw)
To: Protasevich, Natalie, Zwane Mwaikambo
Cc: Martin J. Bligh, Pallipadi, Venkatesh, William Lee Irwin III,
Christoph Hellwig, James Cleverdon, Linux Kernel
I don't think the array apic_version[] is very helpful in the first place.
I suspect it can be __init.
Jun
> -----Original Message-----
> From: Protasevich, Natalie [mailto:Natalie.Protasevich@UNISYS.com]
> Sent: Monday, January 13, 2003 3:15 PM
> To: 'Zwane Mwaikambo'; Nakajima, Jun
> Cc: Protasevich, Natalie; Martin J. Bligh; Pallipadi, Venkatesh; William
> Lee Irwin III; Christoph Hellwig; James Cleverdon; Linux Kernel
> Subject: RE: APIC version
>
> As for apic_version[] indexing in general, I am also for smp_processor_id,
> although it could take a few changes in apic.c, mpparse.c, and especially
> smpboot.c. Speaking of es7000, its APIC ID's are always huge, defined by
> fixed topology. For those like us, the array would shrink from MAX_APICS
> (256) to NR_CPUS (32, maybe 64). I wonder if it would do any good for
> (true)
> NUMA.
>
> --Natalie
>
> -----Original Message-----
> From: Zwane Mwaikambo [mailto:zwane@holomorphy.com]
> Sent: Monday, January 13, 2003 3:53 PM
> To: Nakajima, Jun
> Cc: Protasevich, Natalie; Martin J. Bligh; Pallipadi, Venkatesh; William
> Lee Irwin III; Christoph Hellwig; James Cleverdon; Linux Kernel
> Subject: RE: APIC version
>
>
> On Mon, 13 Jan 2003, Nakajima, Jun wrote:
>
> > The entries in acpi_version[] are indexed by the APIC id, not
> > smp_processor_id(). So you can overwrite acpi_version[] for a different
> > processor.
>
> Is it possible to use smp_processor_id instead to avoid wasting memory
> for the sparse APIC id case?
>
> Zwane
> --
> function.linuxpower.ca
^ permalink raw reply [flat|nested] 18+ messages in thread
* RE: APIC version
@ 2003-01-13 23:49 Protasevich, Natalie
2003-01-13 23:54 ` Martin J. Bligh
0 siblings, 1 reply; 18+ messages in thread
From: Protasevich, Natalie @ 2003-01-13 23:49 UTC (permalink / raw)
To: 'Martin J. Bligh', Zwane Mwaikambo, Nakajima, Jun
Cc: Protasevich, Natalie, Pallipadi, Venkatesh, William Lee Irwin III,
Christoph Hellwig, James Cleverdon, Linux Kernel
If you index it by 4-bit GET_APIC_ID() (not GET_APIC_LOGICAL_ID()), i.e.
hard_smp_processor_id(), you can get away with it.
Of course, it is possible that it can just be "don't care":
>I don't think the array apic_version[] is very helpful in the first place.
>I suspect it can be __init.
>Jun
On the other hand, it might be needed if imagine hot plug CPU case.
--Natalie
-----Original Message-----
From: Martin J. Bligh [mailto:mbligh@aracnet.com]
Sent: Monday, January 13, 2003 4:23 PM
To: Zwane Mwaikambo; Nakajima, Jun
Cc: Protasevich, Natalie; Pallipadi, Venkatesh; William Lee Irwin III;
Christoph Hellwig; James Cleverdon; Linux Kernel
Subject: RE: APIC version
>> The entries in acpi_version[] are indexed by the APIC id, not
>> smp_processor_id(). So you can overwrite acpi_version[] for a different
>> processor.
>
> Is it possible to use smp_processor_id instead to avoid wasting memory
> for the sparse APIC id case?
No, the array is set up in mpparse.c before we know the real processor
numbers.
M.
^ permalink raw reply [flat|nested] 18+ messages in thread
* RE: APIC version
2003-01-13 23:49 APIC version Protasevich, Natalie
@ 2003-01-13 23:54 ` Martin J. Bligh
0 siblings, 0 replies; 18+ messages in thread
From: Martin J. Bligh @ 2003-01-13 23:54 UTC (permalink / raw)
To: Protasevich, Natalie, Zwane Mwaikambo, Nakajima, Jun
Cc: Pallipadi, Venkatesh, William Lee Irwin III, Christoph Hellwig,
James Cleverdon, Linux Kernel
> If you index it by 4-bit GET_APIC_ID() (not GET_APIC_LOGICAL_ID()), i.e.
> hard_smp_processor_id(), you can get away with it.
Not on clustered mode platforms - the physical address is not unique.
> Of course, it is possible that it can just be "don't care":
;-)
M.
^ permalink raw reply [flat|nested] 18+ messages in thread
* RE: APIC version
@ 2003-01-14 0:09 Protasevich, Natalie
0 siblings, 0 replies; 18+ messages in thread
From: Protasevich, Natalie @ 2003-01-14 0:09 UTC (permalink / raw)
To: 'Martin J. Bligh', Protasevich, Natalie, Zwane Mwaikambo,
Nakajima, Jun
Cc: Pallipadi, Venkatesh, William Lee Irwin III, Christoph Hellwig,
James Cleverdon, Linux Kernel
>> If you index it by 4-bit GET_APIC_ID() (not GET_APIC_LOGICAL_ID()), i.e.
>> hard_smp_processor_id(), you can get away with it.
Oops, you're right! what was I thinking...
^ permalink raw reply [flat|nested] 18+ messages in thread
* RE: APIC version
@ 2003-01-14 2:26 Nakajima, Jun
0 siblings, 0 replies; 18+ messages in thread
From: Nakajima, Jun @ 2003-01-14 2:26 UTC (permalink / raw)
To: Protasevich, Natalie, Martin J. Bligh, Zwane Mwaikambo
Cc: Pallipadi, Venkatesh, William Lee Irwin III, Christoph Hellwig,
James Cleverdon, Linux Kernel
We can gather that info at runtime from the processors, when we really need it. And I don't think we have performance issues this that.
Jun
> -----Original Message-----
> From: Protasevich, Natalie [mailto:Natalie.Protasevich@UNISYS.com]
> Sent: Monday, January 13, 2003 3:49 PM
> To: 'Martin J. Bligh'; Zwane Mwaikambo; Nakajima, Jun
> Cc: Protasevich, Natalie; Pallipadi, Venkatesh; William Lee Irwin III;
> Christoph Hellwig; James Cleverdon; Linux Kernel
> Subject: RE: APIC version
>
> If you index it by 4-bit GET_APIC_ID() (not GET_APIC_LOGICAL_ID()), i.e.
> hard_smp_processor_id(), you can get away with it.
>
> Of course, it is possible that it can just be "don't care":
>
> >I don't think the array apic_version[] is very helpful in the first
> place.
> >I suspect it can be __init.
>
> >Jun
>
> On the other hand, it might be needed if imagine hot plug CPU case.
>
>
> --Natalie
>
>
>
> -----Original Message-----
> From: Martin J. Bligh [mailto:mbligh@aracnet.com]
> Sent: Monday, January 13, 2003 4:23 PM
> To: Zwane Mwaikambo; Nakajima, Jun
> Cc: Protasevich, Natalie; Pallipadi, Venkatesh; William Lee Irwin III;
> Christoph Hellwig; James Cleverdon; Linux Kernel
> Subject: RE: APIC version
>
>
> >> The entries in acpi_version[] are indexed by the APIC id, not
> >> smp_processor_id(). So you can overwrite acpi_version[] for a different
> >> processor.
> >
> > Is it possible to use smp_processor_id instead to avoid wasting memory
> > for the sparse APIC id case?
>
> No, the array is set up in mpparse.c before we know the real processor
> numbers.
>
> M.
^ permalink raw reply [flat|nested] 18+ messages in thread
* RE: APIC version
@ 2003-01-14 3:55 Protasevich, Natalie
2003-01-14 4:43 ` Martin J. Bligh
0 siblings, 1 reply; 18+ messages in thread
From: Protasevich, Natalie @ 2003-01-14 3:55 UTC (permalink / raw)
To: 'Nakajima, Jun', Protasevich, Natalie, Martin J. Bligh,
Zwane Mwaikambo
Cc: Pallipadi, Venkatesh, Linux Kernel
>We can gather that info at runtime from the processors, when we really need
it. And I don't think we have
>performance issues this that.
True - it has to be only done once per CPU bring-up.
To investigate all the corners of this issue: is it possible now, tomorrow,
on in the future to mix Intel processors on the same machine? Isn't it
enough really to collect the APIC version of boot CPU and just use it for
the rest? Or do we have to leave the opportunity for such occasion in the
code?
-Natalie
^ permalink raw reply [flat|nested] 18+ messages in thread
* RE: APIC version
2003-01-14 3:55 Protasevich, Natalie
@ 2003-01-14 4:43 ` Martin J. Bligh
0 siblings, 0 replies; 18+ messages in thread
From: Martin J. Bligh @ 2003-01-14 4:43 UTC (permalink / raw)
To: Protasevich, Natalie, 'Nakajima, Jun', Zwane Mwaikambo
Cc: Pallipadi, Venkatesh, Linux Kernel
> True - it has to be only done once per CPU bring-up.
>
> To investigate all the corners of this issue: is it possible now, tomorrow,
> on in the future to mix Intel processors on the same machine?
Yes. We can mix PPro 180s up with P3 900s, for a long time now.
> enough really to collect the APIC version of boot CPU and just use it for
> the rest?
Nope.
M.
^ permalink raw reply [flat|nested] 18+ messages in thread
* RE: APIC version
@ 2003-01-14 4:51 Protasevich, Natalie
0 siblings, 0 replies; 18+ messages in thread
From: Protasevich, Natalie @ 2003-01-14 4:51 UTC (permalink / raw)
To: 'Martin J. Bligh', Protasevich, Natalie,
'Nakajima, Jun', Zwane Mwaikambo
Cc: Pallipadi, Venkatesh, Linux Kernel
OK, Martin. You win. I am satisfied and I give up. I guess I like
apic_version[] the way it is now :)
--N
-----Original Message-----
From: Martin J. Bligh [mailto:mbligh@aracnet.com]
Sent: Monday, January 13, 2003 9:44 PM
To: Protasevich, Natalie; 'Nakajima, Jun'; Zwane Mwaikambo
Cc: Pallipadi, Venkatesh; Linux Kernel
Subject: RE: APIC version
> True - it has to be only done once per CPU bring-up.
>
> To investigate all the corners of this issue: is it possible now,
tomorrow,
> on in the future to mix Intel processors on the same machine?
Yes. We can mix PPro 180s up with P3 900s, for a long time now.
> enough really to collect the APIC version of boot CPU and just use it for
> the rest?
Nope.
M.
^ permalink raw reply [flat|nested] 18+ messages in thread
end of thread, other threads:[~2003-01-14 4:42 UTC | newest]
Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-01-13 23:49 APIC version Protasevich, Natalie
2003-01-13 23:54 ` Martin J. Bligh
-- strict thread matches above, loose matches on Subject: below --
2003-01-14 4:51 Protasevich, Natalie
2003-01-14 3:55 Protasevich, Natalie
2003-01-14 4:43 ` Martin J. Bligh
2003-01-14 2:26 Nakajima, Jun
2003-01-14 0:09 Protasevich, Natalie
2003-01-13 23:35 Nakajima, Jun
2003-01-13 23:14 Protasevich, Natalie
2003-01-13 20:21 Protasevich, Natalie
2003-01-13 20:12 Nakajima, Jun
2003-01-13 19:55 Protasevich, Natalie
2003-01-13 19:39 Protasevich, Natalie
2003-01-13 18:59 Nakajima, Jun
2003-01-13 19:26 ` Martin J. Bligh
2003-01-13 22:53 ` Zwane Mwaikambo
2003-01-13 23:22 ` Martin J. Bligh
2003-01-13 18:44 Protasevich, Natalie
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox