]> git.hungrycats.org Git - linux/log
linux
22 years ago[PATCH] numaq mempolicy.c build fix
Andrew Morton [Sat, 12 Jun 2004 23:38:11 +0000 (16:38 -0700)]
[PATCH] numaq mempolicy.c build fix

From: William Lee Irwin III <wli@holomorphy.com>

mm/mempolicy.c: In function `verify_pages':
mm/mempolicy.c:246: warning: implicit declaration of function `kmap_atomic'
mm/mempolicy.c:249: warning: implicit declaration of function `kunmap_atomic'

pte_offset_map() invokes kmap_atomic() via macro, without including the
required header.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] Fix exception trace printing on x86-64
Andrew Morton [Sat, 12 Jun 2004 23:37:58 +0000 (16:37 -0700)]
[PATCH] Fix exception trace printing on x86-64

From: Andi Kleen <ak@suse.de>

Originally by Juergen Kreileder, changed by me.

The test for unhandled signals was wrong.  Correct it.  This helps Java
users, who would see bogus printks in their kernel logs previously.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] s390: fix kmem_bufctl_t definition
Andrew Morton [Sat, 12 Jun 2004 23:37:44 +0000 (16:37 -0700)]
[PATCH] s390: fix kmem_bufctl_t definition

From: Arnd Bergmann <arnd@arndb.de>

On s390, kmem_bufctl_t was added inside of an #ifdef, breaking
64 bit builds.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] More fixes for the x86-64 machine check handler
Andrew Morton [Sat, 12 Jun 2004 23:37:29 +0000 (16:37 -0700)]
[PATCH] More fixes for the x86-64 machine check handler

From: Andi Kleen <ak@suse.de>

Fix more bad issues in the x86-64 machine check handler.

- Actually test status after reading it from the register, not before.

- Check the UC bit instead of the PCC bit to detect the bank which caused
  the exception.

- Add tolerant==3 level for easier testing. This will avoid any panics.

- Don't threat bank overflows as fatal - they must have come from a non
  fatal exception, which should not cause a panic.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] define for_each_cpu_mask() for uniprocessor
Andrew Morton [Sat, 12 Jun 2004 23:37:12 +0000 (16:37 -0700)]
[PATCH] define for_each_cpu_mask() for uniprocessor

From: Bruno Ducrot <poup@poupinou.org>

I'm trying to replace for_each_cpu() with for_each_cpu_mask() in
arch/i386/kernel/cpu/cpufreq/p4-clockmod.c

Unfortunately, though, davej pointed me that for_each_cpu_mask() is not
defined in -bk if CONFIG_SMP is not defined.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] Fix fwait on x86-64 too
Andi Kleen [Sat, 12 Jun 2004 23:30:41 +0000 (16:30 -0700)]
[PATCH] Fix fwait on x86-64 too

Discard FPU exceptions in exit and execve on x86-64 too.

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years agosparse cleanup of #include file
Linus Torvalds [Sat, 12 Jun 2004 12:29:44 +0000 (05:29 -0700)]
sparse cleanup of #include file

sparse tokenizes everything. Including #include
directives. Which means that it doesn't want to
see "//" in a include filename, since that's a
comment outside of a string.

And inside of a string it's too dark to read.

22 years agoFix x86 "clear_cpu()" macro.
Linus Torvalds [Sat, 12 Jun 2004 12:12:31 +0000 (05:12 -0700)]
Fix x86 "clear_cpu()" macro.

We need to clear all exceptions before synchronizing
with the FPU, since we aren't ready to handle a FP
exception here and we're getting rid of all FP state.

Special thanks to Alexander Nyberg for reports and
testing. Alternate patches by Sergey Vlasov and Andi
Kleen, who both worked on this.

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years agoMerge bk://linux-ntfs.bkbits.net/ntfs-2.6
Linus Torvalds [Thu, 10 Jun 2004 01:24:04 +0000 (18:24 -0700)]
Merge bk://linux-ntfs.bkbits.net/ntfs-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years agoNTFS: 2.1.14 - Fix an NFSd caused deadlock reported by several users.
Anton Altaparmakov [Thu, 10 Jun 2004 14:23:23 +0000 (15:23 +0100)]
NTFS: 2.1.14 - Fix an NFSd caused deadlock reported by several users.

- Modify fs/ntfs/ntfs_readdir() to copy the index root attribute value
  to a buffer so that we can put the search context and unmap the mft
  record before calling the filldir() callback.  We need to do this
  because of NFSd which calls ->lookup() from its filldir callback()
  and this causes NTFS to deadlock as ntfs_lookup() maps the mft record
  of the directory and since ntfs_readdir() has got it mapped already
  ntfs_lookup() deadlocks.

Signed-off-by: Anton Altaparmakov <aia21@cantab.net>
22 years agoMerge cantab.net:/home/src/bklinux-2.6
Anton Altaparmakov [Thu, 10 Jun 2004 10:02:41 +0000 (11:02 +0100)]
Merge cantab.net:/home/src/bklinux-2.6
into cantab.net:/home/src/ntfs-2.6

22 years agoMerge bk://drm.bkbits.net/drm-2.6
Linus Torvalds [Thu, 10 Jun 2004 01:22:00 +0000 (18:22 -0700)]
Merge bk://drm.bkbits.net/drm-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years agoMerge bk://drm.bkbits.net/drm-2.6
Dave Airlie [Sat, 12 Jun 2004 05:25:11 +0000 (15:25 +1000)]
Merge bk://drm.bkbits.net/drm-2.6
into starflyer.(none):/home/airlied/drm/drm-2.6

22 years agogamma_dma_priority and gamma_dma_send_buffers both deref d->send_indices
Dave Airlie [Sat, 12 Jun 2004 05:23:45 +0000 (15:23 +1000)]
gamma_dma_priority and gamma_dma_send_buffers both deref d->send_indices
and/or d->send_sizes.  When these functions are called from gamma_dma,
these pointers are user pointers and are thus not safe to deref.  This patch
copies over the pointers inside gamma_dma_priority and
gamma_dma_send_buffers.

Submitted-by: Robert T. Johnson <rtjohnso@eecs.berkeley.edu>
Signed-off-by: Dave Airlie <airlied@linux.ie>
22 years ago[PATCH] fix ide-cd racy completions
Jens Axboe [Thu, 10 Jun 2004 01:21:19 +0000 (18:21 -0700)]
[PATCH] fix ide-cd racy completions

This bug took forever to debug (just ask Ben :-).

When we move the completion event from the failed request to the sense
request, we risk either the initial complete and then later complete on
a long gone ->waiting.  I think this business of moving the completion
structure to the request sense is a bit bogus and always has been, and
the bug is fixed nicely by just rewriting this logic a bit.  So instead
we simply unconditionally dequeue the failed request (regardless of
whether it was REQ_PC or REQ_BLOCK_PC), and pass a reference to it in
the sense request.  When the sense completes, we call end io on the
originally failed request (which does the complete() etc).

Signed-off-by: Jens Axboe <axboe@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] SCSI_DPT_I2O should depend on PCI
Geert Uytterhoeven [Thu, 10 Jun 2004 01:10:50 +0000 (18:10 -0700)]
[PATCH] SCSI_DPT_I2O should depend on PCI

22 years agoMerge cantab.net:/home/src/bklinux-2.6
Anton Altaparmakov [Wed, 9 Jun 2004 10:11:32 +0000 (11:11 +0100)]
Merge cantab.net:/home/src/bklinux-2.6
into cantab.net:/home/src/ntfs-2.6

22 years agoThe dev->devname being passed to request_irq in drm_irq.h is null.
Dave Airlie [Wed, 9 Jun 2004 07:05:52 +0000 (17:05 +1000)]
The dev->devname being passed to request_irq in drm_irq.h is null.
With the old DRM interface, the devname was set in DRM(setunique),
but with the current DRM interface >=1.1 the devname is not being
set in DRM(set_busid).

From: Alan Swanson
Approved-by: Dave Airlie <airlied@linux.ie>
22 years agoMerge bk://kernel.bkbits.net/davem/sparc-2.6
Linus Torvalds [Wed, 9 Jun 2004 06:12:24 +0000 (23:12 -0700)]
Merge bk://kernel.bkbits.net/davem/sparc-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years ago[SPARC64]: Update defconfig.
David S. Miller [Wed, 9 Jun 2004 03:33:49 +0000 (20:33 -0700)]
[SPARC64]: Update defconfig.

22 years ago[NETFILTER]: Fix arp_tables.c build.
Andrew Morton [Wed, 9 Jun 2004 03:13:16 +0000 (20:13 -0700)]
[NETFILTER]: Fix arp_tables.c build.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: David S. Miller <davem@redhat.com>
22 years agoMerge nuts.davemloft.net:/disk1/BK/sparcwork-2.6
David S. Miller [Wed, 9 Jun 2004 03:05:21 +0000 (20:05 -0700)]
Merge nuts.davemloft.net:/disk1/BK/sparcwork-2.6
into nuts.davemloft.net:/disk1/BK/sparc-2.6

22 years ago[PATCH] dup_mmap() double memory accounting
Oleg Nesterov [Wed, 9 Jun 2004 02:18:25 +0000 (19:18 -0700)]
[PATCH] dup_mmap() double memory accounting

dup_mmap() unnecessarily tries to account for memory of the vma's it has
created if it fails in the middle.

However, that's pointless (and wrong), since the exit_mmap() path called
through mmput() will do so anyway in the failure path.

Just remove the bogus un-accounting code.

22 years agoMerge bk://cifs.bkbits.net/linux-2.5cifs
Linus Torvalds [Wed, 9 Jun 2004 02:07:24 +0000 (19:07 -0700)]
Merge bk://cifs.bkbits.net/linux-2.5cifs
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years ago[PATCH] kernel/sysctl annotations for sparse
Randy Dunlap [Wed, 9 Jun 2004 02:06:39 +0000 (19:06 -0700)]
[PATCH] kernel/sysctl annotations for sparse

Add __user annotations to kernel/sysctl.c to satisfy sparse
for !CONFIG_SYSCTL, !CONFIG_PROC_FS.

Signed-off-by: Randy Dunlap <rddunlap@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years agoMark compaq Fibre Channel driver broken.
Linus Torvalds [Wed, 9 Jun 2004 01:24:19 +0000 (18:24 -0700)]
Mark compaq Fibre Channel driver broken.

It puts two 2kB temp areas on the stack, which is
guaranteed to overflow a 4kB stack if that path
is ever taken.

Both marked in the source, and both should be easy
to fix but need testing.

Found by Jörn Engel.

22 years ago[PATCH] vga16fb.c: fix bogus mem_start value
Andrew Morton [Wed, 9 Jun 2004 01:19:04 +0000 (18:19 -0700)]
[PATCH] vga16fb.c: fix bogus mem_start value

From: Herbert Xu <herbert@gondor.apana.org.au>

The recent change to vga16fb's memory mapping that you partially reverted
is still broken.  In particular, it's setting fix.mem_start to a virtual
address on i386.  The value of fix.mem_start is meant to be physical.

We could simply apply virt_to_phys to it, but somehow I doubt that is what
it's meant to do on arm.  So until we hear from someone who knows how it
works on arm, let's just revert this change.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] aio.c sparse warning fix
Andrew Morton [Wed, 9 Jun 2004 01:18:53 +0000 (18:18 -0700)]
[PATCH] aio.c sparse warning fix

Randy Dunlap <rddunlap@osdl.org> points out that sparse warns about the test
of an undefined preprocessor identifier.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] fix uts sysctl write size
Andrew Morton [Wed, 9 Jun 2004 01:18:42 +0000 (18:18 -0700)]
[PATCH] fix uts sysctl write size

From: Andy Whitcroft <apw@shadowen.org>

The sysctl interfaces for updating the uts entries such as hostname and
domainname are using the wrong length for these buffers; they are hard
coded to 64.  Although safe, this artifically limits the size of these
fields to one less than the true maximum.  This generates an inconsistency
between the various methods of update for these fields.

# hostname 12345678901234567890123456789012345678901234567890123456789012345
hostname: name too long
# hostname 1234567890123456789012345678901234567890123456789012345678901234
# hostname
1234567890123456789012345678901234567890123456789012345678901234

# sysctl -w kernel.hostname=1234567890123456789012345678901234567890123456789012345678901234567890
kernel.hostname = 1234567890123456789012345678901234567890123456789012345678901234567890
# hostname
123456789012345678901234567890123456789012345678901234567890123
#

The error originates from the fact the handler for strings (proc_dostring)
already allows for the string terminator.  This patch corrects the limit,
taking the oppotunity to convert to use of sizeof().

Signed-off-by: Andy Whitcroft <apw@shadowen.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] cyclone: PIT sanity checking
Andrew Morton [Wed, 9 Jun 2004 01:18:31 +0000 (18:18 -0700)]
[PATCH] cyclone: PIT sanity checking

From: john stultz <johnstul@us.ibm.com>

In testing for SLES9, we ran across a bug caused by userspace apps poking
the PIT which caused bad values to be read by the kernel.  This would then
trigger the lost tick detection code with insane values and would then
break the SCSI subsystem.

This patch includes the PIT sanity check from the TSC timesource into the
cyclone timesource code, which catches the bad case described above and
resolves the issue.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] flush_workqueue locking simplification
Andrew Morton [Wed, 9 Jun 2004 01:18:20 +0000 (18:18 -0700)]
[PATCH] flush_workqueue locking simplification

From: "Anil" <anil.s.keshavamurthy@intel.com>

We don't need lock_cpu_hotplug()/unlock_cpu_hotplug for singlethreaded
workqueues.

Signed-off-by: Anil Keshavamurthy <anil.s.keshavamurthy@intel.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] s390: add support for 6 system call arguments (FUTEX_CMP_REQUEUE)
Andrew Morton [Wed, 9 Jun 2004 01:18:10 +0000 (18:18 -0700)]
[PATCH] s390: add support for 6 system call arguments (FUTEX_CMP_REQUEUE)

From: Martin Schwidefsky <schwidefsky@de.ibm.com>

This patch adds support for 6 system call arguments on s390.  The first
exploiter of this will be the sys_futex system call for the
FUTEX_CMP_REQUEUE operation.  The idea is simple: use register %r7 for the
6th argument.  This can be extended to 7/8/9/...  arguments if there ever
will be the need for it.  To call the system call function in the kernel
the additional arguments needs to get stored on the stack.  8 bytes are
added to the head of struct pt_regs.  %r7 is stored to the additional field
for all system calls.  The store is hidden in a
address-generation-interlock slot, it doesn't slow down the system call
path.

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] cdrom hardware defect mgt header length
Andrew Morton [Wed, 9 Jun 2004 01:17:58 +0000 (18:17 -0700)]
[PATCH] cdrom hardware defect mgt header length

From: Jens Axboe <axboe@suse.de>

cdrom_has_defect_mgt() has the same ->data_len bug - the length field is
not total length, but the length following that field.  So it should be +
4, not + 8.  However, just kill the length check.  Comparison of
feature_code provides enough check.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] md: fix BUG in raid6 resync code.
Andrew Morton [Wed, 9 Jun 2004 01:17:47 +0000 (18:17 -0700)]
[PATCH] md: fix BUG in raid6 resync code.

From: NeilBrown <neilb@cse.unsw.edu.au>

This condtion on this loop is primarily to avoid the loop if it doesn't
appear to be needed.  However it optimises a little too much and there is a
case where it skips the loop when it is really needed.  This patch fixes
it.

This is the raid6 version of the recent raid5 resync bugfix.

Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] __ARCH_WANT_SYS_RT_SIGACTION fix
Andrew Morton [Wed, 9 Jun 2004 01:17:36 +0000 (18:17 -0700)]
[PATCH] __ARCH_WANT_SYS_RT_SIGACTION fix

From: Ivan Kokshaysky <ink@jurassic.park.msu.ru>

Recent syscall stubs cleanup broke alpha, as it has its own version of
sys_rt_sigaction().  This defines __ARCH_WANT_SYS_RT_SIGACTION for all
architectures except alpha, sparc and sparc64.

Signed-off-by: Ivan Kokshaysky <ink@jurassic.park.msu.ru>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] Disable UDF debugging
Andrew Morton [Wed, 9 Jun 2004 01:17:24 +0000 (18:17 -0700)]
[PATCH] Disable UDF debugging

From: Andi Kleen <ak@suse.de>

UDF spews out lots of debugging information by default.  Disable that,
since it doesn't make too much sense for a production kernel.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] Remove unnecessary printk in es7000 code
Andrew Morton [Wed, 9 Jun 2004 01:17:13 +0000 (18:17 -0700)]
[PATCH] Remove unnecessary printk in es7000 code

From: Andi Kleen <ak@suse.de>

This printk is printed by genericarch when your machine is no es7000.  Most
people don't care about that.  Remove it.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] more drivers/atm/horizon.c polishing
Andrew Morton [Wed, 9 Jun 2004 01:17:02 +0000 (18:17 -0700)]
[PATCH] more drivers/atm/horizon.c polishing

From: Francois Romieu <romieu@fr.zoreil.com>

- just say no to numbered labels;
- pci_enable_device can fail so setup_pci_dev() must return a value;
- propagate existing error codes when possible in do_pci_device()
- missing pci_disable_device here and there.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] Typo in Documentation/fb/framebuffer.txt
Andrew Morton [Wed, 9 Jun 2004 01:16:51 +0000 (18:16 -0700)]
[PATCH] Typo in Documentation/fb/framebuffer.txt

From: Peter Korsgaard <jacmet@sunsite.dk>

Vertical retrace is in lines, not pixels.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] ext3: journal_flush() needs journal_lock_updates()
Andrew Morton [Wed, 9 Jun 2004 01:16:40 +0000 (18:16 -0700)]
[PATCH] ext3: journal_flush() needs journal_lock_updates()

We need to take journal_lock_updates() while remounting r/o to prevent a new
transaction starting while journal_flush() is running.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] runtime selection of CONFIG_PARIDE_EPATC8
Andrew Morton [Wed, 9 Jun 2004 01:16:28 +0000 (18:16 -0700)]
[PATCH] runtime selection of CONFIG_PARIDE_EPATC8

From: Christoph Hellwig <hch@lst.de>

drivers/block/paride/epat.c support two slightly different protocol
variants.  Currently it's compile-time selected by CONFIG_PARIDE_EPATC8,
but this patch adds a epatc8 module option to allow runtime selection.
CONFIG_PARIDE_EPATC8 stays for now but I'd like to kill it int 2.7.

The basic patch is from the Debian kernel package (Author unknown) but I
reworked it a bit.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] unalign struct page_state
Andrew Morton [Wed, 9 Jun 2004 01:16:17 +0000 (18:16 -0700)]
[PATCH] unalign struct page_state

The ____cacheline_aligned in there is a leftover from before the existence of
the percpu infrastructure.  It bloats struct page_state and structures which
contain it enormously, and we use these things on the stack deep in page
reclaim.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] writeback_inodes can race with unmount
Andrew Morton [Wed, 9 Jun 2004 01:16:06 +0000 (18:16 -0700)]
[PATCH] writeback_inodes can race with unmount

From: Chris Mason <mason@suse.com>

There's a small window where the filesystem can be unmounted during
writeback_inodes.  The end result is the iput done by sync_sb_inodes could
be done after the FS put_super and and the super has been removed from all
lists.

The fix is to hold the s_umount sem during sync_sb_inodes to make sure
the FS doesn't get unmounted.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] ppc64: iSeries vio_dev cleanups
Andrew Morton [Wed, 9 Jun 2004 01:15:55 +0000 (18:15 -0700)]
[PATCH] ppc64: iSeries vio_dev cleanups

From: Stephen Rothwell <sfr@canb.auug.org.au>

This patch removes the archdata and driver_data members of struct vio_dev
and uses the platform_data and driver_data members of the embedded struct
device instead.  I also declared a couple of routines static.

This is part of a work in progress.

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] ppc32: fix missing option in binutils version check
Andrew Morton [Wed, 9 Jun 2004 01:15:44 +0000 (18:15 -0700)]
[PATCH] ppc32: fix missing option in binutils version check

From: Olaf Hering <olh@suse.de>

The binutils check is bogus, it doesnt work with the just released
binutils.  A space is needed in the error message.

pomegranate:~# echo dssall | /usr/bin/as -o /tmp/x
{standard input}: Assembler messages:
{standard input}:1: Error: Unrecognized opcode: `dssall'
pomegranate:~# /usr/bin/as -v
GNU assembler version 2.15.91.0.1 (powerpc-suse-linux) using BFD version 2.15.91.0.1 20040527 (SuSE Linux)

