[PATCH] x86: add PCI IDs to k8topology_64.c

2008-01-28 Thread Joachim Deguara
family 10h and 11h CPU's northbridges to k8topology discovery. Signed-off-by: Joachim Deguara <[EMAIL PROTECTED]> Signed-off-by: Andi Kleen <[EMAIL PROTECTED]> Acked-by: Yinghai Lu <[EMAIL PROTECTED]> diff --git a/arch/x86/mm/k8topology_64.c b/arch/x86/mm/k8t

[PATCH] x86: add PCI IDs to k8topology_64.c

2008-01-28 Thread Joachim Deguara
family 10h and 11h CPU's northbridges to k8topology discovery. Signed-off-by: Joachim Deguara [EMAIL PROTECTED] Signed-off-by: Andi Kleen [EMAIL PROTECTED] Acked-by: Yinghai Lu [EMAIL PROTECTED] diff --git a/arch/x86/mm/k8topology_64.c b/arch/x86/mm/k8topology_64.c index a96006f

Re: [x86] please setup git for http access

2008-01-22 Thread Joachim Deguara
On Thursday 17 January 2008, Joachim Deguara wrote: > On Tuesday 15 January 2008, H. Peter Anvin wrote: > > Joachim Deguara wrote: > > > Hello, > > > I am trying to access the x86 git tree behind a proxy and therefore > > > over the http address. This works

Re: [x86] please setup git for http access

2008-01-22 Thread Joachim Deguara
On Thursday 17 January 2008, Joachim Deguara wrote: On Tuesday 15 January 2008, H. Peter Anvin wrote: Joachim Deguara wrote: Hello, I am trying to access the x86 git tree behind a proxy and therefore over the http address. This works for Linus' tree but not for the x86 tree

Re: [x86] please setup git for http access

2008-01-17 Thread Joachim Deguara
On Tuesday 15 January 2008, H. Peter Anvin wrote: > Joachim Deguara wrote: > > Hello, > > I am trying to access the x86 git tree behind a proxy and therefore > > over the http address. This works for Linus' tree but not for the x86 > > tree. Please follow these guide

Re: [x86] please setup git for http access

2008-01-17 Thread Joachim Deguara
On Tuesday 15 January 2008, H. Peter Anvin wrote: Joachim Deguara wrote: Hello, I am trying to access the x86 git tree behind a proxy and therefore over the http address. This works for Linus' tree but not for the x86 tree. Please follow these guidelines to enable http access

[x86] please setup git for http access

2008-01-15 Thread Joachim Deguara
Hello, I am trying to access the x86 git tree behind a proxy and therefore over the http address. This works for Linus' tree but not for the x86 tree. Please follow these guidelines to enable http access. http://www.kernel.org/pub/software/scm/git/docs/user-manual.html#exporting-via-http

[x86] please setup git for http access

2008-01-15 Thread Joachim Deguara
Hello, I am trying to access the x86 git tree behind a proxy and therefore over the http address. This works for Linus' tree but not for the x86 tree. Please follow these guidelines to enable http access. http://www.kernel.org/pub/software/scm/git/docs/user-manual.html#exporting-via-http

Re: [patches] [PATCH] [1/12] x86: Work around mmio config space quirk on AMD Fam10h

2007-08-10 Thread Joachim Deguara
use eax > AK: moved change to extended space probing to different patch > AK: reworked with inlines according to Linus' requirements. > AK: improve comments. > > Signed-off-by: dean gaudet <[EMAIL PROTECTED]> > Signed-off-by: Andi Kleen <[EMAIL PROTECTED]> ACKED-by: Joach

Re: [patches] [PATCH] [1/12] x86: Work around mmio config space quirk on AMD Fam10h

2007-08-10 Thread Joachim Deguara
space probing to different patch AK: reworked with inlines according to Linus' requirements. AK: improve comments. Signed-off-by: dean gaudet [EMAIL PROTECTED] Signed-off-by: Andi Kleen [EMAIL PROTECTED] ACKED-by: Joachim Deguara [EMAIL PROTECTED] --- arch/i386/pci/mmconfig.c | 14

