]> git.hungrycats.org Git - linux/log
linux
23 years ago[PATCH] Rename config option CONFIG_V850E_MA1_HIGHRES_TIMER on v850
Miles Bader [Fri, 18 Jul 2003 03:12:33 +0000 (20:12 -0700)]
[PATCH] Rename config option CONFIG_V850E_MA1_HIGHRES_TIMER on v850

This feature is not actually MA1-specific, so get rid of the `MA1' in
the name.

23 years ago[PATCH] v850 miscellanea
Miles Bader [Fri, 18 Jul 2003 03:12:25 +0000 (20:12 -0700)]
[PATCH] v850 miscellanea

Some updated copyright noticed and an unnecessary variable deleted.

23 years ago[PATCH] Update v850 config/makefile
Miles Bader [Fri, 18 Jul 2003 03:12:17 +0000 (20:12 -0700)]
[PATCH] Update v850 config/makefile

This updates the v850 Kconfig and kernel/Makefile to reflect preceding
changes.

23 years ago[PATCH] Add v850 `sim85e2s' port, and cleanup v850e2 code
Miles Bader [Fri, 18 Jul 2003 03:12:08 +0000 (20:12 -0700)]
[PATCH] Add v850 `sim85e2s' port, and cleanup v850e2 code

This patch adds support for the `sim85e2s' simulation of the NA85E2S
processor implementation.  As part of this, cache-flushing support for
the common v850e2 cache implementation is added.

It also cleans up a bunch of code that was duplicated between different
v850e2 processors.

23 years ago[PATCH] Add v850 RTE-V850E/ME2-CB port
Miles Bader [Fri, 18 Jul 2003 03:11:24 +0000 (20:11 -0700)]
[PATCH] Add v850 RTE-V850E/ME2-CB port

This adds a port to the V850E/ME2 processor, and the `SolutionGear mini'
RTE-V850E/ME2-CB evaluation board.

23 years ago[PATCH] Add another layer of indirection for irq numbering with v850 `gbus' irqs
Miles Bader [Fri, 18 Jul 2003 03:11:15 +0000 (20:11 -0700)]
[PATCH] Add another layer of indirection for irq numbering with v850 `gbus' irqs

This allows ports that support the v850 RTE-CB `GBUS' interrupts to use
both them and processor-board-specific interrupts at the same time.

23 years ago[PATCH] Cleanup v850 cache-flushing code a bit
Miles Bader [Fri, 18 Jul 2003 03:11:09 +0000 (20:11 -0700)]
[PATCH] Cleanup v850 cache-flushing code a bit

(1) Add support for the V850E/ME2 processor

(2) Clean up the cache-flushing function naming a bit

(3) Similar to previous patches, rename everything from `nb85e' to `v850e'.
    This patch renames some files, and so contains a number of whole-file
    add/removes.

23 years ago[PATCH] Refactor v850 UART driver
Miles Bader [Fri, 18 Jul 2003 03:10:48 +0000 (20:10 -0700)]
[PATCH] Refactor v850 UART driver

The v850 family contains several related-but-not-identical on-chip
UARTs.  This patch factors out the common code and uses it to implement
both types (only one was supported before).

Also, this patch changes the way the v850 UART is initialized, to use
the same method as other linux serial drivers.

This patch renames the UART code to be `v850e_uart' rather than
`nb85e_uart', as the former is more correct.  As this change renames
some files too, the patch contains a number of whole-file add/removes.

23 years ago[PATCH] Rename `nb85e' to `v850e' on v850
Miles Bader [Fri, 18 Jul 2003 03:10:05 +0000 (20:10 -0700)]
[PATCH] Rename `nb85e' to `v850e' on v850

The term `nb85e' is incorrect (caused by my confusion when starting the
v850 port), so this renames all occurances to `v850e'.

Because this change renames some files too, it contains a number of
whole-file add/removes.

23 years agoManual merge
Linus Torvalds [Fri, 18 Jul 2003 02:56:15 +0000 (19:56 -0700)]
Manual merge

23 years ago[PATCH] Makefile bits for audio resync
Alan Cox [Fri, 18 Jul 2003 02:47:42 +0000 (19:47 -0700)]
[PATCH] Makefile bits for audio resync

23 years ago[PATCH] Kahlua audio driver
Alan Cox [Fri, 18 Jul 2003 02:47:35 +0000 (19:47 -0700)]
[PATCH] Kahlua audio driver

23 years ago[PATCH] Add Harmony OSS driver
Alan Cox [Fri, 18 Jul 2003 02:47:29 +0000 (19:47 -0700)]
[PATCH] Add Harmony OSS driver

(Jean-Christoph Vaugeois, Matthieu Delahaye,Helge Deller, Alex deVries)

23 years ago[PATCH] Add HAL2 driver
Alan Cox [Fri, 18 Jul 2003 02:47:22 +0000 (19:47 -0700)]
[PATCH] Add HAL2 driver

