Re: expected behavior of PF_PACKET on NETIF_F_HW_VLAN_RX device?

2007-11-02 Thread Michael Chan
On Fri, 2007-11-02 at 14:08 -0400, Dave Johnson wrote: > > > > *2: If chip supports 'ASF', tag is always stripped (see *1 above). > > Looks ok if ASF is not supported. > > Michael, > > These changes seems to cause this issue: > > > [BNX2]: Fix VLAN on ASF > > > > Always set up the d

Re: expected behavior of PF_PACKET on NETIF_F_HW_VLAN_RX device?

2007-11-02 Thread David Miller
From: Dave Johnson <[EMAIL PROTECTED]> Date: Fri, 2 Nov 2007 14:08:32 -0400 > These changes seems to cause this issue: > > > [BNX2]: Fix VLAN on ASF > > > > Always set up the device to strip incoming VLAN tags when ASF is > > enabled. ASF firmware will not parse packets correctly if VLAN tag

Re: Working frv toolchain?

2007-11-02 Thread Jan Dittmer
David Howells wrote: David Howells <[EMAIL PROTECTED]> wrote: Ah... I'd forgotten about that. I'm not sure all the ASM constraint changes are upstream yet, and gcc bz 28583 also gets incurred. Are you particularly interested in building your own compiler, or would one of ours do? Look in:

Re: [linux-usb-devel] ti_usb_3410_5052 breakage in 2.6.24-rc1

2007-11-02 Thread Alan Stern
On Thu, 1 Nov 2007, Steven King wrote: > > But you didn't post the log messages, so I haven't seen them. > > In addition, that "wrong number of endpoints" message occurs long after > > the underlying problem; it's probably not connected. > > Okay, attached is full .config, dmesg, /proc/bus/usb/de

Re: "Fix ATAPI transfer lengths" causes CD writing regression

2007-11-02 Thread Daniel Drake
Tejun Heo wrote: Yeap, the SG command is fine. The drive is being weird tho. The allocation length field says 10 bytes, so it should just have transferred 10 bytes without causing HSM violation. Can you please apply the attached patch and report what the kernel says after triggering the error

Re: [build bug, 2.6.24-rc1] CONFIG_VIDEO_DEV=m & CONFIG_VIDEO_SAA7146_VV=y

2007-11-02 Thread Mauro Carvalho Chehab
Hi Ingo, > > http://linuxtv.org/hg/v4l-dvb/rev/5320c2571183 > > http://linuxtv.org/hg/v4l-dvb/rev/64935a44e510  The changesets are at my -git tree, at devel branch: http://git.kernel.org/?p=linux/kernel/git/mchehab/v4l-dvb.git;a=shortlog;h=devel dd82b50bf88b81698d95685d4a6873c4304c9762 V4L/D

Re: [patch] PID namespace design bug, workaround

2007-11-02 Thread Theodore Tso
On Fri, Nov 02, 2007 at 06:58:47PM +0300, Pavel Emelyanov wrote: > Having access to the same IPCs in different pid namespaces won't work. > Having access to the same filesystem in different IPC namespaces won't work. > Having access to the same UID namespace in different VFS namespaces won't > wor

2.6.24-rc1-54866f032307063776b4eff7eadb131d47f9f9b4 fails to boot: kernel BUG at include/linux/scatterlist.h:49!

2007-11-02 Thread Torsten Kaiser
Both 2.6.24-rc1 and the current git version fail to boot for me: [ 57.182205] ohci1394: fw-host0: OHCI-1394 1.1 (PCI): IRQ=[16] MMIO=[e800-efff] Max Packet= [2048] IR/IT contexts=[4/8] [ 57.194032] eth1394: eth2: IPv4 over IEEE 1394 (fw-host0) [ 57.199527] [ cut here ]-

Re: [2.6 patch] the scheduled I2C RTC driver removal

2007-11-02 Thread Jean Delvare
Hi Adrian, On Thu, 1 Nov 2007 00:03:58 +0100, Adrian Bunk wrote: > This patch contains the scheduled removal of legacy I2C RTC drivers with > replacement drivers. I'm adding the rtc list in Cc. > > Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> > > --- > > Documentation/feature-removal-sche

[PATCH] eCryptfs: Cast page->index to loff_t instead of off_t

2007-11-02 Thread Michael Halcrow
page->index should be cast to loff_t instead of off_t. Signed-off-by: Michael Halcrow <[EMAIL PROTECTED]> Reported-by: Eric Sandeen <[EMAIL PROTECTED]> --- fs/ecryptfs/read_write.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/fs/ecryptfs/read_write.c b/fs/ecryptfs/rea

[PATCH] Use list_for_each_entry instead of list_for_each in sound/oss drivers.

2007-11-02 Thread Julia Lawall
From: Julia Lawall <[EMAIL PROTECTED]> Combine list_for_each and list_entry into list_for_each_entry. An excerpt of the semantic patch implementing these changes is as follows: @ra@ type T,T1; identifier I, x; expression E, E1, E2; iterator list_for_each_entry; @@ <... when != _Y(I) - list_f

Re: TCP_DEFER_ACCEPT issues

2007-11-02 Thread Felix von Leitner
Thus spake Eric Dumazet ([EMAIL PROTECTED]): > 1) Setting a timeout in a millisecond range (< 1000) is not very good > because some clients may need much more time to send your server the data > (very long distance). So a second granularity is OK. I want millisecond accuracy for consistency. se

