Re: + x86-show-cpuinfo-only-for-online-cpus.patch added to -mm tree

2007-11-06 Thread Andreas Herrmann
On Thu, Nov 01, 2007 at 03:31:23PM -0700, Yinghai Lu wrote: > > wonder if could change > > > if (!cpu_online(c->cpu_index)) > > return 0; > > ==> > > > if (c->cpu_index >= NR_CPUS) > > return 0; > > and add another entry for every cpu > online : 1 when

Re: [Patch2/2] fix wrong proc cpuinfo on x64

2007-11-06 Thread Andreas Herrmann
On Tue, Nov 06, 2007 at 04:28:20PM +0800, Zou Nan hai wrote: > in 2.6.24-rc1 kernel, > The /proc/cpuinfo display is wrong. > > Another issue is that it will display bogus cpus with wrong information > if the kernel is compiled with a big CONFIG_NR_CPU. > > That is because before a cpu in

Re: [Patch1/2] fix wrong proc cpuinfo on x64

2007-11-06 Thread Andreas Herrmann
On Tue, Nov 06, 2007 at 03:25:39PM +0800, Zou Nan hai wrote: > > in 2.6.24-rc1 kernel, > The /proc/cpuinfo display is wrong. > > One issue is every processor id appears to be 0. > > That is because smp_store_cpu_info will set cpuinfo_x86->cpu_index > to cpu id then call identify_cpu >

Re: [Patch1/2] fix wrong proc cpuinfo on x64

2007-11-06 Thread Andreas Herrmann
On Tue, Nov 06, 2007 at 03:25:39PM +0800, Zou Nan hai wrote: in 2.6.24-rc1 kernel, The /proc/cpuinfo display is wrong. One issue is every processor id appears to be 0. That is because smp_store_cpu_info will set cpuinfo_x86-cpu_index to cpu id then call identify_cpu identify_cpu will

Re: [Patch2/2] fix wrong proc cpuinfo on x64

2007-11-06 Thread Andreas Herrmann
On Tue, Nov 06, 2007 at 04:28:20PM +0800, Zou Nan hai wrote: in 2.6.24-rc1 kernel, The /proc/cpuinfo display is wrong. Another issue is that it will display bogus cpus with wrong information if the kernel is compiled with a big CONFIG_NR_CPU. That is because before a cpu in

Re: + x86-show-cpuinfo-only-for-online-cpus.patch added to -mm tree

2007-11-06 Thread Andreas Herrmann
On Thu, Nov 01, 2007 at 03:31:23PM -0700, Yinghai Lu wrote: wonder if could change if (!cpu_online(c-cpu_index)) return 0; == if (c-cpu_index = NR_CPUS) return 0; and add another entry for every cpu online : 1 when it is enabled or

[PATCH] x86: fix cpu-hotplug regression

2007-11-06 Thread Andreas Herrmann
for MCE. To reproduce this regression: (1) boot with maxcpus=2 addtional_cpus=2 on a 4 CPU x86-64 system (2) # echo 1 /sys/devices/system/cpu/cpu2/online -bash: echo: write error: Invalid argument dmesg shows: _cpu_up: attempt to bring up CPU 2 failed Signed-off-by: Andreas Herrmann [EMAIL

[PATCH v2] x86: show cpuinfo only for online CPUs

2007-11-01 Thread Andreas Herrmann
Signed-off-by: Andreas Herrmann <[EMAIL PROTECTED]> --- arch/x86/kernel/cpu/proc.c |8 +++- arch/x86/kernel/setup_64.c |8 +++- 2 files changed, 6 insertions(+), 10 deletions(-) diff --git a/arch/x86/kernel/cpu/proc.c b/arch/x86/kernel/cpu/proc.c index 066f8c6..3900e46 100644 --- a

[PATCH] x86: show cpuinfo only for online CPUs

2007-11-01 Thread Andreas Herrmann
s physical, 0 bits virtual power management: Signed-off-by: Andreas Herrmann <[EMAIL PROTECTED]> --- arch/x86/kernel/cpu/proc.c | 13 - arch/x86/kernel/setup_64.c | 15 --- 2 files changed, 8 insertions(+), 20 deletions(-) diff --git a/arch/x86/kernel/cpu/p

[PATCH] x86: show cpuinfo only for online CPUs

2007-11-01 Thread Andreas Herrmann
, 0 bits virtual power management: Signed-off-by: Andreas Herrmann [EMAIL PROTECTED] --- arch/x86/kernel/cpu/proc.c | 13 - arch/x86/kernel/setup_64.c | 15 --- 2 files changed, 8 insertions(+), 20 deletions(-) diff --git a/arch/x86/kernel/cpu/proc.c b/arch/x86

[PATCH v2] x86: show cpuinfo only for online CPUs

2007-11-01 Thread Andreas Herrmann
-by: Andreas Herrmann [EMAIL PROTECTED] --- arch/x86/kernel/cpu/proc.c |8 +++- arch/x86/kernel/setup_64.c |8 +++- 2 files changed, 6 insertions(+), 10 deletions(-) diff --git a/arch/x86/kernel/cpu/proc.c b/arch/x86/kernel/cpu/proc.c index 066f8c6..3900e46 100644 --- a/arch/x86/kernel/cpu

Re: 2.6.23-rc7 + radeonfb/s2ram

2007-09-24 Thread Andreas Herrmann
On Sat, Sep 22, 2007 at 07:27:59AM +0200, Mihai Donțu wrote: > Hi, > > Today, out of curiosity, I pulled 2.6.23-rc7 (leave on the edge in a quiet > weekend). > Anyway, it seems that radeonfb and my: > "01:05.0 VGA compatible controller: ATI Technologies Inc ATI Radeon XPRESS > 200M 5955 (PCIE)"

Re: 2.6.23-rc7 + radeonfb/s2ram

