Contempt? Whatever.
Mark Beihoffer Dragonfly Networks mbeihoffer@gmail.com mark@dragonfly-networks.com (612)508-5128
On Wed, Oct 20, 2010 at 12:31 AM, coreboot-request@coreboot.org wrote:
Send coreboot mailing list submissions to coreboot@coreboot.org
To subscribe or unsubscribe via the World Wide Web, visit http://www.coreboot.org/mailman/listinfo/coreboot or, via email, send a message with subject or body 'help' to coreboot-request@coreboot.org
You can reach the person managing the list at coreboot-owner@coreboot.org
When replying, please edit your Subject line so it is more specific than "Re: Contents of coreboot digest..."
Today's Topics:
- [commit] r5976 - trunk/src/cpu/amd/car (repository service)
- Re: [PATCH] AMD F10h: set MMCONF bus count according toconfigured value (Peter Stuge)
- Re: [PATCH] fix cpu ht speed display in rs780_gfx.c (Liu Tao)
- Extension to inteltool and a request (Keith Hui)
- Re: coreboot Digest, Vol 68, Issue 108 (Mark Beihoffer)
Message: 1 Date: Tue, 19 Oct 2010 23:08:12 +0200 From: repository service svn@coreboot.org To: coreboot@coreboot.org Subject: [coreboot] [commit] r5976 - trunk/src/cpu/amd/car Message-ID: E1P8JPo-0008L5-HC@ra.coresystems.de Content-Type: text/plain; charset=UTF-8
Author: sduplichan Date: Tue Oct 19 23:08:11 2010 New Revision: 5976 URL: https://tracker.coreboot.org/trac/coreboot/changeset/5976
Log: For AMD family 10h processors, msr c0010058 is always programmed for 256 buses, even if fewer are configured. This patch lets msr c0010058 programming use the configured bus count, CONFIG_MMCONF_BUS_NUMBER.
Signed-off-by: Scott Duplichan scott@notabs.org Acked-by: Myles Watson mylesgw@gmail.com
Modified: trunk/src/cpu/amd/car/cache_as_ram.inc
Modified: trunk/src/cpu/amd/car/cache_as_ram.inc
============================================================================== --- trunk/src/cpu/amd/car/cache_as_ram.inc Tue Oct 19 17:25:06 2010 (r5975) +++ trunk/src/cpu/amd/car/cache_as_ram.inc Tue Oct 19 23:08:11 2010 (r5976) @@ -132,14 +132,34 @@ wrmsr
#if CONFIG_MMCONF_SUPPORT
/* Set MMIO config space BAR. */
movl $MSR_MCFG_BASE, %ecx
rdmsr
andl $(~(0xfff00000 | (0xf << 2))), %eax
orl $((CONFIG_MMCONF_BASE_ADDRESS & 0xfff00000)), %eax
orl $((8 << 2) | (1 << 0)), %eax
andl $(~(0x0000ffff)), %edx
orl $(CONFIG_MMCONF_BASE_ADDRESS >> 32), %edx
- #if (CONFIG_MMCONF_BASE_ADDRESS > 0xFFFFFFFF)
- #error "MMCONF_BASE_ADDRESS too big"
- #elif (CONFIG_MMCONF_BASE_ADDRESS & 0xFFFFF)
- #error "MMCONF_BASE_ADDRESS not 1MB aligned"
- #endif
movl $0, %edx
movl $((CONFIG_MMCONF_BASE_ADDRESS) | (1 << 0)), %eax
- #if (CONFIG_MMCONF_BUS_NUMBER == 1)
- #elif (CONFIG_MMCONF_BUS_NUMBER == 2)
orl $(1 << 2), %eax
- #elif (CONFIG_MMCONF_BUS_NUMBER == 4)
orl $(2 << 2), %eax
- #elif (CONFIG_MMCONF_BUS_NUMBER == 8)
orl $(3 << 2), %eax
- #elif (CONFIG_MMCONF_BUS_NUMBER == 16)
orl $(4 << 2), %eax
- #elif (CONFIG_MMCONF_BUS_NUMBER == 32)
orl $(5 << 2), %eax
- #elif (CONFIG_MMCONF_BUS_NUMBER == 64)
orl $(6 << 2), %eax
- #elif (CONFIG_MMCONF_BUS_NUMBER == 128)
orl $(7 << 2), %eax
- #elif (CONFIG_MMCONF_BUS_NUMBER == 256)
orl $(8 << 2), %eax
- #else
#error "bad MMCONF_BUS_NUMBER value"
- #endif
movl $(0xc0010058), %ecx wrmsr
#endif
Message: 2 Date: Wed, 20 Oct 2010 00:17:31 +0200 From: Peter Stuge peter@stuge.se To: coreboot@coreboot.org Subject: Re: [coreboot] [PATCH] AMD F10h: set MMCONF bus count according toconfigured value Message-ID: 20101019221731.1550.qmail@stuge.se Content-Type: text/plain; charset=us-ascii
Scott Duplichan wrote:
back to inlined code with the extra error checks:
Signed-off-by: Scott Duplichan <scott@notabs.org
Acked-by: Peter Stuge peter@stuge.se
Message: 3 Date: Wed, 20 Oct 2010 09:13:17 +0800 From: Liu Tao liutao1980@gmail.com To: Uwe Hermann uwe@hermann-uwe.de Cc: Myles Watson mylesgw@gmail.com, coreboot@coreboot.org Subject: Re: [coreboot] [PATCH] fix cpu ht speed display in rs780_gfx.c Message-ID: AANLkTinGdeiSayFcuGp5dffa1qL6eq2uLCFOpwNx1280@mail.gmail.com Content-Type: text/plain; charset=ISO-8859-1
The name of sblink seems more clear, but for most cases, the name of sblk only appears in K8/Fam10 codes, so it didn't cause much confusions.
A more consistent way to get HT southbridge link in sb700 chipset is to include the <cpu/amd/amdk8_sysconf.h> or <cpu/amd/amdfam10_sysconf.h>, and use global variable sysconf.sblk. For now, fam10 codes set sysconf.sblk during early romstage, but K8 codes didn't. Maybe we should fix K8 coeds to set sysconf.sblk earlyer, and use it in later device drivers.
On Mon, Oct 18, 2010 at 6:01 AM, Uwe Hermann uwe@hermann-uwe.de wrote:
On Sun, Oct 17, 2010 at 11:39:46PM +0200, Uwe Hermann wrote:
?- Renamed sblk to sblink (the name of the register bits as per ? ?BIOS + Kernel Developer's Guide for AMD Athlon 64 & AMD Opteron
Processors,
? ?chapter 3.3.8.
Hm, I noticed that the K8/Fam10h code uses "sblk" as function/variable
name
pretty consistently, but I can't seem to find that spelling in any of the AMD manuals. Should we rename "sblk" to "sblink" in the whole tree?
-- Regards, Liu Tao
Message: 4 Date: Wed, 20 Oct 2010 00:57:21 -0400 From: Keith Hui buurin@gmail.com To: coreboot@coreboot.org Subject: [coreboot] Extension to inteltool and a request Message-ID: AANLkTimCnR9RdDSMpNYk72DrP6rHvemX41R-f3ZZVCVk@mail.gmail.com Content-Type: text/plain; charset="iso-8859-1"
Hi all,
This patch extends inteltool's MSR dumping to all Slot 1 Intel CPUs.
I made this an attempt to gather some information for an updated L2 patch, so I have a request to all,
Can anyone with a Slot 1 CPU apply the attached patch, compile inteltool, and post the output together with some information on your CPU?
Thanks.
Patch is Signed-off-by: Keith Hui buurin@gmail.com if it's useful for the future and worth committing.