(Ladislav Michl)

23 years ago[PATCH] emu10k further updates/bug fixes
Alan Cox [Fri, 18 Jul 2003 02:47:14 +0000 (19:47 -0700)]
[PATCH] emu10k further updates/bug fixes

23 years ago[PATCH] illegal->invalid for dmasound
Alan Cox [Fri, 18 Jul 2003 02:47:07 +0000 (19:47 -0700)]
[PATCH] illegal->invalid for dmasound

23 years ago[PATCH] btaudio uses memset so should be strlcpy
Alan Cox [Fri, 18 Jul 2003 02:47:00 +0000 (19:47 -0700)]
[PATCH] btaudio uses memset so should be strlcpy

(I've got a patch pending from someone to redo the lot using memset so
its safe from padding suprises)

23 years ago[PATCH] fix unused symbol in ad1889
Alan Cox [Fri, 18 Jul 2003 02:46:53 +0000 (19:46 -0700)]
[PATCH] fix unused symbol in ad1889

(Francois Romieu)

23 years ago[PATCH] fix ver_linux for 2.6
Alan Cox [Fri, 18 Jul 2003 02:46:45 +0000 (19:46 -0700)]
[PATCH] fix ver_linux for 2.6

(Steven Cole)

23 years ago[PATCH] fix make rpm versioning
Alan Cox [Fri, 18 Jul 2003 02:46:39 +0000 (19:46 -0700)]
[PATCH] fix make rpm versioning

23 years ago[PATCH] correct author of ad1980 plugin
Alan Cox [Fri, 18 Jul 2003 02:46:32 +0000 (19:46 -0700)]
[PATCH] correct author of ad1980 plugin

(Overzealous C&P of Red Hat license template 8))

23 years ago[PATCH] fix failed sethostname corrupting the data
Alan Cox [Fri, 18 Jul 2003 02:46:25 +0000 (19:46 -0700)]
[PATCH] fix failed sethostname corrupting the data

(Stephan Maciej)

23 years ago[PATCH] fix a copy_user return
Alan Cox [Fri, 18 Jul 2003 02:46:18 +0000 (19:46 -0700)]
[PATCH] fix a copy_user return

23 years ago[PATCH] remove a now false comment
Alan Cox [Fri, 18 Jul 2003 02:46:11 +0000 (19:46 -0700)]
[PATCH] remove a now false comment

(Frank Cusack)

23 years ago[PATCH] fix a doc error and misleading printk
Alan Cox [Fri, 18 Jul 2003 02:46:05 +0000 (19:46 -0700)]
[PATCH] fix a doc error and misleading printk

23 years ago[PATCH] fix jffs2 build
Alan Cox [Fri, 18 Jul 2003 02:45:57 +0000 (19:45 -0700)]
[PATCH] fix jffs2 build

(Jamie Hicks)

23 years ago[PATCH] restore console log level when jbd raises it
Alan Cox [Fri, 18 Jul 2003 02:45:48 +0000 (19:45 -0700)]
[PATCH] restore console log level when jbd raises it

(Vita Samel)

maybe the set function should return the old value instead ?

23 years ago[PATCH] xjack pcmcia needs .. pcmcia
Alan Cox [Fri, 18 Jul 2003 02:45:40 +0000 (19:45 -0700)]
[PATCH] xjack pcmcia needs .. pcmcia

(Taral)

23 years ago[PATCH] serial proc gives info on keycounts which can sometiems be abused
Alan Cox [Fri, 18 Jul 2003 02:45:33 +0000 (19:45 -0700)]
[PATCH] serial proc gives info on keycounts which can sometiems be abused

For 2.4.x we made the file r-------- but for 2.6 we can do a nicer job

23 years ago[PATCH] sym53c8xxx wasnt updated to new irq code etc
Alan Cox [Fri, 18 Jul 2003 02:45:25 +0000 (19:45 -0700)]
[PATCH] sym53c8xxx wasnt updated to new irq code etc

23 years ago[PATCH] undefined shifts in qla1280
Alan Cox [Fri, 18 Jul 2003 02:45:19 +0000 (19:45 -0700)]
[PATCH] undefined shifts in qla1280

C doesn't define >> by 32 for 32bit systems, and on some gcc leaves
you with the original value...

23 years ago[PATCH] fix qlogicfas build warning
Alan Cox [Fri, 18 Jul 2003 02:45:12 +0000 (19:45 -0700)]
[PATCH] fix qlogicfas build warning

23 years ago[PATCH] pas16 build fix
Alan Cox [Fri, 18 Jul 2003 02:45:05 +0000 (19:45 -0700)]
[PATCH] pas16 build fix

23 years ago[PATCH] function is long gone, kill prototype
Alan Cox [Fri, 18 Jul 2003 02:44:57 +0000 (19:44 -0700)]
[PATCH] function is long gone, kill prototype