*** 2.6 kernels no longer buildcorrectly with old versions of binutils.
*** Please upgrade your binutils to 2.12.1 or newer
make: *** [checkbin] Error 1
make: Target `all' not remade because of errors.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] speedup flush_workqueue for singlethread_workqueue
Andrew Morton [Wed, 9 Jun 2004 01:15:33 +0000 (18:15 -0700)]
[PATCH] speedup flush_workqueue for singlethread_workqueue

From: "Anil" <anil.s.keshavamurthy@intel.com>

In flush_workqueue() for a single_threaded_worqueue case the code flushes the
same cpu_workqueue_struct for each online_cpu.

Change things so that we only perform the flush once in this case.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] jbd: descriptor buffer state fix
Andrew Morton [Wed, 9 Jun 2004 01:15:22 +0000 (18:15 -0700)]
[PATCH] jbd: descriptor buffer state fix

Fix a problem discovered by Jeff Mahoney <jeffm@suse.com>, based on an initial
patch from Chris Mason <mason@suse.com>.

journal_get_descriptor_buffer() is used to obtain a regular old buffer_head
against the blockdev mapping.  The caller will populate that bh by hand and
will then submit it for writing.

But there are problems:

a) The function sets bh->b_state nonatomically.  But this buffer is
   accessible to other CPUs via pagecache lookup.

b) The function sets the buffer dirty and then the caller populates it and
   then it is submitted for I/O.  Wrong order: there's a window in which the
   VM could write the buffer before it is fully populated.

c) The function fails to set the buffer uptodate after zeroing it.  And one
   caller forgot to mark it uptodate as well.  So if the VM happens to decide
   to write the containing page back __block_write_full_page() encounters a
   dirty, not uptodate buffer, which is an illegal state.  This was generating
   buffer_error() warnings before we removed buffer_error().

   Leaving the buffer not uptodate also means that a concurrent reader of
   /dev/hda1 could cause physical I/O against the buffer, scribbling on what
   we just put in it.

   So journal_get_descriptor_buffer() is changed to mark the buffer
   uptodate, under the buffer lock.

I considered changing journal_get_descriptor_buffer() to return a locked
buffer but there doesn't seem to be a need for this, and both callers end up
using ll_rw_block() anyway, which requires that the buffer be unlocked again.

Note that the journal_get_descriptor_buffer() callers dirty these buffers with
set_buffer_dirty().  That's a bit naughty, because it could create dirty
buffers against a clean page - an illegal state.  They really should use
mark_buffer_dirty() to dirty the page and inode as well.  But all callers will
immediately write and clean the buffer anyway, so we can safely leave this
optimising cheat in place.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] wake_up_forked_thread() fix
Andrew Morton [Wed, 9 Jun 2004 01:15:10 +0000 (18:15 -0700)]
[PATCH] wake_up_forked_thread() fix

Spotted by Randy Dunlap - don't try to return something from a void-returning
function.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years agoMerge nuts.davemloft.net:/disk1/BK/sparcwork-2.6
David S. Miller [Tue, 8 Jun 2004 15:33:40 +0000 (08:33 -0700)]
Merge nuts.davemloft.net:/disk1/BK/sparcwork-2.6
into nuts.davemloft.net:/disk1/BK/sparc-2.6

22 years ago[SPARC64]: Uninline find_*_bit() like ia64 did.
David S. Miller [Tue, 8 Jun 2004 15:30:03 +0000 (08:30 -0700)]
[SPARC64]: Uninline find_*_bit() like ia64 did.

22 years agoMerge bk://bk.arm.linux.org.uk/linux-2.6-serial
Linus Torvalds [Tue, 8 Jun 2004 14:15:07 +0000 (07:15 -0700)]
Merge bk://bk.arm.linux.org.uk/linux-2.6-serial
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years ago[ARM PATCH] 1919/1: S3C2410 - Serial configuration bugfix (missing SERIAL_CORE_CONSOLE)
Ben Dooks [Wed, 9 Jun 2004 00:53:39 +0000 (01:53 +0100)]
[ARM PATCH] 1919/1: S3C2410 - Serial configuration bugfix (missing SERIAL_CORE_CONSOLE)

Patch from Ben Dooks

Fix missing select of SERIAL_CORE_CONSOLE when selecting the
S3C2410 serial console support with no other serial console
selected

22 years agoMerge bk://bk.arm.linux.org.uk/linux-2.6-rmk
Linus Torvalds [Tue, 8 Jun 2004 14:13:24 +0000 (07:13 -0700)]
Merge bk://bk.arm.linux.org.uk/linux-2.6-rmk
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years ago[ARM PATCH] 1916/1: lh7a40x #5 (1/1) revision B support
Marc Singer [Wed, 9 Jun 2004 01:11:45 +0000 (02:11 +0100)]
[ARM PATCH] 1916/1: lh7a40x #5 (1/1) revision B support

Patch from Marc Singer

Small change to support revision B Card Engines.

22 years ago[ARM PATCH] 1915/1: lh7a40x #4 (1/1) hardware.h bug fix
Marc Singer [Wed, 9 Jun 2004 01:07:30 +0000 (02:07 +0100)]
[ARM PATCH] 1915/1: lh7a40x #4 (1/1) hardware.h bug fix

Patch from Marc Singer

This patch corrects a bug in the register access macros for 16 and 8
bit accesses.  It also updates the default configuration files for the
2.6.7 kernel.

22 years ago[ARM PATCH] 1920/1: S3C2410 - register definition fix
Ben Dooks [Wed, 9 Jun 2004 01:03:10 +0000 (02:03 +0100)]
[ARM PATCH] 1920/1: S3C2410 - register definition fix

Patch from Ben Dooks

Fix for multiple definition of the same item in the GPIO and IRQ
register includes

22 years agoNTFS: 2.1.13 - Enable overwriting of resident files and housekeeping of system files.
Anton Altaparmakov [Tue, 8 Jun 2004 12:36:54 +0000 (13:36 +0100)]
NTFS: 2.1.13 - Enable overwriting of resident files and housekeeping of system files.
- Mark the volume dirty when (re)mounting read-write and mark it clean
  when unmounting or remounting read-only.  If any volume errors are
  found, the volume is left marked dirty to force chkdsk to run.
- Add code to set the NT4 compatibility flag when (re)mounting
  read-write for newer NTFS versions but leave it commented out for now
  since we do not make any modifications that are NTFS 1.2 specific yet
  and since setting this flag breaks Captive-NTFS which is not nice.
  This code must be enabled once we start writing NTFS 1.2 specific
  changes otherwise Windows NTFS driver might crash / cause corruption.
- Fix a silly bug that caused a deadlock in ntfs_mft_writepage().
  For inode 0, i.e. $MFT itself, we cannot use ilookup5() from
  there because the inode is already locked by the kernel
  (fs/fs-writeback.c::__sync_single_inode()) and ilookup5() waits
  until the inode is unlocked before returning it and it never gets
  unlocked because ntfs_mft_writepage() never returns.  )-:
  Fortunately, we have inode 0 pinned in icache for the duration
  of the mount so we can access it directly.

Signed-off-by: Anton Altaparmakov <aia21@cantab.net>
22 years agoMerge cantab.net:/home/src/ntfs-2.6
Anton Altaparmakov [Tue, 8 Jun 2004 10:06:07 +0000 (11:06 +0100)]
Merge cantab.net:/home/src/ntfs-2.6
into cantab.net:/home/src/ntfs-2.6-devel

22 years agoMerge bk://linux-mtd.bkbits.net/sbc8260-2.6
Linus Torvalds [Tue, 8 Jun 2004 07:18:34 +0000 (00:18 -0700)]
Merge bk://linux-mtd.bkbits.net/sbc8260-2.6
into evo.osdl.org:/home/torvalds/v2.6/linux

22 years agoMerge linux-mtd@bkbits.net:sbc8260-2.6
David Woodhouse [Tue, 8 Jun 2004 20:55:14 +0000 (21:55 +0100)]
Merge linux-mtd@bkbits.net:sbc8260-2.6
into dwmw2.baythorne.internal:/inst/bk/sbc8260-2.6

22 years agoAdd WindRiver PowerQUICC II flash map driver
David Woodhouse [Tue, 8 Jun 2004 20:47:33 +0000 (21:47 +0100)]
Add WindRiver PowerQUICC II flash map driver

22 years agoWind River PowerQUICC II SBC82xx update:
David Woodhouse [Tue, 8 Jun 2004 20:46:28 +0000 (21:46 +0100)]
Wind River PowerQUICC II SBC82xx update:
 - Switch to using u-boot bdinfo.
 - Set up CS11 for RTC if the bootloader didn't bother.
 - Set BOOTROM_RESTART_ADDR so machine_restart() actually works.
 - For non-uboot boot, note bus clock is 66MHz on 8265 model.

22 years agoMerge linux-mtd@bkbits.net:sbc8260-2.6
David Woodhouse [Tue, 8 Jun 2004 19:55:07 +0000 (20:55 +0100)]
Merge linux-mtd@bkbits.net:sbc8260-2.6
into dwmw2.baythorne.internal:/inst/bk/sbc8260-2.6

22 years ago[PATCH] Fix semaphore downgrade_write()
David Howells [Tue, 8 Jun 2004 05:10:44 +0000 (22:10 -0700)]
[PATCH] Fix semaphore downgrade_write()

Stop downgrade_write() from under-adjusting the rwsem counter in optimised
rw-semaphores.

Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years agoMerge bk://gkernel.bkbits.net/net-drivers-2.6
Linus Torvalds [Tue, 8 Jun 2004 04:51:17 +0000 (21:51 -0700)]
Merge bk://gkernel.bkbits.net/net-drivers-2.6
into evo.osdl.org:/home/torvalds/v2.6/linux

22 years ago[PATCH] e1000: fix napi crash on ifdown during traffic
Jesse Brandeburg [Tue, 8 Jun 2004 10:36:38 +0000 (06:36 -0400)]
[PATCH] e1000: fix napi crash on ifdown during traffic

Signed off by: Jesse Brandeburg

22 years ago[PATCH] Fix tulip deadlocks on device removal
Andrew Morton [Tue, 8 Jun 2004 10:33:48 +0000 (06:33 -0400)]
[PATCH] Fix tulip deadlocks on device removal

From: Carl-Daniel Hailfinger <c-d.hailfinger.kernel.2004@gmx.net>

Handle going-away devices.

22 years ago[PATCH] Fixed MCA resource bugs in at1700
Herbert Xu [Tue, 8 Jun 2004 10:32:21 +0000 (06:32 -0400)]
[PATCH] Fixed MCA resource bugs in at1700

This patch fixes an incorrect MCA check as well as a leak on probe
failure in at1700.

22 years ago[PATCH] Fix netdev leak on probe failure in 3c527
Herbert Xu [Tue, 8 Jun 2004 10:32:12 +0000 (06:32 -0400)]
[PATCH] Fix netdev leak on probe failure in 3c527

This patch frees the netdev on failure in mc32_probe in 3c527.

22 years ago[PATCH] epic100 fixes
Alan Cox [Tue, 8 Jun 2004 10:11:12 +0000 (06:11 -0400)]
[PATCH] epic100 fixes

"Gee it works better if you turn the chip on before programming it"

The ioctl to ethtool change broke that little detail...

I made the changes, Jeff agreed in principle, Red Hat owns them and I know
no reason they can't be contributed under the GPL v2 or later.

Requires: ethtool change

22 years ago[PATCH] ethtool power manglement hooks
Alan Cox [Tue, 8 Jun 2004 10:11:04 +0000 (06:11 -0400)]
[PATCH] ethtool power manglement hooks

Several ethernet drivers have been broken by the ethtool support because
the ioctl code used to power the interface up and down as needed. Rather
than add this to each driver call Jeff Garzik suggested we add hooks
for before/after ethtool processing.

This patch implements them which makes fixing the PM stuff easier,
as the epic100 patch to follow will show. It also cleans up the
via-velocity driver pm/ethtool logic a great deal. As per Jeff's
request the before handler is allowed to fail the operation.

--

The contribution herein included is a creation of Red Hat Inc. It is hereby
submitted under the license of the existing files and as a derivative work
thereof. I know of no reason for not having the right to submit the
work herein included.

(Bluff your way in legalese ;))

22 years agoMerge http://linux.bkbits.net/linux-2.6
David Woodhouse [Tue, 8 Jun 2004 04:51:14 +0000 (21:51 -0700)]
Merge http://linux.bkbits.net/linux-2.6
into hostme.bitkeeper.com:/repos/l/linux-mtd/sbc8260-2.6

22 years ago[PATCH] Make tda1004x DVB frontend driver work again
Michael Hunold [Tue, 8 Jun 2004 04:31:45 +0000 (21:31 -0700)]
[PATCH] Make tda1004x DVB frontend driver work again

Adrian Bunk noticed that the tda1004x DVB frontend driver was broken and
sent a small patch that at least made the driver work again.

There was a discussion afterwards about the kernel syscall interface,
but at the end, the tda1004x DVB frontend driver is still non-functional.

This re-applies the temporary band-aid.

22 years agoMerge bk://linux.bkbits.net/linux-2.5
Steve French [Tue, 8 Jun 2004 03:47:04 +0000 (20:47 -0700)]
Merge bk://linux.bkbits.net/linux-2.5
into hostme.bitkeeper.com:/repos/c/cifs/linux-2.5cifs

22 years ago[PATCH] Make paca xCurrent field be a pointer
Paul Mackerras [Tue, 8 Jun 2004 02:27:15 +0000 (19:27 -0700)]
[PATCH] Make paca xCurrent field be a pointer

The paca struct contains a pointer to the current task, which is used
for the `current' macro.  For some reason, this field is a u64, and
every time we use it we need a cast, because it is really a pointer.
This patch cleans things up a little by making it a pointer to struct
task_struct and removing the casts.  It also removes a now-incorrect
comment which said that r13 contains current (it now holds
&paca[smp_processor_id()]).

