Date: Fri, 11 Jul 2008 23:05:36 +0300 From: Danny Braniss <danny@cs.huji.ac.il> To: Nate Lawson <nate@root.org> Cc: freebsd-hackers@FreeBSD.org, Jeremy Chadwick <koitsu@FreeBSD.org> Subject: Re: AuthenticAMD, cpufreq and SunFire X2200 Message-ID: <E1KHOs4-000FqI-Q5@cs1.cs.huji.ac.il> In-Reply-To: <4877B797.9020209@root.org> References: <E1KHNXP-000F4k-Kf@cs1.cs.huji.ac.il> <20080711193815.GA63636@eos.sc1.parodius.com> <4877B797.9020209@root.org>
next in thread | previous in thread | raw e-mail | index | archive | help
> Jeremy Chadwick wrote: > > On Fri, Jul 11, 2008 at 09:40:11PM +0300, Danny Braniss wrote: > >>> On Fri, Jul 11, 2008 at 03:57:00PM +0300, Danny Braniss wrote: > >>>> Hi, > >>>> I'm trying to find out why there is no frequency info. > >>>> ie: > >>>> sunfire> sysctl dev.cpu.0 > >>>> dev.cpu.0.%desc: ACPI CPU > >>>> dev.cpu.0.%driver: cpu > >>>> dev.cpu.0.%location: handle=\_PR_.P001 > >>>> dev.cpu.0.%pnpinfo: _HID=none _UID=0 > >>>> dev.cpu.0.%parent: acpi0 > >>>> dev.cpu.0.cx_supported: C1/0 > >>>> dev.cpu.0.cx_lowest: C1 > >>>> dev.cpu.0.cx_usage: 100.00% > >>>> > >>>> so any help/insight is most welcome. > >>>> > >>>> BTW, its 7.0-stable > >>> Is the cpufreq device in your kernel config? Do the SunFire X2200's > >>> provide any sort of frequency data in their ACPI tables? Are there BIOS > >>> settings which are relevant to this board enabling Cool'n'Quiet or > >>> anything else of that nature (thus inducing the use of powernow(4))? > >>> > >> device is configured: > >> config -x /boot/kernel/kernel | grep -a cpufreq > >> device cpufreq > >> the BIOS has powernow enabled (or something similar). > >> the kernel prints: > >> ... > >> powernow0: <PowerNow! K8> on cpu0 > >> powernow0: STATUS: 0x3106120806120212 > >> powernow0: STATUS: maxfid: 0x12 > >> powernow0: STATUS: maxvid: 0x06 > >> ... > >> the same is repeated for cpu 1,2,3,4,5,6 & 7 - yes it's a dual quad. > >> > >> which seem to indicate that it didn't like the ACPI data it got - this by > >> comparing with other amd's that do report correctly. > >> > >> as to the question '...any sort of frequency data in their ACPI tables' > >> I tried to 'read' the ACPI data, but didn't understand the language :-( > > > > First and foremost, please don't remove the mailing list from the CC > > line; others need to know the technical details. > > sorry, it's the old fashioned MUA. > > I don't have an answer for you, however. Nate Lawson might have some > > ideas as to what's going on. A verbose boot may be needed. I've > > CC'd Nate here. > > Looks like someone should check the AMD datasheets and/or acpidump. I'm > currently not an active committer though. no AMD datasheets, but here goes acpidump: /* RSD PTR: OEM=ACPIAM, ACPI_Rev=2.0x (2) XSDT=0xdfff0100, length=36, cksum=253 */ /* XSDT: Length=76, Revision=1, Checksum=132, OEMID=A M I, OEM Table ID=OEMXSDT, OEM Revision=0x7000704, Creator ID=MSFT, Creator Revision=0x97 Entries={ 0xdfff0290, 0xdfff0390, 0xdfff0410, 0xdfffe040, 0xdfff4f90 } */ /* FACP: Length=244, Revision=3, Checksum=95, OEMID=A M I, OEM Table ID=OEMFACP, OEM Revision=0x7000704, Creator ID=MSFT, Creator Revision=0x97 FACS=0xdfffe000, DSDT=0xdfff04a0 INT_MODEL=APIC Preferred_PM_Profile=Enterprise Server (4) SCI_INT=9 SMI_CMD=0x242e, ACPI_ENABLE=0xe1, ACPI_DISABLE=0x1e, S4BIOS_REQ=0x0 PSTATE_CNT=0xe2 PM1a_EVT_BLK=0x2000-0x2003 PM1a_CNT_BLK=0x2004-0x2005 PM_TMR_BLK=0x2008-0x200b GPE0_BLK=0x2020-0x2027 GPE1_BLK=0x24a0-0x24af, GPE1_BASE=32 CST_CNT=0xe3 P_LVL2_LAT=101 us, P_LVL3_LAT=1001 us FLUSH_SIZE=1024, FLUSH_STRIDE=16 DUTY_OFFSET=1, DUTY_WIDTH=0 DAY_ALRM=125, MON_ALRM=126, CENTURY=50 IAPC_BOOT_ARCH={LEGACY_DEV,8042} Flags={WBINVD,PROC_C1,SLP_BUTTON,RTC_S4,HEADLESS} X_FACS=0xdfffe000, X_DSDT=0xdfff04a0 X_PM1a_EVT_BLK=0x2000:0[32] (IO) X_PM1a_CNT_BLK=0x2004:0[16] (IO) X_PM_TMR_BLK=0x2008:0[32] (IO) X_GPE0_BLK=0x2020:0[64] (IO) X_GPE1_BLK=0x24a0:0[128] (IO) */ /* FACS: Length=64, HwSig=0x00000000, Firm_Wake_Vec=0x00000000 Global_Lock= Flags= Version=1 */ /* DSDT: Length=19183, Revision=1, Checksum=118, OEMID=S39_3, OEM Table ID=S39_3B17, OEM Revision=0xb17, Creator ID=INTL, Creator Revision=0x20051117 */ /* APIC: Length=118, Revision=1, Checksum=203, OEMID=A M I, OEM Table ID=OEMAPIC, OEM Revision=0x7000704, Creator ID=MSFT, Creator Revision=0x97 Local APIC ADDR=0xfee00000 Flags={PC-AT} Type=Local APIC ACPI CPU=1 Flags={ENABLED} APIC ID=0 Type=Local APIC ACPI CPU=2 Flags={ENABLED} APIC ID=1 Type=Local APIC ACPI CPU=3 Flags={ENABLED} APIC ID=2 Type=Local APIC ACPI CPU=4 Flags={ENABLED} APIC ID=3 Type=IO APIC APIC ID=4 INT BASE=0 ADDR=0x00000000fec00000 Type=INT Override BUS=0 IRQ=9 INTR=9 Flags={Polarity=active-hi, Trigger=level} Type=INT Override BUS=0 IRQ=14 INTR=14 Flags={Polarity=active-hi, Trigger=edge} Type=INT Override BUS=0 IRQ=15 INTR=15 Flags={Polarity=active-hi, Trigger=edge} */ /* SPCR: Length=80, Revision=1, Checksum=24, OEMID=A M I, OEM Table ID=OEMSPCR, OEM Revision=0x7000704, Creator ID=MSFT, Creator Revision=0x97 */ /* SRAT: Length=272, Revision=1, Checksum=15, OEMID=AMD, OEM Table ID=HAMMER, OEM Revision=0x1, Creator ID=AMD, Creator Revision=0x1 */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1KHOs4-000FqI-Q5>