Port-i386 archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Haswell
Hello, all.
I've added some changes for Intel Haswell processor and Intel
8 Series Chipset.
usr.sbin/cpuctl/arch/i386.c:
Add/update some processor family name from the document.
sys/arch/x86/include/cpuinfo.h:
Add some cache and TLB information from the document.
What other modification should we do for processor itself?
For devices:
sys/dev/pci/pcidevs
Add some devices for new chipset's devices from the document.
x86/pci/ichlpcib.c
Add some entries for new chipset's devices from the document
to support some timers.
sys/dev/pci/pucdata.c
Add KT (Serial over LAN) from the document.
and wm(4) support (I217)
The following dmesg is from my Intel DQ87PG motherboard using
amd64/conf/GENERIC.
I know this ML is not port-amd64 but port-i386 :)
We can see some error and warning messages.
> Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
> 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013
> The NetBSD Foundation, Inc. All rights reserved.
> Copyright (c) 1982, 1986, 1989, 1991, 1993
> The Regents of the University of California. All rights reserved.
>
> NetBSD 6.99.23 (GENERIC) #8: Wed Jul 17 12:08:29 JST 2013
>
> msaitoh%amd64.xxx.yyy@localhost:/var/sources/NetBSD-current/src/sys/arch/amd64/compile/GENERIC
> total memory = 16037 MB
> avail memory = 15555 MB
> timecounter: Timecounters tick every 10.000 msec
> timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100
> (
> )
> mainbus0 (root)
> ACPI Warning: FADT (revision 5) is longer than ACPI 2.0 version, truncating
> length 268 to 244 (20110623/tbfadt-320)
ACPI warning.
> cpu0 at mainbus0 apid 0: Intel(R) Core(TM) i5-4430S CPU @ 2.70GHz, id 0x306c3
> cpu1 at mainbus0 apid 2: Intel(R) Core(TM) i5-4430S CPU @ 2.70GHz, id 0x306c3
> cpu2 at mainbus0 apid 4: Intel(R) Core(TM) i5-4430S CPU @ 2.70GHz, id 0x306c3
> cpu3 at mainbus0 apid 6: Intel(R) Core(TM) i5-4430S CPU @ 2.70GHz, id 0x306c3
> ioapic0 at mainbus0 apid 2: pa 0xfec00000, version 0x20, 24 pins
> acpi0 at mainbus0: Intel ACPICA 20110623
> acpi0: X/RSDT: OemId <INTEL ,DQ87PG ,00000023>, AslId <AMI ,00010013>
> mpacpi: PCI bus 3 int routing already done!
Bug of BIOS? (This motherboard's BIOS is the latest version)
> acpi0: SCI interrupting at int 9
> timecounter: Timecounter "ACPI-Fast" frequency 3579545 Hz quality 1000
> hpet0 at acpi0: high precision event timer (mem 0xfed00000-0xfed00400)
> timecounter: Timecounter "hpet0" frequency 14318180 Hz quality 2000
> acpiec0 at acpi0 (H_EC, PNP0C09-1)acpiec0: unable to evaluate _GPE:
> AE_NOT_FOUND
?
> FWHD (INT0800) at acpi0 not configured
> LDRC (PNP0C02) at acpi0 not configured
> attimer1 at acpi0 (TIMR, PNP0100): io 0x40-0x43,0x50-0x53 irq 0
> CWDT (INT3F0D) at acpi0 not configured
> SIO1 (PNP0C02) at acpi0 not configured
> pckbc1 at acpi0 (PS2K, PNP0303) (kbd port): io 0x60,0x64 irq 1
> RMSC (PNP0C02) at acpi0 not configured
> UAR1 (PNP0501) at acpi0 not configured
> PDRC (PNP0C02) at acpi0 not configured
> acpivga0 at acpi0 (GFX0): ACPI Display Adapter
> acpiout0 at acpivga0 (DD01, 0x0100): ACPI Display Output Device
> acpiout1 at acpivga0 (DD02, 0x0002): ACPI Display Output Device
> acpiout2 at acpivga0 (DD03, 0x0300): ACPI Display Output Device
> acpiout3 at acpivga0 (DD04, 0x0301): ACPI Display Output Device
> acpiout4 at acpivga0 (DD05, 0x0302): ACPI Display Output Device
> acpiout5 at acpivga0 (DD06, 0x0303): ACPI Display Output Device
> acpiout6 at acpivga0 (DD07, 0x0304): ACPI Display Output Device
> acpiout7 at acpivga0 (DD08, 0x0305): ACPI Display Output Device
> acpiout8 at acpivga0 (DD09, 0x0009): ACPI Display Output Device
> acpiout9 at acpivga0 (DD0A, 0x000a): ACPI Display Output Device
> acpiout10 at acpivga0 (DD0B, 0x000b): ACPI Display Output Device
> acpiout11 at acpivga0 (DD0C, 0x000c): ACPI Display Output Device
> acpiout12 at acpivga0 (DD0D, 0x000d): ACPI Display Output Device
> acpiout13 at acpivga0 (DD0E, 0x000e): ACPI Display Output Device
> acpiout14 at acpivga0 (DD0F, 0x000f): ACPI Display Output Device
> acpiout15 at acpivga0 (DD1F, 0x0400): ACPI Display Output Device
> acpiout15: brightness levels: 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
> 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44
> 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70
> 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96
> 97 98 99 100
> acpivga0: unknown output device acpiout0
> acpivga0: unknown output device acpiout1
> acpivga0: unknown output device acpiout2
> acpivga0: unknown output device acpiout3
> acpivga0: unknown output device acpiout4
> acpivga0: unknown output device acpiout5
> acpivga0: unknown output device acpiout6
> acpivga0: unknown output device acpiout7
> acpivga0: unknown output device acpiout8
> acpivga0: unknown output device acpiout9
> acpivga0: unknown output device acpiout10
> acpivga0: unknown output device acpiout11
> acpivga0: unknown output device acpiout12
> acpivga0: unknown output device acpiout13
> acpivga0: unknown output device acpiout14
> acpivga0: connected output devices:
> acpivga0: 0x0400 (acpiout15): Unknown Output Device, head 0
> acpibut0 at acpi0 (PWRB, PNP0C0C-170): ACPI Power Button
> PTMD (INT3394) at acpi0 not configured
> TPM (PNP0C31) at acpi0 not configured
> IAOE (INT33A0) at acpi0 not configured
> acpifan0 at acpi0 (FAN0, PNP0C0B-0): ACPI Fan
> acpifan1 at acpi0 (FAN1, PNP0C0B-1): ACPI Fan
> acpifan2 at acpi0 (FAN2, PNP0C0B-2): ACPI Fan
> acpifan3 at acpi0 (FAN3, PNP0C0B-3): ACPI Fan
> acpifan4 at acpi0 (FAN4, PNP0C0B-4): ACPI Fan
> acpitz0 at acpi0 (TZ00)
> acpitz0: active cooling level 0: 86.0C
> acpitz0: active cooling level 1: 55.0C
> acpitz0: active cooling level 2: 0.0C
> acpitz0: active cooling level 3: 0.0C
> acpitz0: active cooling level 4: 0.0C
> acpitz0: levels: critical 97.0 C
> acpitz1 at acpi0 (TZ01): cpu0 cpu1 cpu2 cpu3
> acpitz1: levels: critical 97.0 C, passive 100.0 C, passive cooling
> pckbd0 at pckbc1 (kbd slot)
> pckbc1: using irq 1 for kbd slot
> wskbd0 at pckbd0 mux 1
> pci0 at mainbus0 bus 0: configuration mode 1
> pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
> pchb0 at pci0 dev 0 function 0: Intel Haswell Host Bridge, DRAM (rev. 0x06)
> vga0 at pci0 dev 2 function 0: Intel product 0x0412 (rev. 0x06)
> wsdisplay0 at vga0 kbdmux 1
> wsmux1: connecting to wsdisplay0
> wskbd0: connecting to wsdisplay0
> drm at vga0 not configured
> hdaudio0 at pci0 dev 3 function 0: HD Audio Controller
> hdaudio0: interrupting at ioapic0 pin 16
> hdaudio0: RIRB timeout
> hdaudio0: RIRB timeout
> hdaudio0: RIRB timeout
hdaudio0 is configured incorrectly. The document says Haswell CPU which
has graphics internally has new "mini" HD audio, too. I'm not familiar with
hdaudio, so I can't fix this problem.
> Intel 8 Series USB xHCI (USB serial bus, interface 0x30, revision 0x04) at
> pci0 dev 20 function 0 not configured
> Intel 8 Series MEI Controller (miscellaneous communications, revision 0x04)
> at pci0 dev 22 function 0 not configured
> wm0 at pci0 dev 25 function 0: I217 LM Ethernet Connection (rev. 0x04)
> wm0: interrupting at ioapic0 pin 20
> wm0: PCI-Express bus
> wm0: FLASH
> wm0: Ethernet address 70:54:d2:c5:25:b0
> ihphy0 at wm0 phy 2: i217 10/100/1000 media interface, rev. 4
> ihphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT,
> 1000baseT-FDX, auto
Currenty, I217 works fine for me. I have to do some work for wm:
EEE support
modify the code for RAL (Receive Addless List)
> ehci0 at pci0 dev 26 function 0: Intel 8 Series USB EHCI (rev. 0x04)
> ehci0: interrupting at ioapic0 pin 16
> ehci0: BIOS has given up ownership
> ehci0: EHCI version 1.0
> usb0 at ehci0: USB revision 2.0
> hdaudio1 at pci0 dev 27 function 0: HD Audio Controller
> hdaudio1: interrupting at ioapic0 pin 22
> hdafg0 at hdaudio1: Realtek ALC662
> hdafg0: DAC00 2ch: Speaker [Jack]
> hdafg0: DAC01 2ch: Speaker [Built-In]
> hdafg0: DAC02 2ch: HP Out [Jack]
> hdafg0: DIG03 2ch: SPDIF Out [Jack]
> hdafg0: ADC04 2ch: Line In [Jack], Mic In [Jack]
> hdafg0: ADC05 2ch: Mic In [Jack]
> hdafg0: 2ch/2ch 32000Hz 44100Hz 48000Hz 88200Hz 96000Hz 192000Hz PCM16 PCM20
> PCM24 AC3
> audio0 at hdafg0: full duplex, playback, capture, independent
> ppb0 at pci0 dev 28 function 0: Intel 8 Series PCIE (rev. 0xd4)
> ppb0: PCI Express 2.0 <Root Port of PCI-E Root Complex> x1 @ 5.0Gb/s
> pci1 at ppb0 bus 1
> pci1: i/o space, memory space enabled, rd/line, wr/inv ok
> ppb1 at pci0 dev 28 function 5: Intel 8 Series PCIE (rev. 0xd4)
> ppb1: PCI Express 2.0 <Root Port of PCI-E Root Complex> x1 @ 5.0Gb/s
> ppb1: link is x1 @ 2.5Gb/s
> pci2 at ppb1 bus 2
> pci2: i/o space, memory space enabled, rd/line, wr/inv ok
> ppb2 at pci2 dev 0 function 0: Integrated Technology Express PCIe-PCI Bridge
> (rev. 0x41)
> pci3 at ppb2 bus 3
> pci3: i/o space, memory space enabled, rd/line, wr/inv ok
> ehci1 at pci0 dev 29 function 0: Intel 8 Series USB EHCI (rev. 0x04)
> ehci1: interrupting at ioapic0 pin 23
> ehci1: BIOS has given up ownership
> ehci1: EHCI version 1.0
> usb1 at ehci1: USB revision 2.0
> ichlpcib0 at pci0 dev 31 function 0: Intel Q87 LPC (rev. 0x04)
> timecounter: Timecounter "ichlpcib0" frequency 3579545 Hz quality 1000
> ichlpcib0: 24-bit timer
> ichlpcib0: TCO (watchdog) timer configured.
> ahcisata0 at pci0 dev 31 function 2: Intel 8 Series (desktop) SATA Controller
> (AHCI) (rev. 0x04)
> ahcisata0: interrupting at ioapic0 pin 19
> ahcisata0: 64-bit DMA
> ahcisata0: AHCI revision 1.30, 6 ports, 32 slots, CAP
> 0xc730ff45<EMS,PSC,SSC,PMD,ISS=0x3=Gen3,SCLO,SAL,SALP,SNCQ,S64A>
> atabus0 at ahcisata0 channel 0
> Intel 8 Series SMBus Controller (SMBus serial bus, revision 0x04) at pci0 dev
> 31 function 3 not configured
> isa0 at ichlpcib0
> tpm0 at isa0 iomem 0xfed40000-0xfed44fff irq 7: device 0x0000104a rev 0x4e
> com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
> com0: console
> pcppi0 at isa0 port 0x61
> midi0 at pcppi0: PC speaker
> sysbeep0 at pcppi0
> attimer1: attached to pcppi0
> acpicpu0 at cpu0: ACPI CPU
> acpicpu0: C1: FFH, lat 1 us, pow 1000 mW
> acpicpu0: P0: FFH, lat 10 us, pow 65000 mW, 2701 MHz, turbo boost
> acpicpu0: P1: FFH, lat 10 us, pow 65000 mW, 2700 MHz
> acpicpu0: P2: FFH, lat 10 us, pow 61690 mW, 2600 MHz
> acpicpu0: P3: FFH, lat 10 us, pow 55260 mW, 2400 MHz
> acpicpu0: P4: FFH, lat 10 us, pow 52759 mW, 2300 MHz
> acpicpu0: P5: FFH, lat 10 us, pow 49691 mW, 2200 MHz
> acpicpu0: P6: FFH, lat 10 us, pow 44347 mW, 2000 MHz
> acpicpu0: P7: FFH, lat 10 us, pow 41453 mW, 1900 MHz
> acpicpu0: P8: FFH, lat 10 us, pow 35844 mW, 1700 MHz
> acpicpu0: P9: FFH, lat 10 us, pow 33706 mW, 1600 MHz
> acpicpu0: P10: FFH, lat 10 us, pow 31039 mW, 1500 MHz
> acpicpu0: P11: FFH, lat 10 us, pow 26430 mW, 1300 MHz
> acpicpu0: P12: FFH, lat 10 us, pow 23928 mW, 1200 MHz
> acpicpu0: P13: FFH, lat 10 us, pow 21483 mW, 1100 MHz
> acpicpu0: P14: FFH, lat 10 us, pow 17285 mW, 900 MHz
> acpicpu0: P15: FFH, lat 10 us, pow 14998 mW, 800 MHz
> coretemp0 at cpu0: thermal sensor, 1 C resolution
> acpicpu1 at cpu1: ACPI CPU
> coretemp1 at cpu1: thermal sensor, 1 C resolution
> acpicpu2 at cpu2: ACPI CPU
> coretemp2 at cpu2: thermal sensor, 1 C resolution
> acpicpu3 at cpu3: ACPI CPU
> coretemp3 at cpu3: thermal sensor, 1 C resolution
> timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
> uhub0 at usb0: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
> uhub0: 2 ports with 2 removable, self powered
> uhub1 at usb1: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
> uhub1: 2 ports with 2 removable, self powered
> ahcisata0 port 0: device present, speed: 6.0Gb/s
> wd0 at atabus0 drive 0
> wd0: <PLEXTOR PX-128M5S>
> wd0: drive supports 16-sector PIO transfers, LBA48 addressing
> wd0: 119 GB, 248085 cyl, 16 head, 63 sec, 512 bytes/sect x 250069680 sectors
> wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133)
> wd0(ahcisata0:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 6
> (Ultra/133) (using DMA)
> uhub2 at uhub0 port 1: vendor 0x8087 product 0x8008, class 9/0, rev
> 2.00/0.04, addr 2
> uhub2: single transaction translator
> uhub3 at uhub1 port 1uhub2: 6 ports with 6 removable, self powered
> : vendor 0x8087 product 0x8000, class 9/0, rev 2.00/0.04, addr 2
> uhub3: single transaction translator
> uhub3: 8 ports with 8 removable, self powered
> uhidev0 at uhub2 port 1 configuration 1 interface 0
> uhidev0: Darfon USB Optical Mouse, rev 1.10/3.00, addr 3, iclass 3/1
> ums0 at uhidev0: 3 buttons and Z dir
> wsmouse0 at ums0 mux 0
> Kernelized RAIDframe activated
> pad0: outputs: 44100Hz, 16-bit, stereo
> audio1 at pad0: half duplex, playback, capture
> boot device: wd0
> root on wd0a dumps on wd0b
> root file system type: ffs
> wsdisplay0: screen 1 added (80x25, vt100 emulation)
> wsdisplay0: screen 2 added (80x25, vt100 emulation)
> wsdisplay0: screen 3 added (80x25, vt100 emulation)
> wsdisplay0: screen 4 added (80x25, vt100 emulation)
--
-----------------------------------------------
SAITOH Masanobu (msaitoh%execsw.org@localhost
msaitoh%netbsd.org@localhost)
Home |
Main Index |
Thread Index |
Old Index