Signed-off-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] Single-stepping emulated instructions
Paul Mackerras [Tue, 8 Jun 2004 02:27:01 +0000 (19:27 -0700)]
[PATCH] Single-stepping emulated instructions

Occasionally the ppc64 kernel emulates a usermode instruction, for
example in the alignment exception handler.  Kumar Gala pointed out
(in the context of the ppc32 kernel) that if the instruction was being
single-stepped, and we end up emulating the instruction, we should
then send the process a SIGTRAP as if it had not been emulated and the
process had then taken a single-step exception.  This patch implements
this for ppc64.

Signed-off-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years agoMerge bk://kernel.bkbits.net/davem/net-2.6
Linus Torvalds [Tue, 8 Jun 2004 00:57:50 +0000 (17:57 -0700)]
Merge bk://kernel.bkbits.net/davem/net-2.6
into evo.osdl.org:/home/torvalds/v2.6/linux

22 years agoMerge bk://kernel.bkbits.net/gregkh/linux/usb-fix-2.6
Linus Torvalds [Tue, 8 Jun 2004 00:55:45 +0000 (17:55 -0700)]
Merge bk://kernel.bkbits.net/gregkh/linux/usb-fix-2.6
into evo.osdl.org:/home/torvalds/v2.6/linux

22 years agohandle partial page update of page in cache that is not uptodate better for the situa...
Steve French [Mon, 7 Jun 2004 18:01:51 +0000 (13:01 -0500)]
handle partial page update of page in cache that is not uptodate better for the situation in which file is open writeonly