Re: bizarre network timing problem

2007-11-02 Thread Rick Jones
Felix von Leitner wrote: Thus spake Rick Jones ([EMAIL PROTECTED]): How could I test this theory? Can you take another trace that isn't so "cooked?" One that just sticks with TCP-level and below stuff? Sorry for taking so long. Here is a tcpdump. The side on port 445 is the SMB server

Re: bizarre network timing problem

2007-11-02 Thread Felix von Leitner
Thus spake Rick Jones ([EMAIL PROTECTED]): > >How could I test this theory? > Can you take another trace that isn't so "cooked?" One that just sticks > with TCP-level and below stuff? Sorry for taking so long. Here is a tcpdump. The side on port 445 is the SMB server using TCP_CORK. 23:03:20.

Re: [patch 1/4] x86: FIFO ticket spinlocks

2007-11-02 Thread Nick Piggin
On Fri, Nov 02, 2007 at 10:05:37AM -0400, Rik van Riel wrote: > On Fri, 2 Nov 2007 07:42:20 +0100 > Nick Piggin <[EMAIL PROTECTED]> wrote: > > > On Thu, Nov 01, 2007 at 06:19:41PM -0700, Linus Torvalds wrote: > > > > > > > > > On Thu, 1 Nov 2007, Rik van Riel wrote: > > > > > > > > Larry Woodma

Re: bizarre network timing problem

2007-11-02 Thread Felix von Leitner
Thus spake Rick Jones ([EMAIL PROTECTED]): > >Oh I'm pretty sure it's not my application, because my application performs > >well over ethernet, which is after all its purpose. Also I see the > >write, the TCP uncork, then a pause, and then the packet leaving. > Well, a wise old engineer tried to

Re: 2.6.24-rc1-54866f032307063776b4eff7eadb131d47f9f9b4 fails to boot: kernel BUG at include/linux/scatterlist.h:49!

