- 05 Aug, 2004 17 commits
-
-
Alexander Viro authored
Fix bug #3125: This should fix the problem; however, we will need to repeat that for all PIO SCSI drivers (another immediate victim is ppa.c). We should start looking for sane solution; I _really_ don't like the kludge with using ->slave_alloc() for fixups after scsi_alloc_queue(). Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
http://lia64.bkbits.net/to-base-2.6Linus Torvalds authored
into ppc970.osdl.org:/home/torvalds/v2.6/linux
-
bk://linux-mtd.bkbits.net/mtd-2.6Linus Torvalds authored
into ppc970.osdl.org:/home/torvalds/v2.6/linux
-
Roland McGrath authored
I just stumbled across this patch that's been sitting in my tree for ages. I thought I'd sent this in before. It's a trivial fix for the printing of task state in /proc and sysrq dumps and such, so that TASK_DEAD shows up correctly. This state is pretty much only ever there to be seen when there are exit/reaping bugs, but it's not like that hasn't come up. Signed-off-by: Roland McGrath <roland@redhat.com> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
bk://bk.arm.linux.org.uk/linux-2.6-rmkLinus Torvalds authored
into ppc970.osdl.org:/home/torvalds/v2.6/linux
-
John Lenz authored
Patch from John Lenz Add INITTIME macro to collie machine structure.
-
Ben Dooks authored
Patch from Ben Dooks Fixed clock base for the H1940 thanks to Gerald Schneider <gerald@gerald-online.de> for fixing this.
-
Ben Dooks authored
Patch from Ben Dooks Patch for default configuration
-
Ben Dooks authored
Patch from Ben Dooks Added more definitions for GPIO registers New functions for modifying pin configuration and bit-status (see include/asm-arm/arch-s3c2410/hardware.h)
-
Ben Dooks authored
Patch from Ben Dooks Remove compile error with gcc-3.4 and empty part of case statememnt
-
Catalin Marinas authored
Patch from Catalin Marinas Gas translates the "msr [cs]psr, rN" instruction to "msr [cs]psr_cf, rN". This may cause problems on the ARMv6 architecture where the A and E bits can leak into the SVC mode from the USR mode via the exception handlers. The reverse can happen when returning to user mode. The patch adds _cxsf to all the msr instruction without the field specifier.
-
Catalin Marinas authored
Patch from Catalin Marinas The "err" is rotated in the blockops_check() function and all the error bits are cleared, the subsequent conditions being always true.
-
Alexander Viro authored
A number of drivers or special virtual devices really just want their "read()" function to populate user space from some internal buffer. This adds such a helper function - "simple_read_from_buffer()" - and converts several ->read() instances to use it. Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Jens Axboe authored
For requests marked read-ahead, it can legitimately fail without it being a path problem. So don't fail a path just because this happens (can be the atomic request allocation going nuts, for instance), or all paths will quickly go away. Cc: <neilb@cse.unsw.edu.au> Signed-off-by: Jens Axboe <axboe@suse.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Heiko Carstens authored
I tried to get multipathing failover running and failed. It seems to be that there are two bugs in multipath.c : - If a path/request fails mp_bh->path doesn't get updated to the new path. Thus multipath_end_request will access a NULL pointer if a redirected request returns. - After fixing this I experienced several other errors. First of all in bio->bi_flags the BIO_UPTODATE flag is not set when redirecting a request. Causing the md driver to think that every redirected request failed when it returns. Since that alone didn't fix the problems, I simply copied the master_bio again and it looks like everything seems to work. Cc: <neilb@cse.unsw.edu.au> Cc: Jens Axboe <axboe@suse.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
James Morris authored
This patch reverts the i586 AES module. A new one should be ready soon. Signed-off-by: James Morris <jmorris@redhat.com> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
David Woodhouse authored
into shinybook.infradead.org:/home/dwmw2/bk/mtd-2.6
-
- 04 Aug, 2004 4 commits
-
-
Jesse Barnes authored
one and turned on a few new options (some of which Altix needs). Signed-off-by: Jesse Barnes <jbarnes@sgi.com> Signed-off-by: Tony Luck <tony.luck@intel.com>
-
Alex Williamson authored
nodes (configured for cell local memory) currently crashes because MAX_NUMNODES defaults to 1. The patch below sets up things to make this work. Signed-off-by: Alex Williamson <alex.williamson@hp.com> Signed-off-by: Tony Luck <tony.luck@intel.com>
-
Tony Luck authored
Initial patch by Jesse Barnes, fixed by Ken Chen, rescued from obscurity by Sourav Sen. Signed-off-by: Tony Luck <tony.luck@intel.com>
-
Hidetoshi Seto authored
situation where a flood of errors prevents boot. Signed-off-by: Hidetoshi Seto <seto.hidetoshi@jp.fujitsu.com> Signed-off-by: Tony Luck <tony.luck@intel.com>
-
- 03 Aug, 2004 6 commits
-
-
Jesse Barnes authored
Mark per_hub_init as __init and remove an unnecessary extern declaration of it in sgi_io_init.c. This has the effect of killing a warning in the compile of that file. Signed-off-by: Jesse Barnes <jbarnes@sgi.com> Signed-off-by: Tony Luck <tony.luck@intel.com>
-
Bjorn Helgaas authored
REO/Grande defect AR2305 can cause TLB fetch timeouts if entries are purged while in use. Round up IOVA allocations to power-of-two boundaries to prevent this. This is originally due to Alex Williamson. Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com> Signed-off-by: Tony Luck <tony.luck@intel.com>
-
Bjorn Helgaas authored
Make cyclone_setup() take no args, rather than an ignored "char *" and return void. Fix typos and whitespace. Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com> Signed-off-by: Tony Luck <tony.luck@intel.com>
-
Bjorn Helgaas authored
irq.c: Fix IRQ type in platform irq_to_vector functions. Should be "unsigned int", but some places were "u8". Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com> Signed-off-by: Tony Luck <tony.luck@intel.com>
-
Linus Torvalds authored
-
Benjamin Herrenschmidt authored
Some G5 recent powermacs start with the fan control unit (FCU) disabled, by the firmware, causing the thermal control driver to break. We have to enable it before starting the feedback loops that set the fan speeds. This patch adds the code to start the FCU. Signed-off-by: Paul Mackerras <paulus@samba.org> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
- 02 Aug, 2004 13 commits
-
-
Benjamin Herrenschmidt authored
On old powermacs, it's possible that we get a stale edge interrupt when doing request_irq(), that typically happens with the DBDMA controller interrupts when the device was used by the firmware for booting. I just tracked down a nasty memory corruption problem where that was causing the bmac driver to try to process packets before the driver internal data structures were properly initialized. While I agree that the driver should (and will) be made more robust to such things, Paulus and I decided that it makes little sense to keep track of an "old" edge interrupt that happens before a driver does request_irq. (On those powermacs, those are only the DBDMA interrupts anyway, and none of the DBDMA users will care). This patch implements a "startup" handler for the old Apple PIC that will "ack" pending edge interrupts before unmasking, thus preventing those stale interrupts to be delivered. It also "fixes" the ppc32 irq core to call the startup() callback when available instead of just calling enable(). Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Jens Axboe authored
blk_rq_map_user() is a bit of a hack currently, since it drops back to kmalloc() if bio_map_user() fails. This is unfortunate since it means we do no real segment or size checking (and the request segment counts contain crap, already found one bug in a scsi lld). It's also pretty nasty for > PAGE_SIZE requests, as we attempt to do higher order page allocations. Even worse still, ide-cd will drop back to PIO for non-sg/bio requests. All in all, very suboptimal. This patch adds bio_copy_user() which simply sets up a bio with kernel pages and copies data as needed for reads and writes. It also changes bio_map_user() to return an error pointer like bio_copy_user(), so we can return something sane to the user instead of always -ENOMEM. Signed-off-by: Jens Axboe <axboe@suse.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
bk://kernel.bkbits.net/davem/net-2.6Linus Torvalds authored
into ppc970.osdl.org:/home/torvalds/v2.6/linux
-
Kumar Gala authored
Fix the fact that we were not the signal processing engine status and control register (SPEFSCR) on giveup_spe. Causes problems when the kernel tries to read or modify the SPEFSCR. Signed-off-by: Kumar Gala <kumar.gala@freescale.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Stephen Hemminger authored
Small change to bictcp based on the BIC 1.1 patches for web100. Keep track of last time congestion was computed, and recompute if cwnd changes or every 1/32 of a second. Also changes the initialization location for the parameters. Signed-off-by: Stephen Hemminger <shemminger@osdl.org> Signed-off-by: David S. Miller <davem@redhat.com>
-
Herbert Xu authored
This patch moves xfrm[46]_tunnel_check_size() into xfrm[46]_output.c where it can be made static since it's only used there. While moving the icmp.h inclusions over I also discovered that the tunnel files are missing an inclusion of net/protocol.h. So I've added them as well. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: David S. Miller <davem@redhat.com>
-
Herbert Xu authored
This is a couple of clean-ups stemming from the xfrm_output change. I should've removed the inet_ecn.h inclusions in that change as the ECN code has been moved to xfrm[46]_output.c. This patch does exactly that. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: David S. Miller <davem@redhat.com>
-
Ralph Loader authored
ipv6_addr_hash doesn't do what it's comment says. The comment was probably what was intended, not that it'll make much difference in practice. Signed-off-by: Ralph Loader <suckfish@ihug.co.nz> Signed-off-by: Yoshifuji Hideaki <yoshfuji@linux-ipv6.org> Signed-off-by: David S. Miller <davem@redhat.com>
-
Andrew Morton authored
gcc-2.95.c does not support anonymous unions. Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: David S. Miller <davem@redhat.com>
-
David S. Miller authored
into nuts.davemloft.net:/disk1/BK/net-2.6
-
Hirofumi Ogawa authored
Previously, fatfs was using NLS_DEFAULT if users didn't specify the codepage or iocharset option. This became cause of trouble (filename access). This patch removes the complicated default config in kernel. Instead of it, by default, fatfs uses builtin nls ("default"), also reports it and mounts as read-only. This default will limit the access more or less. Note: If peoples want to write on this default, it still can switch by remount. Therefore, basically users will need to specify mount options always. ("codepage" for msdos, and "codepage" and "iocharset" for vfat) However, it can be done simply by script or shell alias or something else in userland. Thanks to Andries Brouwer for your many advice. Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Michael Kerrisk authored
There is a lonstanding off-by-one error that results from an incorrect comparison when checking whether a process has consumed CPU time in excess of its RLIMIT_CPU limits. This means, for example, that if we use setrlimit() to set the soft CPU limit (rlim_cur) to 5 seconds and the hard limit (rlim_max) to 10 seconds, then the process only receives a SIGXCPU signal after consuming 6 seconds of CPU time, and, if it continues consuming CPU after handling that signal, only receives SIGKILL after consuming 11 seconds of CPU time. The fix is trivial. Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Armin Schindler authored
Author: Armin Schindler, Nishanth Aravamudan Use kernel provided msleep() instead of own sleep implementation. Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-