]> git.hungrycats.org Git - linux/log
linux
22 years ago[PATCH] Replace MAX_MAP_COUNT with /proc/sys/vm/max_map_count
Andrew Morton [Thu, 1 Apr 2004 05:51:54 +0000 (21:51 -0800)]
[PATCH] Replace MAX_MAP_COUNT with /proc/sys/vm/max_map_count

From: David Mosberger <davidm@napali.hpl.hp.com>

Below is a warmed up version of a patch originally done by Werner Almesberger
(see http://tinyurl.com/25zra) to replace the MAX_MAP_COUNT limit with a
sysctl variable.  I thought this had gone into the tree a long time ago but
alas it has not and as luck would have it, the hard limit bit someone today
once again with a large app on a large machine.

Here is a small test app:

22 years ago[PATCH] ksoftirqd: missing barrier
Andrew Morton [Thu, 1 Apr 2004 05:51:39 +0000 (21:51 -0800)]
[PATCH] ksoftirqd: missing barrier

Spotted by Andrea: we need the barriers in there to prevent reads passing
ahead of the setting of current->state.

22 years ago[PATCH] remove __ARCH_SI_BAND_T
Andrew Morton [Thu, 1 Apr 2004 05:51:27 +0000 (21:51 -0800)]
[PATCH] remove __ARCH_SI_BAND_T

All architectures now make this `long', so we can remove the arch override.

22 years ago[PATCH] Fix hugetlb-vs-memory overcommit
Andrew Morton [Thu, 1 Apr 2004 05:51:13 +0000 (21:51 -0800)]
[PATCH] Fix hugetlb-vs-memory overcommit

From: Andy Whitcroft <apw@shadowen.org>

Two problems:

a) The memory overcommit code fails oto take into account all the pages
   which are pinned by being reserved for the hugetlbpage pool

b) We're performing overcommit accounting and checking on behalf of
   hugetlbpage vmas.

The main thrust is to ensure that VM_ACCOUNT actually only gets set on
vma's which are indeed accountable.  With that ensured much of the rest
comes out in the wash.  It also removes the hugetlb memory for the
overcommit_memory=2 case.

22 years ago[PATCH] siginfo.si_band is long
Andrew Morton [Thu, 1 Apr 2004 05:51:01 +0000 (21:51 -0800)]
[PATCH] siginfo.si_band is long

From: Marcus Meissner <meissner@suse.de>

After discussion on the glibc list the result was that=20 si_band is "long
int" according to POSIX:

http://www.opengroup.org/onlinepubs/007904975/basedefs/signal.h.html

Ulrich Drepper refused a patch to fix glibc due to this reason:
http://sources.redhat.com/ml/libc-alpha/2004-03/msg00254.html

so here is the patch to fix it in the kernel.

ppc64 and s390x were broken before and are fixed by this patch too.

22 years ago[PATCH] ppc64: add useful warning message in hugepage code
Andrew Morton [Thu, 1 Apr 2004 05:50:47 +0000 (21:50 -0800)]
[PATCH] ppc64: add useful warning message in hugepage code

From: David Gibson <david@gibson.dropbear.id.au>

This patch adds a debugging message to the ppc64 hugepage code when we
attempt to open the "low" (32-bit) hugepage window on PPC64, but can't
because a (non-hugepage) mapping already exists in the region.

22 years ago[PATCH] ppc64: allow MAP_FIXED hugepage mappings
Andrew Morton [Thu, 1 Apr 2004 05:50:36 +0000 (21:50 -0800)]
[PATCH] ppc64: allow MAP_FIXED hugepage mappings

From: David Gibson <david@gibson.dropbear.id.au>

On PowerPC64 the "low" hugepage range (at 2-3G for use by 32-bit processes)
needs to be activated before it can be used.  hugetlb_get_unmapped_area()
automatically activates the range for hugepage mappings in 32-bit processes
which are not MAP_FIXED.  However for MAP_FIXED mmap()s, even at a suitable
address will fail if the region is not already activated, because there is
no suitable callback from the generic MAP_FIXED code path into the arch
code.

This patch corrects this problem and allows PPC64 to do MAP_FIXED hugepage
mappings in the low hugepage range.

22 years ago[PATCH] ppc64: bugfix for hugepage support
Andrew Morton [Thu, 1 Apr 2004 05:50:22 +0000 (21:50 -0800)]
[PATCH] ppc64: bugfix for hugepage support

From: David Gibson <david@gibson.dropbear.id.au>

Due to a misunderstanding of pmd_offset() the PPC64 hugepage code could end
up looking at bogus pages as if they were PMD pages.

22 years ago[PATCH] ppc64: create dma_mapping_error
Andrew Morton [Thu, 1 Apr 2004 05:50:10 +0000 (21:50 -0800)]
[PATCH] ppc64: create dma_mapping_error

From: Anton Blanchard <anton@samba.org>

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

This creates DMA_ERROR_CODE and uses it everywhere instead of
PCI_DMA_ERROR_CODE as we really want the three DMA mapping API's to return
a single error code.  Also we now have dma_mapping_error and
vio_dma_mapping_error - and this latter and pci_dma_mapping_error both just
call the former.

Also a small fix in the vscsi - dma_map_sg returns 0 to indicate an error.

22 years ago[PATCH] PPC32 build fix
Andrew Morton [Thu, 1 Apr 2004 05:49:57 +0000 (21:49 -0800)]
[PATCH] PPC32 build fix

From: Matt Porter <mporter@kernel.crashing.org>

This fixes the build on non cache coherent PPC32 platforms.

22 years agoMerge bk://kernel.bkbits.net/davem/net-2.6
Linus Torvalds [Wed, 31 Mar 2004 22:43:03 +0000 (14:43 -0800)]
Merge bk://kernel.bkbits.net/davem/net-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years agoMerge http://jfs.bkbits.net/linux-2.5
Linus Torvalds [Wed, 31 Mar 2004 22:41:11 +0000 (14:41 -0800)]
Merge http://jfs.bkbits.net/linux-2.5
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years agoMerge jfs@jfs.bkbits.net:linux-2.5
Dave Kleikamp [Thu, 1 Apr 2004 01:35:56 +0000 (19:35 -0600)]
Merge jfs@jfs.bkbits.net:linux-2.5
into austin.ibm.com:/shaggy/bk/jfs-2.5

22 years agoMerge davem@nuts.davemloft.net:/disk1/BK/net-2.6
David S. Miller [Wed, 31 Mar 2004 15:22:44 +0000 (07:22 -0800)]
Merge davem@nuts.davemloft.net:/disk1/BK/net-2.6
into kernel.bkbits.net:/home/davem/net-2.6

22 years ago[TCP]: IPV6, do not use sock_put() on timewait sockets.
Nivedita Singhvi [Wed, 31 Mar 2004 15:13:46 +0000 (07:13 -0800)]
[TCP]: IPV6, do not use sock_put() on timewait sockets.

22 years ago[CREDITS]: Update my affiliation.
Hideaki Yoshifuji [Wed, 31 Mar 2004 15:04:03 +0000 (07:04 -0800)]
[CREDITS]: Update my affiliation.

22 years agoMerge http://xfs.org:8090/xfs-linux-2.6
Linus Torvalds [Wed, 31 Mar 2004 12:12:29 +0000 (04:12 -0800)]
Merge http://xfs.org:8090/xfs-linux-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years ago[XFS] Be explicit in adding in the non-transactional data to the reservation
Timothy Shimmin [Thu, 1 Apr 2004 22:21:32 +0000 (08:21 +1000)]
[XFS] Be explicit in adding in the non-transactional data to the reservation
estimate.  We must add in for the worst case of a log stripe taking us the
full distance for a log stripe boundary.

SGI Modid: xfs-linux:xfs-kern:169304a

22 years ago[XFS] Make the XFS access checks like the other Linux filesystems for DAC.
Nathan Scott [Thu, 1 Apr 2004 22:16:22 +0000 (08:16 +1000)]
[XFS] Make the XFS access checks like the other Linux filesystems for DAC.

SGI Modid: xfs-linux:xfs-kern:169300a

22 years ago[XFS] Ensure sb not flushed async on a SYNC_WAIT sync. Fixed by Bart Samwel.
Nathan Scott [Thu, 1 Apr 2004 22:07:01 +0000 (08:07 +1000)]
[XFS] Ensure sb not flushed async on a SYNC_WAIT sync.  Fixed by Bart Samwel.

SGI Modid: xfs-linux:xfs-kern:169208a

22 years ago[XFS] Disallow logbufs=0 unless the correct compilation flags used,
Nathan Scott [Thu, 1 Apr 2004 22:03:53 +0000 (08:03 +1000)]
[XFS] Disallow logbufs=0 unless the correct compilation flags used,
else we panic.

SGI Modid: xfs-linux:xfs-kern:169200a

22 years ago[XFS] Fix shortform attr flags botch affecting listxattr - from Andreas Gruenbacher.
Nathan Scott [Thu, 1 Apr 2004 22:01:15 +0000 (08:01 +1000)]
[XFS] Fix shortform attr flags botch affecting listxattr - from Andreas Gruenbacher.

SGI Modid: xfs-linux:xfs-kern:169199a

22 years ago[XFS] Fix r/o check in xfs_ioc_space, fix checks on xfs_swapext validity.
Christoph Hellwig [Thu, 1 Apr 2004 21:58:20 +0000 (07:58 +1000)]
[XFS] Fix r/o check in xfs_ioc_space, fix checks on xfs_swapext validity.

SGI Modid: xfs-linux:xfs-kern:169135a

22 years ago[XFS] Reinstate some accidentally dropped log IO error injection code.
Nathan Scott [Thu, 1 Apr 2004 21:55:14 +0000 (07:55 +1000)]
[XFS] Reinstate some accidentally dropped log IO error injection code.

SGI Modid: xfs-linux:xfs-kern:169048a

22 years ago[XFS] Reenable non-block flag for DMAPI.
Nathan Scott [Thu, 1 Apr 2004 21:52:31 +0000 (07:52 +1000)]
[XFS] Reenable non-block flag for DMAPI.

SGI Modid: xfs-linux:xfs-kern:169038a

22 years ago[XFS] Use unsigned long long for end_offset so we don't overflow it.
Nathan Straz [Thu, 1 Apr 2004 21:49:59 +0000 (07:49 +1000)]
[XFS] Use unsigned long long for end_offset so we don't overflow it.

SGI Modid: xfs-linux:xfs-kern:168809a

22 years ago[XFS] Fix debug builds - need sb_features2 details in endian translation code.
Nathan Scott [Thu, 1 Apr 2004 21:40:12 +0000 (07:40 +1000)]
[XFS] Fix debug builds - need sb_features2 details in endian translation code.

SGI Modid: xfs-linux:xfs-kern:168693a

22 years ago[XFS] Define a new superblock field for more feature bits. Take the last
Glen Overby [Thu, 1 Apr 2004 21:36:15 +0000 (07:36 +1000)]
[XFS] Define a new superblock field for more feature bits.  Take the last
feature bit in sb_versionnum to use to indicate that the new feature bit
field is to be used.

SGI Modid: xfs-linux:xfs-kern:168665a

22 years ago[XFS] Add space for inode and allocation btrees to ITRUNCATE log reservation.
Glen Overby [Thu, 1 Apr 2004 21:29:28 +0000 (07:29 +1000)]
[XFS] Add space for inode and allocation btrees to ITRUNCATE log reservation.
Add XFS_ALLOCFREE_LOG_RES to IFREE log reservation.

SGI Modid: xfs-linux:xfs-kern:168597a

22 years ago[XFS] use ssize_t to store VOP_READ/VOP_WRITE return value.
Christoph Hellwig [Thu, 1 Apr 2004 21:22:52 +0000 (07:22 +1000)]
[XFS] use ssize_t to store VOP_READ/VOP_WRITE return value.

SGI Modid: xfs-linux:xfs-kern:168167a

22 years ago[XFS] Use PFLAGS_RESTORE_FSTRANS in place of PFLAGS_RESTORE, only restore
Eric Sandeen [Thu, 1 Apr 2004 20:43:55 +0000 (06:43 +1000)]
[XFS] Use PFLAGS_RESTORE_FSTRANS in place of PFLAGS_RESTORE, only restore
previously saved FSTRANS state.  Otherwise we can lose process flags.

SGI Modid: xfs-linux:xfs-kern:168082a

22 years ago[XFS] Remove dup fdatasync/fdatawait call on fsync. Means we no longer
Nathan Scott [Thu, 1 Apr 2004 20:38:16 +0000 (06:38 +1000)]
[XFS] Remove dup fdatasync/fdatawait call on fsync.  Means we no longer
take the iolock here, and readers no longer conflict with concurrent
fsync activity.  Kudos to Steve!

SGI Modid: xfs-linux:xfs-kern:167949a

22 years ago[XFS] Fix up mrlock debug code, and ensure its only built under DEBUG.
Nathan Scott [Thu, 1 Apr 2004 20:35:23 +0000 (06:35 +1000)]
[XFS] Fix up mrlock debug code, and ensure its only built under DEBUG.

SGI Modid: xfs-linux:xfs-kern:167944a

22 years agoMerge evo:v2.6/linux into ppc970.osdl.org:/home/torvalds/v2.6/linux
Linus Torvalds [Wed, 31 Mar 2004 10:19:49 +0000 (02:19 -0800)]
Merge evo:v2.6/linux into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years agoacpi: enable global wake events by default
Linus Torvalds [Wed, 31 Mar 2004 10:18:18 +0000 (02:18 -0800)]
acpi: enable global wake events by default

People need the global wake events even when not sleeping:
they are used for lid open events at least on some laptops.
As such, they should be enabled by default.

You can disable them with "acpi_leave_gpes_disabled" if
your machine doesn't need them, and you want to get a few
less GPE's.

22 years ago[NETFILTER]: Fix circular conntrack header file dependency.
Harald Welte [Wed, 31 Mar 2004 07:28:59 +0000 (23:28 -0800)]
[NETFILTER]: Fix circular conntrack header file dependency.

22 years ago[PATCH] io_getevents leak fix
Andrew Morton [Wed, 31 Mar 2004 07:18:48 +0000 (23:18 -0800)]
[PATCH] io_getevents leak fix

Spotted by Suparna: if the first range check fails, we leak a ref on the io
context.

22 years ago[NETFILTER]: Do not require ip_forwarding for reset on a bridge.
Bart De Schuymer [Wed, 31 Mar 2004 07:18:10 +0000 (23:18 -0800)]
[NETFILTER]: Do not require ip_forwarding for reset on a bridge.

Currently, to be able to send a reset in the FORWARD chain of iptables
for bridged traffic, ip forwarding must be enabled. This causes confusion
and in some situations people really don't want to enable ip forwarding.
The patch below lets the user send reset packets for bridged frames in
the FORWARD chain, with ip forwarding disabled (as long as there is a
route).

22 years agoMerge bk://kernel.bkbits.net/davem/sparc-2.6
Linus Torvalds [Wed, 31 Mar 2004 06:20:15 +0000 (22:20 -0800)]
Merge bk://kernel.bkbits.net/davem/sparc-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years ago[PATCH] fix ALSA au88x0 compilation
Adrian Bunk [Wed, 31 Mar 2004 04:43:37 +0000 (20:43 -0800)]
[PATCH] fix ALSA au88x0 compilation

In the ALSA cleanup for duplicate PCI ID's, they weren't exactly
duplicated, resulting in problems in the au8810.c driver.

This fixes the problem

22 years agoMerge bk://kernel.bkbits.net/wesolows/sparc32-2.6
David S. Miller [Wed, 31 Mar 2004 04:12:37 +0000 (20:12 -0800)]
Merge bk://kernel.bkbits.net/wesolows/sparc32-2.6
into nuts.davemloft.net:/disk1/BK/sparc-2.6

22 years agoMerge nuts.davemloft.net:/disk1/BK/sparcwork-2.6
David S. Miller [Wed, 31 Mar 2004 04:10:32 +0000 (20:10 -0800)]
Merge nuts.davemloft.net:/disk1/BK/sparcwork-2.6
into nuts.davemloft.net:/disk1/BK/sparc-2.6

22 years ago[PATCH] fix VIA SATA device detection
Jeff Garzik [Wed, 31 Mar 2004 04:01:37 +0000 (20:01 -0800)]
[PATCH] fix VIA SATA device detection

The last fix apparently only worked for device 0, since the driver
screwed up the port offsets (due to a wonky VIA hardware layout,
really).

This patch fixes device 1 detection for the users still seeing problems
in -rc3.

22 years ago[PATCH] Fix oopses in fealnx driver TX path
Jeff Garzik [Wed, 31 Mar 2004 04:01:25 +0000 (20:01 -0800)]
[PATCH] Fix oopses in fealnx driver TX path

In both uniprocessor and SMP, the fealnx driver's TX-submit path can
race against the interrupt handler, with disastrous results.  Add the
lock that needed to be there all along, to fix this.

There's another problem in the RX path, that will be sent as a separate
patch, as soon as we get that patch 100% nailed down, and acceptable for
a Release Candidate.

22 years agoJFS: initialize log->bp before calling lmNextPage
Dave Kleikamp [Wed, 31 Mar 2004 03:48:27 +0000 (21:48 -0600)]
JFS: initialize log->bp before calling lmNextPage

22 years agoMerge bk://linux-sam.bkbits.net/kbuild
Linus Torvalds [Wed, 31 Mar 2004 03:15:07 +0000 (19:15 -0800)]
Merge bk://linux-sam.bkbits.net/kbuild
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years agoAdd __user pointer annotations
Linus Torvalds [Wed, 31 Mar 2004 03:12:17 +0000 (19:12 -0800)]
Add __user pointer annotations

Every pointer in <syscalls.h> had better be a user
pointer. Also add some others that a quick sanity check
picked up on.

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 ago[SPARC32]: Regenerate defconfig
Keith M. Wesolowski [Tue, 30 Mar 2004 14:41:02 +0000 (06:41 -0800)]
[SPARC32]: Regenerate defconfig

22 years agoMerge ssh://kernel.bkbits.net/sparc32-2.6
Keith M. Wesolowski [Tue, 30 Mar 2004 14:16:04 +0000 (06:16 -0800)]
Merge ssh://kernel.bkbits.net/sparc32-2.6
into foobazco.org:/sources/2.5-sparc-todave

22 years ago[SPARC32]: Fix cast-as-lvalue
Keith M. Wesolowski [Tue, 30 Mar 2004 14:02:59 +0000 (06:02 -0800)]
[SPARC32]: Fix cast-as-lvalue

22 years ago[SPARC32]: Display useful information in the event of a bad trap
Keith M. Wesolowski [Tue, 30 Mar 2004 14:01:26 +0000 (06:01 -0800)]
[SPARC32]: Display useful information in the event of a bad trap

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 agoMerge foobazco.org:/sources/2.5-sparc-modules
Keith M. Wesolowski [Tue, 30 Mar 2004 13:23:10 +0000 (05:23 -0800)]
Merge foobazco.org:/sources/2.5-sparc-modules
into foobazco.org:/sources/2.5-sparc-todave

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 ago[IPV4]: Fix IGMPv3 timer initialization when device not upped.
David Stevens [Tue, 30 Mar 2004 11:24:23 +0000 (03:24 -0800)]
[IPV4]: Fix IGMPv3 timer initialization when device not upped.

22 years ago[ATM]: mpoa_proc warning cleanup (from Willy TARREAU <willy@w.ods.org>)
Chas Williams [Tue, 30 Mar 2004 11:22:40 +0000 (03:22 -0800)]
[ATM]: mpoa_proc warning cleanup (from Willy TARREAU <willy@w.ods.org>)

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[SPARC64]: Export prom_palette.
David S. Miller [Tue, 30 Mar 2004 06:23:57 +0000 (22:23 -0800)]
[SPARC64]: Export prom_palette.

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 agoMerge mars.ravnborg.org:/home/sam/bk/linux-2.6
Sam Ravnborg [Mon, 29 Mar 2004 23:33:14 +0000 (01:33 +0200)]
Merge mars.ravnborg.org:/home/sam/bk/linux-2.6
into mars.ravnborg.org:/home/sam/bk/kbuild

22 years agokbuild: Avoid "expr length" in Makefile
Sam Ravnborg [Mon, 29 Mar 2004 23:16:35 +0000 (01:16 +0200)]
kbuild: Avoid "expr length" in Makefile

From:  Martin Schaffner <maschaffner@gmx.ch>

22 years agokbuild: Add cscope to make help
Sam Ravnborg [Mon, 29 Mar 2004 23:13:52 +0000 (01:13 +0200)]
kbuild: Add cscope to make help

From: Bjorn Helgas <bjorn.helgaas@hp.com>

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 ago[SPARC32]: Update module linking for symbols starting with "."
Keith M. Wesolowski [Mon, 29 Mar 2004 15:41:46 +0000 (07:41 -0800)]
[SPARC32]: Update module linking for symbols starting with "."

Rusty did not like the __dot_sym approach and suggested instead:

1) make rem, urem, mul, umul, div and udiv aliases to .rem, .urem etc:

   extern int rem(int, int) __attribute__((weak,alias(".rem")));

2) EXPORT_SYMBOL(rem) etc.
3) Check genksyms recognises that prototype (it should).
4) Copy "dedotify" from ppc64 to handle them on load.

The only real downside is the risk that someone else will export
those names, but I think that's pretty unlikely.

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