Re: DragonFly-2.3.1.175.gfb16b master sys/platform/pc32/acpica5

看板DFBSD_kernel作者時間16年前 (2009/06/06 16:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
On Sat, Jun 6, 2009 at 3:35 PM, Sepherosa Ziehau<sephe@crater.dragonflybsd.org> wrote: > > commit fb16beda6e46d85e067310454f33ee9ee3645c62 > Author: Sepherosa Ziehau <sephe@dragonflybsd.org> > Date: =A0 Sat Jun 6 14:47:48 2009 +0800 > > =A0 =A0ACPI P-State support step 2/2: Add CPU driver for AMD 0fh family p= rocessors After this commit, two widely available AMD processor families P-State is supported: sysctl hw.acpi.cpu will list the frequency domains and the current CPUs' frequency e.g. On Phenom (family 10h) hw.acpi.cpu.px_dom3.available: 2200 1100 hw.acpi.cpu.px_dom3.members: cpu3(2200) hw.acpi.cpu.px_dom3.select: 2200 hw.acpi.cpu.px_dom2.available: 2200 1100 hw.acpi.cpu.px_dom2.members: cpu2(2200) hw.acpi.cpu.px_dom2.select: 2200 hw.acpi.cpu.px_dom1.available: 2200 1100 hw.acpi.cpu.px_dom1.members: cpu1(2200) hw.acpi.cpu.px_dom1.select: 2200 hw.acpi.cpu.px_dom0.available: 2200 1100 hw.acpi.cpu.px_dom0.members: cpu0(2200) hw.acpi.cpu.px_dom0.select: 2200 hw.acpi.cpu.px_global: 2200 e.g. On Turion (family 0fh) hw.acpi.cpu.px_dom0.available: 1900 1800 1600 800 hw.acpi.cpu.px_dom0.members: cpu1(1900) cpu0(1900) hw.acpi.cpu.px_dom0.select: 1900 hw.acpi.cpu.px_global: 1900 Each frequncy domain's freq could be changed independently via the "select" node. px_global is a convenient sysctl node which allows all frequency domain's freq to be changed in one shot. Developers who have Intel CPUs (I don't have any) and interested to work on CPU drivers, please be my guest :) _PPC re-polling is not implemented yet. AMD 11h family is not supported yet, should be easy to do, since it is quite similar to 10h (need some hardware bug workaround :P) My next plan is to implement generic frequency domain support which could allow multiple frequency domain enumerators (e.g. ACPI, and powernow PSB) to coexist (register based) and bring in the powernow PSB patch. Best Regards, sephe --=20 Live Free or Die
文章代碼(AID): #1AAYc700 (DFBSD_kernel)