Re: ACPI on Averatec 2370

2007-08-09 Thread Joachim Deguara
On Thursday 09 August 2007 01:52:37 Frank Hale wrote: > I have the latest BIOS update for my laptop which is buggy I suppose. > There has been only one update this year if my memory serves me > correctly. Is there any hope to fix this or am I at the mercy of the > hardware vendor which apparenlty

Re: ACPI on Averatec 2370

2007-08-09 Thread Joachim Deguara
On Thursday 09 August 2007 01:52:37 Frank Hale wrote: I have the latest BIOS update for my laptop which is buggy I suppose. There has been only one update this year if my memory serves me correctly. Is there any hope to fix this or am I at the mercy of the hardware vendor which apparenlty

Re: [PATCH] x86_64: clear IO_APIC before enabing apic error vector.

2007-08-08 Thread Joachim Deguara
On Tuesday 07 August 2007 22:19:35 Yinghai Lu wrote: > [PATCH] x86_64: clear IO_APIC before enabing apic error vector. > > some apic id lifting system: 4 socket quad core, 8 socket quad core will do > apic id lifting for BSP. > > but io-apic regs for ExtINT still use 0 as dest. good catch! >

Re: ACPI on Averatec 2370

2007-08-08 Thread Joachim Deguara
On Wednesday 08 August 2007 02:06:31 Andi Kleen wrote: > On Tue, Aug 07, 2007 at 06:15:37PM -0400, Cal Peake wrote: > > On Fri, 3 Aug 2007, Linus Torvalds wrote: > > > > MSR_K8_ENABLE_C1E lo == 0x04c14015 > > > > MSR_K8_ENABLE_C1E hi == 0x > > > > lo & ENABLE_C1E_MASK == 0 > > > > > > And

Re: ACPI on Averatec 2370

2007-08-08 Thread Joachim Deguara
On Wednesday 08 August 2007 02:06:31 Andi Kleen wrote: On Tue, Aug 07, 2007 at 06:15:37PM -0400, Cal Peake wrote: On Fri, 3 Aug 2007, Linus Torvalds wrote: MSR_K8_ENABLE_C1E lo == 0x04c14015 MSR_K8_ENABLE_C1E hi == 0x lo ENABLE_C1E_MASK == 0 And yeah, that claims that

Re: [PATCH] x86_64: clear IO_APIC before enabing apic error vector.

2007-08-08 Thread Joachim Deguara
On Tuesday 07 August 2007 22:19:35 Yinghai Lu wrote: [PATCH] x86_64: clear IO_APIC before enabing apic error vector. some apic id lifting system: 4 socket quad core, 8 socket quad core will do apic id lifting for BSP. but io-apic regs for ExtINT still use 0 as dest. good catch! diff --git

Re: [REGRESSION] tg3 dead after s2ram

2007-08-03 Thread Joachim Deguara
On Thursday 02 August 2007 21:10:29 Michael Chan wrote: > Alternatively, we can also fix it by calling pci_enable_device() again > in tg3_open().  But I think it is better to just always save and restore > in suspend/resume.  bnx2.c will also require the same fix. > > Thanks Joachim for helping to

Re: [REGRESSION] tg3 dead after s2ram

2007-08-03 Thread Joachim Deguara
On Thursday 02 August 2007 21:10:29 Michael Chan wrote: Alternatively, we can also fix it by calling pci_enable_device() again in tg3_open().  But I think it is better to just always save and restore in suspend/resume.  bnx2.c will also require the same fix. Thanks Joachim for helping to

Re: [REGRESSION] tg3 dead after s2ram

2007-08-02 Thread Joachim Deguara
On Thursday 02 August 2007 10:05:44 Joachim Deguara wrote: > On Wednesday 01 August 2007 23:00:23 Michael Chan wrote: > > On Wed, 2007-08-01 at 10:47 -0700, Michael Chan wrote: > > The problem is that memory enable and bus master were not set in PCI > > register 4 after resume