Signed-off-by: Steve French <sfrench@us.ibm.com>
22 years agoMake stats display more consistent - under /proc/fs/cifs/Stats
Steve French [Mon, 7 Jun 2004 17:13:21 +0000 (12:13 -0500)]
Make stats display more consistent - under /proc/fs/cifs/Stats

Signed-off-by: Steve French <sfrench@us.ibm.com>
22 years agoMerge davem@nuts.davemloft.net:/disk1/BK/net-2.6
David S. Miller [Mon, 7 Jun 2004 12:09:16 +0000 (05:09 -0700)]
Merge davem@nuts.davemloft.net:/disk1/BK/net-2.6
into kernel.bkbits.net:/home/davem/net-2.6

22 years agoNTFS: Add functions ntfs_{clear,set}_volume_flags(), to modify the volume
Anton Altaparmakov [Mon, 7 Jun 2004 11:40:50 +0000 (12:40 +0100)]
NTFS: Add functions ntfs_{clear,set}_volume_flags(), to modify the volume
      information flags (fs/ntfs/super.c).

Signed-off-by: Anton Altaparmakov <aia21@cantab.net>
22 years agoMerge cantab.net:/home/src/ntfs-2.6
Anton Altaparmakov [Mon, 7 Jun 2004 10:43:59 +0000 (11:43 +0100)]
Merge cantab.net:/home/src/ntfs-2.6
into cantab.net:/home/src/ntfs-2.6-devel