2007-09-24 Thread Andreas Herrmann
On Sat, Sep 22, 2007 at 07:27:59AM +0200, Mihai Donțu wrote: Hi, Today, out of curiosity, I pulled 2.6.23-rc7 (leave on the edge in a quiet weekend). Anyway, it seems that radeonfb and my: 01:05.0 VGA compatible controller: ATI Technologies Inc ATI Radeon XPRESS 200M 5955 (PCIE) don't

Re: [PATCH] 9p: fix compile error if !CONFIG_SYSCTL

2007-09-20 Thread Andreas Herrmann
On Wed, Sep 19, 2007 at 11:31:10PM -0700, Andrew Morton wrote: > On Tue, 18 Sep 2007 10:05:37 +0200 Andreas Herrmann <[EMAIL PROTECTED]> wrote: > > > Fix compile error if !CONFIG_SYSCTL: > > > > ... > > LD .tmp_vmlinux1 > > net/built-in.o:

Re: [PATCH] 9p: fix compile error if !CONFIG_SYSCTL

2007-09-20 Thread Andreas Herrmann
On Wed, Sep 19, 2007 at 11:31:10PM -0700, Andrew Morton wrote: On Tue, 18 Sep 2007 10:05:37 +0200 Andreas Herrmann [EMAIL PROTECTED] wrote: Fix compile error if !CONFIG_SYSCTL: ... LD .tmp_vmlinux1 net/built-in.o: In function `init_p9': net/9p/mod.c:59: undefined

Re: Problem: one driver and 4 instances with different parameters

2007-09-19 Thread Andreas Herrmann
On Wed, Sep 19, 2007 at 08:54:58AM +0200, Andrey Kamchatnikov wrote: > I have one driver, but I need to run 4 instances of it (I run insmod with > different > parameters) . > > But when I try to install the second driver I've got an error, that driver > with this name > exists. It might work

Re: Problem: one driver and 4 instances with different parameters

2007-09-19 Thread Andreas Herrmann
On Wed, Sep 19, 2007 at 08:54:58AM +0200, Andrey Kamchatnikov wrote: I have one driver, but I need to run 4 instances of it (I run insmod with different parameters) . But when I try to install the second driver I've got an error, that driver with this name exists. It might work using

Re: [PATCH] 9p: fix compile error if !CONFIG_SYSCTL

2007-09-18 Thread Andreas Herrmann
On Tue, Sep 18, 2007 at 08:53:19PM +0200, roel wrote: > Andreas Herrmann wrote: > > Fix compile error if !CONFIG_SYSCTL: > > > > ... > > LD .tmp_vmlinux1 > > net/built-in.o: In function `init_p9': > > net/9p/mod.c:59: undefined reference to

[PATCH] 9p: fix compile error if !CONFIG_SYSCTL

2007-09-18 Thread Andreas Herrmann
] Error 1 ... Signed-off-by: Andreas Herrmann <[EMAIL PROTECTED]> --- include/net/9p/9p.h |4 net/9p/mod.c|4 2 files changed, 8 insertions(+), 0 deletions(-) diff --git a/include/net/9p/9p.h b/include/net/9p/9p.h index 4d3..f723a03 100644 --- a/include/net/9

[PATCH] 9p: fix compile error if !CONFIG_SYSCTL

2007-09-18 Thread Andreas Herrmann
] Error 1 ... Signed-off-by: Andreas Herrmann [EMAIL PROTECTED] --- include/net/9p/9p.h |4 net/9p/mod.c|4 2 files changed, 8 insertions(+), 0 deletions(-) diff --git a/include/net/9p/9p.h b/include/net/9p/9p.h index 4d3..f723a03 100644 --- a/include/net/9p/9p.h

Re: [PATCH] 9p: fix compile error if !CONFIG_SYSCTL

2007-09-18 Thread Andreas Herrmann
On Tue, Sep 18, 2007 at 08:53:19PM +0200, roel wrote: Andreas Herrmann wrote: Fix compile error if !CONFIG_SYSCTL: ... LD .tmp_vmlinux1 net/built-in.o: In function `init_p9': net/9p/mod.c:59: undefined reference to `p9_sysctl_register' net/built-in.o: In function

[PATCH] mac_hid: fix build error if MAC_EMUMOUSEBTN && !INPUT

2007-09-17 Thread Andreas Herrmann
function `input_report_key': include/linux/input.h:1158: undefined reference to `input_event' ... Auto-select INPUT for MAC_EMUMOUSEBTN option. Signed-off-by: Andreas Herrmann <[EMAIL PROTECTED]> --- drivers/macintosh/Kconfig |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff -

[PATCH] mac_hid: fix build error if MAC_EMUMOUSEBTN !INPUT

2007-09-17 Thread Andreas Herrmann
`input_report_key': include/linux/input.h:1158: undefined reference to `input_event' ... Auto-select INPUT for MAC_EMUMOUSEBTN option. Signed-off-by: Andreas Herrmann [EMAIL PROTECTED] --- drivers/macintosh/Kconfig |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers

Re: [PATCH] x86_64: set cfg_size for AMD Family 10h in case MMCONFIG

2007-09-14 Thread Andreas Herrmann
Usually one shouldn't reply to such mails. But I cannot resist. Because partially there was told such nonsense ... Of course the following is just my personal view. On 2007-09-13 20:54:41, H. Peter Anvin wrote: > Andreas Herrmann wrote: > > On Thu, Sep 13, 2007 at 10:20:56AM -0700, H. Pe

Re: [PATCH] x86_64: set cfg_size for AMD Family 10h in case MMCONFIG

2007-09-14 Thread Andreas Herrmann
Usually one shouldn't reply to such mails. But I cannot resist. Because partially there was told such nonsense ... Of course the following is just my personal view. On 2007-09-13 20:54:41, H. Peter Anvin wrote: Andreas Herrmann wrote: On Thu, Sep 13, 2007 at 10:20:56AM -0700, H. Peter Anvin

[PATCH] v4l: fix build error for et61x251 driver

2007-09-13 Thread Andreas Herrmann
/et61x251_core.c:718: error: implicit declaration of to_video_device Fix as suggested by Luca Risolia <[EMAIL PROTECTED]> Signed-off-by: Andreas Herrmann <[EMAIL PROTECTED]> --- drivers/media/video/et61x251/et61x251_core.c | 24 1 files changed, 16 inse