Re: [REGRESSION] tg3 dead after s2ram

2007-08-02 Thread Joachim Deguara
On Wednesday 01 August 2007 23:00:23 Michael Chan wrote: > On Wed, 2007-08-01 at 10:47 -0700, Michael Chan wrote: > > You have 2 Broadcom devices in your system. 07:00.0 is a wireless > > device, I think. 8:4.0 is the tg3 device. > > > > It's clear that the tg3 device is still in D3 state after

Re: [REGRESSION] tg3 dead after s2ram

2007-08-02 Thread Joachim Deguara
On Wednesday 01 August 2007 23:00:23 Michael Chan wrote: On Wed, 2007-08-01 at 10:47 -0700, Michael Chan wrote: You have 2 Broadcom devices in your system. 07:00.0 is a wireless device, I think. 8:4.0 is the tg3 device. It's clear that the tg3 device is still in D3 state after resume

Re: [REGRESSION] tg3 dead after s2ram

2007-08-02 Thread Joachim Deguara
On Thursday 02 August 2007 10:05:44 Joachim Deguara wrote: On Wednesday 01 August 2007 23:00:23 Michael Chan wrote: On Wed, 2007-08-01 at 10:47 -0700, Michael Chan wrote: The problem is that memory enable and bus master were not set in PCI register 4 after resume. This also explains

[REGRESSION] tg3 dead after s2ram

