Re: [regression] v2.6.24-rc1-497-gb1d08ac: kde battery icon gone

2007-11-02 Thread Andrey Borzenkov
Thomas Meyer wrote: > i just wanted to report this: > > in v2.6.24-rc1-497-gb1d08ac the kde battery icon is no longer displayed. > > with 2.6.23 shows the battery icon. > > current config: > > grep -i acpi .config > # Power management options (ACPI, APM) > CONFIG_ACPI=y > CONFIG_ACPI_SLEEP=y

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

2007-11-02 Thread Theodore Tso
On Fri, Nov 02, 2007 at 04:37:08PM -0700, Kristen Carlson Accardi wrote: > > Does this patch fix your problem? It seems to get hung up while disabling > DIPM, and after thinking about this a bit, I don't think we really need > to do this anyway. Yep, this fixes suspend/resume on my X61

Re: [PATCH] ehea: add kexec support

2007-11-02 Thread Michael Neuling
> Michael Ellerman <[EMAIL PROTECTED]> wrote on 02.11.2007 07:30:08: > > > On Wed, 2007-10-31 at 20:48 +0100, Christoph Raisch wrote: > > > Michael Ellerman <[EMAIL PROTECTED]> wrote on 30.10.2007 23:50:36: > > If that's really the way it works then eHEA is more or less broken for > > kdump I'm

[PATCH] ARM: Remove reference to non-existent MTD_OBSOLETE_CHIPS.

2007-11-02 Thread Robert P. J. Day
The CONFIG variable MTD_OBSOLETE_CHIPS was deleted in commit ba7cc09c9c9e29a57045dc5bbf843ac1cfad3283. Signed-off-by: Robert P. J. Day <[EMAIL PROTECTED]> --- diff --git a/arch/arm/configs/collie_defconfig b/arch/arm/configs/collie_defconfig index 970c8c7..4264e27 100644 ---

Re: [Linux-NTFS-Dev] 2.6.23 regression: second access of empty ntfs file leads to D state hang

2007-11-02 Thread Mike Galbraith
On Fri, 2007-11-02 at 19:22 +, Anton Altaparmakov wrote: > Would you be able to test it in your setup? Thanks a lot in advance! Modulo uninitialized vi, works fine. I moved it up, and all is well. Thanks. Tested-by: Mike Galbraith <[EMAIL PROTECTED]> diff --git a/fs/ntfs/aops.c

Re: [patch] PID namespace design bug, workaround

2007-11-02 Thread Ulrich Drepper
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 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

Re: [patch] PID namespace design bug, workaround

2007-11-02 Thread Nicholas Miell
On Fri, 2007-11-02 at 10:39 -0700, Linus Torvalds wrote: > > On Fri, 2 Nov 2007, Dave Hansen wrote: > > > > There are certainly more of these, but here is one In the futex > > userspace address, we install the current pid's vnr into a userspace > > address. > > Now, realistically, why not

[PATCH] NetLabel: Introduce a new kernel configuration API for NetLabel - For 2.6.24-rc-git11 - Smack Version 10

2007-11-02 Thread Casey Schaufler
From: Paul Moore <[EMAIL PROTECTED]> Add a new set of configuration functions to the NetLabel/LSM API so that LSMs can perform their own configuration of the NetLabel subsystem without relying on assistance from userspace. Signed-off-by: Paul Moore <[EMAIL PROTECTED]> --- Unrelated changes in

Re: [PATCH 6/7] d_path: Make d_path() use a struct path (2nd try)

2007-11-02 Thread Bryan Wu
On 11/3/07, Jan Blunck <[EMAIL PROTECTED]> wrote: > d_path() is used on a pair. Lets use a struct path to > reflect this. > > Signed-off-by: Jan Blunck <[EMAIL PROTECTED]> > --- > arch/blackfin/kernel/traps.c | 12 +--- Thanks,Acked-by: Bryan Wu <[EMAIL PROTECTED]> >

Re: [PATCH 7/10] 9p: sysfs support for in-kenel servers

2007-11-02 Thread Greg KH
On Fri, Nov 02, 2007 at 11:05:27AM -0600, Latchesar Ionkov wrote: > Sysfs support for 9P servers. > Every server type is represented as a directory in /sys/fs/9p/srv. Initially > there is a single file in the directory -- 'clone'. Reading from the clone > file creates a new instance of the file

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

2007-11-02 Thread Nick Piggin
On Fri, Nov 02, 2007 at 08:56:46PM -0400, Chuck Ebbert wrote: > 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

Re: [PATCH] Use i8253.c lock for PC speaker on MIPS, too.

2007-11-02 Thread Paul Mackerras
Linus Torvalds writes: > and wouldn't it be nice if we just changed it to > > #include > > and got rid of one totally unnecessary stupid arch difference? Looks fine to me. I'll do a patch for powerpc & ppc. Paul. - To unsubscribe from this list: send the line "unsubscribe

Re: WANTED: kernel projects for CS students

2007-11-02 Thread Rik van Riel
On Fri, 02 Nov 2007 23:08:23 -0400 [EMAIL PROTECTED] wrote: > IBM's AIX supported file system compression on the JFS filesystem > years ago. I was able to get up to 30% throughput increases by > converting the /usr filesystem to compressed - because even a 33mhz > Power chipset could read in 5

Re: WANTED: kernel projects for CS students

2007-11-02 Thread Valdis . Kletnieks
On Mon, 29 Oct 2007 17:44:52 EDT, Lennart Sorensen said: > On Mon, Oct 29, 2007 at 09:19:11PM +0100, Pavel Machek wrote: Sorry for the late reply, it's been a zoo of a week here... ;) > If it doesn't it seems the compression feature is going to be rather > unpredictable and my optimization would

Re: [PATCH] Use i8253.c lock for PC speaker on MIPS, too.

2007-11-02 Thread Linus Torvalds
On Fri, 2 Nov 2007, Ralf Baechle wrote: > > The Jazz machines have to use the PIT timer for dyntick and highresolution > kernels. This may break because currently just like i386 used to do MIPS > uses two separate spinlocks in the actual PIT code and the PC speaker > code. So switch to do it

[PATCH,RFC 3/3] scripts/setlocalversion: Fix false positive -dirty tag caused by make-kpkg

2007-11-02 Thread Theodore Ts'o
make-kpkg modifies scripts/package/Makefile and deletes scripts/package/builddeb as part of its build process. Ignore these changes so the tree isn't marked as -dirty, when it is just an artifact of make-kpkg. (make-kpkg clean restores the files to their original state, and these helper scripts

[PATCH,RFC 2/3] Fix scripts/setlocalversion to avoid erroneous -dirty tag

2007-11-02 Thread Theodore Ts'o
If git's index file is out of date, and some files have been touched such that their timestamp doesn't what is in the index, "git diff-index HEAD" may show that a particular file is dirty, when in fact it really isn't. Running "git status" will update the index to avoid these false positives.

[PATCH,RFC 1/3] Change CONFIG_LOCALVERSION_AUTO to use a git-describe-ish format

2007-11-02 Thread Theodore Ts'o
Change the automatic local version to have the form -n-gSHA1SUMID, where 'n' is the number of commits since the last tag (i.e., 2.6.21-rc7). This makes it much more likely that the package names created for the kernel will look "newer" to a package manager. Signed-off-by: "Theodore Ts'o"

[PATCH 4/8] Unionfs: mmap updates

2007-11-02 Thread Erez Zadok
Rewrite unionfs_writepage to minimize dependence on AOP_WRITEPAGE_ACTIVEATE, handle memory pressure better, and update documentation. Remove unionfs_sync_page because it's not needed. CC: Hugh Dickins <[EMAIL PROTECTED]> CC: Pekka Enberg <[EMAIL PROTECTED]> Signed-off-by: Erez Zadok <[EMAIL

[PATCH 8/8] Unionfs/VFS: no need to export 2 symbols in security/security.c

2007-11-02 Thread Erez Zadok
Signed-off-by: Erez Zadok <[EMAIL PROTECTED]> --- security/security.c |2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/security/security.c b/security/security.c index 95a6733..0e1f1f1 100644 --- a/security/security.c +++ b/security/security.c @@ -409,7 +409,6 @@ int

[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

[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 ---

[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

[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

[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: "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

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

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 +,

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

[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

[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

[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 ---

[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 ---

[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(-)

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

[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

[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

[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,

[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 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 ++-

[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 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,

[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 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

[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

[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

[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

[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 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]> ---

[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

[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

[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

[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

[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]>

[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 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

[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 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

[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]> ---

[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

[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

[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

[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]> ---

[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

[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

[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

[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 +-

[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 +-

[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 +-

[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

[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

[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

[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

[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 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]> ---

[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

[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

[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 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 +-

[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 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

[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

[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

[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

[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

[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

[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"

[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

[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

[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.

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

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: 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

[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:

  1   2   3   4   5   6   7   >