Good ACPI news for everyone! Over the last few days a bunch of people have
been involved in fixing several issues that were holding back potential
deployment of the shiny new ACPI based interrupt routing magic.
We need far and wide testing of all this code on all amd64 and i386 platforms
(including apple junk). This test should be run with both GENERIC and
GENERIC.MP.
To test this code boot the kernel into UKC by using the -c switch at the boot
prompt and enable acpi. Example:
boot> b /bsd.mp -c
... dmesg stuff ...
User Kernel Config
UKC> enable acpi
254 acpi0 enabled
UKC> quit
Continuing...
If you see any issues please mail jordan@ kettenis@ & marco@ with both GENERIC
and GENERIC.MP dmesg with ACPI enabled AND disabled (that's a total of 4
dmesg!). We don't need successful dmesg at this time so please only mail
failed ones. Please send all dmesg in cleartext; mime and attachments make our
collective heads hurt.
Please take this test very seriously!
Thanks!
/marco
Here is a full dmesg from my testbed:
>> OpenBSD/amd64 BOOT 2.12
boot> b /bsd.mp.ioapic -c
booting hd0a:/bsd.mp.ioapic: 4245572+919918+694528+0+438224
[80+361560+225151]=0xa926f8
entry point at 0x1001e0 [7205c766, 34000004, 24448b12, 1a00a304]*[ using
587560 bytes of bsd ELF symbol table ]
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California. All rights reserved.
Copyright (c) 1995-2007 OpenBSD. All rights reserved.
http://www.OpenBSD.org
OpenBSD 4.0-current (GENERIC.MP) #6: Wed Jan 24 14:32:17 CST 2007
[EMAIL PROTECTED]:/usr/src/sys2/arch/amd64/compile/GENERIC.MP
real mem = 3756621824 (3668576K)
avail mem = 3222749184 (3147216K)
using 22937 buffers containing 375869440 bytes (367060K) of memory
User Kernel Config
UKC> enable acpi
254 acpi0 enabled
UKC> quit
Continuing...
mainbus0 (root)
bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xdffbc000 (71 entries)
bios0: Dell Inc. PowerEdge 6950
acpi0 at mainbus0: rev 2-- debug --
0xffff8000060ca320 cnt:00 string: _PIC
-- debug --
0xffff8000060db120 cnt:00 integer: 1
acpi0: tables DSDT FACP APIC SPCR HPET MCFG SRAT SSDT
acpitimer at acpi0 not configured
acpi device at acpi0 from table DSDT not configured
acpi device at acpi0 from table FACP not configured
acpimadt0 at acpi0 table APIC addr 0xfee00000: PC-AT compat
LAPIC: acpi_proc_id 1, apic_id 0, flags 0x1
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Dual-Core AMD Opteron(tm) Processor 8220, 2000.37 MHz
cpu0:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW
cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 1MB 64b/line
16-way L2 cache
cpu0: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative
cpu0: DTLB 32 4KB entries fully associative, 8 4MB entries fully associative
cpu0: apic clock running at 200MHz
LAPIC: acpi_proc_id 2, apic_id 2, flags 0x1
cpu1 at mainbus0: apid 2 (application processor)
cpu1: Dual-Core AMD Opteron(tm) Processor 8220, 2000.07 MHz
cpu1:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW
cpu1: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 1MB 64b/line
16-way L2 cache
cpu1: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative
cpu1: DTLB 32 4KB entries fully associative, 8 4MB entries fully associative
LAPIC: acpi_proc_id 3, apic_id 4, flags 0x1
cpu2 at mainbus0: apid 4 (application processor)
cpu2: Dual-Core AMD Opteron(tm) Processor 8220, 2000.07 MHz
cpu2:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW
cpu2: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 1MB 64b/line
16-way L2 cache
cpu2: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative
cpu2: DTLB 32 4KB entries fully associative, 8 4MB entries fully associative
LAPIC: acpi_proc_id 4, apic_id 6, flags 0x1
cpu3 at mainbus0: apid 6 (application processor)
cpu3: Dual-Core AMD Opteron(tm) Processor 8220, 2000.07 MHz
cpu3:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW
cpu3: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 1MB 64b/line
16-way L2 cache
cpu3: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative
cpu3: DTLB 32 4KB entries fully associative, 8 4MB entries fully associative
LAPIC: acpi_proc_id 5, apic_id 1, flags 0x1
cpu4 at mainbus0: apid 1 (application processor)
cpu4: Dual-Core AMD Opteron(tm) Processor 8220, 2000.07 MHz
cpu4:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW
cpu4: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 1MB 64b/line
16-way L2 cache
cpu4: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative
cpu4: DTLB 32 4KB entries fully associative, 8 4MB entries fully associative
LAPIC: acpi_proc_id 6, apic_id 3, flags 0x1
cpu5 at mainbus0: apid 3 (application processor)
cpu5: Dual-Core AMD Opteron(tm) Processor 8220, 2000.07 MHz
cpu5:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW
cpu5: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 1MB 64b/line
16-way L2 cache
cpu5: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative
cpu5: DTLB 32 4KB entries fully associative, 8 4MB entries fully associative
LAPIC: acpi_proc_id 7, apic_id 5, flags 0x1
cpu6 at mainbus0: apid 5 (application processor)
cpu6: Dual-Core AMD Opteron(tm) Processor 8220, 2000.07 MHz
cpu6:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW
cpu6: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 1MB 64b/line
16-way L2 cache
cpu6: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative
cpu6: DTLB 32 4KB entries fully associative, 8 4MB entries fully associative
LAPIC: acpi_proc_id 8, apic_id 7, flags 0x1
cpu7 at mainbus0: apid 7 (application processor)
cpu7: Dual-Core AMD Opteron(tm) Processor 8220, 2000.07 MHz
cpu7:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW
cpu7: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 1MB 64b/line
16-way L2 cache
cpu7: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative
cpu7: DTLB 32 4KB entries fully associative, 8 4MB entries fully associative
IOAPIC: acpi_ioapic_id 8, address 0xfec00000, global_int_base 0x0
ioapic0 at mainbus0 apid 8 pa 0xfec00000, version 11, 16 pins
ioapic0: misconfigured as apic 0, remapped to apid 8
IOAPIC: acpi_ioapic_id 9, address 0xfec01000, global_int_base 0x20
ioapic1 at mainbus0 apid 9 pa 0xfec01000, version 11, 16 pins
ioapic1: misconfigured as apic 0, remapped to apid 9
IOAPIC: acpi_ioapic_id a, address 0xfec02000, global_int_base 0x40
ioapic2 at mainbus0 apid 10 pa 0xfec02000, version 11, 16 pins
ioapic2: misconfigured as apic 0, remapped to apid 10
apic_type 4
apic_type 4
apic_type 4
apic_type 4
apic_type 4
apic_type 4
apic_type 4
apic_type 4
OVERRIDE: bus 0, source 0, global_int 2, flags 0
acpi device at acpi0 from table SPCR not configured
acpi device at acpi0 from table HPET not configured
acpi device at acpi0 from table MCFG not configured
acpi device at acpi0 from table SRAT not configured
acpi device at acpi0 from table SSDT not configured
-- debug --
0xffff8000060e4520 cnt:00 string: Method _INI
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 8 (PXB_)
acpiprt2 at acpi0: bus 9 (PPBX)
acpiprt3 at acpi0: bus 10 (EXB0)
acpiprt4 at acpi0: bus 4 (EXB1)
acpiprt5 at acpi0: bus 6 (EXB2)
acpiprt6 at acpi0: bus 1 (EXB3)
acpiprt7 at acpi0: bus 11 (EXB4)
acpiprt8 at acpi0: bus 32 (PCI1)
acpiprt9 at acpi0: bus 33 (EXB0)
acpiprt10 at acpi0: bus 34 (EXB1)
acpiprt11 at acpi0: bus 35 (EXB2)
acpiprt12 at acpi0: bus 36 (EXB3)
acpiprt13 at acpi0: bus 37 (EXB4)
acpicpu at acpi0 not configured
acpicpu at acpi0 not configured
acpicpu at acpi0 not configured
acpicpu at acpi0 not configured
acpicpu at acpi0 not configured
acpicpu at acpi0 not configured
acpicpu at acpi0 not configured
acpicpu at acpi0 not configured
ipmi0 at mainbus0: version 2.0 interface KCS iobase 0xca8/8 spacing 4
pci0 at mainbus0 bus 0: configuration mode 1
ppb0 at pci0 dev 1 function 0 "ServerWorks HT-1000 PCI" rev 0x00
pci1 at ppb0 bus 8
ppb1 at pci1 dev 13 function 0 "ServerWorks HT-1000 PCIX" rev 0xc0
pci2 at ppb1 bus 9
piixpm0 at pci0 dev 2 function 0 "ServerWorks HT-1000" rev 0x00: polling
iic0 at piixpm0: disabled to avoid ipmi0 interactions
pciide0 at pci0 dev 2 function 1 "ServerWorks HT-1000 IDE" rev 0x00: DMA
atapiscsi0 at pciide0 channel 0 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: <HL-DT-ST, CD-ROM GCR-8240N, 1.10> SCSI0 5/cdrom
removable
cd0(pciide0:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 0
pcib0 at pci0 dev 2 function 2 "ServerWorks HT-1000 LPC" rev 0x00
ohci0 at pci0 dev 3 function 0 "ServerWorks HT-1000 USB" rev 0x01: apic 8 int
11 (irq 11), version 1.0, legacy support
usb0 at ohci0: USB revision 1.0
uhub0 at usb0
uhub0: ServerWorks OHCI root hub, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
ohci1 at pci0 dev 3 function 1 "ServerWorks HT-1000 USB" rev 0x01: apic 8 int
11 (irq 11), version 1.0, legacy support
usb1 at ohci1: USB revision 1.0
uhub1 at usb1
uhub1: ServerWorks OHCI root hub, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
ehci0 at pci0 dev 3 function 2 "ServerWorks HT-1000 USB" rev 0x01: apic 8 int
11 (irq 11)
usb2 at ehci0: USB revision 2.0
uhub2 at usb2
uhub2: ServerWorks EHCI root hub, rev 2.00/1.00, addr 1
uhub2: 4 ports with 4 removable, self powered
vga1 at pci0 dev 4 function 0 "ATI ES1000" rev 0x02
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
ppb2 at pci0 dev 7 function 0 "ServerWorks HT-2100 PCIE" rev 0xa2
pci3 at ppb2 bus 10
ppb3 at pci0 dev 8 function 0 "ServerWorks HT-2100 PCIE" rev 0xa2
pci4 at ppb3 bus 4
ppb4 at pci4 dev 0 function 0 "ServerWorks PCIE-PCIX" rev 0xc3
pci5 at ppb4 bus 5
bnx0 at pci5 dev 0 function 0 "Broadcom BCM5708" rev 0x12: apic 9 int 1 (irq 5)
ppb5 at pci0 dev 9 function 0 "ServerWorks HT-2100 PCIE" rev 0xa2
pci6 at ppb5 bus 6
ppb6 at pci6 dev 0 function 0 "ServerWorks PCIE-PCIX" rev 0xc3
pci7 at ppb6 bus 7
bnx1 at pci7 dev 0 function 0 "Broadcom BCM5708" rev 0x12: apic 9 int 5 (irq 10)
ppb7 at pci0 dev 10 function 0 "ServerWorks HT-2100 PCIE" rev 0xa2
pci8 at ppb7 bus 1
ppb8 at pci8 dev 0 function 0 "Intel IOP333 PCIE-PCIX" rev 0x00
pci9 at ppb8 bus 2
mfi0 at pci9 dev 14 function 0 "Dell PERC 5" rev 0x00, Dell PERC 5/i: apic 9
int 3 (irq 6)
mfi0: logical drives 1, version 5.0.1-0030, 256MB RAM
scsibus1 at mfi0: 1 targets
sd0 at scsibus1 targ 0 lun 0: <DELL, PERC 5/i Adapter, 1.00> SCSI3 0/direct
fixed
sd0: 278784MB, 278784 cyl, 64 head, 32 sec, 512 bytes/sec, 570949632 sec total
ppb9 at pci8 dev 0 function 2 "Intel IOP333 PCIE-PCIX" rev 0x00
pci10 at ppb9 bus 3
ppb10 at pci0 dev 11 function 0 "ServerWorks HT-2100 PCIE" rev 0xa2
pci11 at ppb10 bus 11
pchb0 at pci0 dev 24 function 0 "AMD AMD64 HyperTransport" rev 0x00
pchb1 at pci0 dev 24 function 1 "AMD AMD64 Address Map" rev 0x00
pchb2 at pci0 dev 24 function 2 "AMD AMD64 DRAM Cfg" rev 0x00
pchb3 at pci0 dev 24 function 3 "AMD AMD64 Misc Cfg" rev 0x00
pchb4 at pci0 dev 25 function 0 "AMD AMD64 HyperTransport" rev 0x00
pci12 at pchb4 bus 32
ppb11 at pci12 dev 7 function 0 "ServerWorks HT-2100 PCIE" rev 0xa2
pci13 at ppb11 bus 33
ppb12 at pci12 dev 8 function 0 "ServerWorks HT-2100 PCIE" rev 0xa2
pci14 at ppb12 bus 34
ppb13 at pci12 dev 9 function 0 "ServerWorks HT-2100 PCIE" rev 0xa2
pci15 at ppb13 bus 35
ppb14 at pci12 dev 10 function 0 "ServerWorks HT-2100 PCIE" rev 0xa2
pci16 at ppb14 bus 36
ppb15 at pci12 dev 11 function 0 "ServerWorks HT-2100 PCIE" rev 0xa2
pci17 at ppb15 bus 37
pchb5 at pci0 dev 25 function 1 "AMD AMD64 Address Map" rev 0x00
pchb6 at pci0 dev 25 function 2 "AMD AMD64 DRAM Cfg" rev 0x00
pchb7 at pci0 dev 25 function 3 "AMD AMD64 Misc Cfg" rev 0x00
pchb8 at pci0 dev 26 function 0 "AMD AMD64 HyperTransport" rev 0x00
pchb9 at pci0 dev 26 function 1 "AMD AMD64 Address Map" rev 0x00
pchb10 at pci0 dev 26 function 2 "AMD AMD64 DRAM Cfg" rev 0x00
pchb11 at pci0 dev 26 function 3 "AMD AMD64 Misc Cfg" rev 0x00
pchb12 at pci0 dev 27 function 0 "AMD AMD64 HyperTransport" rev 0x00
pchb13 at pci0 dev 27 function 1 "AMD AMD64 Address Map" rev 0x00
pchb14 at pci0 dev 27 function 2 "AMD AMD64 DRAM Cfg" rev 0x00
pchb15 at pci0 dev 27 function 3 "AMD AMD64 Misc Cfg" rev 0x00
isa0 at pcib0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
com0: console
com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: <PC speaker>
spkr0 at pcppi0
uhub3 at uhub2 port 3
uhub3: Cypress Semiconductor USB2 Hub, rev 2.00/0.0b, addr 2
uhub3: 4 ports with 4 removable, self powered, multiple transaction translators
uhidev0 at uhub3 port 2 configuration 1 interface 0
uhidev0: CHESEN PS2 to USB Converter, rev 1.10/0.10, addr 3, iclass 3/1
ukbd0 at uhidev0: 8 modifier keys, 6 key codes
wskbd1 at ukbd0 mux 1
wskbd1: connecting to wsdisplay0
uhidev1 at uhub3 port 2 configuration 1 interface 1
uhidev1: CHESEN PS2 to USB Converter, rev 1.10/0.10, addr 3, iclass 3/1
uhidev1: 3 report ids
ums0 at uhidev1 reportid 1: 5 buttons and Z dir.
wsmouse0 at ums0 mux 0
uhid0 at uhidev1 reportid 2: input=1, output=0, feature=0
uhid1 at uhidev1 reportid 3: input=3, output=0, feature=0
uhub4 at uhub2 port 4
uhub4: Dell product 0xa001, rev 2.00/0.00, addr 4
uhub4: 2 ports with 2 removable, self powered, multiple transaction translators
uhub5 at uhub4 port 1
uhub5: Cypress Semiconductor USB2 Hub, rev 2.00/0.0b, addr 5
uhub5: 4 ports with 4 removable, self powered, multiple transaction translators
dkcsum: sd0 matches BIOS drive 0x80
root on sd0a
rootdev=0x400 rrootdev=0xd00 rawdev=0xd02
bnx1: address 00:13:72:2d:98:82
brgphy0 at bnx1 phy 1: BCM5708C 10/100/1000baseT PHY, rev. 6
bnx0: address 00:13:72:2d:98:80
brgphy1 at bnx0 phy 1: BCM5708C 10/100/1000baseT PHY, rev. 6