mptable.c

2005-01-11 Thread Gin
Is there an utility help to generate mptable.c?
I thought I saw someone saying so. Is it usable?


gin



___
Linuxbios mailing list
Linuxbios@clustermatic.org
http://www.clustermatic.org/mailman/listinfo/linuxbios


RE: mptable.c

2005-01-05 Thread YhLu
Enable apic ext id committed.

Changes
Auto.c
 nodeid = lapicid()  0xf;
#if ENABLE_APIC_EXT_ID == 1
enable_apic_ext_id(nodeid);
lapic_write(LAPIC_ID, ( lapic_read(LAPIC_ID) |
(APIC_ID_OFFSET24) ) ); // CPU apicid is from 0x10
#endif
if (cpu_init_detected(nodeid)) {
asm volatile (jmp __cpu_reset);
}
distinguish_cpu_resets(nodeid);

also reset_test.c
change cpu_init_detected and distinguish_cpu_resets to take node id.

YH

-Original Message-
From: Ronald G. Minnich [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, January 04, 2005 7:29 AM
To: Stefan Reinauer
Cc: linuxbios@clustermatic.org
Subject: Re: mptable.c



On Tue, 4 Jan 2005, Stefan Reinauer wrote:

 I can have a look, if you can point me to some documentation. Is the
 utility supposed to through out a working mptable? The code it creates
 looks fundamentally different from the opteron boards' mptables.c
 versions.

It will toss out C code with the proper options. It's been so long since 
anyone has used it that I don't remember how to run it!

ron

___
Linuxbios mailing list
Linuxbios@clustermatic.org
http://www.clustermatic.org/mailman/listinfo/linuxbios
___
Linuxbios mailing list
Linuxbios@clustermatic.org
http://www.clustermatic.org/mailman/listinfo/linuxbios


Re: mptable.c

2005-01-04 Thread Ronald G. Minnich


On Tue, 4 Jan 2005, Stefan Reinauer wrote:

 Am I supposed to delete it, or am I supposed to look up what it means
 and implement it in mptable.c so LinuxBIOS can use it?

oh boy. It's been a year at least since I even looked at that thing. 

I will try to see what it's trying to do but I can't really tell why it is 
doing this. 

That type of thing was supposed to only come out between /* */



ron
___
Linuxbios mailing list
Linuxbios@clustermatic.org
http://www.clustermatic.org/mailman/listinfo/linuxbios


Re: mptable.c

2005-01-04 Thread Stefan Reinauer
* Ronald G. Minnich rminnich@lanl.gov [050104 14:56]:
 
 
 On Tue, 4 Jan 2005, Stefan Reinauer wrote:
 
  Am I supposed to delete it, or am I supposed to look up what it means
  and implement it in mptable.c so LinuxBIOS can use it?
 
 oh boy. It's been a year at least since I even looked at that thing. 
 
 I will try to see what it's trying to do but I can't really tell why it is 
 doing this. 
 
I can have a look, if you can point me to some documentation. Is the
utility supposed to through out a working mptable? The code it creates
looks fundamentally different from the opteron boards' mptables.c
versions.

 That type of thing was supposed to only come out between /* */
It doesn't, instead it comes right after all the smp_write_intsrc()
calls:

smp_write_intsrc(mc, mp_NMI, MP_IRQ_TRIGGER_EDGE|MP_IRQ_POLARITY_HIGH, 
0x0, 0x0, MP_APIC_ALL, 0x1);
MP Config Extended Table Entries:
[..]

Especially the bus hierarchy information might be interesting to linux?

I'll strip the comments out and see whether things work

Stefan

___
Linuxbios mailing list
Linuxbios@clustermatic.org
http://www.clustermatic.org/mailman/listinfo/linuxbios


Re: mptable.c

2005-01-04 Thread Ronald G. Minnich


On Tue, 4 Jan 2005, Stefan Reinauer wrote:

 I can have a look, if you can point me to some documentation. Is the
 utility supposed to through out a working mptable? The code it creates
 looks fundamentally different from the opteron boards' mptables.c
 versions.

It will toss out C code with the proper options. It's been so long since 
anyone has used it that I don't remember how to run it!

ron

___
Linuxbios mailing list
Linuxbios@clustermatic.org
http://www.clustermatic.org/mailman/listinfo/linuxbios


mptable.c

2005-01-03 Thread Stefan Reinauer
Hi,

I've dumped an mptable with the mptable utility of LinuxBIOS v2.

I'm getting this at some point:
MP Config Extended Table Entries:
--
System Address Space
 bus ID: 0 address type: I/O address
 address base: 0x9000
 address range: 0x2000
--
System Address Space
 bus ID: 0 address type: I/O address
 address base: 0x0
 address range: 0x100
--
System Address Space
 bus ID: 0 address type: memory address
 address base: 0xa
 address range: 0x2
--
System Address Space
 bus ID: 0 address type: memory address
 address base: 0xaed0
 address range: 0x220
--
System Address Space
 bus ID: 0 address type: prefetch address
 address base: 0xb0f0
 address range: 0x10


Am I supposed to delete it, or am I supposed to look up what it means
and implement it in mptable.c so LinuxBIOS can use it?

It won't compile like this, at least ;-)

Stefan


___
Linuxbios mailing list
Linuxbios@clustermatic.org
http://www.clustermatic.org/mailman/listinfo/linuxbios