Re: [PATCH] x86_64: set cfg_size for AMD Family 10h in case MMCONFIG is used

2007-09-13 Thread Andreas Herrmann
On Thu, Sep 13, 2007 at 10:20:56AM -0700, H. Peter Anvin wrote: > Yinghai Lu wrote: > > > > BIOS guys also said that fam 10h need mmconfig via eax accessing, may > > need OS do sth, so it is safe to stay with MCFG entry for SB like > > mcp55... > > > > but latest kernel already have that

Re: [PATCH] x86_64: set cfg_size for AMD Family 10h in case MMCONFIG is used

2007-09-13 Thread Andreas Herrmann
On Thu, Sep 13, 2007 at 01:53:15PM +0200, Andi Kleen wrote: > On Thursday 13 September 2007 12:47, Greg KH wrote: > > On Thu, Sep 13, 2007 at 11:47:42AM +0200, Andi Kleen wrote: > > > On Thursday 13 September 2007 04:21, Yinghai Lu wrote: > > > > [PATCH] x86_64: set cfg_size for AMD Family 10h in

Re: [PATCH] x86_64: set cfg_size for AMD Family 10h in case MMCONFIG is used

2007-09-13 Thread Andreas Herrmann
On Thu, Sep 13, 2007 at 01:53:15PM +0200, Andi Kleen wrote: On Thursday 13 September 2007 12:47, Greg KH wrote: On Thu, Sep 13, 2007 at 11:47:42AM +0200, Andi Kleen wrote: On Thursday 13 September 2007 04:21, Yinghai Lu wrote: [PATCH] x86_64: set cfg_size for AMD Family 10h in case

Re: [PATCH] x86_64: set cfg_size for AMD Family 10h in case MMCONFIG is used

2007-09-13 Thread Andreas Herrmann
On Thu, Sep 13, 2007 at 10:20:56AM -0700, H. Peter Anvin wrote: Yinghai Lu wrote: BIOS guys also said that fam 10h need mmconfig via eax accessing, may need OS do sth, so it is safe to stay with MCFG entry for SB like mcp55... but latest kernel already have that workaround to make

[PATCH] v4l: fix build error for et61x251 driver

2007-09-13 Thread Andreas Herrmann
/et61x251_core.c:718: error: implicit declaration of to_video_device Fix as suggested by Luca Risolia [EMAIL PROTECTED] Signed-off-by: Andreas Herrmann [EMAIL PROTECTED] --- drivers/media/video/et61x251/et61x251_core.c | 24 1 files changed, 16 insertions(+), 8 deletions

Re: Request for Linux Kernel Mailing List archives

2007-09-12 Thread Andreas Herrmann
On Wed, Jun 20, 2007 at 12:38:48PM -0400, Hank Leininger wrote: > On Wed, 20 Jun 2007, H. Peter Anvin wrote: > >Bj�rn Steinbrink wrote: > >> > >>marc.info supports that. > >>http://marc.info/[EMAIL PROTECTED] > >Excellent! Didn't see that documented anywhere. > > You're right, it's not really.

Re: Request for Linux Kernel Mailing List archives

2007-09-12 Thread Andreas Herrmann
On Wed, Jun 20, 2007 at 12:38:48PM -0400, Hank Leininger wrote: On Wed, 20 Jun 2007, H. Peter Anvin wrote: Bj�rn Steinbrink wrote: marc.info supports that. http://marc.info/[EMAIL PROTECTED] Excellent! Didn't see that documented anywhere. You're right, it's not really. In fact very

Re: [patches] [patch 3/5] x86: Add PCI extended config space access for AMD Barcelona

2007-09-05 Thread Andreas Herrmann
On Wed, Sep 05, 2007 at 01:05:25PM +0200, Arne Georg Gleditsch wrote: > "H. Peter Anvin" <[EMAIL PROTECTED]> writes: > > You're missing the point. How will the PCI bus transactions be > > different when using MMCONFIG versus your extended CF8 version? > > Conceivably this is useful if the IO

Re: [patches] [patch 3/5] x86: Add PCI extended config space access for AMD Barcelona

2007-09-05 Thread Andreas Herrmann
On Wed, Sep 05, 2007 at 06:58:58AM +0100, H. Peter Anvin wrote: > Well, they don't add any functionality, do they? They allow CF8/CFC to access ECS in cases where mmcfg is not working. > As such, I would agree with Andi -- we only > need one method which can (correctly) access the full

Re: [patches] [patch 3/5] x86: Add PCI extended config space access for AMD Barcelona

2007-09-05 Thread Andreas Herrmann
On Wed, Sep 05, 2007 at 06:58:58AM +0100, H. Peter Anvin wrote: Well, they don't add any functionality, do they? They allow CF8/CFC to access ECS in cases where mmcfg is not working. As such, I would agree with Andi -- we only need one method which can (correctly) access the full

Re: [patches] [patch 3/5] x86: Add PCI extended config space access for AMD Barcelona

2007-09-05 Thread Andreas Herrmann
On Wed, Sep 05, 2007 at 01:05:25PM +0200, Arne Georg Gleditsch wrote: H. Peter Anvin [EMAIL PROTECTED] writes: You're missing the point. How will the PCI bus transactions be different when using MMCONFIG versus your extended CF8 version? Conceivably this is useful if the IO hub does not

Re: [patches] [patch 3/5] x86: Add PCI extended config space access for AMD Barcelona

2007-09-03 Thread Andreas Herrmann
On Mon, Sep 03, 2007 at 04:33:19AM -0700, Arjan van de Ven wrote: > On Mon, 3 Sep 2007 11:17:18 +0200 > "Andreas Herrmann" <[EMAIL PROTECTED]> wrote: > \> > > Do you see any other issues besides the naming of the bit? > > I wonder if we should key this

Re: [patches] [patch 3/5] x86: Add PCI extended config space access for AMD Barcelona

