]> git.hungrycats.org Git - linux/log
linux
22 years ago[PATCH] Fix uninitialized data in EFI RTC /proc interface
Andrew Morton [Sat, 27 Mar 2004 05:02:21 +0000 (21:02 -0800)]
[PATCH] Fix uninitialized data in EFI RTC /proc interface

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

The problem is that we don't clear out the efi_time_t buffer before asking
EFI to fill it in.  EFI doesn't always write the entire buffer (in
particular, the alarm time only supports one second resolution, so the
nanosecond field is often untouched).

The effect is that 'cat /proc/driver/efirtc' shows garbage in the
nanoseconds part of the alarm time, and sometimes artifacts like bogus
alarm date and junk after the actual end of the text.

22 years ago[PATCH] selinux: check return value for receive node permission
Andrew Morton [Sat, 27 Mar 2004 05:02:08 +0000 (21:02 -0800)]
[PATCH] selinux: check return value for receive node permission

From: James Morris <jmorris@redhat.com>

This patch fixes a bug where the return value for a permission call is not
checked.

The bug was introduced when I added some code in the following changeset:

<http://linux.bkbits.net:8080/linux-2.5/diffs/security/selinux/hooks.c@1.19?nav=index.html|src/|src/security|src/security/selinux|hist/security/selinux/hooks.c>

Code was added after this line:

err = avc_has_perm(isec->sid, node_sid, SECCLASS_NODE, node_perm, NULL, &ad);

without adding an explicit check of 'err', which was previously returned
from the function rather than being checked.  i.e. it would drop through
to:

out:
  return err;

  }

With the new code added, err can (and typically would) be overwritten with
a successful value, causing the permission check to not deny permission if
needed.  The intended denial would have been logged.

The patch below fixes this problem.

22 years ago[PATCH] adjuct cpu_khz in response to cpufreq changes
Andrew Morton [Sat, 27 Mar 2004 05:01:55 +0000 (21:01 -0800)]
[PATCH] adjuct cpu_khz in response to cpufreq changes

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

This patch ensures that cpu_khz is adjusted on cpufreq notifications even
when the tsc timesource is not in use.  It fixes the mostly cosmetic issue
when using the ACPI PM timesource of /proc/cpuinfo not being properly
updated when cpu frequency was lowered.

22 years ago[PATCH] s390: system call speedup part 2.
Andrew Morton [Sat, 27 Mar 2004 05:01:42 +0000 (21:01 -0800)]
[PATCH] s390: system call speedup part 2.

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

System call speedup part 2.

22 years ago[PATCH] s390: system call speedup part 1.
Andrew Morton [Sat, 27 Mar 2004 05:01:29 +0000 (21:01 -0800)]
[PATCH] s390: system call speedup part 1.

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

The purpose of this is to speed up system calls on s390.  I managed to
squeeze about 65 cycles from each system call.  This improved e.g.  getpid()
from 232 to 157 cycles.  As a nice side-effect it simplified the uaccess
functions considerably.

22 years ago[PATCH] s390: tape driver.
Andrew Morton [Sat, 27 Mar 2004 05:01:16 +0000 (21:01 -0800)]
[PATCH] s390: tape driver.

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

s390 tape driver changes:
 - Prevent offline while device is in use.
 - Do not use bus_id string in debug feature messages.
 - Check for IS_ERR(irb) error conditions in interrupt handler.
 - Fix removing tape discipline modules.

22 years ago[PATCH] s390: network driver.
Andrew Morton [Sat, 27 Mar 2004 05:01:03 +0000 (21:01 -0800)]
[PATCH] s390: network driver.

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

s390 network driver changes:
 - ctc/lcs/qeth: prevent a ccw-device to be grouped multiple times.
 - icuv: clear correct field in iucv_register_program if no userid is specified.
 - lcs: fix online/offline cycle again.
 - lcs: fix ungrouping of lcs group device. The channels of the lcs card
   should be offline afterwards.
 - lcs: don't do netif_stop_queue if no tx buffer is available, just
   return -EBUSY and drop the packets.

22 years ago[PATCH] s390: z/VM monitor stream.
Andrew Morton [Sat, 27 Mar 2004 05:00:49 +0000 (21:00 -0800)]
[PATCH] s390: z/VM monitor stream.

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

z/VM monitor stream changes:
 - Correct sysctl vs. module ref-counting.

22 years ago[PATCH] s390: dasd driver.
Andrew Morton [Sat, 27 Mar 2004 05:00:37 +0000 (21:00 -0800)]
[PATCH] s390: dasd driver.

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

