linux-kernel mailing list

FromSubjectsort iconDate
Hugh Dickins
[PATCH 2.6.24-rc1] fix sg_phys to use dma_addr_t
x86_32 CONFIG_HIGHMEM64G with 5GB RAM hung when booting, after issuing some "request_module: runaway loop modprobe binfmt-0000" messages in trying to exec /sbin/init. The binprm buf doesn't see the right ".ELF" header because sg_phys() is providing the wrong physical addresses for high pages: a 32-bit unsigned long is too small in this case, we need to use dma_addr_t. Signed-off-by: Hugh Dickins <hugh@veritas.com> --- Whether this is a complete patch, suitable for all architectures, I'm n...
Oct 24, 3:01 pm 2007
Jeff Garzik
[PATCH] [libata] fix 'if(' and similar areas that lack white...
Signed-off-by: Jeff Garzik <jgarzik@redhat.com> --- drivers/ata/pata_acpi.c | 4 +- drivers/ata/pata_optidma.c | 2 +- drivers/ata/pata_pdc2027x.c | 2 +- drivers/ata/pata_pdc202xx_old.c | 4 +- drivers/ata/pata_via.c | 2 +- drivers/ata/pata_winbond.c | 2 +- drivers/ata/sata_nv.c | 46 +++++++++++++++++++------------------- drivers/ata/sata_sx4.c | 4 +- 8 files changed, 33 insertions(+), 33 deletions(-) diff --gi...
Oct 24, 7:48 pm 2007
Jeff Garzik
[PATCH 1/4] [SCSI] ips: remove ips_ha members that duplicate...
Signed-off-by: Jeff Garzik <jgarzik@redhat.com> --- drivers/scsi/ips.c | 178 ++++++++++++++++++++++++---------------------------- drivers/scsi/ips.h | 20 +++---- 2 files changed, 91 insertions(+), 107 deletions(-) diff --git a/drivers/scsi/ips.c b/drivers/scsi/ips.c index 5c5a9b2..595a91a 100644 --- a/drivers/scsi/ips.c +++ b/drivers/scsi/ips.c @@ -707,7 +707,7 @@ ips_release(struct Scsi_Host *sh) release_region(ha->io_addr, ha->io_len); /* free IRQ */ - free_irq(ha-&...
Oct 24, 7:48 pm 2007
Jeff Garzik
[PATCH 4/4] [SCSI] ips: handle scsi_add_host() failure, and ...
Signed-off-by: Jeff Garzik <jgarzik@redhat.com> --- drivers/scsi/ips.c | 18 +++++++++++++----- 1 files changed, 13 insertions(+), 5 deletions(-) diff --git a/drivers/scsi/ips.c b/drivers/scsi/ips.c index fb90b6c..b8e2f5a 100644 --- a/drivers/scsi/ips.c +++ b/drivers/scsi/ips.c @@ -6836,13 +6836,10 @@ ips_register_scsi(int index) if (request_irq(ha->pcidev->irq, do_ipsintr, IRQF_SHARED, ips_name, ha)) { IPS_PRINTK(KERN_WARNING, ha->pcidev, "Unable to install interr...
Oct 24, 7:48 pm 2007
Jeff Garzik
[PATCH 3/4] [SCSI] ips: PCI API cleanups
* pass Scsi_Host to ips_remove_device() via pci_set_drvdata(), allowing us to eliminate the ips_ha[] search loop and call ips_release() directly. * call pci_{request,release}_regions() and eliminate individual request/release_[mem_]region() calls * call pci_disable_device(), paired with pci_enable_device() * s/0/NULL/ in a few places * check ioremap() return value Signed-off-by: Jeff Garzik <jgarzik@redhat.com> --- drivers/scsi/ips.c | 72 ++++++++++++++++++++++------------...
Oct 24, 7:48 pm 2007
Jeff Garzik
[PATCH 2/4] [SCSI] ips: trim trailing whitespace
Signed-off-by: Jeff Garzik <jgarzik@redhat.com> --- drivers/scsi/ips.c | 44 ++++++++++++++++++++++---------------------- drivers/scsi/ips.h | 12 ++++++------ 2 files changed, 28 insertions(+), 28 deletions(-) diff --git a/drivers/scsi/ips.c b/drivers/scsi/ips.c index 595a91a..c9f3e1f 100644 --- a/drivers/scsi/ips.c +++ b/drivers/scsi/ips.c @@ -389,17 +389,17 @@ static struct pci_device_id ips_pci_table[] = { MODULE_DEVICE_TABLE( pci, ips_pci_table ); static char ips_hot_plug...
Oct 24, 7:48 pm 2007
Jeff Garzik
[PATCH 3/3] drivers/ide/pci/sc1200.c: fix suspend/resume bug...
* We shouldn't bother with dev->current_state, the PCI API functions we call manage this for us (and do a far better job at it too). * Remove pci_set_power_state(dev, PCI_D0) call in resume, as pci_enable_device() does the same thing. * Check pci_enable_device() return value. If it failed, fail the entire resume and avoid programming timings into the [potentially dead/asleep] chip. Signed-off-by: Jeff Garzik <jgarzik@redhat.com> --- drivers/ide/pci/sc1200.c | 8 ++++---- ...
Oct 24, 7:48 pm 2007
Jeff Garzik
[PATCH 2/3] drivers/ide/pci/sc1200.c: remove pointless hwif ...
Store our hwif indices at probe time, in order to eliminate a needless and ugly loop across all hwifs, searching for our pci device. Signed-off-by: Jeff Garzik <jgarzik@redhat.com> --- drivers/ide/pci/sc1200.c | 76 +++++++++++++++++++++++++++++++--------------- 1 files changed, 51 insertions(+), 25 deletions(-) diff --git a/drivers/ide/pci/sc1200.c b/drivers/ide/pci/sc1200.c index d2c8b55..17e58d6 100644 --- a/drivers/ide/pci/sc1200.c +++ b/drivers/ide/pci/sc1200.c @@ -41,6 +41,8 @@ ...
Oct 24, 7:48 pm 2007
Jeff Garzik
[PATCH 1/3] [IDE] Add helper __ide_setup_pci_device()
Like ide_setup_pci_device(), except with additional array argument 'u8 *idx' that permits low-level driver to become aware of its assigned hwifs. Signed-off-by: Jeff Garzik <jgarzik@redhat.com> --- drivers/ide/setup-pci.c | 17 ++++++++++++----- include/linux/ide.h | 1 + 2 files changed, 13 insertions(+), 5 deletions(-) diff --git a/drivers/ide/setup-pci.c b/drivers/ide/setup-pci.c index 02d14bf..4960b9f 100644 --- a/drivers/ide/setup-pci.c +++ b/drivers/ide/setup-pci.c @@ -...
Oct 24, 7:48 pm 2007
Jeff Garzik
[PATCH] sound/oss/pss: set_io_base() always returns success,...
Signed-off-by: Jeff Garzik <jgarzik@redhat.com> --- sound/oss/pss.c | 25 ++++++------------------- 1 files changed, 6 insertions(+), 19 deletions(-) diff --git a/sound/oss/pss.c b/sound/oss/pss.c index ece428b..e970f75 100644 --- a/sound/oss/pss.c +++ b/sound/oss/pss.c @@ -232,14 +232,12 @@ static int set_irq(pss_confdata * devc, int dev, int irq) return 1; } -static int set_io_base(pss_confdata * devc, int dev, int base) +static void set_io_base(pss_confdata * devc, int dev, i...
Oct 24, 7:48 pm 2007
Parag Warudkar
[PATCH] rt2500usb - Don't claim 050d:705{0/a}
I have a Belkin USB Wireless adapter with ID 050d:705a. Both rt2500usb.c and rt73usb.c claim that they can drive the device with this ID. When using the distro kernel as well as custom 2.4.24-rc1 both rt73usb and rt2500usb get loaded and fight for the register writes and fail. rt2500usb is not able to drive my device. So I have to manually rmmod/modprobe or delete rt2500usb.ko and depmod every time I get a new kernel. If only rt73usb is loaded everything works well. To me it sounds like rt2...
Oct 24, 7:22 pm 2007
Robert Hancock
Re: HIGHMEM64G Kernel (2.6.23.1) makes system crawl
Yup, it's a BIOS bug. Your BIOS only marks ram up to physical address of 4736MB as cacheable, while the actual RAM reported by the BIOS goes up to physical address 4800MB. I think we had a patch in -mm to detect this case and disable the extra memory (64MB in this case) to keep the kernel from using it. -- Robert Hancock Saskatoon, SK, Canada To email, remove "nospam" from hancockr@nospamshaw.ca Home Page: http://www.roberthancock.com/ -
Oct 24, 7:18 pm 2007
Steven Rostedt
2.6.23-rt3
We are pleased to announce the 2.6.23-rt3 tree, which can be downloaded from the location: http://www.kernel.org/pub/linux/kernel/projects/rt/ Changes since 2.6.23-rt2 - Workqueue PI (Peter Zijlstra with help from Daniel Walker) - some schedstat updates (Steven Rostedt) to build a 2.6.23-rt3 tree, the following patches should be applied: http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.23.tar.bz2 http://www.kernel.org/pub/linux/kernel/projects/rt/patch-2.6.23-rt3.bz2 The...
Oct 24, 5:30 pm 2007
Kristen Carlson Accardi
[PATCH] ata: ahci: Enable enclosure management via LED (rese...
Enable enclosure management via LED As described in the AHCI spec, some AHCI controllers may support Enclosure management via a variety of protocols. This patch adds support for the LED message type that is specified in AHCI 1.1 and higher. Signed-off-by: Kristen Carlson Accardi <kristen.c.accardi@intel.com> --- drivers/ata/ahci.c | 153 +++++++++++++++++++++++++++++++++++++++++++++- drivers/ata/libata-scsi.c | 5 - include/linux/libata.h | 3 3 files changed, 15...
Oct 24, 6:58 pm 2007
Glauber de Oliveira ...
[PATCH] make sure init_mm is included
mm/sparse-vmemmap.c uses init_mm in some places. However, it is not present in any of the headers currently included in the file. init_mm is defined as extern in sched.h, so we add it to the headers list Up to now, this problem was masked by the fact that functions like set_pte_at() and pmd_populate_kernel() are usually macros that expand to simpler variants that does not use the first parameter at all. Signed-off-by: Glauber de Oliveira Costa <gcosta@redhat.com> --- mm/sparse-vmemmap.c...
Oct 24, 3:39 pm 2007
Randy Dunlap
[PATCH 0/6] kernel-doc: add DOC: sections support
This patch series from Johannes Berg adds support for DOC: sections that are embedded in source files. -- -
Oct 24, 6:08 pm 2007
Randy Dunlap
[PATCH 3/6] kernel-doc: single DOC: selection
From: Johannes Berg <johannes@sipsolutions.net> Currently, DOC: sections are always output even if only a single function is requested, fix this and also make it possible to just output a single DOC: section by giving its title as the function name to output. Also fixes docbook XML well-formedness for sections with examples. Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com> --- scripts/kernel-doc | 63 ++++++++...
Oct 24, 6:08 pm 2007
Randy Dunlap
[PATCH 6/6] kernel-doc: new P directive for DOC: sections
From: Johannes Berg <johannes@sipsolutions.net> The !P directive includes the contents of a DOC: section given by title, e.g. !Pfilename Title of the section Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com> --- scripts/basic/docproc.c | 40 +++++++++++++++++++++++++++++++++++++++- 1 file changed, 39 insertions(+), 1 deletion(-) --- linux-2.6.23-git19.orig/scripts/basic/docproc.c +++ linux-2.6.23-git19/script...
Oct 24, 6:08 pm 2007
Randy Dunlap
[PATCH 2/6] kernel-doc: init kernel version
From: Johannes Berg <johannes@sipsolutions.net> The kernel-doc script triggers a perl warning when invoked without KERNELVERSION in the environment, rather make it use the string "unknown kernel version" instead. Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com> --- scripts/kernel-doc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- linux-2.6.23-git19.orig/scripts/kernel-doc +++ linux-2.6.23-git19/s...
Oct 24, 6:08 pm 2007
Randy Dunlap
[PATCH 4/6] kernel-doc: process functions, not DOC:
From: Johannes Berg <johannes@sipsolutions.net> This flag is necessary for the next patch for docproc to output only the functions and not DOC: sections when a function list is requested. Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com> --- scripts/kernel-doc | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) --- linux-2.6.23-git19.orig/scripts/kernel-doc +++ linux-2.6.23-git19/scripts/ker...
Oct 24, 6:08 pm 2007
Randy Dunlap
[PATCH 5/6] kernel-doc: use no-doc option
From: Johannes Berg <johannes@sipsolutions.net> When asked by a template to include all functions from a file, it will also include DOC: sections wreaking havoc in the generated docbook file. This patch makes it use the new -no-doc-sections flag for kernel-doc to avoid this. Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com> --- scripts/basic/docproc.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) ...
Oct 24, 6:08 pm 2007
Randy Dunlap
[PATCH 1/6] kernel-doc: fix xml output mode
From: Johannes Berg <johannes@sipsolutions.net> After Randy's patch fixing the HTML output in DOC: sections (6b5b55f6c404fa730a09a8254eb19f5a038afcc2) the same bug remained in XML mode, this fixes it. Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com> --- scripts/kernel-doc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) --- linux-2.6.23-git19.orig/scripts/kernel-doc +++ linux-2.6.23-git19/scripts...
Oct 24, 6:08 pm 2007
David
Changing the number of keys supported by the input subsystem
Currently the IR input handling of drivers/media/dvb/ttpci/budget-ci.c requires a rc5_device module option which specifies the rc5 device code to listen to (or as an alternative, all devices). This means, among other things, that multiple remotes can't be used with different keymaps. My idea was to drop the module parameter and allow all rc5 device and command combinations to be mapped using one keyboard map. rc5 device codes are 5 bits, command codes are 6 bits, giving a total of 2048 pos...
Oct 24, 6:04 pm 2007
Arjan van de Ven
[patch] prepare kprobes code for x86 unification
From: Arjan van de Ven <arjan@linux.intel.com> Subject: prepare kprobes code for x86 unification This patch is a first step towards unification of the kprobes infrastructure between 32 and 64 bit x86; the patch is mostly about removing spurious whitespace changes and about adding harmless includes and the like to make the 32/64 files more identical. Signed-off-by: Arjan van de Ven --- arch/x86/kernel/kprobes_32.c | 179 +++++++++++++++++++++++++++++-------------- arch/x86/kernel/kpro...
Oct 24, 6:00 pm 2007
Jun'ichi Nomura
[PATCH] dm: noflush resizing (3/3) Allow table swapping with...
This patch removes the check for whether the loaded table is going to change the device size and allows resizing of the dm device suspended with 'noflush'. Signed-off-by: Jun'ichi Nomura <j-nomura@ce.jp.nec.com> --- dm.c | 5 ----- 1 file changed, 5 deletions(-) Index: linux-2.6.23.work/drivers/md/dm.c =================================================================== --- linux-2.6.23.work.orig/drivers/md/dm.c +++ linux-2.6.23.work/drivers/md/dm.c @@ -1288,11 +1288,6 @@ int dm_...
Oct 24, 5:26 pm 2007
Jun'ichi Nomura
[PATCH] dm: noflush resizing (2/3) Use bdlookup() on noflush...
This patch makes device-mapper to use bdlookup to allow resizing of noflush-suspended device. With this patch, by using bdlookup() instead of bdget(), resizing will no longer wait for I_LOCK. There is a race between bdlookup() and bdget(). However, it's benign because the only use of bdev obtained by bdlookup() is to modify i_size and bdget() will anyway see the updated disk size. (See below) Case 1: CPU 0 CPU 1 -----------------------------------------------...
Oct 24, 5:25 pm 2007
Jun'ichi Nomura
[PATCH] dm: noflush resizing (1/3) Add bdlookup()
This patch adds bdlookup() and bdlookup_disk(). They are lookup-only variant of bdget()/bdget_disk(). The function can be used when - the caller wants to get bdev only if somebody already got it (i.e. there is already bd_inode allocated in memory) - the race between bdlookup() and bdget() is acceptable The patch is a preparation for the 2nd part of this patchset. Background: inode is initialized with I_LOCK and I_NEW turned on. After initialization, both flags are turned off. ...
Oct 24, 5:25 pm 2007
Jun'ichi Nomura
[PATCH] dm: noflush resizing (0/3)
Hi, Currently, there is a restriction on resizing device-mapper device: it cannot be resized if 'noflush' option is given for suspend. Since both multipath-tools (dm-multipath) and LVM2 mirror use 'noflush' suspend, the restriction limits the capability of those tools. The following patches remove the restriction. [PATCH] (1/3) Add bdlookup() [PATCH] (2/3) Use bdlookup() on noflush suspend [PATCH] (3/3) Allow resizing table load on noflush suspend The patches were tested on i686 and ...
Oct 24, 5:25 pm 2007
Nestor A. Diaz
RAID 10 w AHCI w NCQ = Spurius I/O error
Hello People, I need your help, this problem is turning me crazy. I have created a RAID 10 using a RAID0 configuration on top of a two RAID1 devices (all software raid), like this: Personalities : [raid0] [raid1] md4 : active raid0 md2[0] md3[1] 605071872 blocks 64k chunks md0 : active raid1 sdd3[3] sda3[0] sdc3[2] sdb3[1] 9791552 blocks [4/4] [UUUU] md3 : active raid1 sdd2[2](F) sdb2[0] 302536000 blocks [2/1] [U_] md1 : active raid1 sdd1[3] sda1[0] sdc1[2] sdb1[1]...
Oct 24, 4:17 pm 2007
Lennart Sorensen Oct 24, 4:52 pm 2007
Nestor A. Diaz
Re: RAID 10 w AHCI w NCQ = Spurius I/O error
Hello Len, thenks for your answer, i need a clarification on wheter it could be a software or a hardware problem, fortunatelly i have an exact system, so what i am going to do is to swap the four drives on the first system to the second system, and with more time i will make the required tests. p.d. the machine is debian 4.0 amd64 system. I change the drive and the problem remains, i will check changing the hard drive cables, to see if that is the problem, the problem has -- Nestor A. Di...
Oct 24, 5:37 pm 2007
Doug Reiland
2.6.xxx race condition in x86_64's global_flush_tlb???
I have seen some hangs in 2.6-x86_64 in flush_kernel_map(). The tests cause alot of ioremap/iounmap to occur concurrently across many processor threads. Looking at the hung processor hangs, they are looping in flush_kernel_map() and the list they get from the smp_call_function() appears to be corrupt. In fact, I see deferred_pages as an entry and that isn't supposed to happen. I am questioning the locking in global_flush_tlb() listed below. The down_read/up_read protection doesn't seen safe. If ...
Oct 24, 4:39 pm 2007
Randy Dunlap
Re: 2.6.xxx race condition in x86_64's global_flush_tlb???
Seems to be already fixed in current git tree. --- ~Randy -
Oct 24, 5:14 pm 2007
Doug Reiland
Re: 2.6.xxx race condition in x86_64's global_flush_tlb???
Your right. I thought I was updated but was at 23-rc9. Sorry! -
Oct 24, 6:07 pm 2007
Matthew Wilcox
Stringbuf, v2
Incorporated all feedback received: - Explicitly allow people to dereference sb->buf and sb->len, and include comments about the potential problems with doing so. Document that alloc is probably better left unreferenced. Remove sb_len() and sb_string(). - Ensure that we grow by at least 1.5x, even if we're using slob. - Start by allocating 128 bytes - Pass a gfp_t to sb_printk - Drop the bogus change to snd_ac97_proc_regs_write - Add stringbuf.o to obj-y instead of lib-y, oth...
Oct 24, 3:58 pm 2007
Joe Perches
Re: Stringbuf, v2
sb_printf As it doesn't actually output anything but extends a buffer pointer in a struct, perhaps it's better to rename sb_printf to sb_sprintf. I believe the common use will be GFP_ATOMIC. Perhaps a default wrapper define and a renamed function? void sb_sprintf_gfp(struct stringbuf *sb, gfp_t gfp, const char *fmt, ...) #define sb_sprintf(sb, fmt, arg...) \ sb_sprintf_gfp(sb, GFP_ATOMIC, fmt, ##arg) -
Oct 24, 4:51 pm 2007
Matthew Wilcox
Re: Stringbuf, v2
printf prints to stdout. fprintf prints to a file. sprintf prints to An interesting belief. Of the three users I've converted, one uses If you look at the patches, you'll see that they basically all have a wrapper around sb_printf that I was able to insert the GFP argument into, so I don't see this as a win. I hadn't bothered with one for ISDN, and that one involved much more editing. -- Intel are signing my paycheques ... these opinions are still mine "Bill, look, we understand that ...
Oct 24, 4:57 pm 2007
Joe Perches
Re: Stringbuf, v2
I was hoping that each module/subsystem would not need a separate wrapper and could use the plain sb_printf function. -
Oct 24, 5:06 pm 2007
Matthew Wilcox
Re: Stringbuf, v2
Then they should carefully think about whether they need GFP_ATOMIC or GFP_KERNEL. Just like we don't have a kalloc() that uses GFP_ATOMIC to spare people from having to think about it. ISDN and sound had done that thinking for me -- one knew they needed GFP_ATOMIC, the other needed GFP_KERNEL. I was able to work out that GFP_KERNEL made sense for the partition code. -- Intel are signing my paycheques ... these opinions are still mine "Bill, look, we understand that you're interested in sel...
Oct 24, 5:34 pm 2007
Matthew Wilcox
[PATCH 1/4] stringbuf: A string buffer implementation
Consecutive calls to printk are non-atomic, which leads to various implementations for accumulating strings which can be printed in one call. This is a generic string buffer which can also be used for non-printk purposes. There is no sb_scanf implementation yet as I haven't identified a user for it. Signed-off-by: Matthew Wilcox <willy@linux.intel.com> --- include/linux/stringbuf.h | 77 ++++++++++++++++++++++++++++++++++++++++ lib/Makefile | 2 +- lib/stringbuf.c ...
Oct 24, 3:59 pm 2007
Kyle Moffett
Re: [PATCH 1/4] stringbuf: A string buffer implementation
This seems unlikely to work reliably as the various "v*printf" functions modify the va_list argument they are passed. It may happen to work on your particular architecture depending on how that argument data is passed and stored, but you probably actually want to make a copy of the varargs list for the first vsnprintf call. Cheers, Kyle Moffett -
Oct 24, 4:59 pm 2007
Matthew Wilcox
Re: [PATCH 1/4] stringbuf: A string buffer implementation
I based what I did on how printk works: va_start(args, fmt); r = vprintk(fmt, args); va_end(args); It doesn't call va_* anywhere else. I don't claim to be a varargs expert, but if I'm wrong, I'm at least wrong the same way that printk is, so not in any way that's significant for any other architecture Linux runs on. -- Intel are signing my paycheques ... these opinions are still mine "Bill, look, we understand that you're interested in selling us this operating sy...
Oct 24, 5:21 pm 2007
Matthew Wilcox
[PATCH 2/4] isdn: Use stringbuf
Get rid of the _cdebbuf structure that was used to accumulate strings for a debug printk and use the stringbuf instead. Allocate the stringbuf on the stack instead of with kmalloc. Return a char * to the callers rather than a stringbuf. Signed-off-by: Matthew Wilcox <willy@linux.intel.com> --- drivers/isdn/capi/capidrv.c | 18 ++-- drivers/isdn/capi/capiutil.c | 220 ++++++++++------------------------------- drivers/isdn/capi/kcapi.c | 35 +++---- include/linux/isdn/capiutil....
Oct 24, 3:59 pm 2007
Matthew Wilcox
[PATCH 3/4] sound: Use stringbuf
sound/ had its own snd_info_buffer for doing proc reads, which can be profitably replaced with stringbuf. It actually finds a bug since ->read and ->write now have a different signature. Signed-off-by: Matthew Wilcox <willy@linux.intel.com> --- include/sound/info.h | 8 ++- sound/core/hwdep.c | 2 +- sound/core/info.c | 81 +++++-------------------------- sound/core/info_oss.c | 6 +- sound/co...
Oct 24, 3:59 pm 2007
Matthew Wilcox
[PATCH 4/4] partitions: Fix non-atomic printk
With asynchronous disk scanning, it's quite common for the partition report to be interrupted by reports of other discs being discovered. Use a new function, print_partition, to accumulate the partitions into a stringbuf. Signed-off-by: Matthew Wilcox <willy@linux.intel.com> --- fs/partitions/acorn.c | 24 ++++++++++-------------- fs/partitions/amiga.c | 9 ++++----- fs/partitions/atari.c | 20 +++++++++----------- fs/partitions/check.c | 19 ++++++++++++++----- fs/partitions...
Oct 24, 3:59 pm 2007
Miguel
[PATCH 1/2] ssb: Add "ssb_pci_set_power_state" function
Add "ssb_pci_set_power_state" function. This allows set the power state of a PCI device (for example b44 ethernet device). diff -ruN linux-2.6.23/include/linux/ssb/ssb.h linux-2.6.23.orig/include/linux/ssb/ssb.h --- linux-2.6.23.orig/include/linux/ssb/ssb.h 2007-10-24 19:02:33.000000000 +0200 +++ linux-2.6.23/include/linux/ssb/ssb.h 2007-10-24 19:49:37.000000000 +0200 @@ -402,6 +402,14 @@ { pci_unregister_driver(driver); } + +/* Set PCI device power state */ +static inline +void ssb_p...
Oct 24, 3:31 pm 2007
Michael Buesch
Re: [PATCH 1/2] ssb: Add "ssb_pci_set_power_state" function
^ The rest is acked. -- Greetings Michael. -
Oct 24, 4:55 pm 2007
Miguel
[PATCH 2/2] b44: power down PHY when interface down
This is just http://lkml.org/lkml/2007/7/1/51 but adapted to b44 ssb driver. I couldn't test it as I don't have a b44 ethernet device. diff -ruN linux-2.6.23.orig/drivers/net/b44.c linux-2.6.23/drivers/net/b44.c --- linux-2.6.23.orig/drivers/net/b44.c 2007-10-24 19:02:33.000000000 +0200 +++ linux-2.6.23/drivers/net/b44.c 2007-10-24 19:50:46.000000000 +0200 @@ -113,6 +113,8 @@ static void b44_init_rings(struct b44 *); #define B44_FULL_RESET 1 #define B44_FULL_RESET_SKIP_PHY 2 #define B44_PA...
Oct 24, 2:31 pm 2007
Chris Mason
[CFP] 2008 Linux Storage and Filesystem Workshop
Hello everyone, We are organizing another filesystem and storage workshop in San Jose next Feb 25 and 26. You can find some great writeups of last year's conference on LWN: http://lwn.net/Articles/226351/ This year we're trying to concentrate on more problem solving sessions, short term projects and joint sessions. You can find all the details on the conference webpages: http://www.usenix.org/events/lsf08/ Soon there will be a link for submitting your position statement, which is bas...
Oct 24, 3:23 pm 2007
Robert P. J. Day
CONFIG variables: defined but unused
at the moment, i'm running a quick-and-dirty script that identifies Kconfig variables that are defined in a Kconfig file somewhere but don't appear to be used. this will take a while to run, but here's arch/m68k/Kconfig:config ADB_KEYBOARD drivers/macintosh/adbhid.c:#define ADB_KEYBOARD_UNKNOWN 0 drivers/macintosh/adbhid.c:#define ADB_KEYBOARD_ANSI 0x0100 drivers/macintosh/adbhid.c:#define ADB_KEYBOARD_ISO 0x0200 drivers/macintosh/adbhid.c:#define ADB_KEYBOARD_JIS 0x0300 drivers/maci...
Oct 24, 3:17 pm 2007
previous daytodaynext day
October 23, 2007October 24, 2007October 25, 2007