23 years ago[PATCH] make isapnp request its port properly
Alan Cox [Fri, 18 Jul 2003 02:44:50 +0000 (19:44 -0700)]
[PATCH] make isapnp request its port properly

23 years ago[PATCH] forward port 2.4 Zoom video support
Alan Cox [Fri, 18 Jul 2003 02:44:45 +0000 (19:44 -0700)]
[PATCH] forward port 2.4 Zoom video support

Also apply the right fix to the yenta hang problem

23 years ago[PATCH] re-enable seq8005
Alan Cox [Fri, 18 Jul 2003 02:44:37 +0000 (19:44 -0700)]
[PATCH] re-enable seq8005

23 years ago[PATCH] use cpu_relax in seq8005
Alan Cox [Fri, 18 Jul 2003 02:44:31 +0000 (19:44 -0700)]
[PATCH] use cpu_relax in seq8005

23 years ago[PATCH] clarify AXNET kconfig as per 2.4
Alan Cox [Fri, 18 Jul 2003 02:44:23 +0000 (19:44 -0700)]
[PATCH] clarify AXNET kconfig as per 2.4

23 years ago[PATCH] convert ewrk3 for new locking etc
Alan Cox [Fri, 18 Jul 2003 02:44:16 +0000 (19:44 -0700)]
[PATCH] convert ewrk3 for new locking etc

23 years ago[PATCH] fix all the paths in ide Kconfig docs
Alan Cox [Fri, 18 Jul 2003 02:44:09 +0000 (19:44 -0700)]
[PATCH] fix all the paths in ide Kconfig docs

(Helge Hafting)

23 years ago[PATCH] move watchdogs to __module_get now it exists
Alan Cox [Fri, 18 Jul 2003 02:44:03 +0000 (19:44 -0700)]
[PATCH] move watchdogs to __module_get now it exists

(Jan Dittmer)

Also add the 82801EB/ER  (Wim Van Sebroeck)

23 years ago[PATCH] clean up ip2 glue (not yet ported tho)
Alan Cox [Fri, 18 Jul 2003 02:43:55 +0000 (19:43 -0700)]
[PATCH] clean up ip2 glue (not yet ported tho)

(Adriank Bunk)

23 years ago[PATCH] first cut ftape conversion
Alan Cox [Fri, 18 Jul 2003 02:43:49 +0000 (19:43 -0700)]
[PATCH] first cut ftape conversion

(Paulo Andre)

23 years ago[PATCH] pnp layer seems to document wrong file name
Alan Cox [Fri, 18 Jul 2003 02:43:42 +0000 (19:43 -0700)]
[PATCH] pnp layer seems to document wrong file name

(Jochen Hein)

23 years ago[PATCH] updated magic number tables
Alan Cox [Fri, 18 Jul 2003 02:43:35 +0000 (19:43 -0700)]
[PATCH] updated magic number tables

(Fabian Frederick)

23 years ago[PATCH] head -n 2 for ppc64
Alan Cox [Fri, 18 Jul 2003 02:43:28 +0000 (19:43 -0700)]
[PATCH] head -n 2 for ppc64

23 years ago[PATCH] POSIX doesnt guarantee head -2, only head -n 2
Alan Cox [Fri, 18 Jul 2003 02:43:21 +0000 (19:43 -0700)]
[PATCH] POSIX doesnt guarantee head -2, only head -n 2

(and some build environments are set up to be poxixly correct)

(Teemu Tervo)

23 years ago[PATCH] another batch of "invalid" not "illegal" fixes
Alan Cox [Fri, 18 Jul 2003 02:43:14 +0000 (19:43 -0700)]
[PATCH] another batch of "invalid" not "illegal" fixes

(Steven Cole)

23 years ago[PATCH] fix visws pci (visws specific code)
Alan Cox [Fri, 18 Jul 2003 02:43:07 +0000 (19:43 -0700)]
[PATCH] fix visws pci (visws specific code)

(Andrey Panin)

23 years ago[PATCH] mtrr fixes
Alan Cox [Fri, 18 Jul 2003 02:43:00 +0000 (19:43 -0700)]
[PATCH] mtrr fixes