dasd device driver changes:
 - After a state change interrupt restart all running i/o on queue
   and reset device timer.
 - Improve some debug messages.
 - Lower timeout of reserve/release/steal_lock to 2 seconds.
 - Fix BIODASDPSRD ioctl.
 - Replace ro_flag, use_diag_flag and disconnect_error_flag words by bits.
 - Use BLKPG_DEL_PARTITION ioctl instead of a call to delete_partition because
   delete_partition is not an exported function. Since dasd_destroy_partitions
   can't do blkdev_get because dasd_open would fail, keep the block device
   open as long as partitions exist. This in turn requires a different
   approach to the open vs. offline race.

22 years ago[PATCH] s390: core fixes.
Andrew Morton [Sat, 27 Mar 2004 05:00:23 +0000 (21:00 -0800)]
[PATCH] s390: core fixes.

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

s390 core changes:
 - Fix return type of some system call functions (long vs. int).
 - Fix prototypes for compat system call handlers.
 - Correct some bugs in the compat system call wrappers.
 - Fix broken pointer arithmetic which causes problems with
   gcc 3.4 and -march=z990
 - Remove unnecessary #ifndef & optimize inline assemblies in spinlock.h.
 - Improve handling of deferred condition code 1.
 - New default configuration.

22 years ago[PATCH] ipc locking fix
Andrew Morton [Sat, 27 Mar 2004 05:00:07 +0000 (21:00 -0800)]
[PATCH] ipc locking fix

From: badari <pbadari@us.ibm.com>

I ran into an ipc hang while trying to shutdown a database.  The problem is
due to missing sem_unlock() in find_undo().

22 years ago[PATCH] write_kmem() fix
Andrew Morton [Sat, 27 Mar 2004 04:59:54 +0000 (20:59 -0800)]
[PATCH] write_kmem() fix

copy_from_user() returns non-zero on faults..

22 years ago[PATCH] Fix cyclades async driver timeout miscalculation
Marcelo Tosatti [Sat, 27 Mar 2004 04:56:57 +0000 (20:56 -0800)]
[PATCH] Fix cyclades async driver timeout miscalculation

This fixes a problem where cy_wait_until_sent() miscalculates (calculate
-1 on a unsigned long) the "char_time" parameter passed to
schedule_timeout().

Fix that by making it a signed long, and checking for negative value.

22 years ago[PATCH] Emulate deviceless bridge ioctls
Andi Kleen [Sat, 27 Mar 2004 04:56:44 +0000 (20:56 -0800)]
[PATCH] Emulate deviceless bridge ioctls

This helps vmware users running vmware on x86-64 - vmnet tries to set up a bridge.
Emulate these ioctls. The bridge has more ioctls on its bridge device, but these
don't seem to be needed here.

22 years ago[PATCH] Don't register disabled nodes
Andi Kleen [Sat, 27 Mar 2004 04:56:32 +0000 (20:56 -0800)]
[PATCH] Don't register disabled nodes

Don't register disabled nodes.  Hits on x86-64 when there is a node with no memory.
X86-64 shares this code with i386.

22 years ago[PATCH] Fix x86-64 32bit getdents for new glibc
Andi Kleen [Sat, 27 Mar 2004 04:56:18 +0000 (20:56 -0800)]
[PATCH] Fix x86-64 32bit getdents for new glibc

The newest CVS glibc assumes that Linux >=2.6.4 always passes d_type.
This patch adds this to the 32bit getdents on x86-64 too

Patch originally from Marcus Meissner

22 years agoMerge bk://linux-acpi.bkbits.net/linux-acpi-release-2.6.5
Linus Torvalds [Fri, 26 Mar 2004 09:43:10 +0000 (01:43 -0800)]
Merge bk://linux-acpi.bkbits.net/linux-acpi-release-2.6.5
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years agoMerge intel.com:/home/lenb/src/linux-acpi-test-2.6.4
Len Brown [Fri, 26 Mar 2004 14:33:51 +0000 (09:33 -0500)]
Merge intel.com:/home/lenb/src/linux-acpi-test-2.6.4
into intel.com:/home/lenb/src/linux-acpi-test-2.6.5

22 years ago[ACPI] Linux specific updates from ACPICA 20040326
Len Brown [Fri, 26 Mar 2004 14:31:19 +0000 (09:31 -0500)]
[ACPI] Linux specific updates from ACPICA 20040326
"acpi_wake_gpes_always_on" boot flag for old GPE behaviour

22 years agoMerge intel.com:/home/lenb/bk/linux-2.6.5
Len Brown [Fri, 26 Mar 2004 13:53:17 +0000 (08:53 -0500)]
Merge intel.com:/home/lenb/bk/linux-2.6.5
into intel.com:/home/lenb/src/linux-acpi-test-2.6.5