2007-11-02 Thread Stefan Richter
Torsten Kaiser wrote: > Both 2.6.24-rc1 and the current git version fail to boot for me: > > [ 57.182205] ohci1394: fw-host0: OHCI-1394 1.1 (PCI): IRQ=[16] > MMIO=[e800-efff] Max Packet= > [2048] IR/IT contexts=[4/8] > [ 57.194032] eth1394: eth2: IPv4 over IEEE 1394 (fw-host0) > [

Re: bizarre network timing problem

2007-11-02 Thread Rick Jones
Felix von Leitner wrote: Thus spake Rick Jones ([EMAIL PROTECTED]): Oh I'm pretty sure it's not my application, because my application performs well over ethernet, which is after all its purpose. Also I see the write, the TCP uncork, then a pause, and then the packet leaving. Well, a wise ol

Re: [patch 1/4] x86: FIFO ticket spinlocks

2007-11-02 Thread Nick Piggin
On Fri, Nov 02, 2007 at 09:51:27AM -0700, Linus Torvalds wrote: > > > On Fri, 2 Nov 2007, Chuck Ebbert wrote: > > > > There's also a very easy way to get better fairness with our current > > spinlocks: > > use xchg to release the lock instead of mov. > > That does nothing at all. > > Yes, it

Re: [BUG] : kernel/built-in.o(.text+0x18db4):kernel/workqueue.c:823: undefined reference to `.L343'

2007-11-02 Thread Kristoffer Ericson
On Fri, 2 Nov 2007 21:10:23 +0100 Sam Ravnborg <[EMAIL PROTECTED]> wrote: > On Fri, Nov 02, 2007 at 07:48:18PM +, Russell King - ARM Linux wrote: > > On Fri, Nov 02, 2007 at 08:29:31PM -0700, Kristoffer Ericson wrote: > > > Greetings, > > > > > > Haven't found anyone reporting this. Taken fro

[WATCHDOG] v2.6.24 Watchdog Device Drivers patches - part 3

2007-11-02 Thread Wim Van Sebroeck
Hi Linus, Please pull from 'master' branch of git://git.kernel.org/pub/scm/linux/kernel/git/wim/linux-2.6-watchdog.git or if master.kernel.org hasn't synced up yet: master.kernel.org:/pub/scm/linux/kernel/git/wim/linux-2.6-watchdog.git This will update the following files: drive

Re: 2.6.24-rc1-54866f032307063776b4eff7eadb131d47f9f9b4 fails to boot: kernel BUG at include/linux/scatterlist.h:49!

2007-11-02 Thread Stefan Richter
I wrote: > Torsten Kaiser wrote: >> Both 2.6.24-rc1 and the current git version fail to boot for me: >> >> [ 57.182205] ohci1394: fw-host0: OHCI-1394 1.1 (PCI): IRQ=[16] >> MMIO=[e800-efff] Max Packet=[2048] IR/IT contexts=[4/8] >> [ 57.194032] eth1394: eth2: IPv4 over IEEE 1394 (fw-

Re: bizarre network timing problem

2007-11-02 Thread Felix von Leitner
Thus spake Rick Jones ([EMAIL PROTECTED]): > Past performance is no guarantee of current correctness :) And over an > Ethernet, there will be a very different set of both timings and TCP > segment sizes compared to loopback. > My guess is that you will find setting the lo mtu to 1500 a very >

Re: Suspend to ram regression (2.6.24-rc1-git)

2007-11-02 Thread Kristen Carlson Accardi
On Thu, 1 Nov 2007 09:41:46 +0100 Jens Axboe <[EMAIL PROTECTED]> wrote: > On Wed, Oct 31 2007, Jens Axboe wrote: > > Hi, > > > > My x60 stopped suspending about two days ago. It just freezes after > > printing > > > > Suspending console(s) > > > > where it would normally turn everything off and

[PATCH] acpi4asus: add support for F3Sa

2007-11-02 Thread Luca Tettamanti
Add support for ASUS F3Sa notebook. Features: - LCD on/off - Brightness - Wifi kill - Bluetooth kill Signed-off-by: Luca Tettamanti <[EMAIL PROTECTED]> --- There may be another method to read LCD status which doesn't require ad-hoc code, but I'm unable to find it. I'm attaching the DSDT. drive

[RFC] kobject and kset core changes and cleanups

2007-11-02 Thread Greg KH
So, I go on vacation for a week or so and come back to an overflowing inbox. Instead of trying to wade through all of that, I decide to finish up the work Kay and I had started on cleaning up the kset core code. Here's a large patch series that is in my tree and should be for 2.6.25. It does qui

[PATCH 01/54] ecryptfs: clean up attribute mess

2007-11-02 Thread Greg Kroah-Hartman
It isn't that hard to add simple kset attributes, so don't go through all the gyrations of creating your own object type and show and store functions. Just use the functions that are already present. This makes things much simpler. Note, the version_str string violates the "one value per file" r

[PATCH 02/54] KOBJECT: remove struct kobj_type from struct kset

2007-11-02 Thread Greg Kroah-Hartman
We don't need a "default" ktype for a kset. We should set this explicitly every time for each kset. This change is needed so that we can make ksets dynamic, and cleans up one of the odd, undocumented assumption that the kset/kobject/ktype model has. This patch is based on a lot of help from Kay

[PATCH 03/54] KOBJECT: remove kobj_set_kset_s as no one is using it anymore

2007-11-02 Thread Greg Kroah-Hartman
What a confusing name for a macro... Cc: Kay Sievers <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- include/linux/kobject.h | 18 -- 1 files changed, 0 insertions(+), 18 deletions(-) diff --git a/include/linux/kobject.h b/include/linux/kobject.h i

[PATCH 04/54] kset: add kset_create_and_register function

2007-11-02 Thread Greg Kroah-Hartman
Now ksets can be dynamically created on the fly, no static definitions are required. Thanks to Miklos for hints on how to make this work better for the callers. And thanks to Kay for finding some stupid bugs in my original version. Cc: Kay Sievers <[EMAIL PROTECTED]> Cc: Miklos Szeredi <[EMAIL P

[PATCH 05/54] kset: convert fuse to use kset_create

2007-11-02 Thread Greg Kroah-Hartman
Dynamically create the kset instead of declaring it statically. Cc: Kay Sievers <[EMAIL PROTECTED]> Cc: Miklos Szeredi <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- fs/fuse/inode.c | 27 +++ 1 files changed, 15 insertions(+), 12 deletions(

[PATCH 06/54] kset: convert securityfs to use kset_create

2007-11-02 Thread Greg Kroah-Hartman
Dynamically create the kset instead of declaring it statically. Cc: Kay Sievers <[EMAIL PROTECTED]> Acked-by: Chris Wright <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- security/inode.c | 12 ++-- 1 files changed, 6 insertions(+), 6 deletions(-) diff --g

[PATCH 07/54] kset: convert debugfs to use kset_create

2007-11-02 Thread Greg Kroah-Hartman
Dynamically create the kset instead of declaring it statically. Cc: Kay Sievers <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- fs/debugfs/inode.c | 14 +++--- 1 files changed, 7 insertions(+), 7 deletions(-) diff --git a/fs/debugfs/inode.c b/fs/debugfs/in

[PATCH 08/54] kset: convert configfs to use kset_create

2007-11-02 Thread Greg Kroah-Hartman
Dynamically create the kset instead of declaring it statically. Cc: Kay Sievers <[EMAIL PROTECTED]> Signed-off-by: Joel Becker <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- fs/configfs/mount.c | 14 +++--- 1 files changed, 7 insertions(+), 7 deletions(-)

[PATCH 09/54] kset: convert ecryptfs to use kset_create

2007-11-02 Thread Greg Kroah-Hartman
Dynamically create the kset instead of declaring it statically. Cc: Kay Sievers <[EMAIL PROTECTED]> Cc: Mike Halcrow <[EMAIL PROTECTED]> Cc: Phillip Hellewell <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- fs/ecryptfs/main.c | 20 ++-- 1 files chan

[PATCH 10/54] kset: convert main fs kset to use kset_create

2007-11-02 Thread Greg Kroah-Hartman
This also renames fs_subsys to fs_kset to catch all current users with a build error instead of a build warning which can easily be missed. Cc: Kay Sievers <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- fs/ecryptfs/main.c |2 +- fs/fuse/inode.c|2 +- fs

[PATCH 11/54] kset: convert gfs2 to use kset_create

2007-11-02 Thread Greg Kroah-Hartman
Dynamically create the kset instead of declaring it statically. Cc: Kay Sievers <[EMAIL PROTECTED]> Cc: Steven Whitehouse <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- fs/gfs2/sys.c | 13 +++-- 1 files changed, 7 insertions(+), 6 deletions(-) diff --git

[PATCH 13/54] kset: convert dlm to use kset_create

2007-11-02 Thread Greg Kroah-Hartman
Dynamically create the kset instead of declaring it statically. Cc: Kay Sievers <[EMAIL PROTECTED]> Cc: Steven Whitehouse <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- fs/dlm/lockspace.c | 20 +++- 1 files changed, 11 insertions(+), 9 deletions(-)

[PATCH 15/54] kset: remove decl_subsys_name

2007-11-02 Thread Greg Kroah-Hartman
The last user of this macro (pci hotplug core) is now switched over to using a dynamic kset, so this macro is no longer needed at all. Cc: Kay Sievers <[EMAIL PROTECTED]> Cc: Kristen Carlson Accardi <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- include/linux/kobjec

[PATCH 16/54] kset: convert kernel_subsys to use kset_create

2007-11-02 Thread Greg Kroah-Hartman
Dynamically create the kset instead of declaring it statically. We also rename kernel_subsys to kernel_kset to catch all users of this symbol with a build error instead of an easy-to-ignore build warning. Cc: Kay Sievers <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --

[PATCH 17/54] kset: convert drivers/base/bus.c kset_create_and_register

2007-11-02 Thread Greg Kroah-Hartman
Dynamically create the kset instead of declaring it statically. Cc: Kay Sievers <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- drivers/base/bus.c | 13 + 1 files changed, 9 insertions(+), 4 deletions(-) diff --git a/drivers/base/bus.c b/drivers/base/b

[PATCH 18/54] kset: convert drivers/base/class.c kset_create_and_register

2007-11-02 Thread Greg Kroah-Hartman
Dynamically create the kset instead of declaring it statically. The class_obj subsystem is not yet converted as it is more complex and should be going away soon with the removal of class_device from the kernel tree. Cc: Kay Sievers <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PRO

[PATCH 14/54] kset: convert pci hotplug to use kset_create_and_register

2007-11-02 Thread Greg Kroah-Hartman
This also renames pci_hotplug_slots_subsys to pcis_hotplug_slots_kset catch all current users with a build error instead of a build warning which can easily be missed. Cc: Kay Sievers <[EMAIL PROTECTED]> Cc: Kristen Carlson Accardi <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROT

[PATCH 19/54] kset: convert drivers/base/firmware.c kset_create_and_register

2007-11-02 Thread Greg Kroah-Hartman
Dynamically create the kset instead of declaring it statically. Cc: Kay Sievers <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- drivers/base/firmware.c | 10 +++--- 1 files changed, 7 insertions(+), 3 deletions(-) diff --git a/drivers/base/firmware.c b/drivers

[PATCH 20/54] kset: convert /sys/devices to use kset_create

2007-11-02 Thread Greg Kroah-Hartman
Dynamically create the kset instead of declaring it statically. We also rename devices_subsys to devices_kset to catch all users of the variable. Cc: Kay Sievers <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- drivers/base/base.h |2 +- drivers/base/co

[PATCH 21/54] kset: convert /sys/hypervisor to use kset_create

2007-11-02 Thread Greg Kroah-Hartman
Dynamically create the kset instead of declaring it statically. We also rename hypervisor_subsys to hypervisor_kset to catch all users of the variable. Cc: Kay Sievers <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- arch/s390/hypfs/inode.c |2 +- drivers/base/

[PATCH 22/54] kset: convert /sys/devices/system to use kset_create

2007-11-02 Thread Greg Kroah-Hartman
Dynamically create the kset instead of declaring it statically. Cc: Kay Sievers <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- drivers/base/sys.c | 28 1 files changed, 12 insertions(+), 16 deletions(-) diff --git a/drivers/base/sys.c

[PATCH 23/54] kset: convert slub to use kset_create

2007-11-02 Thread Greg Kroah-Hartman
Dynamically create the kset instead of declaring it statically. Cc: Kay Sievers <[EMAIL PROTECTED]> Cc: Christoph Lameter <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- mm/slub.c | 19 ++- 1 files changed, 10 insertions(+), 9 deletions(-) diff --g

[PATCH 12/54] kset: convert gfs2 dlm to use kset_create

2007-11-02 Thread Greg Kroah-Hartman
Dynamically create the kset instead of declaring it statically. Cc: Kay Sievers <[EMAIL PROTECTED]> Cc: Steven Whitehouse <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- fs/gfs2/locking/dlm/sysfs.c | 22 -- 1 files changed, 12 insertions(+), 10

[PATCH 24/54] kset: move /sys/slab to /sys/kernel/slab

2007-11-02 Thread Greg Kroah-Hartman
/sys/kernel is where these things should go. Also updated the documentation and tool that used this directory. Cc: Kay Sievers <[EMAIL PROTECTED]> Acked-by: Christoph Lameter <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- Documentation/vm/slabinfo.c |2 +- Docum

[PATCH 25/54] kset: convert /sys/module to use kset_create

2007-11-02 Thread Greg Kroah-Hartman
Dynamically create the kset instead of declaring it statically. We also rename module_subsys to module_kset to catch all users of the variable. Cc: Kay Sievers <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- include/linux/module.h |3 ++- kernel/module.c

[PATCH 26/54] kset: convert /sys/power to use kset_create

2007-11-02 Thread Greg Kroah-Hartman
Dynamically create the kset instead of declaring it statically. We also rename power_subsys to power_kset to catch all users of the variable and we properly export it so that people don't have to guess that it really is present in the system. The pseries code is wierd, why is it createing /sys/po

[PATCH 27/54] kset: convert s390 hypervisor kset to use kset_create

2007-11-02 Thread Greg Kroah-Hartman
Dynamically create the kset instead of declaring it statically. Cc: Kay Sievers <[EMAIL PROTECTED]> Cc: Michael Holzheu <[EMAIL PROTECTED]> Cc: Cornelia Huck <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- arch/s390/hypfs/inode.c | 15 +-- 1 files chang

[PATCH 28/54] kset: convert struct bus_device->devices to use kset_create

2007-11-02 Thread Greg Kroah-Hartman
Dynamically create the kset instead of declaring it statically. Having 3 static kobjects in one structure is not only foolish, but ripe for nasty race conditions if handled improperly. We also rename the field to catch any potential users of it (not that there should be outside of the driver core

[PATCH 29/54] kset: convert struct bus_device->drivers to use kset_create

2007-11-02 Thread Greg Kroah-Hartman
Dynamically create the kset instead of declaring it statically. Having 3 static kobjects in one structure is not only foolish, but ripe for nasty race conditions if handled improperly. We also rename the field to catch any potential users of it (not that there should be outside of the driver core

[PATCH 30/54] driver core: remove owner field from struct bus_type

2007-11-02 Thread Greg Kroah-Hartman
This isn't used by anything in the driver core, and by no one in the 204 different usages of it in the kernel tree. Remove this field so no one gets any idea that it is needed to be used. Cc: Kay Sievers <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- include/linux/

[PATCH 31/54] driver core: add way to get to bus kset

2007-11-02 Thread Greg Kroah-Hartman
This allows an easier way to get to the kset associated with a struct bus_type (you have three to choose from...) This will make it easier to move these fields to be dynamic in a future patch. Cc: Kay Sievers <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- drivers/b

[PATCH 32/54] driver core: add way to get to bus device klist

2007-11-02 Thread Greg Kroah-Hartman
This allows an easier way to get to the device klist associated with a struct bus_type (you have three to choose from...) This will make it easier to move these fields to be dynamic in a future patch. The only user of this is the PCI core which horribly abuses this interface to rearrange the orde

[PATCH 33/54] driver core: remove fields from struct bus_type

2007-11-02 Thread Greg Kroah-Hartman
struct bus_type is static everywhere in the kernel. This moves the kobject in the structure out of it, and a bunch of other private only to the driver core fields are now moved to a private structure. This lets us dynamically create the backing kobject properly and gives us the chance to be able

[PATCH 34/54] Driver Core: add kobj_attribute handling

2007-11-02 Thread Greg Kroah-Hartman
From: Kay Sievers <[EMAIL PROTECTED]> Add kobj_sysfs_ops to replace subsys_sysfs_ops. There is no need for special kset operations, we want to be able to use simple attribute operations at any kobject, not only ksets. The whole concept of any default sysfs attribute operations will go away with t

[PATCH 35/54] Driver Core: switch all dynamic ksets to kobj_sysfs_ops

2007-11-02 Thread Greg Kroah-Hartman
From: Kay Sievers <[EMAIL PROTECTED]> Switch all dynamically created ksets, that export simple attributes, to kobj_attribute from subsys_attribute. Struct subsys_attribute will be removed. Signed-off-by: Kay Sievers <[EMAIL PROTECTED]> Cc: Mike Halcrow <[EMAIL PROTECTED]> Cc: Phillip Hellewell <[

[PATCH 36/54] fix struct user_info export's sysfs interaction

2007-11-02 Thread Greg Kroah-Hartman
From: Kay Sievers <[EMAIL PROTECTED]> Clean up the use of ksets and kobjects. Kobjects are instances of objects (like struct user_info), ksets are collections of objects of a similar type (like the uids directory containing the user_info directories). So, use kobjects for the user_info directories

[PATCH 37/54] ecryptfs: remove version_str file from sysfs

2007-11-02 Thread Greg Kroah-Hartman
This file violates the one-value-per-file sysfs rule. If you all want it added back, please do something like a per-feature file to show what is present and what isn't. Cc: Kay Sievers <[EMAIL PROTECTED]> Cc: Mike Halcrow <[EMAIL PROTECTED]> Cc: Phillip Hellewell <[EMAIL PROTECTED]> Signed-off-by

[PATCH 38/54] efivars: remove new_var and del_var files from sysfs

2007-11-02 Thread Greg Kroah-Hartman
WTF? Passing binary structures into a sysfs file, expecting it to be in the correct format/endianness? That's just wrong on so many levels. So, these files are deleted. If you want to add them back, please do so in configfs, or in debugfs. Or use text strings, which is what sysfs is only for.

[PATCH 39/54] kobject: convert efivars to kobj_attr interface

2007-11-02 Thread Greg Kroah-Hartman
This cleans up a lot of code and gets rid of a unneeded macro, and gets us one step closer to deleting the deprecated subsys_attr code. Cc: Kay Sievers <[EMAIL PROTECTED]> Cc: Matt Domsch <[EMAIL PROTECTED]> Cc: Matt Tolentino <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED

[PATCH 40/54] firmware: export firmware_kset so that people can use that instead of the braindead firmware_register interface

2007-11-02 Thread Greg Kroah-Hartman
Needed for future firmware subsystem cleanups. In the end, the firmware_register/unregister functions will be deleted entirely, but we need this symbol so that subsystems can migrate over. Cc: Kay Sievers <[EMAIL PROTECTED]> Cc: Matt Domsch <[EMAIL PROTECTED]> Cc: Matt Tolentino <[EMAIL PROTECTED

[PATCH 41/54] kset: convert efivars to use kset_create for the efi subsystem.

2007-11-02 Thread Greg Kroah-Hartman
Dynamically create the kset instead of declaring it statically. Cc: Kay Sievers <[EMAIL PROTECTED]> Cc: Matt Domsch <[EMAIL PROTECTED]> Cc: Matt Tolentino <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- drivers/firmware/efivars.c | 17 - 1 files cha

[PATCH 42/54] kset: convert efivars to use kset_create for the vars sub-subsystem.

2007-11-02 Thread Greg Kroah-Hartman
Dynamically create the kset instead of declaring it statically. Cc: Kay Sievers <[EMAIL PROTECTED]> Cc: Matt Domsch <[EMAIL PROTECTED]> Cc: Matt Tolentino <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- drivers/firmware/efivars.c | 16 +++- 1 files chan

[PATCH 43/54] kobject: convert arm/mach-omap1/pm.c to kobj_attr interface

2007-11-02 Thread Greg Kroah-Hartman
This makes the code a bit simpler and and gets us one step closer to deleting the deprecated subsys_attr code. Cc: Kay Sievers <[EMAIL PROTECTED]> Cc: Cliff Brake <[EMAIL PROTECTED]> Cc: Dirk Behme <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- arch/arm/mach-omap1/p

[PATCH 44/54] kobject: convert pseries/power.c to kobj_attr interface

2007-11-02 Thread Greg Kroah-Hartman
This makes the code a bit simpler and and gets us one step closer to deleting the deprecated subsys_attr code. Cc: Kay Sievers <[EMAIL PROTECTED]> Cc: Manish Ahuja <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- arch/powerpc/platforms/pseries/power.c | 20 -

[PATCH 45/54] kobject: convert s390 ipl.c to kobj_attr interface

2007-11-02 Thread Greg Kroah-Hartman
This makes the code a bit simpler and and gets us one step closer to deleting the deprecated subsys_attr code. NOTE, this needs the next patch in the series in order to work properly. This will build, but the sysfs files will not properly operate. Cc: Kay Sievers <[EMAIL PROTECTED]> Cc: Michael H

[PATCH 46/54] kset: convert s390 ipl.c to use kset_create

2007-11-02 Thread Greg Kroah-Hartman
Dynamically create the kset instead of declaring it statically. This makes the kobject attributes now work properly that I broke in the previous patch. Cc: Kay Sievers <[EMAIL PROTECTED]> Cc: Michael Holzheu <[EMAIL PROTECTED]> Cc: Heiko Carstens <[EMAIL PROTECTED]> Cc: Volker Sameske <[EMAIL PROT

[PATCH 47/54] kobject: convert parisc/pdc_stable to kobj_attr interface

2007-11-02 Thread Greg Kroah-Hartman
This makes the code a bit simpler and and gets us one step closer to deleting the deprecated subsys_attr code. NOTE, this needs the next patch in the series in order to work properly. This will build, but the sysfs files will not properly operate. Cc: Kay Sievers <[EMAIL PROTECTED]> Cc: Thibaut V

[PATCH 48/54] kset: convert parisc/pdc_stable.c to use kset_create

2007-11-02 Thread Greg Kroah-Hartman
Dynamically create the kset instead of declaring it statically. This makes the kobject attributes now work properly that I broke in the previous patch. Cc: Kay Sievers <[EMAIL PROTECTED]> Cc: Thibaut VARENE <[EMAIL PROTECTED]> Cc: Matthew Wilcox <[EMAIL PROTECTED]> Cc: Grant Grundler <[EMAIL PROTE

[PATCH 49/54] Driver Core: kill subsys_attribute and default sysfs ops

2007-11-02 Thread Greg Kroah-Hartman
From: Kay Sievers <[EMAIL PROTECTED]> Remove the no longer needed subsys_attributes, they are all converted to the more sensical kobj_attributes. There is no longer a magic fallback in sysfs attribute operations, all kobjects which create simple attributes need explicitely a ktype assigned, which

[PATCH 50/54] kset: convert edd to use kset_create

2007-11-02 Thread Greg Kroah-Hartman
Dynamically create the kset instead of declaring it statically. Cc: Kay Sievers <[EMAIL PROTECTED]> Cc: Matt Domsch <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- drivers/firmware/edd.c | 14 +++--- 1 files changed, 7 insertions(+), 7 deletions(-) diff --

[PATCH 51/54] kset: convert acpi to use kset_create

2007-11-02 Thread Greg Kroah-Hartman
Dynamically create the kset instead of declaring it statically. Cc: Kay Sievers <[EMAIL PROTECTED]> Cc: Len Brown <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- drivers/acpi/bus.c | 12 drivers/acpi/system.c |2 +- include/acpi/acpi_bus.h |

[PATCH 52/54] firmware: remove firmware_(un)register()

2007-11-02 Thread Greg Kroah-Hartman
These functions are no longer called or needed, so we can remove them. As I rewrote the whole firmware.c file, add my copyright. Cc: Kay Sievers <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- drivers/base/firmware.c | 19 ++- include/linux/device.

[PATCH 53/54] kset: convert ocfs2 to use kset_create

2007-11-02 Thread Greg Kroah-Hartman
Dynamically create the kset instead of declaring it statically. Also use the new kobj_attribute which cleans up this file a _lot_. Cc: Kay Sievers <[EMAIL PROTECTED]> Cc: Mark Fasheh <[EMAIL PROTECTED]> Cc: Kurt Hackel <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> ---

[PATCH 54/54] kset: remove decl_subsys macro

2007-11-02 Thread Greg Kroah-Hartman
This macro is no longer used. ksets should be created dynamically with a call to kset_create_and_register() not declared statically. Yes, there are 5 remaining static struct kset usages in the kernel tree, but they will be fixed up soon. Cc: Kay Sievers <[EMAIL PROTECTED]> Signed-off-by: Greg Kr

[2.6 patch] mm/slub.c: remove unused exports

2007-11-02 Thread Adrian Bunk
This patch removes the following unused EXPORT_SYMBOL's: - kmem_ptr_validate - ksize Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- mm/slub.c |2 -- 1 file changed, 2 deletions(-) 23a2ab570c092f28f7cb0a0bd8d48bd0bd598d9e diff --git a/mm/slub.c b/mm/slub.c index bcdb2c8..e996ca4 100644

[2.6 patch] make __vmalloc_area_node() static

2007-11-02 Thread Adrian Bunk
__vmalloc_area_node() can become static. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- b3249772621c0e8a7210f5a4d451ceaf73d28984 diff --git a/mm/vmalloc.c b/mm/vmalloc.c index af77e17..8c6c0dd 100644 --- a/mm/vmalloc.c +++ b/mm/vmalloc.c @@ -423,8 +423,8 @@ void *vmap(struct page **pages, un

[2.6 patch] proper prototype for get_filesystem_list()

2007-11-02 Thread Adrian Bunk
This patch adds a proper prototype for migration_init() in include/linux/fs.h Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- fs/proc/proc_misc.c |1 - include/linux/fs.h |1 + init/do_mounts.c|3 +-- 3 files changed, 2 insertions(+), 3 deletions(-) 769db79bc8aef7d9612c5ea7

Re: [BUG] : kernel/built-in.o(.text+0x18db4):kernel/workqueue.c:823: undefined reference to `.L343'

2007-11-02 Thread Russell King - ARM Linux
On Sat, Nov 03, 2007 at 12:04:06AM -0700, Kristoffer Ericson wrote: > On Fri, 2 Nov 2007 21:10:23 +0100 > Sam Ravnborg <[EMAIL PROTECTED]> wrote: > > > On Fri, Nov 02, 2007 at 07:48:18PM +, Russell King - ARM Linux wrote: > > > On Fri, Nov 02, 2007 at 08:29:31PM -0700, Kristoffer Ericson wrote

[2.6 patch] fs/utimes.c should #include

2007-11-02 Thread Adrian Bunk
Every file should include the headers containing the prototypes for its global functions. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- feb4aef9f140af882175ca5fddee3fb1058105f9 diff --git a/fs/utimes.c b/fs/utimes.c index b9912ec..e5588cd 100644 --- a/fs/utimes.c +++ b/fs/utimes.c @@ -6,6 +

[2.6 patch] fs/signalfd.c should #include

2007-11-02 Thread Adrian Bunk
Every file should include the headers containing the prototypes for its global functions (in this case sys_signalfd()). Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- 8b3bc8f299ba6ce251a047cb5c6a7aabc95a4f39 diff --git a/fs/signalfd.c b/fs/signalfd.c index fb7f7e8..60da986 100644 --- a/fs/si

[2.6 patch] fs/eventfd.c should #include

2007-11-02 Thread Adrian Bunk
Every file should include the headers containing the prototypes for its global functions (in this case sys_eventfd()). Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- 5cf38f68bfaefff7992322fb92bdac533561e7ae diff --git a/fs/eventfd.c b/fs/eventfd.c index 2ce19c0..a9f130c 100644 --- a/fs/event

[2.6 patch] fs/dlm/: proper prototypes

2007-11-02 Thread Adrian Bunk
This patch adds a proper prototype for some functions in fs/dlm/dlm_internal.h Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- fs/dlm/dlm_internal.h | 16 fs/dlm/lock.c |1 - fs/dlm/lockspace.c|8 fs/dlm/main.c | 10 -- 4 fil

[2.6 patch] fs/nfs/dir.c should #include "internal.h"

2007-11-02 Thread Adrian Bunk
Every file should include the headers containing the prototypes for its global functions (in this case nfs_access_cache_shrinker()). Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- d26650fc1c0dbe80a18d94527357af85c5763143 diff --git a/fs/nfs/dir.c b/fs/nfs/dir.c index 3533453..f697b5c 100644

Re: [BUG] : kernel/built-in.o(.text+0x18db4):kernel/workqueue.c:823: undefined reference to `.L343'

2007-11-02 Thread Kristoffer Ericson
On Sat, 3 Nov 2007 00:04:14 + Russell King - ARM Linux <[EMAIL PROTECTED]> wrote: > On Sat, Nov 03, 2007 at 12:04:06AM -0700, Kristoffer Ericson wrote: > > On Fri, 2 Nov 2007 21:10:23 +0100 > > Sam Ravnborg <[EMAIL PROTECTED]> wrote: > > > > > On Fri, Nov 02, 2007 at 07:48:18PM +, Russell

Re: [PATCH] 9p: basic sysfs support

2007-11-02 Thread Greg KH
On Fri, Nov 02, 2007 at 01:14:05PM -0600, Latchesar Ionkov wrote: > This patch adds only the basic 9p functionality, we use the sysfs > interface extensively for configuring the 9p in-kernel servers (patch > 7 in the series). The v9fs filesyste will probably add some more > subdirectories for authe

Re: "Fix ATAPI transfer lengths" causes CD writing regression

2007-11-02 Thread Tejun Heo
Daniel Drake wrote: > Tejun Heo wrote: >> Yeap, the SG command is fine. The drive is being weird tho. The >> allocation length field says 10 bytes, so it should just have >> transferred 10 bytes without causing HSM violation. >> >> Can you please apply the attached patch and report what the kerne

[PATCH 1/8] Unionfs: delete whiteouts in sticky directories

2007-11-02 Thread Erez Zadok
This is needed to maintain Unix semantics. Signed-off-by: Erez Zadok <[EMAIL PROTECTED]> --- fs/unionfs/inode.c | 17 + 1 files changed, 17 insertions(+), 0 deletions(-) diff --git a/fs/unionfs/inode.c b/fs/unionfs/inode.c index 6ca52f4..f4facf4 100644 --- a/fs/unionfs/inode.c

Re: [patch 1/4] x86: FIFO ticket spinlocks

2007-11-02 Thread Chuck Ebbert
On 11/02/2007 07:01 PM, Nick Piggin wrote: > > In the contended multi-threaded tight loop, the xchg lock is slower than inc > lock but still beats the fair xadd lock, but that's only because it is > just as unfair if not more so on this hardware (runtime difference of up to > about 10%) > I mean

[GIT PULL -mm] 0/8 Unionfs updates/cleanups/fixes

2007-11-02 Thread Erez Zadok
The following is a series of patches related to Unionfs. The main change here is that we dropped ->sync_page and rewritten ->writepage. These patches were tested (where appropriate) on Linus's 2.6.24 latest code (as of v2.6.24-rc1-521-g54866f0), as well as the backports to 2.6.{23,22,21,20,19,18

[PATCH 2/8] Unionfs: cleanup permission checking code

2007-11-02 Thread Erez Zadok
Use vfs helpers and avoid redundant checks performed by the VFS already. Signed-off-by: Erez Zadok <[EMAIL PROTECTED]> --- fs/unionfs/commonfops.c |4 --- fs/unionfs/inode.c | 70 +-- 2 files changed, 13 insertions(+), 61 deletions(-) diff -

[PATCH 6/8] Unionfs: don't bother validating inode if it has no lower branches

2007-11-02 Thread Erez Zadok
Signed-off-by: Erez Zadok <[EMAIL PROTECTED]> --- fs/unionfs/debug.c |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/fs/unionfs/debug.c b/fs/unionfs/debug.c index 894bf7c..0066ccd 100644 --- a/fs/unionfs/debug.c +++ b/fs/unionfs/debug.c @@ -49,6 +49,9 @@ void __unionf

[PATCH 5/8] Unionfs: avoid a deadlock during branch-management on a pivot_root'ed union

2007-11-02 Thread Erez Zadok
Signed-off-by: Erez Zadok <[EMAIL PROTECTED]> Acked-by: Herton Ronaldo Krzesinski <[EMAIL PROTECTED]> --- fs/unionfs/union.h | 39 +-- 1 files changed, 33 insertions(+), 6 deletions(-) diff --git a/fs/unionfs/union.h b/fs/unionfs/union.h index 6333488..0476f9

[PATCH 3/8] Unionfs: update usage.txt documentation

2007-11-02 Thread Erez Zadok
Signed-off-by: Erez Zadok <[EMAIL PROTECTED]> --- Documentation/filesystems/unionfs/usage.txt | 17 + 1 files changed, 17 insertions(+), 0 deletions(-) diff --git a/Documentation/filesystems/unionfs/usage.txt b/Documentation/filesystems/unionfs/usage.txt index d8c15de..a6b1aca

[PATCH 7/8] Unionfs: don't printk an error if it's due to common copyup

2007-11-02 Thread Erez Zadok
Signed-off-by: Erez Zadok <[EMAIL PROTECTED]> --- fs/unionfs/inode.c |9 + fs/unionfs/rename.c |2 +- fs/unionfs/subr.c |8 ++-- 3 files changed, 12 insertions(+), 7 deletions(-) diff --git a/fs/unionfs/inode.c b/fs/unionfs/inode.c index 169365c..bcefe45 100644 --- a/fs

<    1   2   3   4   >