2007-07-31 Thread Joachim Deguara
On my Acer Ferrari 1000 the tg3 ethernet no longer is available after a suspend to ram with the latet 2.6.23-rc1-git9. The tg3 works fine with s2ram in 2.6.22.1. The tell tail signs that is dead is this message from the kernel log: [6.754133] tg3: eth0: No firmware running. [

[REGRESSION] tg3 dead after s2ram

2007-07-31 Thread Joachim Deguara
On my Acer Ferrari 1000 the tg3 ethernet no longer is available after a suspend to ram with the latet 2.6.23-rc1-git9. The tg3 works fine with s2ram in 2.6.22.1. The tell tail signs that is dead is this message from the kernel log: [6.754133] tg3: eth0: No firmware running. [

Re: TSC calibration sometimes not correct with RT patch.

2007-07-25 Thread Joachim Deguara
On Wednesday 25 July 2007 09:56:38 Henri Hunnekens wrote: > Some more information, the problems occurs on a SMP machine. I've > added the system logging which displays the CPU speed. The last line > shows an inaccurate processor speed! I'll try an update, but I expect > this has something to do

Re: TSC calibration sometimes not correct with RT patch.

2007-07-25 Thread Joachim Deguara
On Wednesday 25 July 2007 09:56:38 Henri Hunnekens wrote: Some more information, the problems occurs on a SMP machine. I've added the system logging which displays the CPU speed. The last line shows an inaccurate processor speed! I'll try an update, but I expect this has something to do with

Re: [PATCH] Documentation update sched-stat.txt

2007-07-20 Thread Joachim Deguara
On Friday 20 July 2007 09:25:22 Nick Piggin wrote: > On Wed, Jul 18, 2007 at 11:11:30AM +0200, Joachim Deguara wrote: > > While learning about schedstats I found that the documentation in the > > tree is old. I updated it and found some interesting stuff like > > schedstats v

Re: [PATCH] Documentation update sched-stat.txt

2007-07-20 Thread Joachim Deguara
On Friday 20 July 2007 09:25:22 Nick Piggin wrote: On Wed, Jul 18, 2007 at 11:11:30AM +0200, Joachim Deguara wrote: While learning about schedstats I found that the documentation in the tree is old. I updated it and found some interesting stuff like schedstats version 14 is the same

Re: [PATCH 0/2] faking and fixing the NUMA SLIT

2007-07-18 Thread Joachim Deguara
On Wednesday 18 July 2007 11:42:20 Andi Kleen wrote: > On Wednesday 18 July 2007 11:30:01 Joachim Deguara wrote: > > The problem with NUMA distances in the SLIT is that they are often wrong, > > oh wait they aren't there at all because the BIOS didn't create a SLIT > > since

[PATCH 1/2] fake the NUMA SLIT

2007-07-18 Thread Joachim Deguara
Most x86 NUMA systems do not have a SLIT provided by them from the BIOS. We want to fake this by either creating one or copying the original. The reason to do this is so to later be able to alter it. Signed-off-by: Joachim Deguara <[EMAIL PROTECTED]> -- Index: kernel/drivers/acpi/

[PATCH 0/2] faking and fixing the NUMA SLIT

2007-07-18 Thread Joachim Deguara
The problem with NUMA distances in the SLIT is that they are often wrong, oh wait they aren't there at all because the BIOS didn't create a SLIT since Windows does not use it.  If Linux does not find a slit it just says the distance to local=10 and remote=20 according to ACPI spec.  The problem

[PATCH 2/2] make node distance writeable

2007-07-18 Thread Joachim Deguara
systems but wrong for 4P and larger. Signed-off-by: Joachim Deguara <[EMAIL PROTECTED]> -- Index: kernel/drivers/base/node.c === --- kernel.orig/drivers/base/node.c +++ kernel/drivers/base/node.c @@ -129,7 +129,30 @@ static s

[PATCH] Documentation update sched-stat.txt

2007-07-18 Thread Joachim Deguara
anymore. Nick had made them irrelevant in commit 476d139c218e44e045e4bc6d4cc02b010b343939 but never removed them. Thanks to Rick's perl script who I borrowed some of the updated descriptions from. -Joachim -- Updating schedstats documentation from version 10 to 14. Signed-off-by: Joachim

[PATCH] Documentation update sched-stat.txt

2007-07-18 Thread Joachim Deguara
anymore. Nick had made them irrelevant in commit 476d139c218e44e045e4bc6d4cc02b010b343939 but never removed them. Thanks to Rick's perl script who I borrowed some of the updated descriptions from. -Joachim -- Updating schedstats documentation from version 10 to 14. Signed-off-by: Joachim

[PATCH 0/2] faking and fixing the NUMA SLIT

2007-07-18 Thread Joachim Deguara
The problem with NUMA distances in the SLIT is that they are often wrong, oh wait they aren't there at all because the BIOS didn't create a SLIT since Windows does not use it.  If Linux does not find a slit it just says the distance to local=10 and remote=20 according to ACPI spec.  The problem

[PATCH 2/2] make node distance writeable

2007-07-18 Thread Joachim Deguara
systems but wrong for 4P and larger. Signed-off-by: Joachim Deguara [EMAIL PROTECTED] -- Index: kernel/drivers/base/node.c === --- kernel.orig/drivers/base/node.c +++ kernel/drivers/base/node.c @@ -129,7 +129,30 @@ static ssize_t

[PATCH 1/2] fake the NUMA SLIT

2007-07-18 Thread Joachim Deguara
Most x86 NUMA systems do not have a SLIT provided by them from the BIOS. We want to fake this by either creating one or copying the original. The reason to do this is so to later be able to alter it. Signed-off-by: Joachim Deguara [EMAIL PROTECTED] -- Index: kernel/drivers/acpi/numa.c

Re: [PATCH 0/2] faking and fixing the NUMA SLIT

2007-07-18 Thread Joachim Deguara
On Wednesday 18 July 2007 11:42:20 Andi Kleen wrote: On Wednesday 18 July 2007 11:30:01 Joachim Deguara wrote: The problem with NUMA distances in the SLIT is that they are often wrong, oh wait they aren't there at all because the BIOS didn't create a SLIT since Windows does not use

Re: Reading BIOS flash memory

2007-07-16 Thread Joachim Deguara
On Monday 16 July 2007 15:23:58 [EMAIL PROTECTED] wrote: > -- > Hey, > > Are there functions to read the BIOS given the address? Does ioremap() work > in this case too? I can't answer that but take a look how flashrom [1] does it. -Joachim [1] http://linuxbios.org/Flashrom - To unsubscribe

Re: Reading BIOS flash memory

2007-07-16 Thread Joachim Deguara
On Monday 16 July 2007 15:23:58 [EMAIL PROTECTED] wrote: -- Hey, Are there functions to read the BIOS given the address? Does ioremap() work in this case too? I can't answer that but take a look how flashrom [1] does it. -Joachim [1] http://linuxbios.org/Flashrom - To unsubscribe from

Re: Machine Check Exception: 0...04

2007-06-22 Thread Joachim Deguara
On Saturday 16 June 2007 22:40:53 Mr. James W. Laferriere wrote: > Hello All , Does anoyone know howto identify a cause for these(*) ? > Or of any tools to help in the identification of the cause ? > So far the Machine checks only happen when I am running bonnie++ against >

Re: Machine Check Exception: 0...04

2007-06-22 Thread Joachim Deguara
On Saturday 16 June 2007 22:40:53 Mr. James W. Laferriere wrote: Hello All , Does anoyone know howto identify a cause for these(*) ? Or of any tools to help in the identification of the cause ? So far the Machine checks only happen when I am running bonnie++ against my

Re: patch-2.6.21.3-rt9 misnamed?

2007-06-04 Thread Joachim Deguara
On Friday 01 June 2007 18:11:11 Matt Mackall wrote: > On Thu, May 31, 2007 at 10:01:09PM +0200, Ingo Molnar wrote: > > * K.R. Foley <[EMAIL PROTECTED]> wrote: > > > Ingo Molnar wrote: > > > > * K.R. Foley <[EMAIL PROTECTED]> wrote: > > > >> Ingo, > > > >> > > > >> I believe that patch-2.6.21.3-rt9

Re: patch-2.6.21.3-rt9 misnamed?

2007-06-04 Thread Joachim Deguara
On Friday 01 June 2007 18:11:11 Matt Mackall wrote: On Thu, May 31, 2007 at 10:01:09PM +0200, Ingo Molnar wrote: * K.R. Foley [EMAIL PROTECTED] wrote: Ingo Molnar wrote: * K.R. Foley [EMAIL PROTECTED] wrote: Ingo, I believe that patch-2.6.21.3-rt9 is misnamed. It applies

[PATCH] -rt fix TSC calibration from PM Timer

2007-05-21 Thread Joachim Deguara
as the HPET does. I also rearranged the math to make the femtoseconds and kHz clearer but it does loose a negligible amount of precision. Signed-off-by: Joachim Deguara <[EMAIL PROTECTED]> Index: 2.6-rt/arch/x86_64/kernel

[PATCH] -rt fix TSC calibration from PM Timer

2007-05-21 Thread Joachim Deguara
as the HPET does. I also rearranged the math to make the femtoseconds and kHz clearer but it does loose a negligible amount of precision. Signed-off-by: Joachim Deguara [EMAIL PROTECTED] Index: 2.6-rt/arch/x86_64/kernel/tsc.c

Re: [BUG] (regression) AMD k6-III/450 won't boot w/2.6.22-rc1

2007-05-18 Thread Joachim Deguara
On Friday 18 May 2007 01:38:13 [EMAIL PROTECTED] wrote: > Andi Kleen wrote: > > Hmpf. > > > > We cold either use rdmsr_safe or add a family check again or clear it > > in k6 setup. I think clearing it in setup is cleanest. > > > > Does this patch work? > > > > -Andi > > > > Clear MCE flag on AMD

Re: [BUG] (regression) AMD k6-III/450 won't boot w/2.6.22-rc1

2007-05-18 Thread Joachim Deguara
On Friday 18 May 2007 01:38:13 [EMAIL PROTECTED] wrote: Andi Kleen wrote: Hmpf. We cold either use rdmsr_safe or add a family check again or clear it in k6 setup. I think clearing it in setup is cleanest. Does this patch work? -Andi Clear MCE flag on AMD K6 It reports

Re: [PATCH] x86_64: make GART PTEs uncacheable

2007-04-23 Thread Joachim Deguara
On Monday 23 April 2007 11:32, Andi Kleen wrote: > On Monday 23 April 2007 11:14:10 Joachim Deguara wrote: > > This patches fixes the silent data corruption problems being seen using > > the GART iommu where 4kB of data where incorrect (seen mostly on Nvidia > > CK804 syst

[PATCH] x86_64: make GART PTEs uncacheable

2007-04-23 Thread Joachim Deguara
. Signed-off-by: Joachim Deguara <[EMAIL PROTECTED]> --- diff --git a/arch/x86_64/kernel/pci-gart.c b/arch/x86_64/kernel/pci-gart.c index 2bac8c6..0bae862 100644 --- a/arch/x86_64/kernel/pci-gart.c +++ b/arch/x86_64/kernel/pci-gart.c @@ -519,7 +519,11 @@ static __init int init_k8_gatt(str

[PATCH] x86_64: make GART PTEs uncacheable

2007-04-23 Thread Joachim Deguara
. Signed-off-by: Joachim Deguara [EMAIL PROTECTED] --- diff --git a/arch/x86_64/kernel/pci-gart.c b/arch/x86_64/kernel/pci-gart.c index 2bac8c6..0bae862 100644 --- a/arch/x86_64/kernel/pci-gart.c +++ b/arch/x86_64/kernel/pci-gart.c @@ -519,7 +519,11 @@ static __init int init_k8_gatt(struct ag

Re: [PATCH] x86_64: make GART PTEs uncacheable

2007-04-23 Thread Joachim Deguara
On Monday 23 April 2007 11:32, Andi Kleen wrote: On Monday 23 April 2007 11:14:10 Joachim Deguara wrote: This patches fixes the silent data corruption problems being seen using the GART iommu where 4kB of data where incorrect (seen mostly on Nvidia CK804 systems). Performance numbers? How

Re: Machine Check Exception on Opteron 265

2007-04-16 Thread Joachim Deguara
On Saturday 14 April 2007 17:39:28 Robert Hancock wrote: > Espen Fjellvær Olsen wrote: > > As far as we know there wasnt any unuasal activity on the server at the > > time. > > We updated glibc yesterday, but that shouldnt really cause such a > > problem. So now we wonder if this might be an MCE

Re: Machine Check Exception on Opteron 265

2007-04-16 Thread Joachim Deguara
On Saturday 14 April 2007 17:39:28 Robert Hancock wrote: Espen Fjellvær Olsen wrote: As far as we know there wasnt any unuasal activity on the server at the time. We updated glibc yesterday, but that shouldnt really cause such a problem. So now we wonder if this might be an MCE bug, or

[PATCH] i386 mce check capability

2007-04-03 Thread Joachim Deguara
in CPUID. Signed-off-by: Joachim Deguara <[EMAIL PROTECTED]> Index: 2.6-linus-git/arch/i386/kernel/cpu/mcheck/mce.c === --- 2.6-linus-git.orig/arch/i386/kernel/cpu/mcheck/mce.c +++ 2.6-linus-git/arch/i386/kernel/cpu/mcheck/mce.c @@

[PATCH] i386 mce check capability

2007-04-03 Thread Joachim Deguara
in CPUID. Signed-off-by: Joachim Deguara [EMAIL PROTECTED] Index: 2.6-linus-git/arch/i386/kernel/cpu/mcheck/mce.c === --- 2.6-linus-git.orig/arch/i386/kernel/cpu/mcheck/mce.c +++ 2.6-linus-git/arch/i386/kernel/cpu/mcheck/mce.c @@ -38,8