22 years ago[ACPI] ACPICA 20040326 from Bob Moore
Len Brown [Fri, 26 Mar 2004 13:49:28 +0000 (08:49 -0500)]
[ACPI] ACPICA 20040326 from Bob Moore

Implemented support for "wake" GPEs via interaction between
GPEs and the _PRW methods.  Every GPE that is pointed to by
one or more _PRWs is identified as a WAKE GPE and by default
will no longer be enabled at runtime.  Previously, we were
blindly enabling all GPEs with a corresponding _Lxx or _Exx
method - but most of these turn out to be WAKE GPEs anyway.
We believe this has been the cause of thousands of
"spurious" GPEs on some systems.

This new GPE behavior is can be reverted to the original
behavior (enable ALL GPEs at runtime) via a runtime flag.

Fixed a problem where aliased control methods could not
access objects properly.  The proper scope within the
namespace was not initialized (transferred to the target of
the aliased method) before executing the target method.

Fixed a potential race condition on internal object
deletion on the return object in AcpiEvaluateObject.

Integrated a fix for resource descriptors where both
_MEM and _MTP were being extracted instead of just _MEM.
(i.e. bitmask was incorrectly too wide, 0x0F instead of 0x03.)

Added a special case for ACPI_ROOT_OBJECT in AcpiUtGetNodeName,
preventing a fault in some cases.

Updated Notify() values for debug statements in evmisc.c

Return proper status from AcpiUtMutexInitialize,
not just simply AE_OK.

22 years agoMerge intel.com:/home/lenb/src/linux-acpi-test-2.6.4
Len Brown [Fri, 26 Mar 2004 13:01:30 +0000 (08:01 -0500)]
Merge intel.com:/home/lenb/src/linux-acpi-test-2.6.4
into intel.com:/home/lenb/src/linux-acpi-test-2.6.5

22 years ago[ACPI] proposed fix for non-identity-mapped SCI override
Len Brown [Fri, 26 Mar 2004 12:52:32 +0000 (07:52 -0500)]
[ACPI] proposed fix for non-identity-mapped SCI override
http://bugme.osdl.org/show_bug.cgi?id=2366

22 years ago[SPARC64]: Fix lvalue casting in sys_sparc32.c
David S. Miller [Fri, 26 Mar 2004 07:00:55 +0000 (23:00 -0800)]
[SPARC64]: Fix lvalue casting in sys_sparc32.c

22 years ago[SPARC64]: Fix svr4_stack_t typing in svr4.h
David S. Miller [Fri, 26 Mar 2004 06:17:12 +0000 (22:17 -0800)]
[SPARC64]: Fix svr4_stack_t typing in svr4.h

22 years ago[SPARC64]: Fix lvalue casting in sys_sunos32.c
David S. Miller [Fri, 26 Mar 2004 06:16:43 +0000 (22:16 -0800)]
[SPARC64]: Fix lvalue casting in sys_sunos32.c

22 years ago[SPARC64]: Fix lvalue casting in signal32.c
David S. Miller [Fri, 26 Mar 2004 06:16:17 +0000 (22:16 -0800)]
[SPARC64]: Fix lvalue casting in signal32.c

22 years ago[SPARC64]: Do not lvalue cast in pgd/pmd macros.
David S. Miller [Fri, 26 Mar 2004 06:15:22 +0000 (22:15 -0800)]
[SPARC64]: Do not lvalue cast in pgd/pmd macros.

22 years ago[PATCH] ide-cd capacity fix
Jens Axboe [Thu, 25 Mar 2004 22:47:49 +0000 (14:47 -0800)]
[PATCH] ide-cd capacity fix

Only allow get_last_written() to override get_capacity(), if it is
bigger.

22 years ago[PATCH] ppc32: arch code preempt fixes
Benjamin Herrenschmidt [Thu, 25 Mar 2004 14:07:08 +0000 (06:07 -0800)]
[PATCH] ppc32: arch code preempt fixes

I figured the best way to stop beeing bothered by users trying to run
preempt was to fix it ;)

Here's a first batch that close some races we had when testing regs->msr
for altivec or FPU enable, then doing the giveup_* function.  A preempt
in between those would have caused us to save a stale altivec or FPU
context.

22 years ago[PATCH] dmasound close timeout
Benjamin Herrenschmidt [Thu, 25 Mar 2004 14:00:32 +0000 (06:00 -0800)]
[PATCH] dmasound close timeout

The dmasound driver occasionally hangs a process on exit.

Apparently there is a possible case where the sound HW stops draining
output samples and the driver waits forever in its release() callback.
It should check for signals(), but it seems signal_pending() never
returns 1 when the process is beeing killed (implicit release() of files
on exit).

