linux-kernel mailing list

FromSubjectsort iconDate
Eric Smith
Any lightweight way for one thread to force another thread t...
Is there any method for one thread to force another thread to suspend execution, then later let it resume, that is lighter weight than using signals? I don't need it to be portable to anything other than Linux. The suspend needs to be synchronous, but resume doesn't. What I've thought about so far (but haven't tested) for thread A to suspend thread B is to use a signal and two pthread conditions: Thread A Thread B ----------------------- ----------------------- ...
Jun 20, 7:54 pm 2008
menage
[PATCH 5/8] CGroup Files: Turn attach_task_by_pid directly i...
This patch changes attach_task_by_pid() to take a u64 rather than a string; as a result it can be called directly as a control groups write_u64 handler, and cgroup_common_file_write() can be removed. Signed-off-by: Paul Menage <menage@google.com> --- kernel/cgroup.c | 80 +++++++++----------------------------------------------- 1 file changed, 14 insertions(+), 66 deletions(-) Index: cws-2.6.26-rc5-mm3/kernel/cgroup.c ===================================================================...
Jun 20, 7:44 pm 2008
menage
[PATCH 8/8] CGroup Files: Convert res_counter_write() to be ...
Currently read_counter_write() is a raw file handler even though it's ultimately taking a number, since in some cases it wants to pre-process the string when converting it to a number. This patch converts res_counter_write() from a raw file handler to a write_string() handler; this allows some of the boilerplate copying/locking/checking to be removed, and simplies the cleanup path, since these functions are now performed by the cgroups framework. Signed-off-by: Paul Menage <menage@google.com&g...
Jun 20, 7:44 pm 2008
menage
[PATCH 2/8] CGroup Files: Add write_string cgroup control fi...
This patch adds a write_string() method for cgroups control files. The semantics are that a buffer is copied from userspace to kernelspace and the handler function invoked on that buffer. The buffer is guaranteed to be nul-terminated, and no longer than max_write_len (defaulting to 64 bytes if unspecified). Later patches will convert existing raw file write handlers in control group subsystems to use this method. Signed-off-by: Paul Menage <menage@google.com> --- include/linux/cgroup.h ...
Jun 20, 7:44 pm 2008
menage
[PATCH 3/8] CGroup Files: Move the release_agent file to use...
Adds cgroup_release_agent_write() and cgroup_release_agent_show() methods to handle writing/reading the path to a cgroup hierarchy's release agent. As a result, cgroup_common_file_read() is now unnecessary. As part of the change, a previously-tolerated race in cgroup_release_agent() is avoided by copying the current release_agent_path prior to calling call_usermode_helper(). Signed-off-by: Paul Menage <menage@google.com> --- include/linux/cgroup.h | 2 kernel/cgroup.c | 125...
Jun 20, 7:44 pm 2008
menage
[PATCH 0/8] CGroup Files: Add write_string control file method
This is a resend of a patchset that I sent last month, reworked to remove some controversial locking proposals. All locking is now explicit. This patchset provides: 1) A new write_string() cgroup file method that copies the user's data to kernel space and invokes the relevant handler with the nul-terminated kernelspace buffer 2) A new helper function, cgroup_lock_live_group(), which combines taking the cgroup lock and checking the liveness of a cgroup, to allow simplification of a common lock/...
Jun 20, 7:43 pm 2008
menage
[PATCH 6/8] CGroup Files: Remove cpuset_common_file_write()
This patch tweaks the signatures of the update_cpumask() and update_nodemask() functions so that they can be called directly as handlers for the new cgroups write_string() method. This allows cpuset_common_file_write() to be removed. Signed-off-by: Paul Menage <menage@google.com> --- This patch fails checkpatch.pl which objects to the use of NR_CPUS. It's not clear that there's a way to express this more cleanly, other than leaving it empty and initializing it early in the boot proce...
Jun 20, 7:44 pm 2008
menage
[PATCH 7/8] CGroup Files: Convert devcgroup_access_write() i...
This patch converts devcgroup_access_write() from a raw file handler into a handler for the cgroup write_string() method. This allows some boilerplate copying/locking/checking to be removed and simplifies the cleanup path, since these functions are performed by the cgroups framework before calling the handler. Signed-off-by: Paul Menage <menage@google.com> --- security/device_cgroup.c | 103 +++++++++++++++++------------------------------ 1 file changed, 39 insertions(+), 64 deletions(-)...
Jun 20, 7:44 pm 2008
menage
[PATCH 1/8] CGroup Files: Clean up whitespace in struct cftype
This patch removes some extraneous spaces from method declarations in struct cftype, to fit in with conventional kernel style. Signed-off-by: Paul Menage <menage@google.com> --- include/linux/cgroup.h | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) Index: cws-2.6.26-rc5-mm3/include/linux/cgroup.h =================================================================== --- cws-2.6.26-rc5-mm3.orig/include/linux/cgroup.h +++ cws-2.6.26-rc5-mm3/include...
Jun 20, 7:43 pm 2008
menage
[PATCH 4/8] CGroup Files: Move notify_on_release file to sep...
This patch moves the write handler for the cgroups notify_on_release file into a separate handler. This handler requires no cgroups locking since it relies on atomic bitops for synchronization. Signed-off-by: Paul Menage <menage@google.com> --- kernel/cgroup.c | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) Index: cws-2.6.26-rc5-mm3/kernel/cgroup.c =================================================================== --- cws-2.6.26-rc5-mm3.orig/kernel/cgrou...
Jun 20, 7:44 pm 2008
Ivan Kokshaysky
[PATCH] alpha: fix compile failures with gcc-4.3 (bug #10438)
Vast majority of these build failures are gcc-4.3 warnings about static functions and objects being referenced from non-static (read: "extern inline") functions, in conjunction with our -Werror. We cannot just convert "extern inline" to "static inline", as people keep suggesting all the time, because "extern inline" logic is crucial for generic kernel build. So - just make sure that all callees of critical "extern inline" functions are also "extern inline"; - use "static inline", wherever it's...
Jun 20, 7:28 pm 2008
Ivan Kokshaysky
[PATCH] alpha: fix module load failures on smp (bug #10926)
To calculate addresses of locally defined variables, GCC uses 32-bit displacement from the GP. Which doesn't work for per cpu variables in modules, as an offset to the kernel per cpu area is way above 4G. The workaround is to force allocation of a GOT entry for per cpu variable using ldq instruction with a 'literal' relocation. I had to use custom asm/percpu.h, as a required argument magic doesn't work with asm-generic/percpu.h macros. Signed-off-by: Ivan Kokshaysky <ink@jurassic.park.msu.ru&g...
Jun 20, 7:25 pm 2008
Ivan Kokshaysky
[PATCH] alpha: resurrect Cypress IDE quirk
Which was removed in the hope that generic legacy IDE quirk in drivers/pci/probe.c is sufficient for Cypress IDE. It isn't, as this controller has non-standard BAR layout: secondary channel registers are in the BAR0-1 of the second PCI function - not in the BAR2-3 of the same function, as the generic quirk routine assumes. Signed-off-by: Ivan Kokshaysky <ink@jurassic.park.msu.ru> --- arch/alpha/kernel/pci.c | 17 +++++++++++++++++ 1 files changed, 17 insertions(+), 0 deletions(-) diff...
Jun 20, 7:28 pm 2008
Ivan Kokshaysky
[PATCH] alpha: link failure fix
With built-in scsi disk driver, the final link fails with a following error: `.exit.text' referenced in section `.rodata' of drivers/built-in.o: defined in discarded section `.exit.text' of drivers/built-in.o This happens with -Os (CONFIG_CC_OPTIMIZE_FOR_SIZE=y) with all gcc-4 versions, and also with -O2 and gcc-4.3. The problem is in sd.c:sd_major() being inlined into __exit function exit_sd(), and the compiler generating a jump table in .rodata section for the 'switch' statement in sd_major()....
Jun 20, 7:26 pm 2008
Linus Torvalds
Linux 2.6.26-rc7
Another week, another -rc. And as usual, it's mainly drivers and arch updates - over 90% of changes are in one or the other. A big part of it (about two thirds of the driver update, in fact) is a late-dropping AGP/DRM update that adds support for some new Intel and ATI graphics cards. And a big part of the arch update is the inevitable def_config updates, of course. I'm not all that happy about the timing of the support for the new cards, but at the same time I also hate delaying new drive...
Jun 20, 7:42 pm 2008
David Miller
Re: 2.6.26-rc: SPARC: Sun Ultra 10 can not boot
From: "Alexander Beregalov" <a.beregalov@gmail.com> Something is screwey here... Hmmm... When I added the changeset in question, it fixed a problem in that any backtrace of a kernel thread would loop forever at the end. Any stack backtrace would hang or reach a safety limit (such as the one imposed by lockdep). Please double check that you are precisely reverting this patch below _before_ doing these tests: commit a051bc5bb1ac6dc138d529077fa20cbbc6622d95 Author: David S. Miller <da...
Jun 20, 6:51 pm 2008
Alexander Beregalov
Re: 2.6.26-rc: SPARC: Sun Ultra 10 can not boot
Yes, I am sure. It runs without this commit and hangs with it. I can connect serial console, but if it is a infinite loop it will not provide more info. $ git log arch/sparc64/kernel/process.c commit 99d3b2d0d3df1fa171a7ee1d2d3a92f540873b15 Author: alexb <alexb@sparky> Date: Thu Jun 19 18:49:46 2008 +0400 Revert "sparc64: Fix kernel thread stack termination." This reverts commit a051bc5bb1ac6dc138d529077fa20cbbc6622d95. commit a051bc5bb1ac6dc138d529077fa20cbbc6622d95 Auth...
Jun 20, 7:12 pm 2008
David Miller
Re: 2.6.26-rc: SPARC: Sun Ultra 10 can not boot
From: "Alexander Beregalov" <a.beregalov@gmail.com> Ok I have to find some way to reproduce this. Please post the kernel .config you are using during these tests. Also please let me know what distribution and compiler version you are using. Thanks. --
Jun 20, 7:21 pm 2008
Alexander Beregalov
Re: 2.6.26-rc: SPARC: Sun Ultra 10 can not boot
It is Gentoo; gcc version 4.1.2 (Gentoo 4.1.2 p1.0.1); sys-devel/kgcc64-4.1.2. I cross-compiled it as you advised me: make -j2 CROSS_COMPILE=sparc64-unknown-linux-gnu- image modules && sudo make modules_install Config is in attachment.
Jun 20, 7:36 pm 2008
Jeremy Fitzhardinge
Various x86 syscall mechanisms
Hi Roland, As far as I can work out, an x86_32 kernel will use "int 0x80" and "sysenter" for system calls. 64-bit kernel will use just "syscall" for 64-bit processes (though you can use "int 0x80" to access the 32-bit syscall interface from a 64-bit process), but will allow "sysenter", "syscall" or "int 0x80" for 32-on-64 processes. Why does 32-on-64 implement 32-bit syscall when native 32-bit doesn't seem to? Or am I overlooking something here? Does 32-bit also support syscall? Than...
Jun 20, 6:00 pm 2008
Roland McGrath
Re: Various x86 syscall mechanisms
I think it is clearest to talk separately about the "intended ABI", the "what actually works today", and the "why". (Also note I was not the decision-maker in this, just picking up what I can see.) First and simplest, the 64-bit ABI. AFAIK the intended ABI has always been the "syscall" instruction for 64-bit syscalls and "int $0x80" for 32-bit syscalls made from 64-bit tasks on CONFIG_IA32_EMULATION kernels (intended for valgrind). For 64-bit processes, that's all there is meant to be and th...
Jun 20, 7:39 pm 2008
Bartlomiej Zolnierki...
[PATCH 01/18] ide: add ->read_sff_dma_status method
Add ->read_sff_dma_status method for reading DMA Status register and use it instead of ->INB. While at it: * Use inb() directly in ns87415.c::ns87415_dma_end(). There should be no functional changes caused by this patch. Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> --- drivers/ide/ide-dma.c | 12 ++++++------ drivers/ide/ide-iops.c | 10 ++++++++++ drivers/ide/pci/ns87415.c | 13 ++++++++++--- drivers/ide/pci/scc_pata.c | 7 +++++++ include...
Jun 20, 5:33 pm 2008
Bartlomiej Zolnierki...
[PATCH 18/18] ide: remove ->INB, ->OUTB and ->OUTBSYNC methods
* Remove no longer needed ->INB, ->OUTB and ->OUTBSYNC methods. Then: * Remove no longer used default_hwif_[mm]iops() and ide_[mm_]outbsync(). * Cleanup SuperIO handling in ns87415.c. There should be no functional changes caused by this patch. Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> --- drivers/ide/arm/icside.c | 5 ---- drivers/ide/arm/palm_bk3710.c | 2 - drivers/ide/arm/rapide.c | 2 - drivers/ide/h8300/ide-h8300.c ...
Jun 20, 5:35 pm 2008
Bartlomiej Zolnierki...
[PATCH 17/18] ide: add ide_read_bcount_and_ireason() helper
Add ide_read_bcount_and_ireason() helper and use it instead of ->INB in {cdrom_newpc,ide_pc}_intr(). Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> --- drivers/ide/ide-atapi.c | 6 ++---- drivers/ide/ide-cd.c | 12 ++++-------- drivers/ide/ide-iops.c | 15 +++++++++++++++ include/linux/ide.h | 1 + 4 files changed, 22 insertions(+), 12 deletions(-) Index: b/drivers/ide/ide-atapi.c =================================================================== --...
Jun 20, 5:35 pm 2008
Bartlomiej Zolnierki...
[PATCH 16/18] ide: add ide_read_ireason() helper
Add ide_read_ireason() helper and use instead of ->INB for reading ATAPI Interrupt Reason register. Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> --- drivers/ide/ide-atapi.c | 17 ++++++++++++++--- drivers/ide/ide-iops.c | 13 +++++++++++++ 2 files changed, 27 insertions(+), 3 deletions(-) Index: b/drivers/ide/ide-atapi.c =================================================================== --- a/drivers/ide/ide-atapi.c +++ b/drivers/ide/ide-atapi.c @@ -183,16 +18...
Jun 20, 5:35 pm 2008
Bartlomiej Zolnierki...
[PATCH 15/18] ide: add ide_read_device() helper
Add ide_read_device() helper and convert do_probe() to use it instead of ->INB. Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> --- drivers/ide/ide-probe.c | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) Index: b/drivers/ide/ide-probe.c =================================================================== --- a/drivers/ide/ide-probe.c +++ b/drivers/ide/ide-probe.c @@ -410,6 +410,18 @@ static int ide_busy_sleep(ide_hwif_t *hw return 1; } ...
Jun 20, 5:35 pm 2008
Bartlomiej Zolnierki...
[PATCH 14/18] ide: use ->tf_read in ide_read_error()
* Add IDE_TFLAG_IN_FEATURE taskfile flag for reading Feature register and handle it in ->tf_read. * Convert ide_read_error() to use ->tf_read instead of ->INB, then uninline and export it. Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> --- drivers/ide/h8300/ide-h8300.c | 2 ++ drivers/ide/ide-iops.c | 15 +++++++++++++++ drivers/ide/pci/ns87415.c | 2 ++ drivers/ide/pci/scc_pata.c | 2 ++ include/linux/ide.h | 10 +++------...
Jun 20, 5:34 pm 2008
Bartlomiej Zolnierki...
[PATCH 13/18] ide: use ->tf_load in SELECT_DRIVE()
Convert SELECT_DRIVE() to use ->tf_load instead of ->OUTB. There should be no functional changes caused by this patch. Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> --- drivers/ide/ide-iops.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) Index: b/drivers/ide/ide-iops.c =================================================================== --- a/drivers/ide/ide-iops.c +++ b/drivers/ide/ide-iops.c @@ -88,11 +88,15 @@ void SELECT_DRIVE (ide_drive_t *dri...
Jun 20, 5:34 pm 2008
Bartlomiej Zolnierki...
[PATCH 12/18] ide: use ->tf_load in actual_try_to_identify()
Convert actual_try_to_identify() to use ->tf_load instead of ->OUTB. There should be no functional changes caused by this patch. Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> --- drivers/ide/ide-probe.c | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) Index: b/drivers/ide/ide-probe.c =================================================================== --- a/drivers/ide/ide-probe.c +++ b/drivers/ide/ide-probe.c @@ -290,9 +290,15 @@ static int ac...
Jun 20, 5:34 pm 2008
Sergei Shtylyov
Re: [PATCH 12/18] ide: use ->tf_load in actual_try_to_ide...
Hello. Eww, this is bulky but should be a part of your plan to switch to tf_load() method... WBR, Sergei --
Jun 20, 7:14 pm 2008
Bartlomiej Zolnierki...
[PATCH 11/18] ide: use ->tf_load in ide_config_drive_speed()
Convert ide_config_drive_speed() to use ->tf_load instead of ->OUTB. There should be no functional changes caused by this patch. Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> --- drivers/ide/ide-iops.c | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) Index: b/drivers/ide/ide-iops.c =================================================================== --- a/drivers/ide/ide-iops.c +++ b/drivers/ide/ide-iops.c @@ -792,9 +792,9 @@ int ide_driveid_...
Jun 20, 5:34 pm 2008
Bartlomiej Zolnierki...
[PATCH 10/18] ide: change order of register access in ide_co...
Write ATA Feature register before ATA Sector Count register as a preparation to use ->tf_load in ide_config_drive_speed(). This change shouldn't affect anything (just an usual paranoia). Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> --- drivers/ide/ide-iops.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: b/drivers/ide/ide-iops.c =================================================================== --- a/drivers/ide/ide-iops.c +++ b/drivers/ide/ide-io...
Jun 20, 5:34 pm 2008
Bartlomiej Zolnierki...
[PATCH 09/18] ide: add ->set_irq method
Add ->set_irq method for setting nIEN bit of ATA Device Control register and use it instead of ide_set_irq(). While at it: * Use ->set_irq in init_irq() and do_reset1(). * Don't use HWIF() macro in ide_check_pm_state(). There should be no functional changes caused by this patch. Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> --- drivers/ide/ide-io.c | 14 ++++++++------ drivers/ide/ide-iops.c | 37 +++++++++++++++++++++++++++---------- drivers/id...
Jun 20, 5:34 pm 2008
Bartlomiej Zolnierki...
[PATCH 08/18] ide: add ->read_altstatus method
* Remove ide_read_altstatus() inline helper. * Add ->read_altstatus method for reading ATA Alternate Status register and use it instead of ->INB. There should be no functional changes caused by this patch. Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> --- drivers/ide/ide-iops.c | 13 +++++++++++-- drivers/ide/ide-probe.c | 4 ++-- drivers/ide/pci/scc_pata.c | 6 ++++++ include/linux/ide.h | 8 +------- 4 files changed, 20 insertions(+),...
Jun 20, 5:34 pm 2008
Bartlomiej Zolnierki...
[PATCH 07/18] ide: add ->read_status method
* Remove ide_read_status() inline helper. * Add ->read_status method for reading ATA Status register and use it instead of ->INB. While at it: * Don't use HWGROUP() macro. There should be no functional changes caused by this patch. Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> --- drivers/ide/arm/icside.c | 4 +++- drivers/ide/ide-atapi.c | 2 +- drivers/ide/ide-cd.c | 12 ++++++++---- drivers/ide/ide-dma.c | 5 +++-- drivers/id...
Jun 20, 5:34 pm 2008
Bartlomiej Zolnierki...
[PATCH 06/18] ide: add ->exec_command method
Add ->exec_command method for writing ATA Command register and use it instead of ->OUTBSYNC. There should be no functional changes caused by this patch. Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> --- drivers/ide/ide-io.c | 3 +-- drivers/ide/ide-iops.c | 19 ++++++++++++++----- drivers/ide/ide-probe.c | 6 +++--- drivers/ide/ide-taskfile.c | 2 +- drivers/ide/pci/scc_pata.c | 9 +++++++++ drivers/ide/ppc/pmac.c | 9 +++++++++ d...
Jun 20, 5:34 pm 2008
Bartlomiej Zolnierki...
[PATCH 05/18] ide: factor out simplex handling from ide_pci_...
* Factor out simplex handling from ide_pci_dma_base() to ide_pci_check_simplex(). * Set hwif->dma_base early in ->init_dma method / ide_hwif_setup_dma() and reset it in ide_init_port() if DMA initialization fails. * Use ->read_sff_dma_status instead of ->INB in ide_pci_dma_base(). There should be no functional changes caused by this patch. Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> --- drivers/ide/ide-probe.c | 1 + drivers/ide/pci/alim15x3.c ...
Jun 20, 5:33 pm 2008
Bartlomiej Zolnierki...
[PATCH 04/18] ide: remove ide_setup_dma()
Export sff_dma_ops and then remove ide_setup_dma(). There should be no functional changes caused by this patch. Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> --- drivers/ide/arm/palm_bk3710.c | 7 +++---- drivers/ide/ide-dma.c | 12 ++---------- drivers/ide/pci/alim15x3.c | 4 +++- drivers/ide/pci/hpt366.c | 4 +++- drivers/ide/setup-pci.c | 4 +++- include/linux/ide.h | 2 +- 6 files changed, 15 insertions(+), 18 deletion...
Jun 20, 5:33 pm 2008
Sergei Shtylyov
Re: [PATCH 04/18] ide: remove ide_setup_dma()
Hello. That's er... too complex. Actually, 'base' has the value for 'dma_base' at that moment... WBR, Sergei --
Jun 20, 6:03 pm 2008
Bartlomiej Zolnierki...
[PATCH 03/18] ide: remove ->dma_{status,command} fields f...
* Use ->dma_base + offset instead of ->dma_{status,command} and remove no longer needed ->dma_{status,command}. While at it: * Use ATA_DMA_* defines. There should be no functional changes caused by this patch. Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> --- drivers/ide/ide-dma.c | 42 ++++++++++++++++++++--------------------- drivers/ide/ide-iops.c | 4 +-- drivers/ide/pci/cmd64x.c | 12 +++++------ drivers/ide/pci/hpt366.c ...
Jun 20, 5:33 pm 2008
Bartlomiej Zolnierki...
[PATCH 02/18] ide: use I/O ops directly in ide-dma.c
Use I/O ops directly in ide_dma_host_set(), ide_dma_setup(), ide_dma_start() and __ide_dma_end(). There should be no functional changes caused by this patch. Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> --- drivers/ide/ide-dma.c | 59 ++++++++++++++++++++++++++++++++++++++------------ 1 file changed, 45 insertions(+), 14 deletions(-) Index: b/drivers/ide/ide-dma.c =================================================================== --- a/drivers/ide/ide-dma.c +++ b/d...
Jun 20, 5:33 pm 2008
Justin Mattock
appletouch: atp_complete - usb_submit_urb failed with result...
FWIW I've booted up osx just for the hell of it, and then back to linux, upon booting linux I'm seeing something new: appletouch: atp_complete - usb_submit_urb failed with result -1 when grepping appletouch I see: [ 15.986401] usbcore: registered new interface driver appletouch [ 18.722161] appletouch 1-2:1.1: usb_probe_interface [ 18.726984] appletouch 1-2:1.1: usb_probe_interface - got id [ 18.743669] appletouch: Geyser mode initialized. [ 18.743669] input: appletouch as /class/input/...
Jun 20, 4:34 pm 2008
Alan Stern
Scatter-gather list constraints
Is there any way to express the constraint that for a particular request queue, all members of a scatter-gather list (except the last) must be a multiple of a particular length? This question arises in connection with wireless USB mass-storage devices. The controller driver requires that all DMA segments in a transfer, other than the last one, have a multiple of 1024 bytes. But we're sometimes getting s-g lists where an element contains an odd number of 512-byte sectors, and of course it doesn...
Jun 20, 4:30 pm 2008
David Miller
Re: Scatter-gather list constraints
From: Alan Stern <stern@rowland.harvard.edu> The generic device layer DMA bits does have ways to indicate DMA restrictions such as maximum segment size, but not something like this. This is a pretty strange requirement, and would be probably be quite difficult to support across the board just to handle this strange device :) --
Jun 20, 4:50 pm 2008
Alan Cox
[PATCH 00/70] tty updates proposed for 2.6.27
This patch series introduces the idea of a tty_port - a common structure that eventually all ports will have. Some drivers are migrated to make partial use of the tty port commonality and helpers but only a little. On the USB side the USB tty API is changed to fix a whole pile of races where tty->port->tty cannot be assumed to be tty (because of hangup/reopen). The USB drivers all get a spring clean and the entire pile have been dragged into CodingStyle near compliance (some cases where the ch...
Jun 20, 3:57 pm 2008
Johannes Weiner
Re: [PATCH 00/70] tty updates proposed for 2.6.27
I don't know what is more wicked, the size of this series or loading after you aimed :-) Hannes --
Jun 20, 7:39 pm 2008
Alan Cox
[PATCH 70/70] tty-usb-mos7720: Coding style
From: Alan Cox <alan@redhat.com> Signed-off-by: Alan Cox <alan@redhat.com> --- drivers/usb/serial/mos7720.c | 227 +++++++++++++++++++++--------------------- 1 files changed, 116 insertions(+), 111 deletions(-) diff --git a/drivers/usb/serial/mos7720.c b/drivers/usb/serial/mos7720.c index d47f081..7c4917d 100644 --- a/drivers/usb/serial/mos7720.c +++ b/drivers/usb/serial/mos7720.c @@ -33,7 +33,7 @@ #include <linux/serial_reg.h> #include <linux/usb.h> #inc...
Jun 20, 4:07 pm 2008
Alan Cox
[PATCH 69/70] whiteheat: remove unused variable
From: Alan Cox <alan@redhat.com> Signed-off-by: Alan Cox <alan@redhat.com> --- drivers/usb/serial/whiteheat.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/drivers/usb/serial/whiteheat.c b/drivers/usb/serial/whiteheat.c index 0954191..afd1379 100644 --- a/drivers/usb/serial/whiteheat.c +++ b/drivers/usb/serial/whiteheat.c @@ -627,7 +627,6 @@ static int whiteheat_open(struct tty_struct *tty, struct usb_serial_port *port, struct file *filp) { ...
Jun 20, 4:07 pm 2008
Alan Cox
[PATCH 68/70] mos7840: remove loads of bogus assignments to ...
From: Alan Cox <alan@redhat.com> Signed-off-by: Alan Cox <alan@redhat.com> --- drivers/usb/serial/mos7840.c | 400 +++++++++++++++++------------------------- 1 files changed, 164 insertions(+), 236 deletions(-) diff --git a/drivers/usb/serial/mos7840.c b/drivers/usb/serial/mos7840.c index 2b1fded..09d8206 100644 --- a/drivers/usb/serial/mos7840.c +++ b/drivers/usb/serial/mos7840.c @@ -33,7 +33,7 @@ #include <linux/serial.h> #include <linux/usb.h> #include...
Jun 20, 4:07 pm 2008
Alan Cox
[PATCH 67/70] omninet: Use string flip functions
From: Alan Cox <alan@redhat.com> Signed-off-by: Alan Cox <alan@redhat.com> --- drivers/usb/serial/omninet.c | 7 +++---- 1 files changed, 3 insertions(+), 4 deletions(-) diff --git a/drivers/usb/serial/omninet.c b/drivers/usb/serial/omninet.c index 5a76f32..ae8e227 100644 --- a/drivers/usb/serial/omninet.c +++ b/drivers/usb/serial/omninet.c @@ -206,8 +206,8 @@ static void omninet_read_bulk_callback(struct urb *urb) unsigned char *data = urb->transfer_buffer; ...
Jun 20, 4:07 pm 2008
previous daytodaynext day
June 19, 2008June 20, 2008June 21, 2008