Fix cyrix mtrr ((Zoltán Böszörményi)
Back port 2.4 handling for the Intel bug
Add printk levels

23 years ago[PATCH] mtrr printk levels
Alan Cox [Fri, 18 Jul 2003 02:42:53 +0000 (19:42 -0700)]
[PATCH] mtrr printk levels

23 years ago[PATCH] alpha illegal->invalid
Alan Cox [Fri, 18 Jul 2003 02:42:47 +0000 (19:42 -0700)]
[PATCH] alpha illegal->invalid

23 years ago[PATCH] "Fix" AS i/o hang with aacraid driver
Andrew Morton [Fri, 18 Jul 2003 02:28:24 +0000 (19:28 -0700)]
[PATCH] "Fix" AS i/o hang with aacraid driver

From: Mark Haverkamp <markh@osdl.org>

Mark says:

  "Daniel McNeil and I have been debugging a hang with the aacraid driver
   using the as I/O scheduler."

   We found that scsi_request_fn would de-queue a request and later
   re-queued it.  This left the as_data->nr_dispatched variable in an
   inconsistent state (it was never being decremented back to zero).

   We added a call to elv_completed_request to clean up the state before
   re-adding the request.  This has fixed our hang problem."

It affects other SCSI drivers, but less frequently.  We're assuming this is
the cause of several "everything got stuck in D state" reports.

A very long design discussion has ensued.  We don't have a suitably tested fix
ready so I think it is best to put Mark's one-liner in there for now, fix it
for real when everyone gets back from OLS.

23 years ago[PATCH] fix as-iosched do_div()
Andrew Morton [Fri, 18 Jul 2003 02:28:16 +0000 (19:28 -0700)]
[PATCH] fix as-iosched do_div()

For CONFIG_LBD=n case it was passing a u32 into do_div().

23 years ago[PATCH] Update Documentation/magic-numbers.txt
Andrew Morton [Fri, 18 Jul 2003 02:28:09 +0000 (19:28 -0700)]
[PATCH] Update Documentation/magic-numbers.txt

From: <ffrederick@prov-liege.be>

Update Documentation/magic-numbers.txt

23 years ago[PATCH] fix bootmem allocator on machines with holes in
Andrew Morton [Fri, 18 Jul 2003 02:28:01 +0000 (19:28 -0700)]
[PATCH] fix bootmem allocator on machines with holes in

From: Anton Blanchard <anton@samba.org>

If the memory we are trying to allocate is too large to fit in the current
region, we should skip to the end.  We currently search the available
bitmap, find the area is too small, increment the start by incr and try
again.  This resulted in an apparent lockup on a 64GB machine that had a
3GB IO hole starting at 1GB (and the mem_map array would not fit in the
first region).

Also use ALIGN macro instead of an open coded version.

23 years ago[PATCH] dm: v4 ioctl interface
Andrew Morton [Fri, 18 Jul 2003 02:27:54 +0000 (19:27 -0700)]
[PATCH] dm: v4 ioctl interface

From: Joe Thornber <thornber@sistina.com>

v4 of the ioctl interface.  Note there never was a v2 or a v3 except in an
unofficial EVMS way.

This works correctly with the 64-bit dev_t patches in -mm kernels.

There is now a config option to allow the user to select v1 or v4, it
defaults to v1.  dm-ioctl.[hc] just #includes dm-ioctl-v[14].[hc] depending
on the config option.

If you want to use v4 you will have to update your tools
(libdevmapper/lvm).  The latest tools at the time of writing are:

dmsetup + libdevmapper + replacement kernel patches for 2.4.20 & 2.4.21:

  ftp://ftp.sistina.com/pub/LVM2/device-mapper/device-mapper-testing-new-version4-interface.tgz

Updated LVM2 tools to work with the above:

  ftp://ftp.sistina.com/pub/LVM2/tools/LVM2.0-testing.tgz

23 years ago[PATCH] dm: 'wait for event' race
Andrew Morton [Fri, 18 Jul 2003 02:27:46 +0000 (19:27 -0700)]
[PATCH] dm: 'wait for event' race

From: Joe Thornber <thornber@sistina.com>

There was a race associated with the 'wait for a significant event'
functionality.

Basically userland could read the status table, then wait for another
event, but the event it was waiting for could have occurred in the gap
between reading and waiting.

To solve this we assign identifiers to events, in order to successfully
wait for an event both userland and the kernel driver must be in agreement
about what the last event identifier was.  If they don't agree the wait
call will return immediately, allowing userland to re-read the status and
see what it missed.

The new ioctl interface will use this properly.

23 years ago[PATCH] CLONE_STOPPED
Andrew Morton [Fri, 18 Jul 2003 02:27:39 +0000 (19:27 -0700)]
[PATCH] CLONE_STOPPED

From: Ulrich Drepper <drepper@redhat.com>

CLONE_STOPPED: start a thread in a stopped state.  Required for NTPL.

23 years ago[PATCH] watchdog: i810-tco support
Andrew Morton [Fri, 18 Jul 2003 02:27:31 +0000 (19:27 -0700)]
[PATCH] watchdog: i810-tco support

From: Wim Van Sebroeck <wim@iguana.be>

Adds support for the 82801EB and 82801ER I/O Controller Hub's (ICH5 &
ICH5R).  This will add watchdog support for the i865 and i875 motherboard
chipsets.  It also removes some extra trailing spaces in the source files.

23 years ago[PATCH] vesafb fix
Andrew Morton [Fri, 18 Jul 2003 02:27:23 +0000 (19:27 -0700)]
[PATCH] vesafb fix

From: Gerd Knorr <kraxel@suse.de>

The patch below fixes some vesafb issues.  Changes:

* fixed struct screen_info in tty.h to use portable types.  "unsigned
  long" for 32bit values doesn't work on hammer machines ...

* limited the framebuffer memory used by vesafb to 16 MB.  This avoids
  that vesafb's ioremap() eats plenty of kernel address space for no real
  benefit if the gfx card has very much memory (some have 128 MB or more,
  ia32 has 128 MB address space for vmalloc and ioremap ...).

* mtrr is enabled by default.  That should improve the vesafb performance
  a lot.  Also added a option to disable mtrr.

23 years ago[PATCH] visws: fix PCI breakage
Andrew Morton [Fri, 18 Jul 2003 02:27:16 +0000 (19:27 -0700)]
[PATCH] visws: fix PCI breakage

From: Andrey Panin <pazke@donpac.ru>

This fixes Visws PCI code which was broken since 2.5.73.

23 years ago[PATCH] settimeofday() fixes
Andrew Morton [Fri, 18 Jul 2003 02:27:04 +0000 (19:27 -0700)]
[PATCH] settimeofday() fixes

From: davem

- sys_stime() takes an int*, but it should be a time_t*: they have different
  sizes on (for example) sparc64.

- sys_settimeofday() is confusing timevals with timespecs.  They have
  different sizes on sparc64 and the time keeps on getting set to epoch.

23 years ago[PATCH] slab: print stuff when the wrong cache is used
Andrew Morton [Fri, 18 Jul 2003 02:26:56 +0000 (19:26 -0700)]
[PATCH] slab: print stuff when the wrong cache is used

From: Manfred Spraul <manfred@colorfullife.com>

Some extra diagnostics when someone passes the wrong object type
into kmem_cache_free().  To help some bug which Manfred is chasing.

23 years ago[PATCH] CONFIG_BLK_DEV_CRYPTOLOOP needs CONFIG_CRYPTO
Andrew Morton [Fri, 18 Jul 2003 02:26:48 +0000 (19:26 -0700)]
[PATCH] CONFIG_BLK_DEV_CRYPTOLOOP needs CONFIG_CRYPTO

From: Brett <generica@email.com>

CONFIG_BLK_DEV_CRYPTOLOOP needs CONFIG_CRYPTO

23 years ago[PATCH] unline most of put_namespace()
Andrew Morton [Fri, 18 Jul 2003 02:26:41 +0000 (19:26 -0700)]
[PATCH] unline most of put_namespace()

It has five callsites, and is big.

23 years ago[PATCH] Fix two bugs with process limits (RLIMIT_NPROC)
Andrew Morton [Fri, 18 Jul 2003 02:26:32 +0000 (19:26 -0700)]
[PATCH] Fix two bugs with process limits (RLIMIT_NPROC)

From: Neil Brown <neilb@cse.unsw.edu.au>

1/ If a setuid process swaps it's real and effective uids and then forks,
 the fork fails if the new realuid has more processes
 than the original process was limited to.
 This is particularly a problem if a user with a process limit
 (e.g. 256) runs a setuid-root program which does setuid() + fork()
 (e.g. lprng) while root already has more than 256 process (which
 is quite possible).

 The root problem here is that a limit which should be a per-user
 limit is being implemented as a per-process limit with
 per-process (e.g. CAP_SYS_RESOURCE) controls.
 Being a per-user limit, it should be that the root-user can over-ride
 it, not just some process with CAP_SYS_RESOURCE.

 This patch adds a test to ignore process limits if the real user is root.

2/ When a root-owned process (e.g. cgiwrap) sets up process limits and then
  calls setuid, the setuid should fail if the user would then be running
  more than rlim_cur[RLIMIT_NPROC] processes, but it doesn't.  This patch
  adds an appropriate test.  With this patch, and per-user process limit
  imposed in cgiwrap really works.

23 years ago[PATCH] fix return of compat_sys_sched_getaffinity
Andrew Morton [Fri, 18 Jul 2003 02:26:24 +0000 (19:26 -0700)]
[PATCH] fix return of compat_sys_sched_getaffinity

From: Anton Blanchard <anton@samba.org>

On success getaffinity should return the size of mask.  It looks like
Randy's patch (which fixed a bogus return) missed this bit.

In reality I'm not sure if we care, and with cpu bitmasks this stuff is
going to break.

23 years ago[PATCH] fix removable partitioned media with devfs
Andrew Morton [Fri, 18 Jul 2003 02:26:16 +0000 (19:26 -0700)]
[PATCH] fix removable partitioned media with devfs

From: Andrey Borzenkov <arvidjaar@mail.ru>

Current 2.5 does not register any device node in devfs for empty media
(capacity == 0) case.  This makes removables unusable with devfs.
Partition rescan is done only on bdev open, but without any device node for
device it is impossible to open it.

In 2.4 it was finally solved by always registering .../disc node as
representation for "whole" disk and using devfsd action to force partition
rescan on access to (non-existing) partition name.  For primary names it
was handled internally by devfs - it kept track of removable devices in
directory and initiated partition rescan when name was not found.

Both are obviously broken now.  You can't do partition rescan because no
node is registered at all and internal handling was removed.  Very nice.

The attached patch makes resgister_disk always register at least disc node.
 This now works for old and new compat names as per devfsd configuration;
canonical names are still broken:

  {pts/3}% ll /dev/scsi/host1/bus0/target4/lun0/part4
  ls: /dev/scsi/host1/bus0/target4/lun0/part4: No such file or directory

but it can be fixed using the same technique as above so I won't push it.

23 years ago[PATCH] use kmalloc for ia32 stacks
Andrew Morton [Fri, 18 Jul 2003 02:26:08 +0000 (19:26 -0700)]
[PATCH] use kmalloc for ia32 stacks

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

I've been slab allocating the stack on i386 for some time, and it has gone
without incident in pgcl, -wli, -mjb (?), and so on.  kmalloc() is fine;
there isn't any particularly compelling reason for a dedicated slab as
there's no preconstruction to do, though it can be arranged.

Basically, it works, there's no obvious reason not to, and (even better)
it's not totally invisible to the VM and even makes overhead reportable.

23 years ago[PATCH] remove task_cache entirely
Andrew Morton [Fri, 18 Jul 2003 02:26:01 +0000 (19:26 -0700)]
[PATCH] remove task_cache entirely

From: Manfred Spraul <manfred@colorfullife.com>

kernel/fork.c contains a disabled cache for task stuctures.  task
structures are placed into the task cache only if "tsk==current", and
"tsk==current" is impossible.  There is even a WARN_ON against that in
__put_task_struct().

So remove it entirely - it's dead code.

One problem is that order-1 allocations are not cached per-cpu - we can
use kmalloc for the stack.

23 years ago[PATCH] is_devfsd_or_child() deadlock fix
Andrew Morton [Fri, 18 Jul 2003 02:25:55 +0000 (19:25 -0700)]
[PATCH] is_devfsd_or_child() deadlock fix

From: Andrey Borzenkov <arvidjaar@mail.ru>

The code that did proper check existed in 2.4 and was removed in 2.5 for
whatever reason. The patch restores it slightly modified as below.

2.4 code looks somewhat unclean in that

- it traverses task list without lock.

- it starts from current->real_parent but nothing prevents current be
  init_task itself.  This hung for me on 2.5 during boot.  May be 2.4 does
  something differently.

23 years ago[PATCH] pass regs into dump_fpu() in elf coredump
Andrew Morton [Fri, 18 Jul 2003 02:25:46 +0000 (19:25 -0700)]
[PATCH] pass regs into dump_fpu() in elf coredump

From: Pete Zaitcev <zaitcev@redhat.com>

sparc32 needs the registers passed into dump_fpu().

23 years ago[PATCH] ioctl(BLKBSZSET) fix and cleanup
Andrew Morton [Fri, 18 Jul 2003 02:25:39 +0000 (19:25 -0700)]
[PATCH] ioctl(BLKBSZSET) fix and cleanup

From: Lou Langholtz <ldl@aros.net>

- set_blocksize() already does those size checks.

- test the set_blocksize() return value: it can fail if the requested
  blocksize is less that the hard sector size.

23 years ago[PATCH] Ext3 xattr credits fix for quotas
Andrew Morton [Fri, 18 Jul 2003 02:25:31 +0000 (19:25 -0700)]
[PATCH] Ext3 xattr credits fix for quotas

From: Andreas Gruenbacher <agruen@suse.de>

The xattr and acl code are not properly reserving credits for quotas.
EXT3_DATA_TRANS_BLOCKS is an overestimate of the credits required including
quotas.  Make it a little more tight, and use it in the xattr and acl code
to be quota safe.

23 years ago[PATCH] ext3 extended attribute fixes
Andrew Morton [Fri, 18 Jul 2003 02:25:23 +0000 (19:25 -0700)]
[PATCH] ext3 extended attribute fixes

From: Andreas Gruenbacher <agruen@suse.de>

- Fix transaction credit exhaustion BUG.

- ext3_journal_get_write_access_credits failures break out of the loop in
  1058, so <ce> is not released properly.

- <credits> must be reset after journal_release_buffer() in line 1072.

23 years ago[PATCH] parport_pc.c compile warning
Andrew Morton [Fri, 18 Jul 2003 02:25:16 +0000 (19:25 -0700)]
[PATCH] parport_pc.c compile warning

From: Shane Shrybman <shrybman@sympatico.ca>

This fixes the following warning:

drivers/parport/parport_pc.c:98: warning: `verbose_probing' defined but
not used

23 years ago[PATCH] misc fixes
Andrew Morton [Fri, 18 Jul 2003 02:25:07 +0000 (19:25 -0700)]
[PATCH] misc fixes

- i460-agp linkage fix ("Luck, Tony" <tony.luck@intel.com>)

- Don't reimplement offsetof() in hfs

- NBD warning fix

- Remove unneeded null-pointer test in journal_stop (Andreas Gruenbacher)

- remove debug stuff in journal_dirty_metadata()

- slab.c typo fixes (Lev Makhlis <mlev@despammed.com>)

- In devfs_mk_cdev() error path, don't print `buf' until we've written
  something into it.  (Reported by Gergely Nagy <algernon@gandalph.mad.hu>)

- Two ISA sound drivers had their kmalloc() args reversed (Spotted by Steve
  French)

23 years ago[PATCH] Allow LBD on architectures that support it
Andrew Morton [Fri, 18 Jul 2003 02:25:00 +0000 (19:25 -0700)]
[PATCH] Allow LBD on architectures that support it

From: Milton Miller <miltonm@bga.com>

Enable the CONFIG_LBD option for the architectures which appear to support
it.

It is not actually tested for those architectures, but it's not likely to
be unless we do this...

23 years agoMerge kroah.com:/home/greg/linux/BK/bleed-2.5
Greg Kroah-Hartman [Thu, 17 Jul 2003 08:58:33 +0000 (01:58 -0700)]
Merge kroah.com:/home/greg/linux/BK/bleed-2.5
into kroah.com:/home/greg/linux/BK/gregkh-2.5

23 years ago[PATCH] USB: better locking in hcd_endpoint_disable()
David Brownell [Thu, 17 Jul 2003 08:45:30 +0000 (01:45 -0700)]
[PATCH] USB: better locking in hcd_endpoint_disable()

You'll recall there was a change to the locking in that code after
it was submitted.  This is a better fix to that issue.

"Obviously correct", though I've not run with this in ages.

23 years ago[PATCH] USB: fix race between probe and open in dabusb
Oliver Neukum [Thu, 17 Jul 2003 07:47:19 +0000 (00:47 -0700)]
[PATCH] USB: fix race between probe and open in dabusb

the driver is registering the device too early, so that open may
see a partially initialised device.

23 years ago[PATCH] USB: unlink interrupt URBs in scanner driver
Henning Meier-Geinitz [Thu, 17 Jul 2003 07:46:56 +0000 (00:46 -0700)]
[PATCH] USB: unlink interrupt URBs in scanner driver

Clean up irq urb when not enough memory is available.

23 years ago[PATCH] USB: Handle over current inputs on all Intel controllers
Alan Stern [Thu, 17 Jul 2003 07:46:26 +0000 (00:46 -0700)]
[PATCH] USB: Handle over current inputs on all Intel controllers

This patch for the UHCI driver changes the test for over current inputs,
which can cause false Resume indications with some of Intel's USB
controllers.  Previously the code only checked for one specific controller
chip, but now another one has turned up that exhibits the same flaw.  It
seems best just to check for Intel being the manufacturer, especially
since it doesn't hurt to check for the condition when it isn't present or
is only temporary.

23 years ago[PATCH] Fix up unattended nfs3/krb5 mounts
Jasper Spaans [Thu, 17 Jul 2003 05:10:40 +0000 (22:10 -0700)]
[PATCH] Fix up unattended nfs3/krb5 mounts

The patch from Frank was missing the auth flavor argument to
nfs_sb_init().  Trivial fix follows.

[ Side note: the code mixes the spellings 'flavor' and 'flavour', which
  is somewhat confusing.  That should probably be fixed to avoid confusion. ]

23 years agoMerge bk://cifs.bkbits.net/linux-2.5cifs
Linus Torvalds [Thu, 17 Jul 2003 04:13:57 +0000 (21:13 -0700)]
Merge bk://cifs.bkbits.net/linux-2.5cifs
into home.osdl.org:/home/torvalds/v2.5/linux

23 years ago[PATCH] sound/oss/ad1816.c update
Thorsten Knabe [Thu, 17 Jul 2003 03:48:44 +0000 (20:48 -0700)]
[PATCH] sound/oss/ad1816.c update

This fixes various problems with the AD1816 sound driver:

 - Compilation errors with CONFIG_PNP enabled fixed.
 - PNP specific code rewritten.
 - SMP fixes.
 - DMA resource handling fixes.
 - Other minor code cleanup.

23 years ago[PATCH] remove all #include <blk.h>'s
Adrian Bunk [Thu, 17 Jul 2003 03:43:53 +0000 (20:43 -0700)]
[PATCH] remove all #include <blk.h>'s

This causes blk.h to print a warning and removes all uses of blk.h.
I've tested the compilation in 2.6.0-test1 with a .config that tries to
compile as many drivers as possible.

23 years ago[PATCH] s390: siginfo_t for s390x.
Martin Schwidefsky [Thu, 17 Jul 2003 03:34:59 +0000 (20:34 -0700)]
[PATCH] s390: siginfo_t for s390x.

Correct size of siginfo_t for s390x (from 136 to 128).

23 years ago[PATCH] s390: qeth network driver.
Martin Schwidefsky [Thu, 17 Jul 2003 03:34:52 +0000 (20:34 -0700)]
[PATCH] s390: qeth network driver.

 - Reset netdevice to defaults in offline processing.
 - Fix checksumming.
 - Fix routing status display.
 - Get rid of _ccw_device_get_device_number in qeth.
 - Inline some functions to save stack space.

23 years ago[PATCH] s390: common i/o layer.
Martin Schwidefsky [Thu, 17 Jul 2003 03:34:44 +0000 (20:34 -0700)]
[PATCH] s390: common i/o layer.

 - Fix two memory leaks.
 - Clear pending status in cio_enable_subchannel.
 - Don't call device_unregister from interrupt context.
 - Fix refcounting problems on static device structures for the ccw console.
 - Delete timeouts for qdio after successful startup.

23 years ago[PATCH] s390: dasd driver.
Martin Schwidefsky [Thu, 17 Jul 2003 03:34:35 +0000 (20:34 -0700)]
[PATCH] s390: dasd driver.

Remove put_disk from dasd_destroy_partitions. This is done in dasd_free_device.

23 years ago[PATCH] s390: irq stats.
Martin Schwidefsky [Thu, 17 Jul 2003 03:34:28 +0000 (20:34 -0700)]
[PATCH] s390: irq stats.

Enable irq statistics for s390*. We defined NR_IRQS to 2, one for all i/o
interrupts and one for all external interrupts.

23 years ago[PATCH] s390: arch update
Martin Schwidefsky [Thu, 17 Jul 2003 03:34:19 +0000 (20:34 -0700)]
[PATCH] s390: arch update

 - New default configuration.
 - Fix get_tv32/put_tv32.
 - Replace generic dma-mapping file with empty one.
 - Remove wrong comment from dma.h.

23 years ago[PATCH] Allow unattended nfs3/krb5 mounts
Frank Cusack [Thu, 17 Jul 2003 03:28:19 +0000 (20:28 -0700)]
[PATCH] Allow unattended nfs3/krb5 mounts

The comment in nfs_get_root() basically describes the patch:

    Some authentication types (gss/krb5, most notably)
    are such that root won't be able to present a
    credential for GETATTR (ie, getroot()).

An easy way (ie, without this patch) to have unattended mounts is to
have a root/host@REALM (or similar) principal stashed in a keytab, which
root (rather, gssd) can use.  However, this might not be desirable for
many sites.  In any case, RFC2623 specifically describes the problem
addressed here.

Notes:

- Root inode gets inum of 1.  This doesn't seem to matter, but may be
  aesthetically unpleasing.  I wanted to choose an inum unlikely to
  conflict with an existing inum (although NFS has specific support
  for that).  It looks like more work than it's worth to change the
  inum after the info is available.  AFAICT it's not critical info.

- Solaris has this "wierd" (but understandable)  behavior that after
  mounting without a credential, the mount point is not visible at all
  until an access is attempted with a credential.  This now-you-see-it-
  now-you-don't behavior doesn't seem worthwhile to reproduce here.

- Unfortunately, MOUNT_VERSION must go to 5.  Some kernels with ver 4
  do not understand pseudoflavor.  Keeping it at 4 means that the
  userland mount can't know for sure whether the kernel accepted the
  option or not.  (Unless I'm missing some hack that could be done.)

It works in my environment, against a netapp server (with the rpcsec_gss
patch I provided earlier).

23 years ago[PATCH] Fix rpc_setbufsize() usage
Frank Cusack [Thu, 17 Jul 2003 03:28:11 +0000 (20:28 -0700)]
[PATCH] Fix rpc_setbufsize() usage

 - fix null dereference on xprt->inet if (!connected), which happens if
   a rpc cred wasn't available (root+auth_gss case)
 - set bufsize on reconnect

23 years ago[PATCH] rpcsec_gss compatibility
Frank Cusack [Thu, 17 Jul 2003 03:28:03 +0000 (20:28 -0700)]
[PATCH] rpcsec_gss compatibility

start gss seq no at 1; netapp doesn't accept seq no 0.

Just as a data point, Solaris 9 client uses initial seq. no. 2.

23 years agoMerge http://lia64.bkbits.net/to-linus-2.5
Linus Torvalds [Thu, 17 Jul 2003 03:24:28 +0000 (20:24 -0700)]
Merge http://lia64.bkbits.net/to-linus-2.5
into home.osdl.org:/home/torvalds/v2.5/linux

23 years agoMerge bk://ppc.bkbits.net/for-linus-ppc
Linus Torvalds [Thu, 17 Jul 2003 03:23:06 +0000 (20:23 -0700)]
Merge bk://ppc.bkbits.net/for-linus-ppc
into home.osdl.org:/home/torvalds/v2.5/linux