This patch adds a safety timeout to the release() function to make sure
we can at least close the driver.  I'll try to find the reason we aren't
driving samples later, but it is better to have a safety just incase the
sound clock goes berserk for some reason.

22 years ago[PATCH] powerbook via-pmu races
Benjamin Herrenschmidt [Thu, 25 Mar 2004 14:00:19 +0000 (06:00 -0800)]
[PATCH] powerbook via-pmu races

This fixes some racy code in the management of asynchronous brightness
and battery requests in the via-pmu driver used on powerbooks.  This
should fix some preempt related problems (there is no SMP powerbook yet :)

22 years ago[PATCH] adbhid preempt/smp races
Benjamin Herrenschmidt [Thu, 25 Mar 2004 14:00:08 +0000 (06:00 -0800)]
[PATCH] adbhid preempt/smp races

This fixes a few races in the LED code of the adbhid driver that would
affect SMP or preempt.

22 years ago[PATCH] ppc32: Fix racy access to TI_FLAGS
Benjamin Herrenschmidt [Thu, 25 Mar 2004 13:59:54 +0000 (05:59 -0800)]
[PATCH] ppc32: Fix racy access to TI_FLAGS

The ppc32 syscall entry code could access the thread info flags in a
racy way, thus potentially losing bits sets there at interrupt time or
by another CPU, like NEED_RESCHED or SIGPENDING (ouch !).

This fixes it by moving the potentially racy bit to a different field (I
preferred that rather than turning the access into an atomic operation
for performances reasons).