2007-09-03 Thread Andreas Herrmann
On Mon, Sep 03, 2007 at 12:15:03PM +0200, Andi Kleen wrote: > > > But it is needed for some devices for full functionality. > > Examples? I can only think of PCI express error reporting, which > few drivers implement anyways and isn't really a show stopper > if it doesn't work. Besides I would

Re: [patches] [patch 3/5] x86: Add PCI extended config space access for AMD Barcelona

2007-09-03 Thread Andreas Herrmann
On Mon, Sep 03, 2007 at 01:31:57AM -0700, Arjan van de Ven wrote: > On Mon, 03 Sep 2007 10:17:39 +0200 > "Robert Richter" <[EMAIL PROTECTED]> wrote: > > > This patch implements PCI extended configuration space access for > > AMD's Barcelona CPUs. It extends the method using CF8/CFC IO > >

Re: [patches] [patch 3/5] x86: Add PCI extended config space access for AMD Barcelona

2007-09-03 Thread Andreas Herrmann
On Sat, Sep 01, 2007 at 12:11:52PM +0200, Andi Kleen wrote: > On Thursday 30 August 2007 19:43:14 Robert Richter wrote: > > This patch implements PCI extended configuration space access for > > AMD's Barcelona CPUs. It extends the method using CF8/CFC IO > > addresses. An x86 capability bit has

Re: [patches] [patch 3/5] x86: Add PCI extended config space access for AMD Barcelona

2007-09-03 Thread Andreas Herrmann
On Sat, Sep 01, 2007 at 12:11:52PM +0200, Andi Kleen wrote: On Thursday 30 August 2007 19:43:14 Robert Richter wrote: This patch implements PCI extended configuration space access for AMD's Barcelona CPUs. It extends the method using CF8/CFC IO addresses. An x86 capability bit has been

Re: [patches] [patch 3/5] x86: Add PCI extended config space access for AMD Barcelona

2007-09-03 Thread Andreas Herrmann
On Mon, Sep 03, 2007 at 01:31:57AM -0700, Arjan van de Ven wrote: On Mon, 03 Sep 2007 10:17:39 +0200 Robert Richter [EMAIL PROTECTED] wrote: This patch implements PCI extended configuration space access for AMD's Barcelona CPUs. It extends the method using CF8/CFC IO addresses. An x86

Re: [patches] [patch 3/5] x86: Add PCI extended config space access for AMD Barcelona

2007-09-03 Thread Andreas Herrmann
On Mon, Sep 03, 2007 at 12:15:03PM +0200, Andi Kleen wrote: But it is needed for some devices for full functionality. Examples? I can only think of PCI express error reporting, which few drivers implement anyways and isn't really a show stopper if it doesn't work. Besides I would be

Re: [patches] [patch 3/5] x86: Add PCI extended config space access for AMD Barcelona

2007-09-03 Thread Andreas Herrmann
On Mon, Sep 03, 2007 at 04:33:19AM -0700, Arjan van de Ven wrote: On Mon, 3 Sep 2007 11:17:18 +0200 Andreas Herrmann [EMAIL PROTECTED] wrote: \ Do you see any other issues besides the naming of the bit? I wonder if we should key this off a PCI ID of the chipset rather than the cpu id

Re: [patches] [PATCH] [17/58] i386: Add L3 cache support to AMD CPUID4 emulation

2007-07-20 Thread Andreas Herrmann
I think, Joachim's patch (sent to [EMAIL PROTECTED] on June 14) should be added as well. I have attached his patch below. Regards, Andreas -- Operating | AMD Saxony Limited Liability Company & Co. KG, System | Wilschdorfer Landstr. 101, 01109 Dresden, Germany Research | Register Court

Re: [patches] [PATCH] [17/58] i386: Add L3 cache support to AMD CPUID4 emulation

2007-07-20 Thread Andreas Herrmann
On Thu, Jul 19, 2007 at 11:55:02AM +0200, Andi Kleen wrote: > > With that an L3 cache is correctly reported in the cache information in /sys > > With fixes from Andreas Herrmann and Dean Gaudet > > Signed-off-by: Andi Kleen <[EMAIL PROTECTED]> > > --- > arch/

Re: [patches] [PATCH] [17/58] i386: Add L3 cache support to AMD CPUID4 emulation

2007-07-20 Thread Andreas Herrmann
On Thu, Jul 19, 2007 at 11:55:02AM +0200, Andi Kleen wrote: With that an L3 cache is correctly reported in the cache information in /sys With fixes from Andreas Herrmann and Dean Gaudet Signed-off-by: Andi Kleen [EMAIL PROTECTED] --- arch/i386/kernel/cpu/intel_cacheinfo.c | 74

Re: [patches] [PATCH] [17/58] i386: Add L3 cache support to AMD CPUID4 emulation

2007-07-20 Thread Andreas Herrmann
I think, Joachim's patch (sent to [EMAIL PROTECTED] on June 14) should be added as well. I have attached his patch below. Regards, Andreas -- Operating | AMD Saxony Limited Liability Company Co. KG, System | Wilschdorfer Landstr. 101, 01109 Dresden, Germany Research | Register Court

Re: Kconfig troubles when using menuconfig - Was: [patch]Re: [linux-usb-devel] linux-2.6.22-rc5-gf1518a0 build #300 failed in zc0301_core.c

2007-06-22 Thread Andreas Herrmann
On Fri, Jun 22, 2007 at 12:03:19PM -0300, Mauro Carvalho Chehab wrote: > Em Sex, 2007-06-22 às 15:51 +0200, Jan Engelhardt escreveu: > > On Jun 22 2007 15:46, Andreas Herrmann wrote: > > >Hi, > > > > > >I am not sure whether it is related or not > > >B

Re: [PATCH 2/12] acpi: select ACPI_EC for THINKPAD_ACPI