22 years agoMerge bk://linux.bkbits.net/linux-2.5
Steve French [Mon, 7 Jun 2004 10:06:33 +0000 (03:06 -0700)]
Merge bk://linux.bkbits.net/linux-2.5
into hostme.bitkeeper.com:/repos/c/cifs/linux-2.5cifs

22 years agofix up whitespace
Steve French [Mon, 7 Jun 2004 13:02:58 +0000 (08:02 -0500)]
fix up whitespace

Signed-off-by: Steve French <sfrench@us.ibm.com>
22 years agoAdd 2 missing kmalloc failure checks during cifs mount time
Steve French [Mon, 7 Jun 2004 12:14:26 +0000 (07:14 -0500)]
Add 2 missing kmalloc failure checks during cifs mount time

Signed-off-by: Yury Umanets <torque@ukrpost.net>
Signed-off-by: Steve French <sfrench@us.ibm.com>
22 years agoFix race in updating tcpStatus field
Steve French [Mon, 7 Jun 2004 10:33:40 +0000 (05:33 -0500)]
Fix race in updating tcpStatus field

22 years ago[NETFILTER]: Put arpt_mutex back into arp_tables.c
David S. Miller [Mon, 7 Jun 2004 09:21:38 +0000 (02:21 -0700)]
[NETFILTER]: Put arpt_mutex back into arp_tables.c

