]> git.neil.brown.name Git - history.git/log
history.git
23 years ago[PATCH] redundant declarations (#3_15)
Thomas 'Dent' Mirlacher [Mon, 15 Jul 2002 05:59:49 +0000 (22:59 -0700)]
[PATCH] redundant declarations (#3_15)

 this patch fixes redundant declarations in 2.5.24

23 years ago[PATCH] Typo in linux_fs_partitions_msdos.c
James Mayer [Mon, 15 Jul 2002 05:59:36 +0000 (22:59 -0700)]
[PATCH] Typo in linux_fs_partitions_msdos.c

23 years ago[PATCH] Don't always ask about Intel RNGs
Tom Rini [Mon, 15 Jul 2002 05:59:21 +0000 (22:59 -0700)]
[PATCH] Don't always ask about Intel RNGs

 Hello.  The following patch hides the option for Intel (i8x0) RNG
 support when it's not a useful option.  This is based off of a patch
 That was accepted in 2.4.19-pre6.  While I suspect this is an ia32-only
 option, it is possible that it's used on ia64 as well, so we test for
 both before offering Intel i8x0 RNG support.

23 years ago[PATCH] Typo in linux_net_sunrpc_xprt.c
James Mayer [Mon, 15 Jul 2002 05:59:08 +0000 (22:59 -0700)]
[PATCH] Typo in linux_net_sunrpc_xprt.c

23 years ago[PATCH] PATCH 2.5: kconfig use of $ARCH (5_12)
Greg Banks [Mon, 15 Jul 2002 05:58:55 +0000 (22:58 -0700)]
[PATCH] PATCH 2.5: kconfig use of $ARCH (5_12)

 Use of the $ARCH variable is undocumented; the sparc and sparc64 ports
 define the bool constants CONFIG_SPARC32 and CONFIG_SPARC64 respectively
 for this purpose.

23 years ago[PATCH] Typos in linux_drivers_mtd_devices_blkmtd.c
James Mayer [Mon, 15 Jul 2002 05:58:42 +0000 (22:58 -0700)]
[PATCH] Typos in linux_drivers_mtd_devices_blkmtd.c

23 years ago[PATCH] PATCH 2.5: kconfig missing EXPERIMENTAL 2 (1_7)
Greg Banks [Mon, 15 Jul 2002 05:58:31 +0000 (22:58 -0700)]
[PATCH] PATCH 2.5: kconfig missing EXPERIMENTAL 2 (1_7)

  Three symbols CONFIG_SCSI_CUMANA_1, CONFIG_SCSI_ECOSCSI, and CONFIG_SCSI_OAK1
  depend on CONFIG_EXPERIMENTAL but do not say so in their banners.

23 years ago[PATCH] Typo in linux_net_ipv4_tcp.c
James Mayer [Mon, 15 Jul 2002 05:58:20 +0000 (22:58 -0700)]
[PATCH] Typo in linux_net_ipv4_tcp.c

23 years ago[PATCH] make Alpha use generic copy_siginfo_to_user
Stephen Rothwell [Mon, 15 Jul 2002 05:58:05 +0000 (22:58 -0700)]
[PATCH] make Alpha use generic copy_siginfo_to_user

  Having looked closer than before, it seems that Alpha can
  use the generic copy_siginfo_to_user function.

23 years ago[PATCH] Warning fix for i386 io apic
Arnaud S. Launay [Mon, 15 Jul 2002 05:57:44 +0000 (22:57 -0700)]
[PATCH] Warning fix for i386 io apic

  Patch enclosed to correct the following warning in 2.5.20.

  io_apic.c:223: warning: `move' defined but not used

  I discussed it with Rusty, so I extended the SMP part and
  declared a null function for UP (my first thought was to #ifdef
  balance_irq() ).

23 years ago[PATCH] PATCH 2.5: kconfig spurious bool default value (2_3)
Greg Banks [Mon, 15 Jul 2002 05:57:22 +0000 (22:57 -0700)]
[PATCH] PATCH 2.5: kconfig spurious bool default value (2_3)

 Some CML1 rule contributors seem to think that the "bool" statement
 takes a third argument which is the default value.  It doesn't.

23 years ago[PATCH] Typo in linux_net_unix_af_unix.c
James Mayer [Mon, 15 Jul 2002 05:57:05 +0000 (22:57 -0700)]
[PATCH] Typo in linux_net_unix_af_unix.c

23 years ago[PATCH] Typo in linux_arch_ppc64_kernel_pSeries_pci.c
James Mayer [Mon, 15 Jul 2002 05:56:54 +0000 (22:56 -0700)]
[PATCH] Typo in linux_arch_ppc64_kernel_pSeries_pci.c

23 years ago[PATCH] Typo in linux_include_linux_brlock.h
James Mayer [Mon, 15 Jul 2002 05:56:42 +0000 (22:56 -0700)]
[PATCH] Typo in linux_include_linux_brlock.h

23 years ago[PATCH] Maxium inline patch is 40 kilobytes, not kilobits
Petri T. Koistinen [Mon, 15 Jul 2002 05:56:28 +0000 (22:56 -0700)]
[PATCH] Maxium inline patch is 40 kilobytes, not kilobits

23 years ago[PATCH] PATCH 2.5: kconfig spurious bool default value (3_3)
Greg Banks [Mon, 15 Jul 2002 05:56:14 +0000 (22:56 -0700)]
[PATCH] PATCH 2.5: kconfig spurious bool default value (3_3)

 Some CML1 rule contributors seem to think that the "bool" statement
 takes a third argument which is the default value.  It doesn't.

23 years ago[PATCH] PATCH 2.5: kconfig use of $ARCH (11_12)
Greg Banks [Mon, 15 Jul 2002 05:56:00 +0000 (22:56 -0700)]
[PATCH] PATCH 2.5: kconfig use of $ARCH (11_12)

 Use of the $ARCH variable is undocumented; the sparc and sparc64 ports
 define the bool constants CONFIG_SPARC32 and CONFIG_SPARC64 respectively
 for this purpose.

23 years ago[PATCH] [PATCH 2.5.20] typo in quotas config
Alexander Riesen [Mon, 15 Jul 2002 05:55:45 +0000 (22:55 -0700)]
[PATCH] [PATCH 2.5.20] typo in quotas config

 The entry for quota with 32bit UID/GID support is named "VFS v0...".

23 years ago[PATCH] 3c509.c compile fix for 2.5
James Morris [Mon, 15 Jul 2002 05:55:30 +0000 (22:55 -0700)]
[PATCH] 3c509.c compile fix for 2.5

23 years ago[PATCH] Typo in linux_fs_pipe.c
James Mayer [Mon, 15 Jul 2002 05:55:13 +0000 (22:55 -0700)]
[PATCH] Typo in linux_fs_pipe.c

23 years ago[PATCH] redundant declarations (#8_15)
Thomas 'Dent' Mirlacher [Mon, 15 Jul 2002 05:55:02 +0000 (22:55 -0700)]
[PATCH] redundant declarations (#8_15)

 this patch fixes redundant declarations in 2.5.24
 (same as sent yesterday, but this time automacially splitted
 into several mails)

23 years ago[PATCH] PATCH 2.5: kconfig missing EXPERIMENTAL 2 (5_7)
Greg Banks [Mon, 15 Jul 2002 05:54:50 +0000 (22:54 -0700)]
[PATCH] PATCH 2.5: kconfig missing EXPERIMENTAL 2 (5_7)

  Symbol CONFIG_NUMA for alpha port depends on CONFIG_EXPERIMENTAL but does
  not say so in its banner.

23 years ago[PATCH] Typo in linux_arch_ia64_sn_fakeprom_README
James Mayer [Mon, 15 Jul 2002 05:54:37 +0000 (22:54 -0700)]
[PATCH] Typo in linux_arch_ia64_sn_fakeprom_README

23 years ago[PATCH] 2.5.24 drivers_usb_core_hcd.c for DocBook
Keith Owens [Mon, 15 Jul 2002 05:54:27 +0000 (22:54 -0700)]
[PATCH] 2.5.24 drivers_usb_core_hcd.c for DocBook

 '**' in comments misleads DocBook, the comment is for a structure that
 DocBook cannot handle.

23 years ago[PATCH] 2.5 i_size_high fixup
Andreas Dilger [Mon, 15 Jul 2002 05:54:15 +0000 (22:54 -0700)]
[PATCH] 2.5 i_size_high fixup

 this patch is a minor fixup to ext2/inode.c to avoid displaying the
 high 32 bits of the size for anything other than regular files.  For
 sockets, pipes, symlinks, etc it doesn't make sense to have a value
 larger than 2GB, and this has already been fixed in ext3 and e2fsprogs.

23 years ago[PATCH] s390 LOG_BUF_LEN.
Martin Schwidefsky [Mon, 15 Jul 2002 05:54:04 +0000 (22:54 -0700)]
[PATCH] s390 LOG_BUF_LEN.

 Enlarge the log buffer in printk to 128K for s390/s390x.

23 years ago[PATCH] Typo in linux_drivers_net_aironet4500_rid.c
James Mayer [Mon, 15 Jul 2002 05:53:50 +0000 (22:53 -0700)]
[PATCH] Typo in linux_drivers_net_aironet4500_rid.c

23 years ago[PATCH] PATCH 2.5: kconfig missing EXPERIMENTAL 2 (2_7)
Greg Banks [Mon, 15 Jul 2002 05:53:33 +0000 (22:53 -0700)]
[PATCH] PATCH 2.5: kconfig missing EXPERIMENTAL 2 (2_7)

 Symbol CONFIG_SOFTWARE_SUSPEND depends on CONFIG_EXPERIMENTAL but does
 not say so in its banner.

23 years ago[PATCH] 2.5.24 Documentation_DocBook_kernel-api.tmpl
Keith Owens [Mon, 15 Jul 2002 05:53:23 +0000 (22:53 -0700)]
[PATCH] 2.5.24 Documentation_DocBook_kernel-api.tmpl

 Documentation/DocBook/kernel-api.tmpl includes code that has no
 documentation on 2.5.24, the empty sections mess up the sgml.  Comment
 out these sections until sombody adds docs to the code.

23 years ago[PATCH] PATCH 2.5: kconfig synchronise banners 2 (3_3)
Greg Banks [Mon, 15 Jul 2002 05:53:11 +0000 (22:53 -0700)]
[PATCH] PATCH 2.5: kconfig synchronise banners 2 (3_3)

 1/8 definitions of CONFIG_VGA_CONSOLE have trivially different banners.

23 years ago[PATCH] Make CRIS use generic copy_siginfo_to_user
Stephen Rothwell [Mon, 15 Jul 2002 05:53:00 +0000 (22:53 -0700)]
[PATCH] Make CRIS use generic copy_siginfo_to_user

 The CRIS architecture is also able to use the generic
 copy_siginfo_to_user.

23 years ago[PATCH] Typo in arch_mips_dec_wbflush.c
James Mayer [Mon, 15 Jul 2002 05:52:50 +0000 (22:52 -0700)]
[PATCH] Typo in arch_mips_dec_wbflush.c

23 years ago[PATCH] namespace.c - compiler warning
Robert Kuebel [Mon, 15 Jul 2002 05:52:41 +0000 (22:52 -0700)]
[PATCH] namespace.c - compiler warning

 init_rootfs() (from ramfs) doesn't appear in any header file.  I didn't
 see any that looked like a good home, so lets put a prototype at the top
 of fs/namespace.c.  This only use of this function is in namespace.c.

23 years ago[PATCH] Typo in linux_drivers_scsi_ncr53c8xx.c
James Mayer [Mon, 15 Jul 2002 05:52:31 +0000 (22:52 -0700)]
[PATCH] Typo in linux_drivers_scsi_ncr53c8xx.c

23 years ago[PATCH] PATCH 2.5: kconfig missing EXPERIMENTAL 2 (7_7)
Greg Banks [Mon, 15 Jul 2002 05:52:20 +0000 (22:52 -0700)]
[PATCH] PATCH 2.5: kconfig missing EXPERIMENTAL 2 (7_7)

 Symbol CONFIG_SOFTWARE_SUSPEND depends on CONFIG_EXPERIMENTAL but does
 not say so in its banner.

23 years ago[PATCH] Typos in linux_drivers_net_wireless_airo.c
James Mayer [Mon, 15 Jul 2002 05:52:11 +0000 (22:52 -0700)]
[PATCH] Typos in linux_drivers_net_wireless_airo.c

23 years ago[PATCH] redundant declarations (#10_15)
Thomas 'Dent' Mirlacher [Mon, 15 Jul 2002 05:51:51 +0000 (22:51 -0700)]
[PATCH] redundant declarations (#10_15)

 this patch fixes redundant declarations in 2.5.24
 (same as sent yesterday, but this time automacially splitted
 into several mails)

23 years ago[PATCH] PATCH 2.5: update CREDITS
Greg Banks [Mon, 15 Jul 2002 05:51:34 +0000 (22:51 -0700)]
[PATCH] PATCH 2.5: update CREDITS

 Details over 2 years out of date.

23 years ago[PATCH] PATCH 2.5: kconfig wrong arch symbol 2
Greg Banks [Mon, 15 Jul 2002 05:51:24 +0000 (22:51 -0700)]
[PATCH] PATCH 2.5: kconfig wrong arch symbol 2

  The arch-determining symbol CONFIG_SH in drivers/mtd/maps/Config.in
  should be CONFIG_SUPERH.

  [Rusty: this is a resend of 'PATCH 2.5: kconfig wrong arch symbol';
   it should apply now that my earlier patch which trod on the context
   has been merged into 2.5.24]

23 years ago[PATCH] Typo in linux_drivers_scsi_seagate.c
James Mayer [Mon, 15 Jul 2002 05:51:15 +0000 (22:51 -0700)]
[PATCH] Typo in linux_drivers_scsi_seagate.c

23 years ago[PATCH] PATCH 2.5: kconfig use of $ARCH (1_12)
Greg Banks [Mon, 15 Jul 2002 05:51:02 +0000 (22:51 -0700)]
[PATCH] PATCH 2.5: kconfig use of $ARCH (1_12)

 Use of the $ARCH variable is undocumented; the alpha port defines the
 bool constant CONFIG_ALPHA for this purpose.

23 years ago[PATCH] PATCH 2.5: kconfig missing EXPERIMENTAL 2 (6_7)
Greg Banks [Mon, 15 Jul 2002 05:50:53 +0000 (22:50 -0700)]
[PATCH] PATCH 2.5: kconfig missing EXPERIMENTAL 2 (6_7)

 Symbol CONFIG_SGI_NEWPORT_GFX depends on CONFIG_EXPERIMENTAL but does
 not say so in its banner.

23 years ago[PATCH] missing static in lib_vsprinf.c
Andrey Panin [Mon, 15 Jul 2002 05:50:44 +0000 (22:50 -0700)]
[PATCH] missing static in lib_vsprinf.c

 attached patch adds missing static modifiers for small_digits[] and
 large_digits[] arrays in the number() function from lib/vsprintf.c

 Patch against 2.5.25, should apply to 2.4.x.
 Please consider applying.

23 years ago[PATCH] PATCH 2.5: kconfig use of $ARCH (9_12)
Greg Banks [Mon, 15 Jul 2002 05:50:36 +0000 (22:50 -0700)]
[PATCH] PATCH 2.5: kconfig use of $ARCH (9_12)

 Use of the $ARCH variable is undocumented; the sparc and sparc64 ports
 define the bool constants CONFIG_SPARC32 and CONFIG_SPARC64 respectively
 for this purpose.

23 years ago[PATCH] PATCH 2.5: kconfig use of $ARCH (10_12)
Greg Banks [Mon, 15 Jul 2002 05:50:27 +0000 (22:50 -0700)]
[PATCH] PATCH 2.5: kconfig use of $ARCH (10_12)

 Use of the $ARCH variable is undocumented; the sparc and sparc64 ports
 define the bool constants CONFIG_SPARC32 and CONFIG_SPARC64 respectively
 for this purpose.

23 years ago[PATCH] cs46xx.c needs init.h
Stephen Rothwell [Mon, 15 Jul 2002 05:50:18 +0000 (22:50 -0700)]
[PATCH] cs46xx.c needs init.h

 This patch was included in 2.5.23, but removed in 2.5.24.  I guess
 I should have sent it to the maintainer in the first place ...

 This allows the cs46xx driver to build.

23 years ago[PATCH] redundant declarations (#12_15)
Thomas 'Dent' Mirlacher [Mon, 15 Jul 2002 05:50:09 +0000 (22:50 -0700)]
[PATCH] redundant declarations (#12_15)

 this patch fixes redundant declarations in 2.5.24
 (same as sent yesterday, but this time automacially splitted
 into several mails)

23 years agoAutomerge
Linus Torvalds [Sun, 14 Jul 2002 14:31:06 +0000 (07:31 -0700)]
Automerge

23 years agoFix&improve debugging checks in async io completion handlers.
Anton Altaparmakov [Mon, 15 Jul 2002 04:57:51 +0000 (05:57 +0100)]
Fix&improve debugging checks in async io completion handlers.
Beffers marked for async io must be locked!

23 years agoAutomerge
Linus Torvalds [Sun, 14 Jul 2002 14:28:06 +0000 (07:28 -0700)]
Automerge

23 years agodrivers/char/serial.c compile fix
Anton Altaparmakov [Mon, 15 Jul 2002 04:45:38 +0000 (05:45 +0100)]
drivers/char/serial.c compile fix

23 years ago[PATCH] 2.5.25 Clean up RPC receive code [part 2]
Trond Myklebust [Sun, 14 Jul 2002 14:27:06 +0000 (07:27 -0700)]
[PATCH] 2.5.25 Clean up RPC receive code [part 2]

  After getting rid of rpc_lock_task() from net/sunrpc/xprt.c (see the
previous patch), we can now remove it from the generic RPC queue
handling code.

23 years ago[PATCH] 2.5.25 Clean up RPC receive code
Trond Myklebust [Sun, 14 Jul 2002 14:26:44 +0000 (07:26 -0700)]
[PATCH] 2.5.25 Clean up RPC receive code

  Divorces task xid<->request slot mapping from the internals of the
rpc_waitqueue xprt->pending. Instead xprt_lookup_rqst() is made to
search a dedicated list (xprt->recv) on which the request slot is
placed immediately after being allocated to a task. The new queue is
protected using the spinlock xprt->sock_lock rather than the generic
RPC task lock.

  Both udp_data_ready() and tcp_data_ready() (well tcp_read_request()
actually) now need to protect against the request being removed from
the xprt->recv list while they copy the RPC reply data from the skb.
On the other hand, they no longer need to worry about the task
disappearing from xprt->pending. This means that rpc_lock_task() hack
can be replaced by the spinlock xprt->sock_lock.

23 years ago[PATCH] Fix NFS attribute caching bug
Trond Myklebust [Sun, 14 Jul 2002 14:26:27 +0000 (07:26 -0700)]
[PATCH] Fix NFS attribute caching bug

  Fixes an obvious bug in __nfs_refresh_inode(): after updating the
attribute cache, if we discover that the data cache is invalid don't
call nfs_zap_caches() as that will also reinvalidate the attribute
cache.
  This bug plays havoc with the new lookup/revalidation code in 2.4.19
since it forces a lot of unnecessary extra GETATTR RPC calls.

23 years ago[PATCH] sg driver against lk 2.5.25
Douglas Gilbert [Sun, 14 Jul 2002 12:27:21 +0000 (05:27 -0700)]
[PATCH] sg driver against lk 2.5.25

This patch is against lk 2.5.25 . It
  - fixes copy_from/to_user() [William Stinson from dj tree]
  - disables kiobuf use, so it will compile without kiobufs

The latter change is so Andrew Morton can remove kiobufs
as suggested in his "direct-to-BIO for O_DIRECT" thread.

23 years ago[PATCH] 2.5.25 end_request trivia
Martin Dalecki [Sun, 14 Jul 2002 12:26:26 +0000 (05:26 -0700)]
[PATCH] 2.5.25 end_request trivia

 - Make airo include tqueue.h, which is needed to make this driver
   compile at all again.

 - Adjust aztcd.c and sonycd535.c to the recent end_request() signature
   changes.

23 years ago[PATCH] bluesmoke fixes take 2.
Dave Jones [Sun, 14 Jul 2002 12:20:02 +0000 (05:20 -0700)]
[PATCH] bluesmoke fixes take 2.

From Andi Kleen:

Some fixes for CONFIG_X86_MCE_NONFATAL

Calling smp_call_function from interrupt context is forbidden

Unless I'm mistaken it would BUG on any box with more than two CPUs because
it would expect smp_call_function callback to run only on a single CPU??

Also handle the Hammer.

23 years agoMerge http://linuxconsole.bkbits.net:8080/dev
Linus Torvalds [Sun, 14 Jul 2002 11:14:26 +0000 (04:14 -0700)]
Merge http://linuxconsole.bkbits.net:8080/dev
into home.transmeta.com:/home/torvalds/v2.5/linux

23 years agoMerge bk://thebsh.namesys.com/bk/reiser3-linux-2.5
Linus Torvalds [Sun, 14 Jul 2002 11:11:58 +0000 (04:11 -0700)]
Merge bk://thebsh.namesys.com/bk/reiser3-linux-2.5
into home.transmeta.com:/home/torvalds/v2.5/linux

23 years ago[PATCH] error code for mprotect()
Hirofumi Ogawa [Sun, 14 Jul 2002 11:10:53 +0000 (04:10 -0700)]
[PATCH] error code for mprotect()

SuSv3 says: "The mprotect() function shall fail if:

  [EACCES]
    The prot argument specifies a protection that violates the access
    permission the process has to the underlying memory object.

  [EAGAIN]
    The prot argument specifies PROT_WRITE over a MAP_PRIVATE mapping and
    there are insufficient memory resources to reserve for locking the
    private page.

  [EINVAL]
    The addr argument is not a multiple of the page size as returned by
    sysconf().

  [ENOMEM]
    Addresses in the range [addr,addr+len) are invalid for the address
    space of a process, or specify one or more pages which are not mapped.

  [ENOMEM]
    The prot argument specifies PROT_WRITE on a MAP_PRIVATE mapping, and
    it would require more space than the system is able to supply for
    locking the private pages, if required.

  [ENOTSUP]
    The implementation does not support the combination of accesses
    requested in the prot argument."

This fixes error code of mprotect() of the ENOMEM case.

23 years ago[PATCH] error code for msync()
Hirofumi Ogawa [Sun, 14 Jul 2002 11:10:38 +0000 (04:10 -0700)]
[PATCH] error code for msync()

SuSv3 says: "The msync() function shall fail if:

[EBUSY]
    Some or all of the addresses in the range starting at addr and
    continuing for len bytes are locked, and MS_INVALIDATE is
    specified.

[EINVAL]
    The value of flags is invalid.

[EINVAL]
    The value of addr is not a multiple of the page size {PAGESIZE}.

[ENOMEM]
    The addresses in the range starting at addr and continuing for len
    bytes are outside the range allowed for the address space of a process
    or specify one or more pages that are not mapped."

This fixes error code of msync() of the EINVAL case.

23 years ago[PATCH] Allow non zero boot cpu
Anton Blanchard [Sun, 14 Jul 2002 11:08:49 +0000 (04:08 -0700)]
[PATCH] Allow non zero boot cpu

A partitioned ppc64 machine can have a boot cpuid anywhere from 0 to 31.
With the non linear cpu changes in 2.5.24 we must set up the initial task
to start on the boot cpu. (since it isnt always 0 now)

With this patch I am able to boot on cpus other than 0. I also tested
discontiguous cpuids. So the non linear cpu stuff checks out OK.

23 years ago[PATCH] Kill warning I introduces in eepro100
Pavel Machek [Sun, 14 Jul 2002 11:08:33 +0000 (04:08 -0700)]
[PATCH] Kill warning I introduces in eepro100

I introduced warning about 3 releases ago. This prototypes are
actually unneccessary and killing them makes warning go away. Please
apply,

23 years ago[PATCH] suspend-to-disk: cleanup printks(), rearrange reading
Pavel Machek [Sun, 14 Jul 2002 11:08:19 +0000 (04:08 -0700)]
[PATCH] suspend-to-disk: cleanup printks(), rearrange reading

I'd like Florent credited -- he is maintaining 2.4.X version and
helping with development. Kill warnings by rearranging code / adding
prototypes. Enable using separate console (so user sees progress and X
suspend/resume works properly), forward-port of updates from Florent
and stop using own PRINTK stuff (mostly). Reading now primarily uses
block_device(), this should enable more cleanups. Fixed double free on
error path.

23 years ago[PATCH] fix iounmap for non page aligned addresses
Andi Kleen [Sun, 14 Jul 2002 11:05:59 +0000 (04:05 -0700)]
[PATCH] fix iounmap for non page aligned addresses

This fixes a problem introduced by the pageattr ioremap/unmap patches.
iounmap lost the ability to free non page aligned addresses, which
are e.g. used by the bootflag code.  This patch fixes this.

Also fix a potential off by one bug.

23 years agoMerge http://linux-input.bkbits.net/linux-input
Linus Torvalds [Sun, 14 Jul 2002 11:04:57 +0000 (04:04 -0700)]
Merge http://linux-input.bkbits.net/linux-input
into home.transmeta.com:/home/torvalds/v2.5/linux

23 years ago[PATCH] smbfs - smbiod
Urban Widmark [Sun, 14 Jul 2002 10:55:25 +0000 (03:55 -0700)]
[PATCH] smbfs - smbiod

This patch for 2.5.25 is a rewrite of how smbfs builds requests. It allows
for more parallellism, better error handling and supporting oplocks with
further patches.

23 years agoRemove BKL from affs_rmdir() as per Roman Zippel
Linus Torvalds [Sun, 14 Jul 2002 10:52:04 +0000 (03:52 -0700)]
Remove BKL from affs_rmdir() as per Roman Zippel

23 years ago[PATCH] AFFS fix return without releasing BKL
Dave Hansen [Sun, 14 Jul 2002 10:48:06 +0000 (03:48 -0700)]
[PATCH] AFFS fix return without releasing BKL

This was found by Dan Carpenter <error27@email.com>, using an smatch
script.  Looks to me like like an error caused during all the BKL
pushing.  1 more coming...

Not tested (Greg, please don't hurt me :p )

23 years ago[PATCH] HPFS fix return without releasing BKL
Dave Hansen [Sun, 14 Jul 2002 10:47:52 +0000 (03:47 -0700)]
[PATCH] HPFS fix return without releasing BKL

This was found by Dan Carpenter <error27@email.com>, using an smatch
script.  Looks to me like like an error caused during all the BKL
pushing.

23 years ago[PATCH] fix timer interrupts on NUMA-Q
Martin J. Bligh [Sun, 14 Jul 2002 10:45:38 +0000 (03:45 -0700)]
[PATCH] fix timer interrupts on NUMA-Q

Since I turned on the IO-APICs on secondary quads, we are receiving
timer interrupts on *all* quads, not just the first quad, each from their
local timer chip. This causes time to progress far too rapidly ;-)

The simple patch below turns off the timer interrupts for IO-APICs other
than interrupt 0, and has been tested to fix the problem. As it switches
on clustered_apic_mode, it should be safe from hurting anyone else.

This fix is already in 2.4 - I'm playing catchup with 2.5 - the same patch
applies with just a line offset

23 years ago[PATCH] change Intel cache-detection code to use a table
Andy Grover [Sun, 14 Jul 2002 10:45:23 +0000 (03:45 -0700)]
[PATCH] change Intel cache-detection code to use a table

The current Intel-specific cache detection code is incomplete and hard to
read. This patch puts all the cache descriptors in a table, which then is
examined for matches in a loop.

23 years agoMerge http://linux-acpi.bkbits.net/linux-acpi
Linus Torvalds [Sun, 14 Jul 2002 10:42:40 +0000 (03:42 -0700)]
Merge http://linux-acpi.bkbits.net/linux-acpi
into home.transmeta.com:/home/torvalds/v2.5/linux

23 years ago[PATCH] 2.5.25 remove global semaphore_lock spin lock.
Bob Miller [Sun, 14 Jul 2002 10:36:55 +0000 (03:36 -0700)]
[PATCH] 2.5.25 remove global semaphore_lock spin lock.

Replace the global semaphore_lock with the spinlock embedded in
the wait_queue_head_t.  None of the data protected by semaphore_lock
is global and there is no need to restrict the system to only allow
one semaphore to be dealt with at a time.

This removes 2 lock round trips from __down() and __down_interruptible().
It also reduces the number of cache lines touched by 1 (the cache line
with seamphore_lock).

23 years ago[PATCH] msp3400 fix
Gerd Knorr [Sun, 14 Jul 2002 10:35:23 +0000 (03:35 -0700)]
[PATCH] msp3400 fix

The patch below fixes a minor memory leak (forgotten kfree() on
initialization errors) in the msp3400 module.

23 years ago[PATCH] bttv driver update
Gerd Knorr [Sun, 14 Jul 2002 10:35:09 +0000 (03:35 -0700)]
[PATCH] bttv driver update

This patch updates the bttv driver.  Changes:

 * moved much code to the generic video-buf.c helper module
   (bttv-driver.c, bttv-vbi.c, videobuf.c).
 * a number of changes in the card list and the card-specific code
   (bttv-cards.c).
 * misc small fixes here and there.

23 years ago[PATCH] bttv documentation update
Gerd Knorr [Sun, 14 Jul 2002 10:34:54 +0000 (03:34 -0700)]
[PATCH] bttv documentation update

This patch updates the bttv driver documentation.

23 years ago[PATCH] video4linux i2c modules
Gerd Knorr [Sun, 14 Jul 2002 10:34:39 +0000 (03:34 -0700)]
[PATCH] video4linux i2c modules

This patch fixes/improves the TDA8425 support in tvaudio.c.
It also makes the tvmixer and tvaudio modules look for i2c hardware on
riva cards (the rivatv project needs this).

23 years ago[PATCH] btaudio driver update
Gerd Knorr [Sun, 14 Jul 2002 10:34:26 +0000 (03:34 -0700)]
[PATCH] btaudio driver update

This patch updates the btaudio driver.  btaudio can automatically
configures the sampling rate for autodetected cards (by PCI Subsystem
ID) now.

23 years ago[PATCH] v4l: tuner module update
Gerd Knorr [Sun, 14 Jul 2002 10:34:11 +0000 (03:34 -0700)]
[PATCH] v4l: tuner module update

This patch adds support for a new philips tuner chip to the tuner
module.  It also makes the tuner module look for hardware on riva
cards.

23 years agoMerge bk://jfs.bkbits.net/linux-2.5
Linus Torvalds [Sun, 14 Jul 2002 10:32:23 +0000 (03:32 -0700)]
Merge bk://jfs.bkbits.net/linux-2.5
into home.transmeta.com:/home/torvalds/v2.5/linux

23 years ago[PATCH] type typo in do_softirq
Robert Love [Sun, 14 Jul 2002 10:28:58 +0000 (03:28 -0700)]
[PATCH] type typo in do_softirq

kernel/softirq.c :: do_softirq() has a typo in the type of the `cpu'
value.  I incorrectly set it to `unsigned long' in a previous patch...
this is a CPU value not a bitmask and is thus an `int'.

23 years ago[PATCH] use new list macro in sched.c
Robert Love [Sun, 14 Jul 2002 10:28:47 +0000 (03:28 -0700)]
[PATCH] use new list macro in sched.c

The attached patch makes use of the new list_move_tail macro in 2.5 as
needed in sched.c, replacing a list_del and list_add_tail combo with the
optimized list_move_tail.

23 years ago[PATCH] fix O_DIRECT oops
Andrew Morton [Sun, 14 Jul 2002 10:26:41 +0000 (03:26 -0700)]
[PATCH] fix O_DIRECT oops

inode->i_sb->s_bdev is NULL when the inode refers to a blockdev.
Use the get_block() result instead.

23 years ago[PATCH] direct-to-BIO for O_DIRECT
Andrew Morton [Sun, 14 Jul 2002 10:24:40 +0000 (03:24 -0700)]
[PATCH] direct-to-BIO for O_DIRECT

Here's a patch which converts O_DIRECT to go direct-to-BIO, bypassing
the kiovec layer.  It's followed by a patch which converts the raw
driver to use the O_DIRECT engine.

CPU utilisation is about the same as the kiovec-based implementation.
Read and write bandwidth are the same too, for 128k chunks.   But with
one megabyte chunks, this implementation is 20% faster at writing.

I assume this is because the kiobuf-based implementation has to stop
and wait for each 128k chunk, whereas this code streams the entire
request, regardless of its size.

This is with a single (oldish) scsi disk on aic7xxx.  I'd expect the
margin to widen on higher-end hardware which likes to have more
requests in flight.

Question is: what do we want to do with this sucker?  These are the
remaining users of kiovecs:

drivers/md/lvm-snap.c
drivers/media/video/video-buf.c
drivers/mtd/devices/blkmtd.c
drivers/scsi/sg.c

the video and mtd drivers seems to be fairly easy to de-kiobufize.
I'm aware of one proprietary driver which uses kiobufs.  XFS uses
kiobufs a little bit - just to map the pages.

So with a bit of effort and maintainer-irritation, we can extract
the kiobuf layer from the kernel.

23 years ago[PATCH] IDE 98
Martin Dalecki [Sun, 14 Jul 2002 10:20:46 +0000 (03:20 -0700)]
[PATCH] IDE 98

Synchronize with 2.5.25.

Incorporate IDE-94, as well as 95, 96, 97 and 98-pre as announced by Bartek and
unfortunately still not included in 2.5.25, which makes admittedly things
still fall appart:

Missing changelog for 98-pre by Bartlomiej Zolnierkiewicz (BTW.  Handling
Unicode should be essential at least to make proper crediting of many many
peoples possible!) follows here:

 - add missing channel->lock unlocking/locking and fix some comments
   in ide_timer_expiry()

 - allow PCI drivers to disable autodma in ->init_dma()
   (bug introduced in IDE 97, affects sl82c105.c only)

   noticed by Russell King

 - alim15x3.c, if revision is <= 0x20 disable autodma

 - remove unneeded checks (drive.dn > 3) from pdc202xx.c and sis5513.c

 - use block layer wrappers

And my additions follow:

 - Fix TCQ code. Patch based on work by Alexander Atanasov.

 - Use the FreeBSD derived request handler return values:

ATA_OP_FINISHED
ATA_OP_CONTINUES
ATA_OP_RELEASED
ATA_OP_READY /* for status ready reporting during poll */

 - PMAC compilation fix by Paul Mackerras.

 - Simplify the ata_status_poll function significantly.

 - Fix logic used to prevent drive IRQ assertion from drive on channels sharing
   our interrupt.

NOTE: We will move it later to the time where a request is really finished
soon.

 - Don't use ata_busy_poll() use ata_status_poll() instead. This increases code
   unification.

NOTE: We should maybe invent some way to prevent the error recovery path to be
taken at all. In esp to prevent ata_error from trying to reissue commands.

23 years ago[PATCH] A fix for futex
Rusty Russell [Sun, 14 Jul 2002 10:14:19 +0000 (03:14 -0700)]
[PATCH] A fix for futex

"getpid()" returns "tgid" not "pid", so this is correct.

Fix from Saurabh Desai.

23 years agoMark the dentry referenced at dput time.
Linus Torvalds [Sun, 14 Jul 2002 10:12:10 +0000 (03:12 -0700)]
Mark the dentry referenced at dput time.

23 years ago[PATCH] futex filesystem handling
Alexander Viro [Sun, 14 Jul 2002 10:07:57 +0000 (03:07 -0700)]
[PATCH] futex filesystem handling

Eeek....

futex.c is seriously b0rken.

23 years ago[PATCH] IEEE1394 updates
Ben Collins [Sun, 14 Jul 2002 10:03:02 +0000 (03:03 -0700)]
[PATCH] IEEE1394 updates

This is against 2.5.25. Lots of fixes. Brings things inline with 2.5.25.
Probably makes the subsystem actually work now (well, it will work, but
I bet without it, it doesn't). Merged in changes from the current 2.5.x
source.

23 years agoOnly allow sendfile() on destination descriptors that know
Linus Torvalds [Sun, 14 Jul 2002 10:02:32 +0000 (03:02 -0700)]
Only allow sendfile() on destination descriptors that know
about the "sendpage()" callback. Don't try to fall back on
a write with the page kmap'ed

23 years agoMerge http://linux-ntfs.bkbits.net/ntfs-tng-2.5
Linus Torvalds [Sun, 14 Jul 2002 09:55:01 +0000 (02:55 -0700)]
Merge http://linux-ntfs.bkbits.net/ntfs-tng-2.5
into home.transmeta.com:/home/torvalds/v2.5/linux

23 years agoNTFS: 2.0.20 - Support non-resident directory index bitmaps, fix page leak in readdir.
Anton Altaparmakov [Mon, 15 Jul 2002 00:45:14 +0000 (01:45 +0100)]
NTFS: 2.0.20 - Support non-resident directory index bitmaps, fix page leak in readdir.
- Move the directory index bitmap to use an attribute inode instead of
  having special fields for it inside the ntfs inode structure. This
  means that the index bitmaps now use the page cache for i/o, too,
  and also as a side effect we get support for non-resident index
  bitmaps for free.
- Simplify/cleanup error handling in fs/ntfs/dir.c::ntfs_readdir() and
  fix a page leak that manifested itself in some cases.
- Add fs/ntfs/inode.c::ntfs_put_inode(), which we need to release the
  index bitmap inode on the final iput().

23 years agoMerge http://linux-ntfs.bkbits.net/ntfs-tng-2.5
Linus Torvalds [Sun, 14 Jul 2002 05:27:03 +0000 (22:27 -0700)]
Merge http://linux-ntfs.bkbits.net/ntfs-tng-2.5
into home.transmeta.com:/home/torvalds/v2.5/linux

23 years agoMerge http://linuxusb.bkbits.net/linus-2.5
Linus Torvalds [Sun, 14 Jul 2002 05:26:03 +0000 (22:26 -0700)]
Merge http://linuxusb.bkbits.net/linus-2.5
into home.transmeta.com:/home/torvalds/v2.5/linux

23 years agoMerge bk://bk.arm.linux.org.uk
Linus Torvalds [Sun, 14 Jul 2002 05:24:28 +0000 (22:24 -0700)]
Merge bk://bk.arm.linux.org.uk
into home.transmeta.com:/home/torvalds/v2.5/linux

23 years agoMerge master.kernel.org:/home/davem/BK/misc-2.5
Linus Torvalds [Sun, 14 Jul 2002 04:56:32 +0000 (21:56 -0700)]
Merge master.kernel.org:/home/davem/BK/misc-2.5
into home.transmeta.com:/home/torvalds/v2.5/linux

23 years agoMerge master.kernel.org:/home/davem/BK/net-2.5
Linus Torvalds [Sun, 14 Jul 2002 04:52:10 +0000 (21:52 -0700)]
Merge master.kernel.org:/home/davem/BK/net-2.5
into home.transmeta.com:/home/torvalds/v2.5/linux

23 years agoModify i8042.c to be able to support non-isa based archs which
Vojtech Pavlik [Sat, 13 Jul 2002 22:31:04 +0000 (00:31 +0200)]
Modify i8042.c to be able to support non-isa based archs which
use i8042-alike keyboard controllers, namely PPC. Patch by
Franz Sirl.

23 years agoAdd key definitions for set-top boxes.
Vojtech Pavlik [Sat, 13 Jul 2002 17:54:27 +0000 (19:54 +0200)]
Add key definitions for set-top boxes.