2007-06-22 Thread Andreas Herrmann
On Tue, Jun 19, 2007 at 09:57:44PM -0300, Henrique de Moraes Holschuh wrote: > On Wed, 20 Jun 2007, Andreas Herrmann wrote: > > Fix kernel build problem: > > > > thinkpad_acpi.c:(.text+0x7486a): undefined reference to `ec_write' > > > > (as THINKPAD_ACPI depend

Re: [PATCH 7/12] acpi: fix another compile warning

2007-06-22 Thread Andreas Herrmann
On Thu, Jun 21, 2007 at 08:36:15PM +0200, Andreas Herrmann wrote: > On Wed, Jun 20, 2007 at 11:25:48AM -0700, Ravikiran G Thirumalai wrote: > > On Wed, Jun 20, 2007 at 09:36:30AM -0400, Len Brown wrote: > > > > > > The underlying problem is that Kconfig d

Re: Kconfig troubles when using menuconfig - Was: [patch]Re: [linux-usb-devel] linux-2.6.22-rc5-gf1518a0 build #300 failed in zc0301_core.c

2007-06-22 Thread Andreas Herrmann
On Fri, Jun 22, 2007 at 03:51:34PM +0200, Jan Engelhardt wrote: > > On Jun 22 2007 15:46, Andreas Herrmann wrote: > >Hi, > > > >I am not sure whether it is related or not > >But if you select USB as module but build your v4l_usb driver > >into the kernel you

[patch] DLM: fix kconfig dependency

2007-06-22 Thread Andreas Herrmann
-by: Andreas Herrmann <[EMAIL PROTECTED]> diff --git a/fs/dlm/Kconfig b/fs/dlm/Kconfig index 69a9469..c0e4c59 100644 --- a/fs/dlm/Kconfig +++ b/fs/dlm/Kconfig @@ -1,5 +1,5 @@ menu "Distributed Lock Manager" - depends on EXPERIMENTAL && INET + depends on EXPER

[patch] usbnet: fix kconfig for usbnet drivers

2007-06-22 Thread Andreas Herrmann
reference to `mii_link_ok' drivers/built-in.o: In function `usbnet_nway_reset': : undefined reference to `mii_nway_restart' This occurs when an USBNET device is built-in but MII is selected as module. Signed-off-by: Andreas Herrmann <[EMAIL PROTECTED]> diff --git a/drivers/net/usb/Kconfig b/d

Re: Kconfig troubles when using menuconfig - Was: [patch]Re: [linux-usb-devel] linux-2.6.22-rc5-gf1518a0 build #300 failed in zc0301_core.c

2007-06-22 Thread Andreas Herrmann
> > endif # V4L_USB_DRIVERS > > -- > Cheers, > Mauro > Hi, I am not sure whether it is related or not But if you select USB as module but build your v4l_usb driver into the kernel you also get compile errors. Attached is a patch which will prevent this by changing the menucon

Re: Kconfig troubles when using menuconfig - Was: [patch]Re: [linux-usb-devel] linux-2.6.22-rc5-gf1518a0 build #300 failed in zc0301_core.c

2007-06-22 Thread Andreas Herrmann
: In function `sn9c102_usb_disconnect': sn9c102_core.c:(.text+0x8d840): undefined reference to `usb_get_dev' Signed-off-by: Andreas Herrmann [EMAIL PROTECTED] diff --git a/drivers/media/video/Kconfig b/drivers/media/video/Kconfig index 4cca551..4754d98 100644 --- a/drivers/media/video/Kconfig

[patch] usbnet: fix kconfig for usbnet drivers

2007-06-22 Thread Andreas Herrmann
reference to `mii_link_ok' drivers/built-in.o: In function `usbnet_nway_reset': : undefined reference to `mii_nway_restart' This occurs when an USBNET device is built-in but MII is selected as module. Signed-off-by: Andreas Herrmann [EMAIL PROTECTED] diff --git a/drivers/net/usb/Kconfig b/drivers/net

Re: [PATCH 7/12] acpi: fix another compile warning

2007-06-22 Thread Andreas Herrmann
On Thu, Jun 21, 2007 at 08:36:15PM +0200, Andreas Herrmann wrote: On Wed, Jun 20, 2007 at 11:25:48AM -0700, Ravikiran G Thirumalai wrote: On Wed, Jun 20, 2007 at 09:36:30AM -0400, Len Brown wrote: snip The underlying problem is that Kconfig doesn't support using select

Re: [PATCH 2/12] acpi: select ACPI_EC for THINKPAD_ACPI