22 years ago[TCP]: Add receive DRS info to tcp_info.
Stephen Hemminger [Mon, 7 Jun 2004 08:28:12 +0000 (01:28 -0700)]
[TCP]: Add receive DRS info to tcp_info.

22 years ago[TCP]: Update tcp_get_info() comments in net/tcp.h
Stephen Hemminger [Mon, 7 Jun 2004 08:27:26 +0000 (01:27 -0700)]
[TCP]: Update tcp_get_info() comments in net/tcp.h

22 years ago[PATCH] USB devio.c: deadlock fix
Duncan Sands [Mon, 7 Jun 2004 07:21:48 +0000 (00:21 -0700)]
[PATCH] USB devio.c: deadlock fix

proc_resetdevice is called with dev->serialize held.
usb_reset_device takes dev->serialize and then calls
__usb_reset_device.  To avoid deadlock, proc_resetdevice
should call __usb_reset_device directly.

Signed-off-by: Duncan Sands <baldrick@free.fr>
Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
22 years ago[PATCH] i386 defconfig update
Andrew Morton [Mon, 7 Jun 2004 07:14:47 +0000 (00:14 -0700)]
[PATCH] i386 defconfig update

Updates i386 defconfig.  I simply ran `make oldconfig' and selected `m' where
it was available, otherwise `y'.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] make buildcheck missing hunk
Andrew Morton [Mon, 7 Jun 2004 07:14:37 +0000 (00:14 -0700)]
[PATCH] make buildcheck missing hunk

Forgot to update the top-level makefile to invoke the new reference_init
script.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] USB: enable pwc usb camera driver
Kai Engert [Mon, 7 Jun 2004 07:08:08 +0000 (00:08 -0700)]
[PATCH] USB: enable pwc usb camera driver

The attached patch enables the pwc driver included with kernel 2.6.7-rc2

It also removes the warnings during compilation.
However, note that I blindly duplicated the release approach used by
other usb camera drivers, replacing the current no-op.

The driver works for me with a Logitech QuickCam Notebook Pro and
GnomeMeeting.

Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
22 years ago[PATCH] USB: Fix problems with cyberjack usb-serial-module since kernel 2.6.2
Siegfried Hildebrand [Mon, 7 Jun 2004 07:05:59 +0000 (00:05 -0700)]
[PATCH] USB: Fix problems with cyberjack usb-serial-module since kernel 2.6.2

> Send me a patch to back those changes out to fix your device and I'll
> apply it.  If the author is around to realize this, that should wake
> them up :)

Ok, here you are! :)
Attached is a patch for linux-2.6.7-rc2. (though the patch hasn't changed
since -rc1)

Again a short description:
(the patch removes most of the changes done in linux-2.6.2)
1. Removed the local buffer of cyberjack_write, because something goes wrong
upon a write-request bigger than the buffer. Without this, a write-request
stalls with error -3.
2. Removed some usb_clear_halt() lines. Without this, the device doesn't even
open and returns -7.

It works for my cyberjack pinpad USB card reader on
- nforce2 chipset
- VIA KM266 chipset
- AMD Irongate chipset

Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
22 years agoLinux 2.6.7-rc3 v2.6.7-rc3
Linus Torvalds [Mon, 7 Jun 2004 05:08:04 +0000 (22:08 -0700)]
Linux 2.6.7-rc3

22 years agoinput: Exclude tasklet changes to i8042.c
Vojtech Pavlik [Mon, 7 Jun 2004 14:56:10 +0000 (16:56 +0200)]
input: Exclude tasklet changes to i8042.c

Signed-off-by: Vojtech Pavlik <vojtech@suse.cz>
22 years agoMerge suse.cz:/home/vojtech/bk/linus
Vojtech Pavlik [Mon, 7 Jun 2004 13:58:20 +0000 (15:58 +0200)]
Merge suse.cz:/home/vojtech/bk/linus
into suse.cz:/home/vojtech/bk/for-linus

22 years agoMerge bk://linux.bkbits.net/linux-2.5
Steve French [Mon, 7 Jun 2004 03:16:34 +0000 (20:16 -0700)]
Merge bk://linux.bkbits.net/linux-2.5
into hostme.bitkeeper.com:/repos/c/cifs/linux-2.5cifs

22 years agoMerge bk://kernel.bkbits.net/davem/sparc-2.6
Linus Torvalds [Sun, 6 Jun 2004 13:43:33 +0000 (06:43 -0700)]
Merge bk://kernel.bkbits.net/davem/sparc-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux