]> git.hungrycats.org Git - linux/log
linux
22 years ago[ARM] Update ARM makefiles
Russell King [Fri, 2 Apr 2004 13:17:43 +0000 (14:17 +0100)]
[ARM] Update ARM makefiles

- Use -march=armv6 where available.
- CFLAGS_BOOT isn't needed - the decompressor uses CFLAGS, remove it.
- PROCESSOR is never used, remove it.
- LDFLAGS_BLOB is never used, remove it.
- Remove MACHINE macro.
- Correct comments for include/asm-arm/.arch target.
- Copy format of include/asm symlink rule.
- Arrange for configuration to be split before making
  include/asm-arm/arch symlink.
- This means that asm-offsets.s no longer depends on
  include/config/MARKER.

22 years ago[ARM] Add ARM virtual memory layout documentation.
Russell King [Thu, 1 Apr 2004 21:03:57 +0000 (22:03 +0100)]
[ARM] Add ARM virtual memory layout documentation.

22 years ago[PATCH] double semicolon cleanup
Alexander Stohr [Wed, 31 Mar 2004 00:48:12 +0000 (16:48 -0800)]
[PATCH] double semicolon cleanup

This cleans up a larger amount of superfluos ";;" statements in current
Linux kernel sources by converting them to the regular single ";"
statments.

It seems to be a common problem that at the end of a line the semicolon
key is producing an echo.

22 years agoMerge http://linux-sound.bkbits.net/linux-sound
Linus Torvalds [Wed, 31 Mar 2004 00:35:48 +0000 (16:35 -0800)]
Merge http://linux-sound.bkbits.net/linux-sound
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years ago[PATCH] ppc64: clean up virtual <-> absolute code
Andrew Morton [Wed, 31 Mar 2004 00:34:59 +0000 (16:34 -0800)]
[PATCH] ppc64: clean up virtual <-> absolute code

From: Anton Blanchard <anton@samba.org>
      Rusty Russell <rusty@rustcorp.com.au>

The iSeries has an arch-specific mapping from physical <-> absolute
addresses.  Fortunately this is only used in a few places.  However, the
following arch-specific macros/functions are provided in addition to the
standard macros:

__a2p()
__a2v()
__p2a()
__p2v()
__v2a()
__v2p()
absolute_to_phys()
phys_to_absolute()
virt_to_absolute()
absolute_to_virt()

Reduce them to these, with slightly shorter names, and taking either pointers
or unsigned long (as per __va and __pa) rather than making the caller cast:

abs_to_phys()
phys_to_abs()

And helper macros:

virt_to_abs()
abs_to_virt()

As is standard, virtual addresses are returned as void *, physical and
absolute as unsigned long.

Note that the change the iSeries_setup is a little subtle: ea is set to
__va(pa) above, so "phys_to_abs(pa)" is the same as "virt_to_abs(ea)".

Also, REALADDR is renamed to ISERIES_HV_ADDR and used in a couple of places
where appropriate.

22 years ago[PATCH] ppc64: make iSeries boot mostly
Andrew Morton [Wed, 31 Mar 2004 00:34:47 +0000 (16:34 -0800)]
[PATCH] ppc64: make iSeries boot mostly

From: Anton Blanchard <anton@samba.org>
      Stephen Rothwell <sfr@canb.auug.org.au>

This patch just ensures that the RI bit is set really early as it seems it
is not on iSeries Power4 machines (or maybe OS400 v5r3 does this).

22 years agoALSA - 1.0.4rc2
Jaroslav Kysela [Tue, 30 Mar 2004 13:47:50 +0000 (15:47 +0200)]
ALSA - 1.0.4rc2

22 years agoALSA CVS update - Jaroslav Kysela <perex@suse.cz>
Jaroslav Kysela [Tue, 30 Mar 2004 13:45:02 +0000 (15:45 +0200)]
ALSA CVS update - Jaroslav Kysela <perex@suse.cz>
au88x0 driver
Cleanups - removed duplicate PCI IDs

22 years agoALSA CVS update - Clemens Ladisch <clemens@ladisch.de>
Jaroslav Kysela [Tue, 30 Mar 2004 13:19:58 +0000 (15:19 +0200)]
ALSA CVS update - Clemens Ladisch <clemens@ladisch.de>
USB generic driver
add usb_device->speed wrapper for compiling with 2.2.x kernels

22 years agoMerge suse.cz:/home/perex/bk/linux-sound/linux-2.5
Jaroslav Kysela [Tue, 30 Mar 2004 11:58:20 +0000 (13:58 +0200)]
Merge suse.cz:/home/perex/bk/linux-sound/linux-2.5
into suse.cz:/home/perex/bk/linux-sound/linux-sound

22 years agoFix serious naming problem.
Linus Torvalds [Tue, 30 Mar 2004 09:36:12 +0000 (01:36 -0800)]
Fix serious naming problem.

People were getting quite excited about this.

22 years ago[PATCH] back out sysfs reference count change
Greg Kroah-Hartman [Tue, 30 Mar 2004 08:53:19 +0000 (00:53 -0800)]
[PATCH] back out sysfs reference count change

This backs out Maneesh's sysfs patch that was recently added to the
kernel.

In its defense, the original patch did solve some fixes that could be
duplicated on SMP machines, but the side affect of the patch caused lots
of problems.  Basically it caused kobjects to get their references
incremented when files that are not present in the kobject are asked for
(udev can easily trigger this when it looks for files call "dev" in
directories that do not have that file).  This can cause easy oopses
when the VFS later ages out those old dentries and the kobject has its
reference finally released (usually after the module that the kobject
lived in was removed.)

I will continue to work with Maneesh to try to solve the original bug,
but for now, this patch needs to be applied.

22 years ago[PATCH] Alpha: UP1500 pci_mem fix
Richard Henderson [Tue, 30 Mar 2004 08:53:09 +0000 (00:53 -0800)]
[PATCH] Alpha: UP1500 pci_mem fix

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

The memory reserved for PCI probe is not freed properly in some cases,
for instance with a 3.5Gb of RAM.

Forward port from 2.4.

22 years ago[PATCH] ppc64: More incorrect syscall error test
Benjamin Herrenschmidt [Tue, 30 Mar 2004 02:52:10 +0000 (18:52 -0800)]
[PATCH] ppc64: More incorrect syscall error test

Oops, there was two different code path affected by this
bug (strace and normal) and I fixed only one. Here's the
other one:

22 years ago[PATCH] ppc64: Add a sync in context switch on SMP
Benjamin Herrenschmidt [Tue, 30 Mar 2004 02:51:56 +0000 (18:51 -0800)]
[PATCH] ppc64: Add a sync in context switch on SMP

For the same reason as ppc32, we need to ensure that all stores
done on a CPU has reached the coherency domain and are visible
to loads done by another CPU when context switching as the same
thread may be rescheduled almost right away there.

22 years ago[PATCH] ppc32: PCI mmap update
Benjamin Herrenschmidt [Tue, 30 Mar 2004 02:51:44 +0000 (18:51 -0800)]
[PATCH] ppc32: PCI mmap update

This updates the ppc32 PCI mmap facility to allow mmap'ing of space
outside of the actual devices, using the host bridge resources instead.

This allow userland to map things like legacy IO space by either using
the bridge device itself, or simply any PCI device on the same bus
domain

22 years ago[PATCH] ppc32: Allow PREEMPT with SMP in KConfig
Benjamin Herrenschmidt [Tue, 30 Mar 2004 02:51:30 +0000 (18:51 -0800)]
[PATCH] ppc32: Allow PREEMPT with SMP in KConfig

On ppc32, CONFIG_PREEMPT wasn't settable along with CONFIG_SMP
for historical reasons (smp_processor_id() races). Those races have
been fixes since then (well, should have been at least) so it's now
safe to allow both options.

22 years ago[PATCH] ppc32: context switch fixes
Benjamin Herrenschmidt [Tue, 30 Mar 2004 02:51:17 +0000 (18:51 -0800)]
[PATCH] ppc32: context switch  fixes

This fixes a few issues with context switch on ppc32:

 - Makes sure we properly flush out all stores to the coherency domain
   when switching out, since the same thread could be switched back in
   on another CPU right away, those stores must be visible to all other
   CPUs.

 - Remove dssall in the assembly calls and do it now once in switch_mm
   (stop vmx streams).  Assume the G5 doesn't need a sync after dssall.

 - Remove bogus isync in the loop setting the userland segment registers

 - Do not switch the userland segments when the mm stays the same

22 years ago[PATCH] ppc32: Remove duplicate export
Benjamin Herrenschmidt [Tue, 30 Mar 2004 02:51:04 +0000 (18:51 -0800)]
[PATCH] ppc32: Remove duplicate export

enable_kernel_fp is exported both in ppc_ksyms and near it's
definition in process.c, remove the former.

22 years ago[PATCH] ppc32: Even more preempt fixes
Benjamin Herrenschmidt [Tue, 30 Mar 2004 02:50:51 +0000 (18:50 -0800)]
[PATCH] ppc32: Even more preempt fixes

Add a warning if enable_kernel_{fp,altivec} is called with preempt
enabled since this is always an error, and make sure the alignement
exception handler properly disables preempt when doing FP operations.

22 years ago[PATCH] Fix obvious stupid race in do_stop
Srivatsa Vaddagiri [Tue, 30 Mar 2004 02:49:13 +0000 (18:49 -0800)]
[PATCH] Fix obvious stupid race in do_stop

We don't set the task state to TASK_INTERRUPTIBLE _before_ checking for
kthread_should_stop in do_stop.

22 years agoMerge bk://kernel.bkbits.net/davem/net-2.6
Linus Torvalds [Tue, 30 Mar 2004 02:47:51 +0000 (18:47 -0800)]
Merge bk://kernel.bkbits.net/davem/net-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years ago[PATCH] pc300 driver misplaced ;
Marcelo Tosatti [Tue, 30 Mar 2004 02:47:17 +0000 (18:47 -0800)]
[PATCH] pc300 driver misplaced ;

From Dave Jones.

Oops.

22 years ago[PATCH] ISDN Eicon driver: NULL pointer check inside spinlock
Armin Schindler [Tue, 30 Mar 2004 02:47:05 +0000 (18:47 -0800)]
[PATCH] ISDN Eicon driver: NULL pointer check inside spinlock

   Check for valid application pointer inside api spinlock
   in diva_send_message().

22 years ago[PATCH] Make pdflush run at nice 0
Andrew Morton [Tue, 30 Mar 2004 02:41:57 +0000 (18:41 -0800)]
[PATCH] Make pdflush run at nice 0

Since pdflush was converted to be launched by the kthread infrastructure it
has inherited keventd's `nice -10' setting.  That hurts interactivity when
pdflush is doing lots of work writing back through the dm-crypt layer.

So set pdflush back to `nice 0'.

22 years ago[PATCH] catch errors when completing bio pairs
Andrew Morton [Tue, 30 Mar 2004 02:41:44 +0000 (18:41 -0800)]
[PATCH] catch errors when completing bio pairs

From: Mike Christie <michaelc@cs.wisc.edu>

A couple of drivers can sometimes fail the first segments in a bio then
requeue the rest of the request.  In this situation, if the last part of
the bio completes successfully bio_pair_end_* will miss that the beginging
of the bio had failed becuase they just return one when bi_size is not yet
zero.  The attached patch moves the error value test before the bi_size to
catch the above case.

22 years ago[PATCH] Fix BLKPREP_KILL
Andrew Morton [Tue, 30 Mar 2004 02:41:31 +0000 (18:41 -0800)]
[PATCH] Fix BLKPREP_KILL

From: Jens Axboe <axboe@suse.de>

Samuel Rydh wrote:

If a MODE_SENSE(6) command is sent to an IDE cd using the CDROM_SEND_PACKET
ioctl, then the kernel freezes solidly. To reproduce this, one can take the
SCSI cmd [1a 08 31 00 10 00] and a 16 byte data buffer.

After some bug hunting, I found out that the following is what happens:

- ide-cd recognizes that MODE_SENSE(6) isn't supported and tries
  to abort the request from ide_cdrom_prep_pc by returning BLKPREP_KILL.

- in elv_next_request(), the kill request is handled by
  the following code:

while (end_that_request_first(rq, 0, rq->nr_sectors))
;
end_that_request_last(rq);

The while loop never exits. The end_that_request_first() doesn't do anything
since rq->nr_sectors is 0; it just returns "not-done" after handling those 0
bytes (rq->bio->bi_size is 16).

22 years agoALSA - fixed date in version.h
Jaroslav Kysela [Mon, 29 Mar 2004 15:54:39 +0000 (17:54 +0200)]
ALSA - fixed date in version.h

22 years agoALSA CVS update - Clemens Ladisch <clemens@ladisch.de>
Jaroslav Kysela [Mon, 29 Mar 2004 14:26:33 +0000 (16:26 +0200)]
ALSA CVS update - Clemens Ladisch <clemens@ladisch.de>
AC97 Codec Core
don't clobber other bits in SERIAL_CFG register with AD codecs when changing codec selection bits

22 years agoALSA CVS update - Clemens Ladisch <clemens@ladisch.de>
Jaroslav Kysela [Mon, 29 Mar 2004 14:26:14 +0000 (16:26 +0200)]
ALSA CVS update - Clemens Ladisch <clemens@ladisch.de>
AC97 Codec Core
fix hang because of uninitialized ad18xx.mutex with AD1985

22 years agoALSA CVS update - Clemens Ladisch <clemens@ladisch.de>
Jaroslav Kysela [Mon, 29 Mar 2004 14:25:51 +0000 (16:25 +0200)]
ALSA CVS update - Clemens Ladisch <clemens@ladisch.de>
AC97 Codec Core
fix superfluous rate register assignments

22 years agoALSA CVS update - Clemens Ladisch <clemens@ladisch.de>
Jaroslav Kysela [Mon, 29 Mar 2004 14:25:32 +0000 (16:25 +0200)]
ALSA CVS update - Clemens Ladisch <clemens@ladisch.de>
AC97 Codec Core
fix detection of 2.3 codecs

22 years agoALSA CVS update - Takashi Iwai <tiwai@suse.de>
Jaroslav Kysela [Mon, 29 Mar 2004 14:25:08 +0000 (16:25 +0200)]
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
IOCTL32 emulation
disabled the entries conflifting with TIOC* ioctls.

22 years agoALSA CVS update - Jaroslav Kysela <perex@suse.cz>
Jaroslav Kysela [Mon, 29 Mar 2004 14:24:49 +0000 (16:24 +0200)]
ALSA CVS update - Jaroslav Kysela <perex@suse.cz>
ICE1712 driver
Fixed Delta410 cs8427 i/o

22 years agoALSA CVS update - Jaroslav Kysela <perex@suse.cz>
Jaroslav Kysela [Mon, 29 Mar 2004 14:24:26 +0000 (16:24 +0200)]
ALSA CVS update - Jaroslav Kysela <perex@suse.cz>
CS46xx driver
mmap_valid is 1 by default

22 years agoALSA CVS update - Jaroslav Kysela <perex@suse.cz>
Jaroslav Kysela [Mon, 29 Mar 2004 14:24:08 +0000 (16:24 +0200)]
ALSA CVS update - Jaroslav Kysela <perex@suse.cz>
CS46xx driver
Added parsing of mmap_valid,external_amp and thinkpad parameters at boot time

22 years agoALSA CVS update - Jaroslav Kysela <perex@suse.cz>
Jaroslav Kysela [Mon, 29 Mar 2004 14:23:44 +0000 (16:23 +0200)]
ALSA CVS update - Jaroslav Kysela <perex@suse.cz>
PPC PowerMac driver
Remove global enable variable

22 years agoALSA CVS update - Jaroslav Kysela <perex@suse.cz>
Jaroslav Kysela [Mon, 29 Mar 2004 14:23:25 +0000 (16:23 +0200)]
ALSA CVS update - Jaroslav Kysela <perex@suse.cz>
ALSA Version
release: 1.0.4rc1

22 years agoALSA CVS update - Jaroslav Kysela <perex@suse.cz>
Jaroslav Kysela [Mon, 29 Mar 2004 14:23:02 +0000 (16:23 +0200)]
ALSA CVS update - Jaroslav Kysela <perex@suse.cz>
ICE1712 driver
From: Arjan van de Ven <arjanv@redhat.com>

ice1712.c: move 2 same structs to the top of the function; gcc won't share
the stackslots anyway

22 years agoALSA CVS update - Takashi Iwai <tiwai@suse.de>
Jaroslav Kysela [Mon, 29 Mar 2004 14:22:43 +0000 (16:22 +0200)]
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
Intel8x0 driver
disable the legacy midi/joystick properly as default.

22 years agoALSA CVS update - Takashi Iwai <tiwai@suse.de>
Jaroslav Kysela [Mon, 29 Mar 2004 14:22:19 +0000 (16:22 +0200)]
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
Documentation,I2C cs8427,ICE1712 driver
fixed cs8427_timeout option to use the correct value in msec.

22 years agoALSA CVS update - Jaroslav Kysela <perex@suse.cz>
Jaroslav Kysela [Mon, 29 Mar 2004 14:22:00 +0000 (16:22 +0200)]
ALSA CVS update - Jaroslav Kysela <perex@suse.cz>
Documentation
Corrected cs8427_timeout

22 years agoALSA CVS update - Clemens Ladisch <clemens@ladisch.de>
Jaroslav Kysela [Mon, 29 Mar 2004 14:21:35 +0000 (16:21 +0200)]
ALSA CVS update - Clemens Ladisch <clemens@ladisch.de>
USB generic driver
adjust usb_set_interface() calls for 2.6.5-rc2

22 years agoALSA CVS update - Jaroslav Kysela <perex@suse.cz>
Jaroslav Kysela [Mon, 29 Mar 2004 14:21:17 +0000 (16:21 +0200)]
ALSA CVS update - Jaroslav Kysela <perex@suse.cz>
PCM Midlevel
Fix in snd_pcm_timer_resolution_change() - it no longer oops when
32-bit value overflows.

22 years agoALSA CVS update - Clemens Ladisch <clemens@ladisch.de>
Jaroslav Kysela [Mon, 29 Mar 2004 14:20:52 +0000 (16:20 +0200)]
ALSA CVS update - Clemens Ladisch <clemens@ladisch.de>
USB generic driver
fix deadlock on register_mutex and other bugs
in initialization error paths

22 years agoALSA CVS update - Jaroslav Kysela <perex@suse.cz>
Jaroslav Kysela [Mon, 29 Mar 2004 14:20:32 +0000 (16:20 +0200)]
ALSA CVS update - Jaroslav Kysela <perex@suse.cz>
Sound Core PDAudioCF driver
Adrian Bunk <bunk@fs.tum.de>
Fix warnings (SNDRV_GET_ID is not required since these files don't use get_id).

22 years agoALSA CVS update - Jaroslav Kysela <perex@suse.cz>
Jaroslav Kysela [Mon, 29 Mar 2004 14:20:11 +0000 (16:20 +0200)]
ALSA CVS update - Jaroslav Kysela <perex@suse.cz>
Documentation
Added cs8427_timeout to the snd-ice1712 module description

22 years agoALSA CVS update - Jaroslav Kysela <perex@suse.cz>
Jaroslav Kysela [Mon, 29 Mar 2004 14:19:41 +0000 (16:19 +0200)]
ALSA CVS update - Jaroslav Kysela <perex@suse.cz>
I2C cs8427,ALSA Version,ICE1712 driver
Added cs8427_timeout parameter to the ICE1712 driver

22 years agoALSA CVS update - Takashi Iwai <tiwai@suse.de>
Jaroslav Kysela [Mon, 29 Mar 2004 14:19:17 +0000 (16:19 +0200)]
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
Intel8x0 driver
Removed the unprocessed IRQ detection, it seems bogus.

22 years agoALSA CVS update - Takashi Iwai <tiwai@suse.de>
Jaroslav Kysela [Mon, 29 Mar 2004 14:18:57 +0000 (16:18 +0200)]
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
Documentation
The description about ALSA proc files, including debug information.

22 years agoALSA CVS update - Takashi Iwai <tiwai@suse.de>
Jaroslav Kysela [Mon, 29 Mar 2004 14:18:31 +0000 (16:18 +0200)]
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
PCM Midlevel
- suppress the xrun debug output unless xrun_debug proc is set.
- show stack trace when xrun_debug > 1.

22 years agoALSA CVS update - Takashi Iwai <tiwai@suse.de>
Jaroslav Kysela [Mon, 29 Mar 2004 14:18:11 +0000 (16:18 +0200)]
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
Intel8x0 driver
added the quirk for Compaq Evo D510C.

22 years agoALSA CVS update - Clemens Ladisch <clemens@ladisch.de>
Jaroslav Kysela [Mon, 29 Mar 2004 14:17:47 +0000 (16:17 +0200)]
ALSA CVS update - Clemens Ladisch <clemens@ladisch.de>
USB generic driver
high speed support

22 years agoALSA CVS update - Clemens Ladisch <clemens@ladisch.de>
Jaroslav Kysela [Mon, 29 Mar 2004 14:17:29 +0000 (16:17 +0200)]
ALSA CVS update - Clemens Ladisch <clemens@ladisch.de>
USB generic driver
clean up get_iface again :)

22 years agoALSA CVS update - Clemens Ladisch <clemens@ladisch.de>
Jaroslav Kysela [Mon, 29 Mar 2004 14:17:10 +0000 (16:17 +0200)]
ALSA CVS update - Clemens Ladisch <clemens@ladisch.de>
USB generic driver
replace usage of interface index with calls to usb_ifnum_to_if (forgot this in 1.88)

22 years agoALSA CVS update - Clemens Ladisch <clemens@ladisch.de>
Jaroslav Kysela [Mon, 29 Mar 2004 14:16:47 +0000 (16:16 +0200)]
ALSA CVS update - Clemens Ladisch <clemens@ladisch.de>
USB generic driver
remove calls to usb_driver_release_interface
(not needed when disconnect is called)

22 years agoMerge nuts.davemloft.net:/disk1/BK/network-2.6
David S. Miller [Mon, 29 Mar 2004 12:33:27 +0000 (04:33 -0800)]
Merge nuts.davemloft.net:/disk1/BK/network-2.6
into nuts.davemloft.net:/disk1/BK/net-2.6

22 years ago[NETFILTER]: Fix DELETE_LIST oopses.
Harald Welte [Mon, 29 Mar 2004 12:26:56 +0000 (04:26 -0800)]
[NETFILTER]: Fix DELETE_LIST oopses.

We've now narrowed down the issue of kernel oopses in combination with
'LIST_DELETE' syslog messages happening in certain setups.

Apparently people who do not enable CONFIG_IP_NF_NAT_LOCAL and do
DNAT/REDIRECT and want to connect locally from the gateway via DNAT to
the DNAT'ed address experience the bug ;)

Patch courtesy of KOVACS Krisztian and Henrik Nordstrom

22 years ago[NETFILTER]: Fix DEBUG compile in ipt_MASQUERADE.
Harald Welte [Mon, 29 Mar 2004 12:19:57 +0000 (04:19 -0800)]
[NETFILTER]: Fix DEBUG compile in ipt_MASQUERADE.

22 years ago[AF_PACKET]: Add PACKET_MMAP documentation.
Ulisses Alonso CamarĂ³ [Mon, 29 Mar 2004 12:11:56 +0000 (04:11 -0800)]
[AF_PACKET]: Add PACKET_MMAP documentation.

22 years agoLinux 2.6.5-rc3 v2.6.5-rc3
Linus Torvalds [Mon, 29 Mar 2004 11:24:42 +0000 (03:24 -0800)]
Linux 2.6.5-rc3

22 years ago[PATCH] asm-parisc/ide.h cleanup (there are no standard ports)
Bartlomiej Zolnierkiewicz [Mon, 29 Mar 2004 10:15:53 +0000 (02:15 -0800)]
[PATCH] asm-parisc/ide.h cleanup (there are no standard ports)

Acked by Grant Grundler and Matthew Wilcox.

22 years ago[PATCH] asm-sparc{64}/ide.h cleanup (there are no standard ports)
Bartlomiej Zolnierkiewicz [Mon, 29 Mar 2004 10:15:39 +0000 (02:15 -0800)]
[PATCH] asm-sparc{64}/ide.h cleanup (there are no standard ports)

Acked by David Miller.

22 years agoMerge bk://linux-dj.bkbits.net/agpgart
Linus Torvalds [Mon, 29 Mar 2004 08:53:56 +0000 (00:53 -0800)]
Merge bk://linux-dj.bkbits.net/agpgart
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years ago[AGPGART] Minor CodingStyle fixups.
Dave Jones [Mon, 29 Mar 2004 17:02:31 +0000 (18:02 +0100)]
[AGPGART] Minor CodingStyle fixups.

22 years ago[PATCH] fix SATA simulation of 6-byte read/write
Jeff Garzik [Mon, 29 Mar 2004 08:17:18 +0000 (00:17 -0800)]
[PATCH] fix SATA simulation of 6-byte read/write

Here's one for -rc...  either this bit is assumed on most modern drives,
or nobody uses the 6-byte commands for read/write (which is very
likely).  Either way it definitely wants fixing.

Since we use the modern "LBA" method of addressing sectors, this bit
must be present in the Device register when issuing a read or write.
There are three code paths that need this bit, and only two of them
actually set it.  This patch fixes the third (and apparently never used)
code path.

22 years agoMerge bk://bk.arm.linux.org.uk/linux-2.6-rmk
Linus Torvalds [Mon, 29 Mar 2004 07:32:14 +0000 (23:32 -0800)]
Merge bk://bk.arm.linux.org.uk/linux-2.6-rmk
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years ago[ARM] Fix Acorn RTC year handling.
Russell King [Tue, 30 Mar 2004 00:18:14 +0000 (01:18 +0100)]
[ARM] Fix Acorn RTC year handling.

Acorn decided to use an esoteric method for handling the year.
Update RTC implementation to follow this method.

22 years ago[ARM] Clean up coherent DMA allocator from previous changes.
Russell King [Mon, 29 Mar 2004 20:48:20 +0000 (21:48 +0100)]
[ARM] Clean up coherent DMA allocator from previous changes.

- Since the coherent DMA allocator is not currently compatible with
  HUGETLB, ensure that we fail at compile time should this option be
  selected.
- Move struct device/dma mask handling into consistent_alloc().
- Complain if someone tries to allocate coherent memory larger than
  their DMA mask will permit.
- Rename consistent_alloc() to __dma_alloc() to ensure that there
  is no confusion that consistent_alloc() has gone.
- Ensure warnings and errors report the correct function name.

22 years ago[ARM] Remove consistent_alloc/consistent_free
Russell King [Mon, 29 Mar 2004 18:51:04 +0000 (19:51 +0100)]
[ARM] Remove consistent_alloc/consistent_free

Since we've eliminated users of these functions, we can unexport
them.  Instead, drivers should use the DMA API interfaces.

22 years ago[ARM] Convert ARM video drivers to use (ARM extended) DMA API.
Russell King [Mon, 29 Mar 2004 18:38:03 +0000 (19:38 +0100)]
[ARM] Convert ARM video drivers to use (ARM extended) DMA API.

22 years ago[ARM] Extend DMA API on ARM for DMA-able writecombining memory.
Russell King [Mon, 29 Mar 2004 12:16:20 +0000 (13:16 +0100)]
[ARM] Extend DMA API on ARM for DMA-able writecombining memory.

This is mainly for ARM framebuffer drivers, some of which are
presently either open-coding this functionality, or using some
internal ARM architecture function to get what they want.

22 years ago[ARM] Move kmalloc() and spinlocks into vm_region_alloc()
Russell King [Mon, 29 Mar 2004 11:48:45 +0000 (12:48 +0100)]
[ARM] Move kmalloc() and spinlocks into vm_region_alloc()

22 years ago[ARM] Remove vm_region_dump() debugging.
Russell King [Mon, 29 Mar 2004 11:14:52 +0000 (12:14 +0100)]
[ARM] Remove vm_region_dump() debugging.

22 years ago[PATCH] inode dirtying timestamp fix
Andrew Morton [Mon, 29 Mar 2004 06:52:25 +0000 (22:52 -0800)]
[PATCH] inode dirtying timestamp fix

It's a bit late in 2.6.5-rc for this, but it does fix a significant bug: for
the first five minutes after boot, prior to the jiffy wrap, /bin/sync doesn't
write all of the dirty data.

We currently record an inode's time-of-first-dirtying in the address_space.
This causes a few problems with dirty block special inodes: when the device
node for /dev/hda1 needs to be written back we bogusly inspect the timestamp
for the address_space, which belongs to a different inode.

So move the inode's dirtying time up into the inode itself.

This means that for block-special inodes, inode->dirtied_when represents the
time at which the inode itself was dirtied.

For regular files it represents the time at which the inode or its pages were
dirtied.

For blockdevs, the time-of-first-dirtying is recorded in the kernel-internal
blockdev inode.  Only I_DIRTY_PAGES makes sense on these inodes.

The reason all this works is that when dirtying a page we always run

__mark_inode_dirty(page->mapping->host);

which refers to the kernel-internal blockdev inode.

22 years ago[PATCH] Disable debugging in parport daisy
Andrew Morton [Mon, 29 Mar 2004 06:52:10 +0000 (22:52 -0800)]
[PATCH] Disable debugging in parport daisy

From: Andi Kleen <ak@muc.de>

We are in production now. No more debugging needed.

22 years ago[PATCH] don't display viocd partitions in /proc/paritions
Andrew Morton [Mon, 29 Mar 2004 06:51:56 +0000 (22:51 -0800)]
[PATCH] don't display viocd partitions in /proc/paritions

From: Olaf Hering <olh@suse.de>

Further to the recent removal of CDROMs from /proc/partitions.

22 years ago[PATCH] Fix /proc/swaps output alignment
Andrew Morton [Mon, 29 Mar 2004 06:51:42 +0000 (22:51 -0800)]
[PATCH] Fix /proc/swaps output alignment

From: Hugh Dickins <hugh@veritas.com>

There's an irritating extra space upsetting alignment in the 2.6
/proc/swaps, which already arranges a space to separate the fields.

22 years ago[PATCH] update i386 defconfig
Andrew Morton [Mon, 29 Mar 2004 06:51:29 +0000 (22:51 -0800)]
[PATCH] update i386 defconfig

From: Jeff Garzik <jgarzik@pobox.com>

I pretty much said 'no' to everything "(NEW)", so any "=y" you see are the
result of Kconfig rules, not me.

22 years ago[PATCH] Kill IDE debug messages during suspend
Andrew Morton [Mon, 29 Mar 2004 06:51:15 +0000 (22:51 -0800)]
[PATCH] Kill IDE debug messages during suspend

From: Pavel Machek <pavel@ucw.cz>

Suspend/resume support in ide seems to work okay these days, so this should
be applied.

22 years ago[PATCH] cciss: return -ENXIO on no-device-present
Andrew Morton [Mon, 29 Mar 2004 06:51:01 +0000 (22:51 -0800)]
[PATCH] cciss: return -ENXIO on no-device-present

From: mike.miller@hp.com

If no device is attached we now return -ENXIO instead of some bogus
numbers.  Prevents applications from trying to access non-existent disks.
Also adds HDIO_GETGEO_BIG IOCTL that fdisk uses.

22 years ago[PATCH] cciss: support MSA30 storage enclosures
Andrew Morton [Mon, 29 Mar 2004 06:50:46 +0000 (22:50 -0800)]
[PATCH] cciss: support MSA30 storage enclosures

From: <mike.miller@hp.com>

This change is required to support the new MSA30 storage enclosure.  If you
do a SCSI inquiry to a SATA disk bad things happen.  This patch prevents
the inquiry from going to SATA disks.

22 years ago[PATCH] fix a warning in sound/oss/opl3sa2.c.
Andrew Morton [Mon, 29 Mar 2004 06:50:33 +0000 (22:50 -0800)]
[PATCH] fix a warning in sound/oss/opl3sa2.c.

From: Luiz Fernando Capitulino <lcapitulino@prefeitura.sp.gov.br>

sound/oss/opl3sa2.c:163: warning: `opl3sa2_lock' defined but not used

22 years ago[PATCH] Pass correct task to get_user_pages in ptrace
Andrew Morton [Mon, 29 Mar 2004 06:50:19 +0000 (22:50 -0800)]
[PATCH] Pass correct task to get_user_pages in ptrace

From: Andi Kleen <ak@suse.de>

ptrace/access_process_vm was passing current to get_user_pages as task, but
it should have been clearly the child task instead.

This fixes the fault accounting in ptrace and the vsyscall debugging on
x86-64 (it needs the correct task_struct to map the vsyscall pages)

22 years ago[PATCH] cmpci warning fixes
Andrew Morton [Mon, 29 Mar 2004 06:50:05 +0000 (22:50 -0800)]
[PATCH] cmpci warning fixes

From: Luiz Fernando Capitulino <lcapitulino@prefeitura.sp.gov.br>

sound/oss/cmpci.c: In function `cm_release_mixdev':
sound/oss/cmpci.c:1465: warning: unused variable `s'

22 years ago[PATCH] Fix slab creation/destruction vs. CPU Hotplug
Andrew Morton [Mon, 29 Mar 2004 06:49:51 +0000 (22:49 -0800)]
[PATCH] Fix slab creation/destruction vs. CPU Hotplug

From: Rusty Russell <rusty@rustcorp.com.au>

From: Srivatsa Vaddagiri <vatsa@in.ibm.com>

Hit a couple of (cpu hotplug) races in slab allocator during my tests.
Mostly it was because of continuous loading/unloading fs/minix/minix.ko
while simultaneously doing offline/online of CPUs.  As part of its init and
exit routines, minix.ko create/destroys caches, which lead to several
oopses.

1. kmem_cache_create
In brief, kmem_cache_create does:
a) calls enable_cpucache to create per-cpu cache for all
   online CPUs.
b) adds the cache to the global list of caches

These two are not done atomically and thats what causes problems.

For ex: lets say that at the time of step a) CPU1 is not online.
Hence no per-cpu cache is created for CPU1 (cachep->array[1] is NULL).
However CPU1 is not completely dead in the sense that CPU_DEAD
processing for it is not yet over.  By the time CPU_DEAD processing
starts for CPU1, step b) is complete. So cpuup_callback finds this
cache and tries freeing it's per-cpu cache associated with CPU1.
In the process it dereferences a NULL pointer and dies.

2. kmem_cache_destroy
In brief, kmem_cache_destroy does:
a) deletes the cache from the global list of caches
b) Drain per-cpu cache (drain_cpu_caches), which
   basically uses smp_call_function to run do_drain
   on all online CPUs.

One possible race is let's say that CPU1 is coming up.
By the time CPU_UP_PREPARE is processed for CPU1, step a) is
complete. Hence cpuup_callback does not allocate any per-cpu cache
for the cache that is being destroyed.

However by the time step b) is run, CPU1 is completely online
(taking interrupts). It receives the IPI and tries draining
it per-cpu cache (which is NULL) and dies there.

I think we need to serialize kmem_cache_create/destroy against CPU hotplug
to prevent these problems.  Patch below does that by taking CPU Hotplug sem
(which is OK since kmem_cache_create/destroy are not very frequently
used?).

22 years ago[PATCH] Fix posix scheduling violation for !SCHED_OTHER
Andrew Morton [Mon, 29 Mar 2004 06:49:35 +0000 (22:49 -0800)]
[PATCH] Fix posix scheduling violation for !SCHED_OTHER

From: Joe Korty <joe.korty@ccur.com>

The following fixes a problem where a SCHED_FIFO task would on occasion be
moved to the end of its runqueue when returned to from a preemption.  Cause
was due to some SCHED_OTHER code in schedule() which was being run for tasks
of every policy.

22 years ago[PATCH] md: Convert a number or "unsigned long"s to "sector_t"s
Andrew Morton [Mon, 29 Mar 2004 06:49:20 +0000 (22:49 -0800)]
[PATCH] md: Convert a number or "unsigned long"s to "sector_t"s

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

This helps raid5 work on at least 1 very large array..

Thanks to Evan Felix <evan.felix@pnl.gov>

22 years ago[PATCH] arch/x86_64/ia32/sys_ia32.c needs vmalloc.h
Andrew Morton [Mon, 29 Mar 2004 06:49:08 +0000 (22:49 -0800)]
[PATCH] arch/x86_64/ia32/sys_ia32.c needs vmalloc.h

22 years agoMerge http://linux-watchdog.bkbits.net/linux-2.6-watchdog
Linus Torvalds [Mon, 29 Mar 2004 03:53:42 +0000 (19:53 -0800)]
Merge http://linux-watchdog.bkbits.net/linux-2.6-watchdog
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years agoMerge nuts.davemloft.net:/disk1/BK/network-2.6
David S. Miller [Mon, 29 Mar 2004 03:10:55 +0000 (19:10 -0800)]
Merge nuts.davemloft.net:/disk1/BK/network-2.6
into nuts.davemloft.net:/disk1/BK/net-2.6

22 years ago[PATCH] email address update
Alain Knaff [Sun, 28 Mar 2004 23:53:00 +0000 (15:53 -0800)]
[PATCH] email address update

22 years ago[PATCH] fix oops at pmac_zilog rmmod'ing
Benjamin Herrenschmidt [Sun, 28 Mar 2004 23:41:23 +0000 (15:41 -0800)]
[PATCH] fix oops at pmac_zilog rmmod'ing

From: Colin Leroy <colin@colino.net>

rmmod'ing pmac_zilog currently oopses because uart_unregister_driver(),
which nullifies drv->tty_driver, is called before uart_remove_one_port(),
which uses said drv->tty_driver.

The comment at top of uart_unregister_driver() specifically says we have
to have removed all our ports via uart_remove_one_port() before.

22 years ago[PATCH] ISDN CAPI: fix capiminor_alloc() to assign lowest free minor
Armin Schindler [Sun, 28 Mar 2004 23:40:29 +0000 (15:40 -0800)]
[PATCH] ISDN CAPI: fix capiminor_alloc() to assign lowest free minor

From: Frank A. Uepping

   This fixes capiminor_alloc() to assign the lowest free minor for a
   new capi_tty. Thanks to Frank A. Uepping and Tim Woods.

22 years ago[PATCH] ppc64: syscall error test incorrect for 64 bits results
Benjamin Herrenschmidt [Sun, 28 Mar 2004 23:40:16 +0000 (15:40 -0800)]
[PATCH] ppc64: syscall error test incorrect for 64 bits results

The syscall return path on ppc64 checks if the error is between
-LAST_ERRNO and 0, if it is, does the usual inversion along with
setting a CR bit indicating to glibc that an error occured.

However, we had an interesting bug where we used a 32 bits logica
(unsigned) comparison, thus possibly doing false positives for
valid 64 bits unsigned values whose low 32 bits happen to be in
the error range.

Fix that.

22 years ago[PATCH] Add BINFMT_MISC docs for Mono .NET-based binaries
Felipe Alfaro Solana [Sun, 28 Mar 2004 23:40:03 +0000 (15:40 -0800)]
[PATCH] Add BINFMT_MISC docs for Mono .NET-based binaries

Just as there is documentation for BINFMT_MISC and Java bytecodes
support, I thought it could be interesting to add documentation on how
to add BINFMT_MISC support for directly running .NET ".exe" binaries
using the Mono CLR.

22 years ago[PATCH] ppc32: More preempt fixes
Benjamin Herrenschmidt [Sun, 28 Mar 2004 23:39:48 +0000 (15:39 -0800)]
[PATCH] ppc32: More preempt fixes

This patch fixes more cases of possible preempt issue when testing
MSR for FP or VEC bits and then doing giveup_fpu or giveup_altivec
that I missed in my previous round of fixes (bk get helps before
grepping ;)

I also change the single step and program check exceptions to not
re-enable interrupts right away on C code entry, it was useless and
would cause interesting issues with preempt & xmon

22 years ago[PATCH] add missing <linux/config.h>
Roman Zippel [Sun, 28 Mar 2004 23:35:09 +0000 (15:35 -0800)]
[PATCH] add missing <linux/config.h>

A few asm/types.h test a config variable without including
<linux/config.h> first, which can e.g. cause different sector_t
definitions. HFS fell victim to that and broke on ppc with CONFIG_LBD
enabled. I scanned all asm/types.h and added <linux/config.h> as
necessary.

22 years ago[TCP]: Use tcp_tw_put on time-wait sockets.
Nivedita Singhvi [Sun, 28 Mar 2004 13:51:55 +0000 (05:51 -0800)]
[TCP]: Use tcp_tw_put on time-wait sockets.

22 years ago[PATCH] Fix bugs introduced by recent improvements to readdir_plus
Neil Brown [Sun, 28 Mar 2004 10:33:50 +0000 (02:33 -0800)]
[PATCH] Fix bugs introduced by recent improvements to readdir_plus

 - make sure cd->buffer is always inside a page - previously if an
   entry fit perfectly in the remainder of a page, cd->buffer would
   end up pointing past the end of that page.

 - make sure num_entry_words is always correct, even on the error
   path.