2007-06-22 Thread Andreas Herrmann
On Tue, Jun 19, 2007 at 09:57:44PM -0300, Henrique de Moraes Holschuh wrote: On Wed, 20 Jun 2007, Andreas Herrmann wrote: Fix kernel build problem: thinkpad_acpi.c:(.text+0x7486a): undefined reference to `ec_write' (as THINKPAD_ACPI depends on ACPI_EC) Signed-off-by: Andreas

[patch] DLM: fix kconfig dependency

2007-06-22 Thread Andreas Herrmann
-by: Andreas Herrmann [EMAIL PROTECTED] diff --git a/fs/dlm/Kconfig b/fs/dlm/Kconfig index 69a9469..c0e4c59 100644 --- a/fs/dlm/Kconfig +++ b/fs/dlm/Kconfig @@ -1,5 +1,5 @@ menu Distributed Lock Manager - depends on EXPERIMENTAL INET + depends on EXPERIMENTAL INET SYSFS config

Re: Kconfig troubles when using menuconfig - Was: [patch]Re: [linux-usb-devel] linux-2.6.22-rc5-gf1518a0 build #300 failed in zc0301_core.c

2007-06-22 Thread Andreas Herrmann
On Fri, Jun 22, 2007 at 03:51:34PM +0200, Jan Engelhardt wrote: On Jun 22 2007 15:46, Andreas Herrmann wrote: Hi, I am not sure whether it is related or not But if you select USB as module but build your v4l_usb driver into the kernel you also get compile errors. Attached is a patch

Re: Kconfig troubles when using menuconfig - Was: [patch]Re: [linux-usb-devel] linux-2.6.22-rc5-gf1518a0 build #300 failed in zc0301_core.c

2007-06-22 Thread Andreas Herrmann
On Fri, Jun 22, 2007 at 12:03:19PM -0300, Mauro Carvalho Chehab wrote: Em Sex, 2007-06-22 às 15:51 +0200, Jan Engelhardt escreveu: On Jun 22 2007 15:46, Andreas Herrmann wrote: Hi, I am not sure whether it is related or not But if you select USB as module but build your v4l_usb driver

Re: [PATCH 7/12] acpi: fix another compile warning

2007-06-21 Thread Andreas Herrmann
On Wed, Jun 20, 2007 at 11:25:48AM -0700, Ravikiran G Thirumalai wrote: > On Wed, Jun 20, 2007 at 09:36:30AM -0400, Len Brown wrote: > > On Wednesday 20 June 2007 04:49, Andreas Herrmann wrote: > > > On Tue, Jun 19, 2007 at 11:38:02PM -0400, Len Brown wrote: > > > >

Re: [PATCH 11/12] pcmcia/net_pcmcia: all net_pcmcia modules depend on PCMCIA

2007-06-21 Thread Andreas Herrmann
On Wed, Jun 20, 2007 at 01:44:35PM -0700, Randy Dunlap wrote: > On Wed, 20 Jun 2007 00:52:03 +0200 Andreas Herrmann wrote: > > > Fix several build errors with PCMCIA=m && NET_PCMCIA=y: > > > >LD .tmp_vmlinux1 > >drivers/built-in.o: In functio

Re: [PATCH 11/12] pcmcia/net_pcmcia: all net_pcmcia modules depend on PCMCIA

2007-06-21 Thread Andreas Herrmann
On Wed, Jun 20, 2007 at 01:44:35PM -0700, Randy Dunlap wrote: On Wed, 20 Jun 2007 00:52:03 +0200 Andreas Herrmann wrote: Fix several build errors with PCMCIA=m NET_PCMCIA=y: LD .tmp_vmlinux1 drivers/built-in.o: In function `nmclan_release': nmclan_cs.c:(.text+0x14026c

Re: [PATCH 7/12] acpi: fix another compile warning

2007-06-21 Thread Andreas Herrmann
On Wed, Jun 20, 2007 at 11:25:48AM -0700, Ravikiran G Thirumalai wrote: On Wed, Jun 20, 2007 at 09:36:30AM -0400, Len Brown wrote: On Wednesday 20 June 2007 04:49, Andreas Herrmann wrote: On Tue, Jun 19, 2007 at 11:38:02PM -0400, Len Brown wrote: On Tuesday 19 June 2007 18:50, Andreas

Re: [PATCH 7/12] acpi: fix another compile warning

2007-06-20 Thread Andreas Herrmann
On Tue, Jun 19, 2007 at 08:51:58PM -0700, Randy Dunlap wrote: > On Tue, 19 Jun 2007 20:49:34 -0700 Randy Dunlap wrote: > > > On Tue, 19 Jun 2007 23:38:02 -0400 Len Brown wrote: > > > > > On Tuesday 19 June 2007 18:50, Andreas Herrmann wrote: > > > > Avoid

Re: [PATCH 7/12] acpi: fix another compile warning

2007-06-20 Thread Andreas Herrmann
On Tue, Jun 19, 2007 at 11:38:02PM -0400, Len Brown wrote: > On Tuesday 19 June 2007 18:50, Andreas Herrmann wrote: > > Avoid compile warning if !ACPI_BLACKLIST_YEAR > > > > CC drivers/acpi/blacklist.o > > drivers/acpi/blacklist.c:76:5: warning:

Re: [PATCH 7/12] acpi: fix another compile warning

2007-06-20 Thread Andreas Herrmann
On Tue, Jun 19, 2007 at 11:38:02PM -0400, Len Brown wrote: On Tuesday 19 June 2007 18:50, Andreas Herrmann wrote: Avoid compile warning if !ACPI_BLACKLIST_YEAR CC drivers/acpi/blacklist.o drivers/acpi/blacklist.c:76:5: warning: CONFIG_ACPI_BLACKLIST_YEAR is not defined How

Re: [PATCH 7/12] acpi: fix another compile warning

2007-06-20 Thread Andreas Herrmann
On Tue, Jun 19, 2007 at 08:51:58PM -0700, Randy Dunlap wrote: On Tue, 19 Jun 2007 20:49:34 -0700 Randy Dunlap wrote: On Tue, 19 Jun 2007 23:38:02 -0400 Len Brown wrote: On Tuesday 19 June 2007 18:50, Andreas Herrmann wrote: Avoid compile warning if !ACPI_BLACKLIST_YEAR CC

[PATCH 9/12] sound: fix compile error (wrong declaration of devinitdata)

2007-06-19 Thread Andreas Herrmann
Fix compile error: CC sound/pci/ice1712/prodigy192.o sound/pci/ice1712/prodigy192.c:708: error: ak4114_controls causes a section type conflict ... but __initdata cannot be "const". Signed-off-by: Andreas Herrmann <[EMAIL PROTECTED]> --- sound/pci/ice1712/prodigy19

[PATCH 10/12] SLOB: fix build error if SLOB && !NUMA

2007-06-19 Thread Andreas Herrmann
to `kmalloc_node' follow ... hmm, SLOB currently does not provide kmalloc_node() and friends. Signed-off-by: Andreas Herrmann <[EMAIL PROTECTED]> --- init/Kconfig |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/init/Kconfig b/init/Kconfig index a9e99f8..d4a68f6 100644 ---

[PATCH 6/12] acpi: fix compile warnings

2007-06-19 Thread Andreas Herrmann
of function 'acpi_power_transition' Signed-off-by: Andreas Herrmann <[EMAIL PROTECTED]> --- diff --git a/drivers/acpi/bus.c b/drivers/acpi/bus.c index b4a9ea5..e01dca1 100644 --- a/drivers/acpi/bus.c +++ b/drivers/acpi/bus.c @@ -43,6 +43,8 @@ ACPI_MODULE_NAME("bus"); #ifdef CONFIG_X86 ex

[PATCH 12/12] acpi: select ACPI_EC for SONY_LAPTOP

2007-06-19 Thread Andreas Herrmann
Fix kernel build problem as SONY_LAPTOP depends on ACPI_EC. Signed-off-by: Andreas Herrmann <[EMAIL PROTECTED]> --- drivers/misc/Kconfig |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/misc/Kconfig b/drivers/misc/Kconfig index 0d6f369..463fa41

[PATCH 8/12] fix compile error (missing include)

2007-06-19 Thread Andreas Herrmann
Fix compile error: In file included from drivers/infiniband/core/addr.c:32: include/linux/inetdevice.h:15: error: '__NET_IPV4_CONF_MAX' undeclared here (not in a function) Signed-off-by: Andreas Herrmann <[EMAIL PROTECTED]> --- include/linux/inetdevice.h |1 + 1 files changed, 1 inse

[PATCH 11/12] pcmcia/net_pcmcia: all net_pcmcia modules depend on PCMCIA

2007-06-19 Thread Andreas Herrmann
2ps_cs.c:(.exit.text+0x1055): undefined reference to `pcmcia_unregister_driver' make: *** [.tmp_vmlinux1] Error 1 Signed-off-by: Andreas Herrmann <[EMAIL PROTECTED]> --- drivers/net/pcmcia/Kconfig | 12 ++-- 1 files changed, 10 insertions(+), 2 deletions(-) diff --git a/drivers/net/

[PATCH 7/12] acpi: fix another compile warning

2007-06-19 Thread Andreas Herrmann
Avoid compile warning if !ACPI_BLACKLIST_YEAR CC drivers/acpi/blacklist.o drivers/acpi/blacklist.c:76:5: warning: "CONFIG_ACPI_BLACKLIST_YEAR" is not defined Signed-off-by: Andreas Herrmann <[EMAIL PROTECTED]> --- drivers/acpi/blacklist.c |2 +- 1 files changed, 1

[PATCH 5/12] acpi: fix compile error with ACPI && !ACPI_SYSTEM

2007-06-19 Thread Andreas Herrmann
Fix build error if ACPI && !ACPI_SYSTEM as bus.c depended on event.c Signed-off-by: Andreas Herrmann <[EMAIL PROTECTED]> --- drivers/acpi/bus.c |2 +- drivers/acpi/event.c |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/acpi/bus.c b/driv

[PATCH 3/12] acpi: fix compile error with ACPI && !ACPI_POWER

2007-06-19 Thread Andreas Herrmann
Fix compile error with ACPI && !ACPI_POWER as bus.c depends on power.c Signed-off-by: Andreas Herrmann <[EMAIL PROTECTED]> --- drivers/acpi/Kconfig |4 drivers/acpi/Makefile |2 +- 2 files changed, 1 insertions(+), 5 deletions(-) diff --git a/drivers/acpi/Kconfig

[PATCH 4/12] acpi: select ACPI_EC for MSI_LAPTOP

2007-06-19 Thread Andreas Herrmann
Fix kernel build problem as MSI_LAPTOP depends on ACPI_EC. Signed-off-by: Andreas Herrmann <[EMAIL PROTECTED]> --- drivers/misc/Kconfig |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/misc/Kconfig b/drivers/misc/Kconfig index 72774c9..0d6f369

[PATCH 2/12] acpi: select ACPI_EC for THINKPAD_ACPI

2007-06-19 Thread Andreas Herrmann
Fix kernel build problem: thinkpad_acpi.c:(.text+0x7486a): undefined reference to `ec_write' (as THINKPAD_ACPI depends on ACPI_EC) Signed-off-by: Andreas Herrmann <[EMAIL PROTECTED]> --- drivers/misc/Kconfig |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/driver

[PATCH 1/12] m68k: fix annoying Kconfig warning

2007-06-19 Thread Andreas Herrmann
' refers to undefined symbol 'ATARI_KBD_CORE' Signed-off-by: Andreas Herrmann <[EMAIL PROTECTED]> --- arch/m68k/Kconfig |3 --- drivers/input/keyboard/Kconfig |4 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/arch/m68k/Kconfig b/arch/m68k/Kconfig index 8

[patch 0/12] several fixes from randconfig compiles

2007-06-19 Thread Andreas Herrmann
This is a series of minor fixes for problems observed while doing some randconfig fun on x86_64. Some problems might have been reported on LKML before. But AFAIK they are not fixed in current git. Thus I report them again - including possible fixes. Regards, Andreas -- Operating | AMD Saxony

[patch 0/12] several fixes from randconfig compiles

2007-06-19 Thread Andreas Herrmann
This is a series of minor fixes for problems observed while doing some randconfig fun on x86_64. Some problems might have been reported on LKML before. But AFAIK they are not fixed in current git. Thus I report them again - including possible fixes. Regards, Andreas -- Operating | AMD Saxony

[PATCH 1/12] m68k: fix annoying Kconfig warning

2007-06-19 Thread Andreas Herrmann
' refers to undefined symbol 'ATARI_KBD_CORE' Signed-off-by: Andreas Herrmann [EMAIL PROTECTED] --- arch/m68k/Kconfig |3 --- drivers/input/keyboard/Kconfig |4 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/arch/m68k/Kconfig b/arch/m68k/Kconfig index 85cdd23

[PATCH 2/12] acpi: select ACPI_EC for THINKPAD_ACPI

2007-06-19 Thread Andreas Herrmann
Fix kernel build problem: thinkpad_acpi.c:(.text+0x7486a): undefined reference to `ec_write' (as THINKPAD_ACPI depends on ACPI_EC) Signed-off-by: Andreas Herrmann [EMAIL PROTECTED] --- drivers/misc/Kconfig |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/misc

[PATCH 4/12] acpi: select ACPI_EC for MSI_LAPTOP

2007-06-19 Thread Andreas Herrmann
Fix kernel build problem as MSI_LAPTOP depends on ACPI_EC. Signed-off-by: Andreas Herrmann [EMAIL PROTECTED] --- drivers/misc/Kconfig |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/misc/Kconfig b/drivers/misc/Kconfig index 72774c9..0d6f369 100644

[PATCH 3/12] acpi: fix compile error with ACPI !ACPI_POWER

2007-06-19 Thread Andreas Herrmann
Fix compile error with ACPI !ACPI_POWER as bus.c depends on power.c Signed-off-by: Andreas Herrmann [EMAIL PROTECTED] --- drivers/acpi/Kconfig |4 drivers/acpi/Makefile |2 +- 2 files changed, 1 insertions(+), 5 deletions(-) diff --git a/drivers/acpi/Kconfig b/drivers/acpi

[PATCH 7/12] acpi: fix another compile warning

2007-06-19 Thread Andreas Herrmann
Avoid compile warning if !ACPI_BLACKLIST_YEAR CC drivers/acpi/blacklist.o drivers/acpi/blacklist.c:76:5: warning: CONFIG_ACPI_BLACKLIST_YEAR is not defined Signed-off-by: Andreas Herrmann [EMAIL PROTECTED] --- drivers/acpi/blacklist.c |2 +- 1 files changed, 1 insertions(+), 1

[PATCH 5/12] acpi: fix compile error with ACPI !ACPI_SYSTEM

2007-06-19 Thread Andreas Herrmann
Fix build error if ACPI !ACPI_SYSTEM as bus.c depended on event.c Signed-off-by: Andreas Herrmann [EMAIL PROTECTED] --- drivers/acpi/bus.c |2 +- drivers/acpi/event.c |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/acpi/bus.c b/drivers/acpi/bus.c index

[PATCH 8/12] fix compile error (missing include)

2007-06-19 Thread Andreas Herrmann
Fix compile error: In file included from drivers/infiniband/core/addr.c:32: include/linux/inetdevice.h:15: error: '__NET_IPV4_CONF_MAX' undeclared here (not in a function) Signed-off-by: Andreas Herrmann [EMAIL PROTECTED] --- include/linux/inetdevice.h |1 + 1 files changed, 1 insertions

[PATCH 11/12] pcmcia/net_pcmcia: all net_pcmcia modules depend on PCMCIA

2007-06-19 Thread Andreas Herrmann
:(.exit.text+0x1055): undefined reference to `pcmcia_unregister_driver' make: *** [.tmp_vmlinux1] Error 1 Signed-off-by: Andreas Herrmann [EMAIL PROTECTED] --- drivers/net/pcmcia/Kconfig | 12 ++-- 1 files changed, 10 insertions(+), 2 deletions(-) diff --git a/drivers/net/pcmcia/Kconfig b

[PATCH 12/12] acpi: select ACPI_EC for SONY_LAPTOP

2007-06-19 Thread Andreas Herrmann
Fix kernel build problem as SONY_LAPTOP depends on ACPI_EC. Signed-off-by: Andreas Herrmann [EMAIL PROTECTED] --- drivers/misc/Kconfig |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/misc/Kconfig b/drivers/misc/Kconfig index 0d6f369..463fa41 100644 --- a/drivers

[PATCH 6/12] acpi: fix compile warnings

2007-06-19 Thread Andreas Herrmann
of function 'acpi_power_transition' Signed-off-by: Andreas Herrmann [EMAIL PROTECTED] --- diff --git a/drivers/acpi/bus.c b/drivers/acpi/bus.c index b4a9ea5..e01dca1 100644 --- a/drivers/acpi/bus.c +++ b/drivers/acpi/bus.c @@ -43,6 +43,8 @@ ACPI_MODULE_NAME(bus); #ifdef CONFIG_X86 extern void __init

[PATCH 10/12] SLOB: fix build error if SLOB !NUMA

2007-06-19 Thread Andreas Herrmann
to `kmalloc_node' follow ... hmm, SLOB currently does not provide kmalloc_node() and friends. Signed-off-by: Andreas Herrmann [EMAIL PROTECTED] --- init/Kconfig |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/init/Kconfig b/init/Kconfig index a9e99f8..d4a68f6 100644 --- a/init

[PATCH 9/12] sound: fix compile error (wrong declaration of devinitdata)

2007-06-19 Thread Andreas Herrmann
Fix compile error: CC sound/pci/ice1712/prodigy192.o sound/pci/ice1712/prodigy192.c:708: error: ak4114_controls causes a section type conflict ... but __initdata cannot be const. Signed-off-by: Andreas Herrmann [EMAIL PROTECTED] --- sound/pci/ice1712/prodigy192.c |2 +- 1 files

Re: [PATCH] x86_64: prevent auto select of mwait_idle for AMD CPUs

2007-04-11 Thread Andreas Herrmann
On Tue, Apr 10, 2007 at 08:11:18PM +0200, Andi Kleen wrote: > On Tuesday 10 April 2007 19:24:25 Andreas Herrmann wrote: > > This fix is needed for AMD family 10h CPUs. > > > > It prevents auto select of mwait_idle for AMD CPUs. > > MWAIT does not enter C-states on fa

Re: [PATCH] x86_64: prevent auto select of mwait_idle for AMD CPUs

2007-04-11 Thread Andreas Herrmann
On Tue, Apr 10, 2007 at 08:11:18PM +0200, Andi Kleen wrote: On Tuesday 10 April 2007 19:24:25 Andreas Herrmann wrote: This fix is needed for AMD family 10h CPUs. It prevents auto select of mwait_idle for AMD CPUs. MWAIT does not enter C-states on family 10h and more power saving

Re: [PATCH] x86_64: prevent auto select of mwait_idle for AMD CPUs

2007-04-10 Thread Andreas Herrmann
Actually I have also written patches to clear the MWAIT flag for AMD CPUs. But after re-reading of specs (also Intel's specs) I preferred to keep the MWAIT flag but to introduce a MWAIT_NO_CSTATE flag. I think this is the cleaner solution. Regards, Andreas - To unsubscribe from this list:

<    1   2   3   4   >