login
Header Space

 
 

linux-kernel mailing list

FromSubjectsort iconDate
Randy Dunlap Feb 27, 7:40 pm 2008
Luis Henriques
[PATCH] drivers/message/i2o/device.c warnings
Hi, file drivers/message/i2o/device.c contains the following warnings: drivers/message/i2o/device.c: In function ‘i2o_device_add’: drivers/message/i2o/device.c:247: warning: ignoring return value of ‘sysfs_create_link’, declared with attribute warn_unused_result drivers/message/i2o/device.c:254: warning: ignoring return value of ‘sysfs_create_link’, declared with attribute warn_unused_result drivers/message/i2o/device.c:260: warning: ignoring return value of ‘sysfs_create_link’, dec...
Feb 27, 7:14 pm 2008
David P. Quigley
RFC Labeled NFS Initial Code Review
This patch set is the first submission to fs-devel and lkml for the purpose of code review. To test the patch set you need patches to nfs-utils as well. Since this is just a code review I haven't posted the patch to nfs-utils however if you want to test the code feel free to e-mail me and I will send you the necessary patch. Out of all of the functionality we have prototyped I have narrowed it down to these items which I believe is the solid base for initial kernel inclusion. These patches provid...
Feb 27, 4:39 pm 2008
David P. Quigley
[PATCH 08/11] NFS: Introduce lifecycle management for label ...
Two fields have been added to the nfs_fattr structure to carry the security label and its length. This has raised the need to provide lifecycle management for these values. This patch introduces two macros nfs_fattr_alloc and nfs_fattr_fini which are used to allocate and destroy these fields inside the nfs_fattr structure. These macros do not modify any other components of the structure so nfs_fattr_init still has to be used on these structures. In the event that CONFIG_SECURITY is not set these calls...
Feb 27, 4:39 pm 2008
David P. Quigley
[PATCH 09/11] NFS: Client implementation of Labeled-NFS
There are several places where recommended attributes are implemented in the NFSv4 client code. This patch adds two functions to encode and decode the secid recommended attribute which makes use of the LSM hooks added earlier. It also adds code to grab the label from the file attribute structures and encode the label to be sent back to the server. Even though the code is there to encode a label to be sent back to the server there does not appear to be an interface to use it yet. Signed-off-by: Davi...
Feb 27, 4:39 pm 2008
David P. Quigley
[PATCH 03/11] VFS: Add security label support to *notify
This patch adds two new fields to the iattr structure. The first field holds a security label while the second contains the length of this label. In addition the patch adds a new helper function inode_setsecurity which calls the LSM to set the security label on the inode. Finally the patch modifies the necessary functions such that fsnotify_change can handle notification requests for dnotify and inotify. Signed-off-by: David P. Quigley <dpquigl@tycho.nsa.gov> --- fs/attr.c | ...
Feb 27, 4:39 pm 2008
David P. Quigley
[PATCH 11/11] NFSD: Server implementation of MAC Labeling
This patch implements the encoding of a MAC label on the server side to be sent across the wire to the NFSv4 client. At this time there is no method of receiving a label from the client to be set on the server. Signed-off-by: David P. Quigley <dpquigl@tycho.nsa.gov> --- fs/nfsd/nfs4xdr.c | 90 ++++++++++++++++++++++++++++++++++++++++++++++++++- fs/nfsd/vfs.c | 7 ++++ security/security.c | 1 + 3 files changed, 97 insertions(+), 1 deletions(-) diff --git a/fs/nfsd/nfs4xdr...
Feb 27, 4:39 pm 2008
David P. Quigley
[PATCH 02/11] Security: Add hook to calculate context based ...
There is a time where we need to calculate a context without the inode having been created yet. To do this we take the negative dentry and calculate a context based on the process and the parent directory contexts. Signed-off-by: David P. Quigley <dpquigl@tycho.nsa.gov> --- include/linux/security.h | 11 +++++++++++ security/dummy.c | 7 +++++++ security/security.c | 9 +++++++++ security/selinux/hooks.c | 38 ++++++++++++++++++++++++++++++++++++++ 4 files changed, 6...
Feb 27, 4:39 pm 2008
David P. Quigley
[PATCH 07/11] NFS/SELinux: Add security_label text mount opt...
The new method for pulling argument for NFS from mount is through a text parsing system. This patch adds two new entries to the argument parsing code "securlty_label" and "nosecurity_label". Even though we use text across the user/kernel boundary internally we still pack a binary structure for mount info to be passed around. We add a flag for use in the nfs{4,}_mount_data struct to indicate that are using security labels. Finally we add the SELinux support to mark the labeling method as native. Sig...
Feb 27, 4:39 pm 2008
David P. Quigley
[PATCH 01/11] Security: Add hook to get full maclabel xattr ...
Before the inode_xattr_getsecurity call was removed the caller would concatenate the security namespace prefix and the suffix provided by the lsm to obtain the security xattr. This hook provides the functionality to obtain the full LSM xattr name. The patch also provides implementations for the dummy security module and SELinux. This method is used instead of restoring the old method since it only requires an offset into the returned pointer to obtain the suffix. This approach is more efficient than c...
Feb 27, 4:39 pm 2008
David P. Quigley
[PATCH 05/11] NFSv4: Add label recommended attribute and NFS...
This patch adds a new recommended attribute named label into the NFSv4 file attribute structure. It also adds several new flags to allow the NFS client and server to determine if this attribute is supported and if it is being sent over the wire. Signed-off-by: David P. Quigley <dpquigl@tycho.nsa.gov> --- fs/nfs/nfs4proc.c | 3 +++ include/linux/nfs4.h | 2 ++ include/linux/nfs_fs_sb.h | 1 + include/linux/nfs_xdr.h | 4 ++++ include/linux/nfsd/export.h |...
Feb 27, 4:39 pm 2008
David P. Quigley
[PATCH 04/11] KConfig: Add KConfig entries for SELinux label...
This patch adds two entries into the fs/KConfig file. The first entry NFS_V4_SECURITY_LABEL enables security label support for the NFSv4 client while the second entry NFSD_V4_SECURITY_LABEL enables security labeling support on the server side. These entries are currently marked as EXPERIMENTAL to indicate that at the moment they are only suitable for testing purposes and that the functionality they provide may change before it is removed from experimental status. Signed-off-by: David P. Quigley &lt...
Feb 27, 4:39 pm 2008
David P. Quigley
[PATCH 06/11] SELinux: Add new labeling type native labels
There currently doesn't exist a labeling type that is adequate for use with labeled nfs. Since NFS doesn't really support xattrs we can't use the use xattr labeling behavior. For this we developed a new labeling type. The native labeling type is used solely by NFS to ensure nfs inodes are labeled at runtime by the NFS code instead of relying on the SELinux security server on the client end. Signed-off-by: David P. Quigley <dpquigl@tycho.nsa.gov> --- security/selinux/hooks.c | 2...
Feb 27, 4:39 pm 2008
David P. Quigley
[PATCH 10/11] NFS: Extend nfs xattr handlers to accept the s...
The existing nfs4 xattr handlers do not accept xattr calls to the security namespace. This patch extends these handlers to accept xattrs from the security namespace in addition to the default nfsv4 acl namespace. Signed-off-by: David P. Quigley <dpquigl@tycho.nsa.gov> --- fs/nfs/nfs4proc.c | 54 +++++++++++++++++++++++++++++++++++++++++----------- 1 files changed, 42 insertions(+), 12 deletions(-) diff --git a/fs/nfs/nfs4proc.c b/fs/nfs/nfs4proc.c index a1a4051..d7193df 100644 --- a/fs...
Feb 27, 4:39 pm 2008
David P. Quigley
RFC Labeled NFS Initial Code Review
This patch set is the first submission to fs-devel and lkml for the purpose of code review. To test the patch set you need patches to nfs-utils as well. Since this is just a code review I haven't posted the patch to nfs-utils however if you want to test the code feel free to e-mail me and I will send you the necessary patch. Out of all of the functionality we have prototyped I have narrowed it down to these items which I believe is the solid base for initial kernel inclusion. These patches provid...
Feb 27, 6:11 pm 2008
David P. Quigley
[PATCH 08/11] NFS: Introduce lifecycle management for label ...
Two fields have been added to the nfs_fattr structure to carry the security label and its length. This has raised the need to provide lifecycle management for these values. This patch introduces two macros nfs_fattr_alloc and nfs_fattr_fini which are used to allocate and destroy these fields inside the nfs_fattr structure. These macros do not modify any other components of the structure so nfs_fattr_init still has to be used on these structures. In the event that CONFIG_SECURITY is not set these calls...
Feb 27, 6:11 pm 2008
David P. Quigley
[PATCH 07/11] NFS/SELinux: Add security_label text mount opt...
The new method for pulling argument for NFS from mount is through a text parsing system. This patch adds two new entries to the argument parsing code "securlty_label" and "nosecurity_label". Even though we use text across the user/kernel boundary internally we still pack a binary structure for mount info to be passed around. We add a flag for use in the nfs{4,}_mount_data struct to indicate that are using security labels. Finally we add the SELinux support to mark the labeling method as native. Sig...
Feb 27, 6:11 pm 2008
David P. Quigley
[PATCH 06/11] SELinux: Add new labeling type native labels
There currently doesn't exist a labeling type that is adequate for use with labeled nfs. Since NFS doesn't really support xattrs we can't use the use xattr labeling behavior. For this we developed a new labeling type. The native labeling type is used solely by NFS to ensure nfs inodes are labeled at runtime by the NFS code instead of relying on the SELinux security server on the client end. Signed-off-by: David P. Quigley <dpquigl@tycho.nsa.gov> --- security/selinux/hooks.c | 2...
Feb 27, 6:11 pm 2008
David P. Quigley
[PATCH 05/11] NFSv4: Add label recommended attribute and NFS...
This patch adds a new recommended attribute named label into the NFSv4 file attribute structure. It also adds several new flags to allow the NFS client and server to determine if this attribute is supported and if it is being sent over the wire. Signed-off-by: David P. Quigley <dpquigl@tycho.nsa.gov> --- fs/nfs/nfs4proc.c | 3 +++ include/linux/nfs4.h | 2 ++ include/linux/nfs_fs_sb.h | 1 + include/linux/nfs_xdr.h | 4 ++++ include/linux/nfsd/export.h |...
Feb 27, 6:11 pm 2008
David P. Quigley
[PATCH 04/11] KConfig: Add KConfig entries for SELinux label...
This patch adds two entries into the fs/KConfig file. The first entry NFS_V4_SECURITY_LABEL enables security label support for the NFSv4 client while the second entry NFSD_V4_SECURITY_LABEL enables security labeling support on the server side. These entries are currently marked as EXPERIMENTAL to indicate that at the moment they are only suitable for testing purposes and that the functionality they provide may change before it is removed from experimental status. Signed-off-by: David P. Quigley &lt...
Feb 27, 6:11 pm 2008
David P. Quigley
[PATCH 03/11] VFS: Add security label support to *notify
This patch adds two new fields to the iattr structure. The first field holds a security label while the second contains the length of this label. In addition the patch adds a new helper function inode_setsecurity which calls the LSM to set the security label on the inode. Finally the patch modifies the necessary functions such that fsnotify_change can handle notification requests for dnotify and inotify. Signed-off-by: David P. Quigley <dpquigl@tycho.nsa.gov> --- fs/attr.c | ...
Feb 27, 6:11 pm 2008
David P. Quigley
[PATCH 02/11] Security: Add hook to calculate context based ...
There is a time where we need to calculate a context without the inode having been created yet. To do this we take the negative dentry and calculate a context based on the process and the parent directory contexts. Signed-off-by: David P. Quigley <dpquigl@tycho.nsa.gov> --- include/linux/security.h | 11 +++++++++++ security/dummy.c | 7 +++++++ security/security.c | 9 +++++++++ security/selinux/hooks.c | 38 ++++++++++++++++++++++++++++++++++++++ 4 files changed, 6...
Feb 27, 6:11 pm 2008
David P. Quigley
[PATCH 01/11] Security: Add hook to get full maclabel xattr ...
Before the inode_xattr_getsecurity call was removed the caller would concatenate the security namespace prefix and the suffix provided by the lsm to obtain the security xattr. This hook provides the functionality to obtain the full LSM xattr name. The patch also provides implementations for the dummy security module and SELinux. This method is used instead of restoring the old method since it only requires an offset into the returned pointer to obtain the suffix. This approach is more efficient than c...
Feb 27, 6:11 pm 2008
Casey Schaufler
Re: [PATCH 01/11] Security: Add hook to get full maclabel xa...
I think that calling this a maclabel is a really bad idea. For one thing, it assumes that all interesting security attributes are for Mandatory Access Control. Also, it assumes that they are stored as xattrs. While these conditions are both met by the two current LSMs I would suggest that this is not a fair assumption for the long haul unless the intention is to lock the lSM into only supporting xattr based label based MAC modules. If you are only interested in supporting one LSM then the code ...
Feb 27, 7:42 pm 2008
David P. Quigley
[PATCH 11/11] NFSD: Server implementation of MAC Labeling
This patch implements the encoding of a MAC label on the server side to be sent across the wire to the NFSv4 client. At this time there is no method of receiving a label from the client to be set on the server. Signed-off-by: David P. Quigley <dpquigl@tycho.nsa.gov> --- fs/nfsd/nfs4xdr.c | 90 ++++++++++++++++++++++++++++++++++++++++++++++++++- fs/nfsd/vfs.c | 7 ++++ security/security.c | 1 + 3 files changed, 97 insertions(+), 1 deletions(-) diff --git a/fs/nfsd/nfs4xdr...
Feb 27, 6:11 pm 2008
David P. Quigley
[PATCH 10/11] NFS: Extend nfs xattr handlers to accept the s...
The existing nfs4 xattr handlers do not accept xattr calls to the security namespace. This patch extends these handlers to accept xattrs from the security namespace in addition to the default nfsv4 acl namespace. Signed-off-by: David P. Quigley <dpquigl@tycho.nsa.gov> --- fs/nfs/nfs4proc.c | 54 +++++++++++++++++++++++++++++++++++++++++----------- 1 files changed, 42 insertions(+), 12 deletions(-) diff --git a/fs/nfs/nfs4proc.c b/fs/nfs/nfs4proc.c index a1a4051..d7193df 100644 --- a/fs...
Feb 27, 6:11 pm 2008
David P. Quigley
[PATCH 09/11] NFS: Client implementation of Labeled-NFS
There are several places where recommended attributes are implemented in the NFSv4 client code. This patch adds two functions to encode and decode the secid recommended attribute which makes use of the LSM hooks added earlier. It also adds code to grab the label from the file attribute structures and encode the label to be sent back to the server. Even though the code is there to encode a label to be sent back to the server there does not appear to be an interface to use it yet. Signed-off-by: Davi...
Feb 27, 6:11 pm 2008
Kei Tokunaga
A strange behavior of sched_fair
Hi Ingo, I am playing around with sched_fair and cgroup, and it seems like I hit a possible bug. Could you also check if that is a bug? Description of behavior: Start a cpu-bound task (t1), attach it to a cgroup (cgA), and let the task to run for a while (e.g. several tens of seconds or a couple of minutes would be adequate.) Then, start another cpu-bound task (t2) and attach it to cgA in the way described in "Steps to Reproduce" section. You will see t1 does not get run for a w...
Feb 27, 6:51 pm 2008
Bartlomiej Zolnierki...
[PATCH 2/3] ide-cs: manage I/O resources in driver
* Make idecs_register() return pointer to hwif structure instead of hwif's index. * Store pointer to hwif structure instead of hwif's index in ide_info_t (fixes ide-cs for IDE[6-9]_MAJOR major numbers). * Remove no longer needed ide_major[]. * Tell IDE layer to not manage resources by setting hwif->mmio flag. * Use {request,release}_region() for resources management. * Use driver name for resources management. Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> --...
Feb 27, 7:03 pm 2008
Bartlomiej Zolnierki...
[PATCH 1/3] ide-pnp: manage I/O resources in driver
* Tell IDE layer to not manage resources by setting hwif->mmio flag. * Use {request,release}_region() for resources management. * Use driver name for resources management. Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> --- drivers/ide/ide-pnp.c | 29 +++++++++++++++++++++++++++-- 1 file changed, 27 insertions(+), 2 deletions(-) Index: b/drivers/ide/ide-pnp.c =================================================================== --- a/drivers/ide/ide-pnp.c +++ b/driv...
Feb 27, 7:02 pm 2008
Bartlomiej Zolnierki...
[PATCH 3/3] ide: remove ide_hwif_release_regions()
All host drivers using ide_unregister()/module_exit() have been fixed to manage resources themselves so this function can be removed now. There should be no functional changes caused by this patch. Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> --- drivers/ide/ide.c | 25 ------------------------- include/linux/ide.h | 1 - 2 files changed, 26 deletions(-) Index: b/drivers/ide/ide.c =================================================================== --- a/drivers...
Feb 27, 7:04 pm 2008
Peter Zijlstra
[RFC/PATCH 4/4] kthread: system set kthread affinities
Keep the affinities of unbound kthreads within the system set. Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl> --- kernel/kthread.c | 50 ++++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 48 insertions(+), 2 deletions(-) Index: linux-2.6/kernel/kthread.c =================================================================== --- linux-2.6.orig/kernel/kthread.c +++ linux-2.6/kernel/kthread.c @@ -13,6 +13,8 @@ #include <linux/file.h> #include <linux/modul...
Feb 27, 6:21 pm 2008
Peter Zijlstra
[RFC/PATCH 0/4] CPUSET driven CPU isolation
My vision on the direction we should take wrt cpu isolation. Next on the list would be figuring out a nice solution to the workqueue flush issue. --
Feb 27, 6:21 pm 2008
Max Krasnyanskiy
Re: [RFC/PATCH 0/4] CPUSET driven CPU isolation
General impressions: - "cpu_system_map" is %100 identical to the "~cpu_isolated_map" as in my patches. It's updated from different place but functionally wise it's very much the same. I guess you did not like the 'isolated' name ;-). As I mentioned before I'm not hung up on the name so it's cool :). - Updating cpu_system_map from cpusets There are a couple of things that I do not like about this approach: 1. We lost the ability to isolate CPUs at boot. Which means slower boot times for me (ie ...
Feb 27, 7:38 pm 2008
Peter Zijlstra
[RFC/PATCH 3/4] genirq: system set irq affinities
Keep the affinity of unbound IRQs within the system set. Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl> --- arch/alpha/kernel/irq.c | 2 - include/linux/irq.h | 7 ----- kernel/irq/manage.c | 62 ++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 63 insertions(+), 8 deletions(-) Index: linux-2.6/arch/alpha/kernel/irq.c =================================================================== --- linux-2.6.orig/arch/alpha/kernel/irq.c +++ linux-2.6/arch/a...
Feb 27, 6:21 pm 2008
Peter Zijlstra
[RFC/PATCH 1/4] sched: remove isolcpus
cpu isolation doesn't offer anything over cpusets, hence remove it. Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl> --- kernel/sched.c | 24 +++--------------------- 1 file changed, 3 insertions(+), 21 deletions(-) Index: linux-2.6/kernel/sched.c =================================================================== --- linux-2.6.orig/kernel/sched.c +++ linux-2.6/kernel/sched.c @@ -6217,24 +6217,6 @@ cpu_attach_domain(struct sched_domain *s rcu_assign_pointer(rq->sd, sd); }...
Feb 27, 6:21 pm 2008
Max Krasnyanskiy
Re: [RFC/PATCH 1/4] sched: remove isolcpus
Works for me. That's what I suggested in my reply to your comments. Max --
Feb 27, 7:57 pm 2008
Peter Zijlstra
[RFC/PATCH 2/4] cpuset: system sets
Introduce the notion of a System set. A system set will be one that caters the general purpose OS. This patch provides the infrastructure, but doesn't actually provide any new functionality. Typical functionality would be setting the IRQ affinity of unbound IRQs to within the system set. And setting the affinity of unbounded kernel threads to within the system set. Future patches will provide this. Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl> --- include/linux/cpumask.h | ...
Feb 27, 6:21 pm 2008
Max Krasnyanskiy
Re: [RFC/PATCH 2/4] cpuset: system sets
Hmm, shouldn't patches be sent inline ? Otherwise I need to cut&paste in order to reply. Anyway. cpu_system_map looks fine. It's identical in functionality (minus the notifier) to the ~cpu_isolated_map. Different name works for me. As I explained in the prev reply I suggest we use CPU hotplug instead of the brand new notifier mechanism that requires changes to a bunch of things, and at the end of the day ends up doing the same exact thing. ie Moving things out I beleive those masks belo...
Feb 27, 7:52 pm 2008
Paul Jackson
Re: [RFC/PATCH 2/4] cpuset: system sets
"one that caters the general purpose OS" ... a tad terse on the documentation ;). I guess what you have is a new cpumask_t cpu_system_map, which is the union of the CPUs of all the cpusets marked 'system', where to a rough approximation the CPUs -not- in that cpumask are what we would have called the isolated CPUs by the old code? In any case, if this patch survives its birth, it will need an added change for some file in the Documentation directory. Could we get the term 'cpu' in the name '...
Feb 27, 7:39 pm 2008
Harvey Harrison
[PATCH] kernel: add clamp() and clamp_t() macros
Adds macros similar to min/max/min_t/max_t. Also, change the variable names used in the min/max macros to avoid shadowed variable warnings when min/max min_t/max_t are nested. Small formatting changes to make all the macros have a similar form. Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> --- Andrew, here's a cleanup of the max/min macros and the introduction of a clamp/clamp_t macro. There are users for this in libata (the FIX macro you've already seen) and in drivers/m...
Feb 27, 6:25 pm 2008
Max Krasnyanskiy
2.6.24.3-cpuisol2
Latest version of the CPU isolation extensions on top of the stable 2.6.24.y series is available from: git://git.kernel.org/pub/scm/linux/kernel/git/maxk/cpuisol-2.6.24.y.git It's currently based on the 2.6.24.3 released by the stable team. For those who prefer patches it's available here http://kernel.org/pub/linux/kernel/people/maxk/v2.6.24.3-cpuisol2.patch Enjoy Max --
Feb 27, 6:18 pm 2008
Klaus S. Madsen
Regression in 2.6.25-rc3: s2ram segfaults before suspending
Hi all, I have a Thinkpad T61p, which I'm able to suspend with s2ram on Linux 2.6.24.3. However when I try to suspend it on 2.6.25-rc3, s2ram dies after changing to vt1, with a segfault. I'm using s2ram from cvs, and libx86 version 0.99 from http://www.codon.org.uk/~mjg59/libx86/. Some details about the segfault: $ sudo gdb ./s2ram (gdb) run Starting program: /home/ksm/downloads/suspend/s2ram Switching from vt7 to vt1 Calling get_mode Program received signal SIGSEGV, Segmentation fault....
Feb 27, 6:10 pm 2008
Rafael J. Wysocki
Re: Regression in 2.6.25-rc3: s2ram segfaults before suspend...
There's a known suspend problem with 2.6.25-rc3 that has been fixed already in the Linus' tree. Can you test the current head of the Linus' tree, please? Rafael --
Feb 27, 6:19 pm 2008
Pavel Machek
Re: Regression in 2.6.25-rc3: s2ram segfaults before suspend...
This does not look like known problem, actually... s2ram segfaults somewhere in emulator...? Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html --
Feb 27, 6:40 pm 2008
Bartlomiej Zolnierki...
[PATCH 4/4] qd65xx: cleanup qd_probe()
* Replace 'if ()'-s by 'switch ()' block. * Merge common code for QD6500/QD6580A/QD6580B. There should be no functional changes caused by this patch. Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> --- drivers/ide/legacy/qd65xx.c | 52 ++++++++++++++------------------------------ 1 file changed, 17 insertions(+), 35 deletions(-) Index: b/drivers/ide/legacy/qd65xx.c =================================================================== --- a/drivers/ide/legacy/qd65xx.c +...
Feb 27, 6:21 pm 2008
Bartlomiej Zolnierki...
[PATCH 2/4] ide: add ide_legacy_device_add() helper
Add ide_legacy_device_add() helper for use by legacy VLB host drivers (+ convert them to use it). There should be no functional changes caused by this patch. Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> --- drivers/ide/ide-probe.c | 32 ++++++++++++++++++++++++++++++++ drivers/ide/legacy/ali14xx.c | 28 +--------------------------- drivers/ide/legacy/dtc2278.c | 27 +-------------------------- drivers/ide/legacy/ht6560b.c | 28 +--------------------------- d...
Feb 27, 6:20 pm 2008
Bartlomiej Zolnierki...
[PATCH 3/4] ide: use ide_legacy_device_add() for qd65xx
* Add 'unsigned long config' argument to ide_legacy_device_add() for setting hwif->config_data. * Use ide_find_port_slot() instead of ide_find_port() in ide_legacy_device_add(). * Handle IDE_HFLAG_QD_2ND_PORT and IDE_HFLAG_SINGLE host flags in ide_legacy_device_add(). * Convert qd65xx host driver to use ide_legacy_device_add(). There should be no functional changes caused by this patch. Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> --- drivers/ide/ide-prob...
Feb 27, 6:21 pm 2008
Bartlomiej Zolnierki...
[PATCH 1/4] ide: remove ->noprobe field from ide_hwif_t
Update IDE PMAC host driver to use drive->noprobe instead of hwif->noprobe and remove hwif->noprobe completely (it is always set to zero now). There should be no functional changes caused by this patch. Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> --- drivers/ide/arm/icside.c | 1 - drivers/ide/ide-probe.c | 3 +-- drivers/ide/ide.c | 4 ---- drivers/ide/mips/swarm.c | 1 - drivers/...
Feb 27, 6:19 pm 2008
Bartlomiej Zolnierki...
[PATCH] ide: use ide_find_port() in legacy VLB host drivers ...
* Add IDE_HFLAG_QD_2ND_PORT host flag to indicate the need of skipping first ide_hwifs[] slot for the second port of QD65xx controller. * Handle this new host flag in ide_find_port_slot(). * Convert legacy VLB host drivers to use ide_find_port(). While at it: * Fix couple of printk()-s in qd65xx host driver to not use hwif->name. v2: * Fix qd65xx. Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> --- replacement patch drivers/ide/ide-probe.c | 4 +...
Feb 27, 6:18 pm 2008
previous daytodaynext day
February 26, 2008February 27, 2008February 28, 2008
speck-geostationary