22 years agoMerge http://lia64.bkbits.net/to-linus-2.5
Linus Torvalds [Thu, 25 Mar 2004 13:57:17 +0000 (05:57 -0800)]
Merge http://lia64.bkbits.net/to-linus-2.5
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years agoMerge bk://bk.arm.linux.org.uk/linux-2.6-rmk
Linus Torvalds [Thu, 25 Mar 2004 13:56:11 +0000 (05:56 -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] Add dma_mapping_error() definition.
Russell King [Thu, 25 Mar 2004 19:52:07 +0000 (19:52 +0000)]
[ARM] Add dma_mapping_error() definition.

22 years ago[ARM] Remove Anakin machine support.
Russell King [Thu, 25 Mar 2004 17:58:50 +0000 (17:58 +0000)]
[ARM] Remove Anakin machine support.

Anakin has not been maintained since it was (partially) merged, and
the maintainers appear to ignore mail about it.  No one appears
willing to maintain it either.  However, some unrelated kernel
maintainers have been updating various files while they've been
working in the area - which is wasted work for something which
isn't maintained.

Therefore, this cset removes Anakin completely from the kernel.

22 years ago[ARM] Add support for dev->coherent_dma_mask
Russell King [Thu, 25 Mar 2004 17:44:51 +0000 (17:44 +0000)]
[ARM] Add support for dev->coherent_dma_mask

This adds AMBA and SA11xx support for dev->coherent_dma_mask.

22 years agoMerge bk://bk.arm.linux.org.uk/linux-2.6-pcmcia
Linus Torvalds [Thu, 25 Mar 2004 13:52:41 +0000 (05:52 -0800)]
Merge bk://bk.arm.linux.org.uk/linux-2.6-pcmcia
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years agoMerge intel.com:/home/lenb/src/linux-acpi-test-2.6.4
Len Brown [Thu, 25 Mar 2004 12:53:25 +0000 (07:53 -0500)]
Merge intel.com:/home/lenb/src/linux-acpi-test-2.6.4
into intel.com:/home/lenb/src/linux-acpi-test-2.6.5

22 years ago[ACPI] PCI interrupt link routing (Luming Yu)
Len Brown [Thu, 25 Mar 2004 12:40:31 +0000 (07:40 -0500)]
[ACPI] PCI interrupt link routing (Luming Yu)
use _PRS to determine resource type for _SRS
fixes HP Proliant servers
http://bugzilla.kernel.org/show_bug.cgi?id=1590

22 years ago[PCMCIA] attack of the clones
Daniel Ritz [Thu, 25 Mar 2004 10:26:12 +0000 (10:26 +0000)]
[PCMCIA] attack of the clones

Patch from: Daniel Ritz

This patch adds the TI clones from ENE to the override list
in yenta_socket.c.

22 years ago[ARM] arch/arm/boot/Makefile: s/quite_cmd_mknote/quiet_cmd_mknote/
Arthur Othieno [Thu, 25 Mar 2004 10:11:59 +0000 (10:11 +0000)]
[ARM] arch/arm/boot/Makefile: s/quite_cmd_mknote/quiet_cmd_mknote/

Patch from: Arthur Othieno

This fixes a typo in arch/arm/boot/Makefile.

22 years ago[ARM] arch_arm_mach-sa1100_Kconfig URL update
Russell King [Thu, 25 Mar 2004 10:07:15 +0000 (10:07 +0000)]
[ARM] arch_arm_mach-sa1100_Kconfig URL update

Patch from: Rusty Russell

From: Petri Koistinen <petri.koistinen@iki.fi>

URL updates.

22 years ago[PATCH] ia64: fix kernel NULL-pointer message
Bjorn Helgaas [Thu, 25 Mar 2004 08:43:33 +0000 (00:43 -0800)]
[PATCH] ia64: fix kernel NULL-pointer message

Add missing newline to kernel version of NULL-pointer message and also print
the address while we're at it.

22 years ago[PATCH] ia64: update sn2_defconfig
Jesse Barnes [Thu, 25 Mar 2004 08:37:55 +0000 (00:37 -0800)]
[PATCH] ia64: update sn2_defconfig

22 years agoia64: Fix typo in unwinder which could cause NULL-pointer dereferences.
David Mosberger [Thu, 25 Mar 2004 08:37:02 +0000 (00:37 -0800)]
ia64: Fix typo in unwinder which could cause NULL-pointer dereferences.

22 years ago[IGMP]: Do nothing in ip_mc_down() if ip_mc_up() was not called previously.
David S. Miller [Thu, 25 Mar 2004 07:06:22 +0000 (23:06 -0800)]
[IGMP]: Do nothing in ip_mc_down() if ip_mc_up() was not called previously.

22 years ago[ATM]: [nicstar] use kernel min/max (by Randy.Dunlap <rddunlap@osdl.org>)
Chas Williams [Thu, 25 Mar 2004 07:06:05 +0000 (23:06 -0800)]
[ATM]: [nicstar] use kernel min/max (by Randy.Dunlap <rddunlap@osdl.org>)

22 years ago[ATM]: [lec] lec_push() races with vcc->proto_data
Chas Williams [Thu, 25 Mar 2004 07:05:34 +0000 (23:05 -0800)]
[ATM]: [lec] lec_push() races with vcc->proto_data

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

22 years ago[SPARC64]: Update defconfig.
David S. Miller [Thu, 25 Mar 2004 05:21:41 +0000 (21:21 -0800)]
[SPARC64]: Update defconfig.

22 years agoMerge http://lia64.bkbits.net/to-linus-2.5
Linus Torvalds [Thu, 25 Mar 2004 04:36:22 +0000 (20:36 -0800)]
Merge http://lia64.bkbits.net/to-linus-2.5
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years agoia64: Correct value for PREFETCH_STRIDE.
David Mosberger [Thu, 25 Mar 2004 04:24:52 +0000 (20:24 -0800)]
ia64: Correct value for PREFETCH_STRIDE.

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

22 years agoia64: Minor formatting fix for two earlier patches.
David Mosberger [Thu, 25 Mar 2004 03:54:51 +0000 (19:54 -0800)]
ia64: Minor formatting fix for two earlier patches.

22 years agoia64: Improve layout of cpuinfo_ia64
David Mosberger [Thu, 25 Mar 2004 03:53:10 +0000 (19:53 -0800)]
ia64: Improve layout of cpuinfo_ia64

Stephane made some measurements on the access-pattern of the cpuinfo_ia64
members and based on those results, this patch reorganizes the structure
for better cache-line sharing.

22 years agoMerge nuts.davemloft.net:/disk1/BK/sparcwork-2.6
David S. Miller [Thu, 25 Mar 2004 03:37:36 +0000 (19:37 -0800)]
Merge nuts.davemloft.net:/disk1/BK/sparcwork-2.6
into nuts.davemloft.net:/disk1/BK/sparc-2.6

22 years ago[PATCH] SATA: fix and enable sata-sil
Jeff Garzik [Thu, 25 Mar 2004 02:13:24 +0000 (18:13 -0800)]
[PATCH] SATA: fix and enable sata-sil

sata_sil:  it's a widely deployed chipset.  Now that we've fixed it, let
users use it.

sata_via:  Disk detection via SATA phy registers appear problematic.
Until that problem is identified and fixed, used the old PATA detection
code -- that was used in 2.6.4 -- instead.

22 years ago[PATCH] con_close() deadlock fix
Andrew Morton [Thu, 25 Mar 2004 02:13:09 +0000 (18:13 -0800)]
[PATCH] con_close() deadlock fix

I'd assumed that vcs_remove_devfs() could not possibly take console_sem().
Seems I was wrong.

22 years ago[PATCH] forgotten pci_dma_mapping_error on x86-64
Jeff Garzik [Thu, 25 Mar 2004 01:06:31 +0000 (17:06 -0800)]
[PATCH] forgotten pci_dma_mapping_error on x86-64

x86-64 needs this (obvious) patch, due to the rename.

22 years agoMerge foobazco.org:/sources/2.5-bk
Keith M. Wesolowski [Thu, 25 Mar 2004 00:42:39 +0000 (16:42 -0800)]
Merge foobazco.org:/sources/2.5-bk
into foobazco.org:/sources/2.5-sparc-todave

22 years agoMerge foobazco.org:/sources/2.5-sparc-smp
Keith M. Wesolowski [Thu, 25 Mar 2004 00:13:41 +0000 (16:13 -0800)]
Merge foobazco.org:/sources/2.5-sparc-smp
into foobazco.org:/sources/2.5-sparc-todave

22 years ago[SPARC32]: Use correct atomic initializer for semaphore counters
Keith M. Wesolowski [Thu, 25 Mar 2004 00:11:23 +0000 (16:11 -0800)]
[SPARC32]: Use correct atomic initializer for semaphore counters

Semaphores use 24-bit atomics, not 32.  Using the wrong initializer
causes immediate deadlock under SMP, and incorrect results under UP.

22 years ago[PATCH] ia64: don't prompt for the floppy driver
Andrew Morton [Thu, 25 Mar 2004 00:09:28 +0000 (16:09 -0800)]
[PATCH] ia64: don't prompt for the floppy driver

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

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

We can't build floppy.o on ia64, so why bother asking?

22 years ago[PATCH] don't show cdroms in /proc/partitions
Andrew Morton [Thu, 25 Mar 2004 00:09:13 +0000 (16:09 -0800)]
[PATCH] don't show cdroms in /proc/partitions

From: Jens Axboe <axboe@suse.de>

Currently SCSI cdroms show up in /proc/partitions in 2.6, they didn't in
2.4.  And ATAPI cdroms don't show up either.  Mark both as genhd removable
for now, when they are partionable this can be updated.

22 years ago[PATCH] Broken CDROMs default to writeable
Andrew Morton [Thu, 25 Mar 2004 00:08:59 +0000 (16:08 -0800)]
[PATCH] Broken CDROMs default to writeable

From: Jens Axboe <axboe@suse.de>

If the drive doesn't support GPCMD_READ_DISC_INFO at all, permit writeable
opens.

22 years ago[PATCH] ext2&3: use the right i_flags in find_group_orlov()
Andrew Morton [Thu, 25 Mar 2004 00:08:43 +0000 (16:08 -0800)]
[PATCH] ext2&3: use the right i_flags in find_group_orlov()

Spotted by Jorn Engel <joern@wohnheim.fh-wedel.de>: both the generic and
fs-specific parts of the inode have an i_flags.  find_group_orlov() is using
the wrong one.

22 years ago[PATCH] null-terminate sb->s_id
Andrew Morton [Thu, 25 Mar 2004 00:08:29 +0000 (16:08 -0800)]
[PATCH] null-terminate sb->s_id

strncpy() may not null-terminate the destination.

22 years ago[PATCH] ppc64: SMT snooze fix in idle loop
Andrew Morton [Thu, 25 Mar 2004 00:08:17 +0000 (16:08 -0800)]
[PATCH] ppc64: SMT snooze fix in idle loop

From: Olof Johansson <olof@austin.ibm.com>

A smt_snooze_delay of 0 is supposed to mean "disabled", but current idle
loop logic doesn't take that into account and snoozes immediately instead.

Below patch fixes the logic in the idle loop, as well as cleans up the test
a bit.  An idling processor might no longer see a snooze change
immediately, but that's not needed anyway.

22 years ago[PATCH] ppc64: getdents patch for 32 -> 64 converter
Andrew Morton [Thu, 25 Mar 2004 00:08:02 +0000 (16:08 -0800)]
[PATCH] ppc64: getdents patch for 32 -> 64 converter

From: Anton Blanchard <anton@samba.org>

From: Marcus Meissner <meissner@suse.de>

With 2.6.4 we now have the glorious hidden d_type passing in getdents.

glibc CVS expects this to be passed if we have a kernel version after
2.6.4, so we have to also handle it in the 32bit syscall converter.

22 years ago[PATCH] ppc64: fix mount compat translation bug
Anton Blanchard [Wed, 24 Mar 2004 13:44:16 +0000 (05:44 -0800)]
[PATCH] ppc64: fix mount compat translation bug

From Dave Miller:

We weren't handling a NULL 'type' argument to mount() properly,
f.e. this happens legitimately when changing the options of an
existing mount.

22 years agoMerge intel.com:/home/lenb/bk/linux-2.6.5
Len Brown [Wed, 24 Mar 2004 09:05:11 +0000 (04:05 -0500)]
Merge intel.com:/home/lenb/bk/linux-2.6.5
into intel.com:/home/lenb/src/linux-acpi-test-2.6.5

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

22 years agoJFS: don't use global lock in lmLogSync when local lock is sufficient
Dave Kleikamp [Wed, 24 Mar 2004 08:17:44 +0000 (02:17 -0600)]
JFS: don't use global lock in lmLogSync when local lock is sufficient

I stupidly used the global jfs_log_sem to protect log->sb_list when
implementing the shared journal stuff.  Since we already hold
LOG_LOCK, it makes more sense to use that to protect log->sb_list.
This caused horrible serialization when running on lots of jfs
volumes.

22 years agoJFS: Prevent hang in __lock_metapage
Dave Kleikamp [Wed, 24 Mar 2004 08:11:52 +0000 (02:11 -0600)]
JFS: Prevent hang in __lock_metapage

Remove the hold_metapage call from txLog to prevent a hang.
While investigating this one, I audited all functions that held
metapage locks and found several error paths that did not release
them correctly.  These are fixed as well.

22 years ago[IPSEC]: Missing family settings in af_key and xfrm_user.
John Williams Floroiu [Wed, 24 Mar 2004 06:18:54 +0000 (22:18 -0800)]
[IPSEC]: Missing family settings in af_key and xfrm_user.

22 years ago[IPV6]: Error is option length increases amidst corking.
Krishna Kumar [Wed, 24 Mar 2004 06:05:05 +0000 (22:05 -0800)]
[IPV6]: Error is option length increases amidst corking.

22 years ago[PATCH] ia64: fix name conflict with handle_exception()
Bjorn Helgaas [Wed, 24 Mar 2004 06:01:20 +0000 (22:01 -0800)]
[PATCH] ia64: fix name conflict with handle_exception()

I tried to build usb/gadget/file_storage.c (CONFIG_USB_FILE_STORAGE=y),
but it uses "handle_exception()" for its own purposes, which conflicts
with the ia64 definition.  ia64 only uses handle_exception() within
arch code, so it seems like we ought to rename it to be ia64-specific.
done_with_exception() looks similar, so I renamed it as well, although
there's no actual conflict.

22 years ago[NET_SCHED]: Trailing whitespace cleanup in TBF qdisc.
Dmitry Torokhov [Wed, 24 Mar 2004 05:57:06 +0000 (21:57 -0800)]
[NET_SCHED]: Trailing whitespace cleanup in TBF qdisc.

22 years ago[NET_SCHED]: Fix class reporting in TBF qdisc.
Dmitry Torokhov [Wed, 24 Mar 2004 05:55:48 +0000 (21:55 -0800)]
[NET_SCHED]: Fix class reporting in TBF qdisc.

The patch below fixes issue with 'tc class show dev <dev>' not showing any
classes when TBF qdisc is present in the chain. PLease consider for
inclusion.

22 years ago[IPVS]: Fix to hold the lock before updating a service
Wensong Zhang [Wed, 24 Mar 2004 05:54:40 +0000 (21:54 -0800)]
[IPVS]: Fix to hold the lock before updating a service

Brett E. <brettspamacct@fastclick.com> noticed the missing service lock
for editing dest.

Julian Anastasov <ja@ssi.bg> provided the patch.

22 years ago[IPV4]: Zap CONFIG_INET_ECN, just always off by default.
David S. Miller [Wed, 24 Mar 2004 05:53:57 +0000 (21:53 -0800)]
[IPV4]: Zap CONFIG_INET_ECN, just always off by default.

22 years ago[SPARC64]: Do not use cast exprs as lvalues.
David S. Miller [Wed, 24 Mar 2004 04:16:41 +0000 (20:16 -0800)]
[SPARC64]: Do not use cast exprs as lvalues.

22 years ago[SPARC64]: Provide d_type in sys32_getdents().
David S. Miller [Wed, 24 Mar 2004 04:13:47 +0000 (20:13 -0800)]
[SPARC64]: Provide d_type in sys32_getdents().

22 years agoMerge http://linux-lksctp.bkbits.net/lksctp-2.5.work
David S. Miller [Wed, 24 Mar 2004 04:00:22 +0000 (20:00 -0800)]
Merge http://linux-lksctp.bkbits.net/lksctp-2.5.work
into nuts.davemloft.net:/disk1/BK/net-2.6

22 years agoMerge nuts.davemloft.net:/disk1/BK/network-2.6
David S. Miller [Wed, 24 Mar 2004 03:20:40 +0000 (19:20 -0800)]
Merge nuts.davemloft.net:/disk1/BK/network-2.6
into nuts.davemloft.net:/disk1/BK/net-2.6

22 years agoMerge tiger.hpl.hp.com:/data1/bk/vanilla/linux-2.5
David Mosberger [Wed, 24 Mar 2004 02:46:14 +0000 (18:46 -0800)]
Merge tiger.hpl.hp.com:/data1/bk/vanilla/linux-2.5
into tiger.hpl.hp.com:/data1/bk/lia64/to-linus-2.5

22 years ago[PATCH] fix ppc32 sys_swapcontext
Paul Mackerras [Tue, 23 Mar 2004 23:27:03 +0000 (15:27 -0800)]
[PATCH] fix ppc32 sys_swapcontext

This fixes a bug in the swapcontext system call on ppc32.

On ppc32, the system call entry only saves the volatile registers,
except in the case of a few system calls (e.g.  fork) which need all the
registers saved.  Swapcontext needs all the registers but we weren't
saving them all. So fixes that.

22 years ago[PATCH] Threaded core dumps for PPC32
Paul Mackerras [Tue, 23 Mar 2004 23:26:51 +0000 (15:26 -0800)]
[PATCH] Threaded core dumps for PPC32

At the moment, ppc32 kernels will oops if a threaded program tries to
dump core.  We call dump_fpu with a NULL regs pointer, which it tries
to dereference.

This fixes the issue by implementing the hooks used in doing threaded
core dumps properly.

22 years agoMerge davem@nuts.davemloft.net:/disk1/BK/sparc-2.6
David S. Miller [Tue, 23 Mar 2004 17:27:24 +0000 (09:27 -0800)]
Merge davem@nuts.davemloft.net:/disk1/BK/sparc-2.6
into kernel.bkbits.net:/home/davem/sparc-2.6

22 years ago[SPARC64]: Handle NULL type arg properly in sys32_mount().
David S. Miller [Tue, 23 Mar 2004 16:26:40 +0000 (08:26 -0800)]
[SPARC64]: Handle NULL type arg properly in sys32_mount().

22 years agoMerge intel.com:/home/lenb/bk/linux-2.6.5
Len Brown [Tue, 23 Mar 2004 11:09:20 +0000 (06:09 -0500)]
Merge intel.com:/home/lenb/bk/linux-2.6.5
into intel.com:/home/lenb/src/linux-acpi-test-2.6.5

22 years ago[PATCH] ia64: Fix SAL 3.2 detection
Matthew Wilcox [Tue, 23 Mar 2004 10:05:17 +0000 (02:05 -0800)]
[PATCH] ia64: Fix SAL 3.2 detection

This important fix checks the SAl *revision* rather than
the *version*.  I carefully documented which was which, then used the
wrong one.

22 years ago[PATCH] Cosmetic fix of BMAC boot messages
Benjamin Herrenschmidt [Tue, 23 Mar 2004 09:31:57 +0000 (01:31 -0800)]
[PATCH] Cosmetic fix of BMAC boot messages

This fixes the display of the boot messages on the BMAC driver (pmac
only).  It used to be messed up in 2.6

22 years ago[PATCH] More pmac-zilog sleep fix
Benjamin Herrenschmidt [Tue, 23 Mar 2004 09:31:46 +0000 (01:31 -0800)]
[PATCH] More pmac-zilog sleep fix

In the long story of "BenH can't get a simple fix right the first time",
please add this one to pmac_zilog, and now people should enjoy really
working sleep again on pmac laptops ...

If the serial port was closed, we could use an uninitialized "pwr_delay"
and pass that to schedule_timeout().

22 years ago[PATCH] ia64: deprecate SN2 linkstatd
Mark Goodwin [Tue, 23 Mar 2004 09:14:03 +0000 (01:14 -0800)]
[PATCH] ia64: deprecate SN2 linkstatd

This patch against 2.6.5-rc2 affects the SGI/SN platform only. It deprecates
a kernel daemon for our interconnect traffic statistics which has been
replaced by a userland tool.

22 years ago[PATCH] ia64: lost sx1000 naming in sba_iommu
Alex Williamson [Tue, 23 Mar 2004 08:56:33 +0000 (00:56 -0800)]
[PATCH] ia64: lost sx1000 naming in sba_iommu

Mainly cosmetic, but Bjorn noticed I got a little over zealous in
cleaning out the sx1000 specific init routines in sba_iommu.  This adds
back in the ID->name mapping so it doesn't show up as "Unknown".

22 years ago[PATCH] ia64: quiet sn_serial driver
Jesse Barnes [Tue, 23 Mar 2004 08:55:38 +0000 (00:55 -0800)]
[PATCH] ia64: quiet sn_serial driver

Bjorn pointed out that the sn console driver will spew printks if
compiled in even if no hardware is present.  In addition to fixing
that, I took the opportunity to cleanup/correct a few other printks in
that driver.