]> git.hungrycats.org Git - linux/log
linux
22 years ago[PATCH] m32r: update CF/PCMCIA drivers
Hirokazu Takata [Fri, 17 Sep 2004 05:05:21 +0000 (22:05 -0700)]
[PATCH] m32r: update CF/PCMCIA drivers

  This patch updates m32r-specific CF/PCMCIA drivers and
  fixes compile errors.

Signed-off-by: Hirokazu Takata <takata@linux-m32r.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] m32r: update checksum functions
Hirokazu Takata [Fri, 17 Sep 2004 05:05:08 +0000 (22:05 -0700)]
[PATCH] m32r: update checksum functions

  This patch update checksum routines.
  And EXPORT_SYMBOL() is moved from m32r_ksyms.c to csum_partial_copy.c.

Signed-off-by: Hirokazu Takata <takata@linux-m32r.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] m32r: update uaccess.h
Hirokazu Takata [Fri, 17 Sep 2004 05:04:53 +0000 (22:04 -0700)]
[PATCH] m32r: update uaccess.h

  This patch updates asm-m32r/uaccess.h.

* include/asm-m32r/uaccess.h:
(__copy_to_user_inatomic): Added.
(__copy_from_user_inatomic): Added.
Update comments.

Signed-off-by: Hirokazu Takata <takata@linux-m32r.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] m32r: update to fix compile errors
Hirokazu Takata [Fri, 17 Sep 2004 05:04:42 +0000 (22:04 -0700)]
[PATCH] m32r: update to fix compile errors

  This patch updates code to fix compile errors, and so on.

* arch/m32r/kernel/Makefile:
Change linker script's name from vmlinux.lds.s to vmlinux.lds.

* arch/m32r/kernel/process.c (sys_clone):
Fix the first parameter of do_fork() call.

* arch/m32r/kernel/signal.c:
(handle_signal): Add a new second argument, struct k_sigaction *ka.
(do_signal): Change get_signal_to_deliver() interface.

* include/asm-m32r/hardirq.h:
Some declarations are moved to linux/hardirq.h.

* include/asm-m32r/page.h:
Add devmem_is_allowed() macro.

Signed-off-by: Hirokazu Takata <takata@linux-m32r.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] m32r: update zone_sizes_init()
Hirokazu Takata [Fri, 17 Sep 2004 05:04:27 +0000 (22:04 -0700)]
[PATCH] m32r: update zone_sizes_init()

  This patch upgrades zone_sizes_init() function.
  This patch is required because free_area_init_node()'s interface
  has been changed.

* arch/m32r/mm/discontig.c (zone_sizes_init):
Change free_area_init_node() interface.

* arch/m32r/mm/init.c: ditto.

Signed-off-by: Hirokazu Takata <takata@linux-m32r.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] m32r: update for profiling
Hirokazu Takata [Fri, 17 Sep 2004 05:04:10 +0000 (22:04 -0700)]
[PATCH] m32r: update for profiling

  This patch is for profiling support.
  profile_tick() is used instead of m32r_do_profile().

* arch/m32r/kernel/smp.c
(smp_local_timer_interrupt): Change profile API, use profile_tick()
instead of m32r_do_profile().

* arch/m32r/kernel/time.c: ditto.

* include/asm-m32r/hw_irq.h (m32r_do_profile): Removed.

* include/asm-m32r/ptrace.h (profile_pc): Add profile_pc() macro.

Signed-off-by: Hirokazu Takata <takata@linux-m32r.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] m32r architecture
Hirokazu Takata [Fri, 17 Sep 2004 05:03:54 +0000 (22:03 -0700)]
[PATCH] m32r architecture

Add support for the m32r architecture

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] serial-cs and unusable port size ranges
Alan Cox [Fri, 17 Sep 2004 05:03:36 +0000 (22:03 -0700)]
[PATCH] serial-cs and unusable port size ranges

A couple of GSM GPRS PCMCIA cards advertise 16 rather than 8 port sized
windows for their serial interface.  This breaks our current pcmcia serial
driver which ignores any windows that are not 8 bytes.

To avoid any regressions on other cards given this driver contains a
certain amount of "magic" the patch below looks for 8 byte windows first so
will not break existing supported cards (I hope ;))

Patch-by: Alan Cox <alan@redhat.com>
OSDL Developer Certiticate Of Origin included herein by reference

Acked by Russell King <rmk@arm.linux.org.uk>

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] fix for fsync ignoring writing errors
Andrey V. Savochkin [Fri, 17 Sep 2004 05:03:20 +0000 (22:03 -0700)]
[PATCH] fix for fsync ignoring writing errors

Currently metadata writing errors are ignored and not returned from
sys_fsync on ext2 and ext3 filesystems.  That is, at least ext2 and ext3.

Both ext2 and ext3 resort to sync_inode() in their ->sync_inode method,
which in turn calls ->write_inode.  ->write_inode method has void type, and
any IO errors happening inside are lost.

Make ->write_inode return the error code?

Signed-off-by: Andrey Savochkin <saw@saw.sw.com.sg>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] x86-64: copy ioperm bitmaps more efficiently at context switch
Andi Kleen [Fri, 17 Sep 2004 05:03:06 +0000 (22:03 -0700)]
[PATCH] x86-64: copy ioperm bitmaps more efficiently at context  switch

Copy ioperm bitmaps more efficiently at context switch time.  Only copy
upto the highest used port.

Originally from Ingo Molnar

Signed-off-by: Andi Kleen <ak@muc.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] x86-64: turn tss into per cpu data
Andi Kleen [Fri, 17 Sep 2004 05:02:51 +0000 (22:02 -0700)]
[PATCH] x86-64: turn tss into per cpu data

Turn per cpu TSS into per cpu data.

Signed-off-by: Andi Kleen <ak@muc.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] x86-64, x86: don't pass CR2 on alignment faults
Andi Kleen [Fri, 17 Sep 2004 05:02:38 +0000 (22:02 -0700)]
[PATCH] x86-64, x86: don't pass CR2 on alignment faults

Don't pass CR2 address on alignment faults.  They report the address of the
last page fault, which is a information leak.

Fix this for i386 and x86-64 by passing 0 instead.

Pointed out by Zachary Amsden <zach@vmware.com>

Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] x86-64: add read implies exec macro
Andi Kleen [Fri, 17 Sep 2004 05:02:24 +0000 (22:02 -0700)]
[PATCH] x86-64: add read implies exec macro

Add read implies exec personality.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] x86-64: synchronize video.S with i386
Andi Kleen [Fri, 17 Sep 2004 05:02:13 +0000 (22:02 -0700)]
[PATCH] x86-64: synchronize video.S with i386

Sync x86-64 video.S with i386 changes

Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] x86-64: sibling map fix for clustered mode
Andi Kleen [Fri, 17 Sep 2004 05:01:58 +0000 (22:01 -0700)]
[PATCH] x86-64: sibling map fix for clustered mode

From: James Cleverdon

The value that cpuinfo returns for command 1 in ebx is the physical APIC ID
latched when the system comes out of reset.

Ordinarily, this is identical to the value in the local APIC's ID register,
because nearly all BIOSes accept the HW assigned value.

Our systems, made up of individual building blocks, can't do that.  Each
node boots as a separate system and is joined together by the BIOS.  Thus,
the BIOS rewrites the local APIC ID register with a new value.

Potomac and Nocona chips have a mechanism by which the BIOS writer can
change bits 7:5 to match the assigned cluster ID.  Bits 2:0 come from the
thread ID.  However, bits 4:3 are still those latched at reset.  Oops!

Summary: Large clustered systems can't use cpuid to derive the sibling
information.

Fix: Use the local APIC ID.  That's the value we use to online the CPUs, so
it had better be OK.  For non-clustered systems, cpuid == local APIC, so
nothing but large boxes should be affected.

Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] x86-64: fix for mem= on NUMA systems
Andi Kleen [Fri, 17 Sep 2004 05:01:45 +0000 (22:01 -0700)]
[PATCH] x86-64: fix for mem= on NUMA systems

Fix bug that caused oops with mem= on certain NUMA configurations

Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] x86-64: add might_sleeps to more *_user functions
Andi Kleen [Fri, 17 Sep 2004 05:01:30 +0000 (22:01 -0700)]
[PATCH] x86-64: add might_sleeps to more *_user functions

Add might_sleep to more *_user functions.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] x86-64: print mce bank enable mask in hex
Andi Kleen [Fri, 17 Sep 2004 05:01:19 +0000 (22:01 -0700)]
[PATCH] x86-64: print mce bank enable mask in hex

Print mce bank enable mask in sysfs in hex

Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] x86-64: remove WARN_ON in smp_call_function
Andi Kleen [Fri, 17 Sep 2004 05:01:06 +0000 (22:01 -0700)]
[PATCH] x86-64: remove WARN_ON in smp_call_function

Remove WARN_ON in smp_call_function. it breaks the machine check
handling and there is no good way to enable interrupts here.

 Call Trace:<ffffffff8011cb33>{smp_call_function+115} <ffffffff8011cbf9>{smp_send_stop+25}
 <ffffffff80138012>{panic+274} <ffffffff801187e0>{do_machine_check+0}
 <ffffffff80118c3a>{do_machine_check+1114} <ffffffff80111663>{machine_check+127}
 <ffffffff803434d7>{net_rx_action+215}  <EOE> <IRQ> <ffffffff8013c8e3>{__do_softirq+83}
   <ffffffff8013c975>{do_softirq+53} <ffffffff80113cdd>{do_IRQ+317}
 <<ffffffff8010f3b0>{default_idle+0} <ffffffff80110b81>{ret_from_intr+0}
     <EOI> <ffffffff8010f3d0>{default_idle+32} <ffffffff8010f86a>{cpu_idle+26}
  <ffffffff8058f886>{start_kernel+502} <ffffffff8058f1e0>{_sinittext+48

Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] x86-64: make machine check handler configurable
Andi Kleen [Fri, 17 Sep 2004 05:00:51 +0000 (22:00 -0700)]
[PATCH] x86-64: make machine check handler configurable

Make the x86-64 machine check handler configurable when EMBEDDED

Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] x86-64: IO-APIC suspend/resume
Andi Kleen [Fri, 17 Sep 2004 05:00:40 +0000 (22:00 -0700)]
[PATCH] x86-64: IO-APIC suspend/resume

Do IO-APIC suspend/resume.

Untested so far.

Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] x86-64: avoid panic when APIC ID cannot be set
Andi Kleen [Fri, 17 Sep 2004 05:00:27 +0000 (22:00 -0700)]
[PATCH] x86-64: avoid panic when APIC ID cannot be set

Don't panic when io apic id cannot be set.

Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] x86-64: avoid deadlock in page fault handler
Andi Kleen [Fri, 17 Sep 2004 05:00:12 +0000 (22:00 -0700)]
[PATCH] x86-64: avoid deadlock in page fault handler

Avoid deadlock when kernel fault happens inside mmap sem.

Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] x86-64: update defconfig
Andi Kleen [Fri, 17 Sep 2004 04:59:59 +0000 (21:59 -0700)]
[PATCH] x86-64: update defconfig

Update x86-64 defconfig

Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] x86-64: add apic={verbose,quiet,debug}
Andi Kleen [Fri, 17 Sep 2004 04:59:44 +0000 (21:59 -0700)]
[PATCH] x86-64: add apic={verbose,quiet,debug}

Ported from i386

Allow to quieten apic boot output on the command line using
apic={verbose,debug,quiet}

Make it quiet by default

Add extra #define for making apic print functions __init or not
__init (for easier debugging)

Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] x86-64: make APIC errors KERN_DEBUG
Andi Kleen [Fri, 17 Sep 2004 04:59:31 +0000 (21:59 -0700)]
[PATCH] x86-64: make APIC errors KERN_DEBUG

Make APIC errors KERN_DEBUG

Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] x86-64: add atomic64_t
Andi Kleen [Fri, 17 Sep 2004 04:59:15 +0000 (21:59 -0700)]
[PATCH] x86-64: add atomic64_t

Add an atomic64_t type to x86-64.

Not used right now, but may be useful in the future, e.g.  for rss together
with C.Lameter's page fault scalability patches.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] ppc64: remove LARGE_PAGE_SHIFT constant
David Gibson [Fri, 17 Sep 2004 04:59:04 +0000 (21:59 -0700)]
[PATCH] ppc64: remove LARGE_PAGE_SHIFT constant

For historical reasons, ppc64 has ended up with two #defines for the size
of a large (16M) page: LARGE_PAGE_SHIFT and HPAGE_SHIFT.  This patch
removes LARGE_PAGE_SHIFT in favour of the more widely used HPAGE_SHIFT.

Signed-off-by: David Gibson <dwg@au1.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] ppc64: fix CONFIG_CMDLINE
Anton Blanchard [Fri, 17 Sep 2004 04:58:49 +0000 (21:58 -0700)]
[PATCH] ppc64: fix CONFIG_CMDLINE

When I cleaned up our cmdline parsing, I missed a RELOC of CONFIG_CMDLINE
itself.  Without it we copy something random into cmd_line, but only when
CONFIG_CMDLINE is enabled.

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] ppc64: disable some drivers broken on 64bit
Anton Blanchard [Fri, 17 Sep 2004 04:58:37 +0000 (21:58 -0700)]
[PATCH] ppc64: disable some drivers broken on 64bit

The mace, bmac and dmasound drivers use virt_to_bus and so will not work on
ppc64.  Reflect this in the relevant Kconfig files.

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] ppc64: fix hotplug CPU when building a pseries+pmac kernel
Anton Blanchard [Fri, 17 Sep 2004 04:58:23 +0000 (21:58 -0700)]
[PATCH] ppc64: fix hotplug CPU when building a pseries+pmac kernel

When a pseries+pmac kernel is built, the rtas stop-self token wasnt being
initialised.  Since doing this will safely fail on pmac, remove the
!CONFIG_PPC_PMAC restriction

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] ppc64: don't use state == SYSTEM_BOOTING
Anton Blanchard [Fri, 17 Sep 2004 04:58:10 +0000 (21:58 -0700)]
[PATCH] ppc64: don't use state == SYSTEM_BOOTING

From: Nathan Lynch <nathanl@austin.ibm.com>

Fedora has a patch which introduces a new system state during boot.  Change
system_state == SYSTEM_BOOTING to system_state < SYSTEM_RUNNING to match
it.

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] ppc64: export probe_irq_mask
Anton Blanchard [Fri, 17 Sep 2004 04:57:55 +0000 (21:57 -0700)]
[PATCH] ppc64: export probe_irq_mask

yenta_socket wants probe_irq_mask, so export it.

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] ppc64: Remove A() and AA()
Anton Blanchard [Fri, 17 Sep 2004 04:57:44 +0000 (21:57 -0700)]
[PATCH] ppc64: Remove A() and AA()

Remove the A() and AA() macros.  Now we have compat_ptr we should be using
that.

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] ppc64: Fix some bogus warnings & cleanup tlbie code path
Benjamin Herrenschmidt [Fri, 17 Sep 2004 04:57:28 +0000 (21:57 -0700)]
[PATCH] ppc64: Fix some bogus warnings & cleanup tlbie code path

This patch fixes some warnings that popped up with the removal of
-Wno-uninitialized around the code doing tlbie's.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] ppc64: clean up asm/mmu.h
Anton Blanchard [Fri, 17 Sep 2004 04:57:17 +0000 (21:57 -0700)]
[PATCH] ppc64: clean up asm/mmu.h

Remove some old definitions that arent relevant to us.

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] ppc64: iseries build fixes
Anton Blanchard [Fri, 17 Sep 2004 04:57:04 +0000 (21:57 -0700)]
[PATCH] ppc64: iseries build fixes

Fix one compile warning and one build warning on iseries.

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] ppc64: replace mmu_context_queue with idr allocator
Anton Blanchard [Fri, 17 Sep 2004 04:56:50 +0000 (21:56 -0700)]
[PATCH] ppc64: replace mmu_context_queue with idr allocator

Replace the mmu_context_queue structure with the idr allocator.  The
mmu_context_queue allocation was quite large (~200kB) so on most machines
we will have a reduction in usage.

We might put a single entry cache on the front of this so we are more
likely to reuse ppc64 MMU hashtable entries that are in the caches.

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] ppc64: powersave_nap sysctl
Anton Blanchard [Fri, 17 Sep 2004 04:56:38 +0000 (21:56 -0700)]
[PATCH] ppc64: powersave_nap sysctl

Implement powersave_nap sysctl, like ppc32.  This allows us to disable the
nap function which is useful when profiling with oprofile (to get an
accurate count of idle time).

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] ppc64: force_sigsegv fixes
Anton Blanchard [Fri, 17 Sep 2004 04:56:24 +0000 (21:56 -0700)]
[PATCH] ppc64: force_sigsegv fixes

Replace do_exit() in 64bit signal code with force_sig/force_sigsegv where
appropriate.

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] ppc32: open_pic2.c build fix
Olaf Hering [Fri, 17 Sep 2004 04:56:13 +0000 (21:56 -0700)]
[PATCH] ppc32: open_pic2.c build fix

arch/ppc/syslib/open_pic2.c: In function `init_openpic2_sysfs':
arch/ppc/syslib/open_pic2.c:694: error: `ENODEV' undeclared (first use in this function)
arch/ppc/syslib/open_pic2.c:694: error: (Each undeclared identifier is reported only once
arch/ppc/syslib/open_pic2.c:694: error: for each function it appears in.)

possible fix below.

Signed-off-by: Olaf Hering <olh@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] ppc32: Fix arch/ppc/boot/common/ns16550.c
Tom Rini [Fri, 17 Sep 2004 04:55:59 +0000 (21:55 -0700)]
[PATCH] ppc32: Fix arch/ppc/boot/common/ns16550.c

When <linux/timex.h> started including <asm/io.h> this exposed one of the
fragilities of the code in arch/ppc/boot/, namely that it is tied to the
kernel headers for some information, yet not really the kernel.  The
following starts us in the direction of being less tied to the kernel by
providing our own serial_state definition (all we care about is the ability
to grab information from SERIAL_PORT_DFNS).

Signed-off-by: Tom Rini <trini@kernel.crashing.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] fix posix-timers leak
Roland McGrath [Fri, 17 Sep 2004 04:55:43 +0000 (21:55 -0700)]
[PATCH] fix posix-timers leak

Exec fails to clean up posix-timers.  This manifests itself in two ways, one
worse than the other.  In the single-threaded case, it just fails to clear out
the timers on exec.  POSIX says that exec clears out the timers from
timer_create (though not the setitimer ones), so it's wrong that a lingering
timer could fire after exec and kill the process with a signal it's not
expecting.  In the multi-threaded case, it not only leaves lingering timers,
but it leaks them entirely when it replaces signal_struct, so they will never
be freed by the process exiting after that exec.  The new per-user
RLIMIT_SIGPENDING actually limits the damage here, because a UID will fill up
its quota with leaked timers and then never be able to use timer_create again
(that's what my test program does).  But if you have many many untrusted UIDs,
this leak could be considered a DoS risk.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] x86 TSS: io bitmap lazy updating
Ingo Molnar [Fri, 17 Sep 2004 04:55:31 +0000 (21:55 -0700)]
[PATCH] x86 TSS: io bitmap lazy updating

This uses Davide's do_general_protection() fault based io-bitmap lazy update
code and combines it with the ioport-owner cache.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] x86 TSS: io port caching
Ingo Molnar [Fri, 17 Sep 2004 04:55:17 +0000 (21:55 -0700)]
[PATCH] x86 TSS: io port caching

There's one additional step we can do ontop of the ports-max code to get rid
of copying in X.org's case: cache the last task that set up the IO bitmap.
This means we can set the offset to invalid and keep the IO bitmap of that
task, and switch back to a valid offset (without any copying) when switching
back to that task.  (or do a copy if there is another ioperm task we switch
to.)

I've attached ioport-cache-2.6.8.1.patch that implements this. When
there's a single active ioperm() using task in the system then the
context-switch overhead is very low and constant:

 # ./ioperm-latency
 default no ioperm:             scheduling latency: 2478 cycles
 turning on port 80 ioperm:     scheduling latency: 2499 cycles
 turning on port 65535 ioperm:  scheduling latency: 2481 cycles

This single-ioperm-user situation matches 99% of the actual ioperm()
usage scenarios and gets rid of any copying whatsoever - without relying
on any fault mechanism. I can see no advantage of the GPF approach over
this patch.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] hvc_console fix to protect hvc_write against ldisc write after hvc_close
Ryan S. Arnold [Fri, 17 Sep 2004 04:55:05 +0000 (21:55 -0700)]
[PATCH] hvc_console fix to protect hvc_write against ldisc write after hvc_close

Due to the tty ldisc code not stopping write operations against a driver
even after a tty has been closed I added a mechanism to hvc_console in my
previous patch to prevent this by nulling out the tty->driver_data in
hvc_close() but I forgot to check tty->driver_data in hvc_write().  Anton
Blanchard got several oops'es from hvc_write() accessing NULL as if it were
a pointer to an hvc_struct usually stored in tty->driver_data.

So this patch checks tty->driver_data in hvc_write() before it is used.
Hopefully once Alan Cox's patch is checked in ldisc writes won't continue
to happen after tty closes.

Anton Blanchard has tested this patch and is unable to reproduce the oops
with it applied.

Changelog:

drivers/char/hvc_console.c

- Added comment to hvc_close() to explain the reason for NULLing
  tty->driver_data.

- Added check to hvc_write() to verify that tty->driver_data is valid
  (NOT NULL) which would be the case if the write operation was invoked
  after a tty close was initiated on the tty.

Signed-off-by: Ryan S. Arnold <rsa@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] reduce ioremap memory size for Adaptec I2O controllers
Markus Lidel [Fri, 17 Sep 2004 04:54:51 +0000 (21:54 -0700)]
[PATCH] reduce ioremap memory size for Adaptec I2O controllers

The I2O subsystem currently map all memory from the I2O controller for the
controller's in queue, even if it is not necessary.  This is a problem,
because on some systems the size returned from pci_resource_len() could be
128MB and only 1-4MB is needed.

Changes:

- only ioremap as much memory as the controller is actually using.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years agoMerge bk://ppc.bkbits.net/for-linus-ppc
Linus Torvalds [Fri, 17 Sep 2004 02:09:15 +0000 (19:09 -0700)]
Merge bk://ppc.bkbits.net/for-linus-ppc
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years agoppc32: The ISA PIC address for int-ack wasn't being picked out right
Tom Rini [Fri, 17 Sep 2004 00:54:01 +0000 (17:54 -0700)]
ppc32: The ISA PIC address for int-ack wasn't being picked out right

Signed-off-by: Leigh Brown <leigh@solinno.co.uk>
Signed-off-by: Tom Rini <trini@kernel.crashing.org>
22 years agoppc32: Fix a problem with the FCC enet driver for CPM2 systems
Tom Rini [Fri, 17 Sep 2004 00:51:37 +0000 (17:51 -0700)]
ppc32: Fix a problem with the FCC enet driver for CPM2 systems

The Local Protect Bit needs to be set when entering full
duplex mode.

Signed-off-by: Rune Torgersen <runet@innovsys.com>
Signed-off-by: Tom Rini <trini@kernel.crashing.org>
22 years agoMerge http://lia64.bkbits.net/linux-ia64-release-2.6.9
Linus Torvalds [Thu, 16 Sep 2004 08:51:26 +0000 (01:51 -0700)]
Merge http://lia64.bkbits.net/linux-ia64-release-2.6.9
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years agoMerge agluck-lia64.sc.intel.com:/data/home/aegl/BK/work/sgi
Tony Luck [Thu, 16 Sep 2004 22:26:36 +0000 (22:26 +0000)]
Merge agluck-lia64.sc.intel.com:/data/home/aegl/BK/work/sgi
into agluck-lia64.sc.intel.com:/data/home/aegl/BK/linux-ia64-release-2.6.9

22 years ago[IA64] SGI Altix hardware performance monitoring API
Mark Goodwin [Thu, 16 Sep 2004 22:25:43 +0000 (22:25 +0000)]
[IA64] SGI Altix hardware performance monitoring API

The SGI Altix PROM supports a SAL call for performance monitoring and for
exporting NUMA topology. We need this in community kernels for diagnostic
and performance tools to use, especially on very large machines.

This patch registers a dynamic misc device "sn_hwperf" that supports an
ioctl interface for reading/writing memory mapped registers on Altix
nodes and routers via the new SAL call. It also creates a read-only
procfs file "/proc/sgi_sn/sn_topology" to export NUMA topology and Altix
hardware inventory.

> What tools are using this?

Performance Co-Pilot http://oss.sgi.com/projects/pcp  in particular,
pmshub, shubstats and linkstat. Numerous other users include anything
that needs knowledge of numa topology/interconnect in order to perform
well, e.g. mpt. BTW I have not exported any API functions .. at this
point I don't think we need any modules to call the API.

Signed-off-by: Mark Goodwin <markgw@sgi.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
22 years agoMerge agluck-lia64.sc.intel.com:/data/home/aegl/BK/Linus
Tony Luck [Thu, 16 Sep 2004 20:26:04 +0000 (20:26 +0000)]
Merge agluck-lia64.sc.intel.com:/data/home/aegl/BK/Linus
into agluck-lia64.sc.intel.com:/data/home/aegl/BK/linux-ia64-release-2.6.9

22 years ago[IA64] Kconfig: Add help text for IA64_SGI_SN2 config option.
Jesse Barnes [Thu, 16 Sep 2004 19:57:29 +0000 (19:57 +0000)]
[IA64] Kconfig: Add help text for IA64_SGI_SN2 config option.

Mark Goodwin suggested that we document our platform a bit.  This patch adds
help text for the sn2 specific kernel option.

Signed-off-by: Jesse Barnes <jbarnes@sgi.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
22 years ago[IA64] ar.k[56] have virtual addresses already, don't convert
Keith Owens [Thu, 16 Sep 2004 19:11:00 +0000 (19:11 +0000)]
[IA64] ar.k[56] have virtual addresses already, don't convert

r.k[56] used to contain physical addresses but now contain virtual
addresses.  There are code remnants which still believe that they are
physical and "convert" ar.k[56] to virtual.  This breaks when current
is not in region 7 (e.g. the idle task on cpu 0).

Signed-off-by: Keith Owens <kaos@sgi.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
22 years agoMerge http://linux-mh.bkbits.net/bluetooth-2.6
David S. Miller [Thu, 16 Sep 2004 06:29:07 +0000 (23:29 -0700)]
Merge http://linux-mh.bkbits.net/bluetooth-2.6
into nuts.davemloft.net:/disk1/BK/net-2.6

22 years ago[NETFILTER]: port physdev to ip6tables
Bart De Schuymer [Thu, 16 Sep 2004 06:19:01 +0000 (23:19 -0700)]
[NETFILTER]: port physdev to ip6tables

Signed-off-by: Bart De Schuymer <bdschuym@pandora.be>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
22 years ago[PKT_SCHED]: Fix slab corruption in cbq_destroy
Thomas Graf [Thu, 16 Sep 2004 06:13:12 +0000 (23:13 -0700)]
[PKT_SCHED]: Fix slab corruption in cbq_destroy

Fixes slab corruption in cbq_destroy. cbq_destroy_filters and
qdisc_put_rtab(q->link.R_tab) are already called in cbq_destroy_class.
The latter lead to a slab corruption due to repeated freeing of
q->link.R_tab because q->link is part of q->classes. Problem introduced
in 1.21.

Signed-off-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
22 years ago[IPSEC]: Implement DSCP decapsulation
Herbert Xu [Thu, 16 Sep 2004 06:12:04 +0000 (23:12 -0700)]
[IPSEC]: Implement DSCP decapsulation

This patch adds DSCP decapsulation for IPsec.  This is enabled by
a per-state flag which is off by default.  Leaving it off by default
maintains compatibility and is also good for performance reasons.

I decided to not implement a toggle on the output path since not
encapsulating the DSCP can and should be done by netfilter.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
22 years ago[IPV6]: Kill ip6_get_dsfield
Herbert Xu [Thu, 16 Sep 2004 06:10:18 +0000 (23:10 -0700)]
[IPV6]: Kill ip6_get_dsfield

This patch kills the duplicate implementation of ip6_get_dsfield in
inet_ecn.h.  It now uses ipv6_get_dsfield from dsfield.h instead.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
22 years agoMerge nuts.davemloft.net:/disk1/BK/network-2.6
David S. Miller [Thu, 16 Sep 2004 06:05:52 +0000 (23:05 -0700)]
Merge nuts.davemloft.net:/disk1/BK/network-2.6
into nuts.davemloft.net:/disk1/BK/net-2.6

22 years ago[IPV6]: NDISC: ensure responding to NS without link-layer information
Hideaki Yoshifuji [Thu, 16 Sep 2004 05:57:58 +0000 (22:57 -0700)]
[IPV6]: NDISC: ensure responding to NS without link-layer information

When sending NA in response to NS, we may not know the
link-layer address for the destination of the NA
since unicast NS is not required to include its link-layer information.
In this case, we first need to resolve the link-layer address.
(RFC 2461 7.2.4)

We now create neighbour entry for the destination
and link-layer information will be automatically solved
in the output path.

Signed-off-by: Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
22 years ago[SUNGEM]: Add netpoll support.
Eric Lemoine [Thu, 16 Sep 2004 05:56:49 +0000 (22:56 -0700)]
[SUNGEM]: Add netpoll support.

Signed-off-by: Eric Lemoine <eric.lemoine@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
22 years ago[PATCH] matroxfb update + sparse annotations
Petr Vandrovec [Thu, 16 Sep 2004 05:11:21 +0000 (22:11 -0700)]
[PATCH] matroxfb update + sparse annotations

This change switches matroxfb on x86 and x86_64 from dereferencing
pointers to {read,write}[bwl], as __pa() are gone from them, and so gcc
does not need an additional register for preserving address between
consecutive {read,write}[bwl].

Then it switches only supported architecture left (ppc/ppc64/arm) from
dereferencing pointers to __raw_{read,write}[bwl].

Third part is fixing sparse complaints: add __iomem here and there, and
switch one 1bit bitfield from int to unsigned int.

After this there should be no sparse complaints in matroxfb.

Signed-off-by: Petr Vandrovec <vandrove@vc.cvut.cz>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] fix compat_do_execve stack usage
Alex Williamson [Thu, 16 Sep 2004 04:50:39 +0000 (21:50 -0700)]
[PATCH] fix compat_do_execve stack usage

Looks like a couple struct to pointer conversions were missed.

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] Fix ip_nat_ftp registration when no ports= arg
Rusty Russell [Thu, 16 Sep 2004 00:13:57 +0000 (17:13 -0700)]
[PATCH] Fix ip_nat_ftp registration when no ports= arg

FTP NAT module doesn't register anything with no args.  Oops.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] back out siginfo_t.si_rusage from waitid changes
Roland McGrath [Thu, 16 Sep 2004 00:12:54 +0000 (17:12 -0700)]
[PATCH] back out siginfo_t.si_rusage from waitid changes

As I explained in the waitid patches, I added the si_rusage field to
siginfo_t with the idea of having the siginfo_t waitid fills in contain all
the information that wait4 or any such call could ever tell you.  Nowhere
in POSIX nor anywhere else specifies this field in siginfo_t.

When Ulrich and I hashed out the system call interface we wanted, we looked
at siginfo_t and decided there was plenty of space to throw in si_rusage.
Well, it turns out we didn't check the 64-bit platforms.  There struct
rusage is ridiculously large (lots of longs for things that are never in a
million years going to hit 2^32), and my changes bumped up the size of
siginfo_t.  Changing that size is more trouble than it's worth.

This patch reverts the changes to the siginfo_t structure types,
and no longer provides the rusage details in SIGCHLD signal data.
Instead, I added a fifth argument to the waitid system call to fill in rusage.

waitid is the name of the POSIX function with four arguments.  It might
make sense to rename the system call `waitsys' to follow SGI's system call
with the same arguments, or `wait5' in the mindless tradition.  But, feh.
I just added the argument to sys_waitid, rather than worrying about
changing the name in all the tables (and choosing a new stupid name).

Signed-off-by: Roland McGrath <roland@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years agoMerge bk://gkernel.bkbits.net/libata-2.6
Linus Torvalds [Thu, 16 Sep 2004 00:09:54 +0000 (17:09 -0700)]
Merge bk://gkernel.bkbits.net/libata-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years agoMerge bk://drm.bkbits.net/drm-2.6
Linus Torvalds [Thu, 16 Sep 2004 00:06:56 +0000 (17:06 -0700)]
Merge bk://drm.bkbits.net/drm-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years agodrm: actually __set_current_state is more correct
Dave Airlie [Fri, 17 Sep 2004 09:28:42 +0000 (19:28 +1000)]
drm: actually __set_current_state is more correct

Alan suggested using __set_current_state as being more correct for
the DRM so do that.

Signed-off-by: Dave Airlie <airlied@linux.ie>
22 years agodrm: use set_current_state instead of direct assignment
Dave Airlie [Fri, 17 Sep 2004 07:15:38 +0000 (17:15 +1000)]
drm: use set_current_state instead of direct assignment

Suggested-by: Nishanth Aravamudan <nacc@us.ibm.com>
Approved-by: Dave Airlie <airlied@linux.ie>
22 years agodrm: add pci_enable_device
Dave Airlie [Fri, 17 Sep 2004 07:09:37 +0000 (17:09 +1000)]
drm: add pci_enable_device

Add pci_enable_device for any PCI device we want to use.

From: Bjorn Helgaas <bjorn.helgaas@hp.com>
Approved-by: David Airlie <airlied@linux.ie>
22 years agodrm: fix bug introduced in the macro removal
Dave Airlie [Fri, 17 Sep 2004 05:57:18 +0000 (15:57 +1000)]
drm: fix bug introduced in the macro removal

This caused issues with a PCI radeon card.

From: Jon Smirl
Approved-by: Dave Airlie <airlied@linux.ie>
22 years agoMerge bk://kernel.bkbits.net/vojtech/input
Linus Torvalds [Thu, 16 Sep 2004 00:04:04 +0000 (17:04 -0700)]
Merge bk://kernel.bkbits.net/vojtech/input
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years agoMerge suse.cz:/data2/bk/linus into suse.cz:/data2/bk/input
Vojtech Pavlik [Thu, 16 Sep 2004 17:10:08 +0000 (19:10 +0200)]
Merge suse.cz:/data2/bk/linus into suse.cz:/data2/bk/input

22 years ago[IA64-SGI]: fix `qw' might be used uninitialized warning
Jesse Barnes [Wed, 15 Sep 2004 23:02:18 +0000 (23:02 +0000)]
[IA64-SGI]: fix `qw' might be used uninitialized warning

The compiler has no way of knowing whether nentries will be greater than 0, so
it was generating a warning that qw might be used uninitialized.  Fix it by
explicitly setting it to 0.  Cc'ing Brian in case he has an internal version
he'd like to keep in sync.

Signed-off-by: Jesse Barnes <jbarnes@sgi.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
22 years ago[libata] add hook, and export functions needed for sata2 drivers
Jeff Garzik [Wed, 15 Sep 2004 22:45:22 +0000 (18:45 -0400)]
[libata] add hook, and export functions needed for sata2 drivers

* add dev_select hook, and default/noop implementations
* export ata_dev_classify
* fix a couple bugs that cropped up when building with
  ATA_VERBOSE_DEBUG
* export __sata_phy_reset, a variant that does not call
  ata_bus_reset

22 years agoMerge agluck-lia64.sc.intel.com:/data/home/aegl/BK/work/trivial
Tony Luck [Wed, 15 Sep 2004 22:01:41 +0000 (22:01 +0000)]
Merge agluck-lia64.sc.intel.com:/data/home/aegl/BK/work/trivial
into agluck-lia64.sc.intel.com:/data/home/aegl/BK/linux-ia64-release-2.6.9

22 years ago[IA64] make INIT dump work again
Tony Luck [Wed, 15 Sep 2004 21:34:47 +0000 (21:34 +0000)]
[IA64] make INIT dump work again

current can be in region 5, use 'tpa' to convert to physical

Signed-off-by: Tony Luck <tony.luck@intel.com>
22 years ago[IPV4]: More fib_hash cleanups.
David S. Miller [Wed, 15 Sep 2004 06:55:32 +0000 (23:55 -0700)]
[IPV4]: More fib_hash cleanups.

Kill fn_key_eq and fn_key_leq

Signed-off-by: David S. Miller <davem@davemloft.net>
22 years ago[NETFILTER]: Fix tcp_find_option() bug properly.
David S. Miller [Wed, 15 Sep 2004 03:20:55 +0000 (20:20 -0700)]
[NETFILTER]: Fix tcp_find_option() bug properly.

Signed-off-by: David S. Miller <davem@davemloft.net>
22 years ago[IPV4]: Use hlist_for_each_entry_safe in fib_hash_move.
David S. Miller [Wed, 15 Sep 2004 02:18:46 +0000 (19:18 -0700)]
[IPV4]: Use hlist_for_each_entry_safe in fib_hash_move.

Signed-off-by: David S. Miller <davem@davemloft.net>
22 years ago[IPV4]: Basic cleanups in fib_hash.c
David S. Miller [Wed, 15 Sep 2004 02:16:19 +0000 (19:16 -0700)]
[IPV4]: Basic cleanups in fib_hash.c

1) Kill special key, prefix, and hash index types.
   They make the code less readable and maintainable.
2) __inline__ --> inline

Signed-off-by: David S. Miller <davem@davemloft.net>
22 years ago[NETFILTER]: Fix off-by-one test error in ip_tables.c
David S. Miller [Wed, 15 Sep 2004 01:34:58 +0000 (18:34 -0700)]
[NETFILTER]: Fix off-by-one test error in ip_tables.c

Bug noticed by Ysauyuki Kozakai.

Signed-off-by: David S. Miller <davem@davemloft.net>
22 years ago[SUNGEM]: LLTX support
Eric Lemoine [Wed, 15 Sep 2004 01:18:16 +0000 (18:18 -0700)]
[SUNGEM]: LLTX support

Signed-off-by: Eric Lemoine <eric.lemoine@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
22 years ago[SUNGEM]: Add tx_lock
Eric Lemoine [Wed, 15 Sep 2004 01:16:44 +0000 (18:16 -0700)]
[SUNGEM]: Add tx_lock

Using tx_lock in SunGEM makes the driver logic in conformance
with tg3 and e1000, easing maintainance.

Signed-off-by: Eric Lemoine <eric.lemoine@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
22 years agoppc32: Fix some warnings in rheap from newer compilers
Tom Rini [Wed, 15 Sep 2004 00:39:07 +0000 (17:39 -0700)]
ppc32: Fix some warnings in rheap from newer compilers

Signed-off-by: Pantelis Antoniou <panto@intracom.gr>
Signed-off-by: Tom Rini <trini@kernel.crashing.org>
22 years agoMerge bk://are.twiddle.net/axp-2.6/
Linus Torvalds [Wed, 15 Sep 2004 00:35:19 +0000 (17:35 -0700)]
Merge bk://are.twiddle.net/axp-2.6/
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years ago[PATCH] reduce [compat_]do_execve stack usage
Denis Vlasenko [Wed, 15 Sep 2004 00:25:30 +0000 (17:25 -0700)]
[PATCH] reduce [compat_]do_execve stack usage

Allocating the 'struct linux_binprm' on the stack chews up too much
stackspace.

Just kmalloc it instead.

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[ALPHA] Implement _raw_write_trylock.
Richard Henderson [Tue, 14 Sep 2004 22:17:25 +0000 (15:17 -0700)]
[ALPHA] Implement _raw_write_trylock.

22 years ago[ALPHA] Minor updates for cpumask_t.
Richard Henderson [Tue, 14 Sep 2004 22:16:14 +0000 (15:16 -0700)]
[ALPHA] Minor updates for cpumask_t.

22 years agoMerge pobox.com:/spare/repo/linux-2.6
Jeff Garzik [Tue, 14 Sep 2004 18:57:20 +0000 (14:57 -0400)]
Merge pobox.com:/spare/repo/linux-2.6
into pobox.com:/spare/repo/libata-2.6

22 years ago[libata sata_svw] race condition fix, new device support
ananth@broadcom.com [Tue, 14 Sep 2004 18:25:41 +0000 (14:25 -0400)]
[libata sata_svw] race condition fix, new device support

* address race condition WRT order of DMA-start and ATA command issue
  (see code comment for more details)

* Add support for Frodo 4/8

22 years ago[libata] minor comment updates, preparing for iomap merge
Jeff Garzik [Tue, 14 Sep 2004 18:23:54 +0000 (14:23 -0400)]
[libata] minor comment updates, preparing for iomap merge

22 years ago[IPV6]: Missing xfrm_lookup() in icmpv6_{send,echo_reply}()
Hideaki Yoshifuji [Tue, 14 Sep 2004 15:32:27 +0000 (08:32 -0700)]
[IPV6]: Missing xfrm_lookup() in icmpv6_{send,echo_reply}()

net/ipv6/icmp.c was not converted in xfrm_lookup() extraction patch.
This patch converts it; adding the missing call to xfrm_lookup in
icmpv6_{send,echo_reply}().

Signed-off-by: Kazunori Miyazawa <kazunori@miyazawa.org>
Signed-off-by: Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
SIgned-off-by: David S. Miller <davem@davemloft.net>
22 years ago[CRYPTO]: Zero out tfm before freeing in crypto_free_tfm().
David S. Miller [Tue, 14 Sep 2004 15:21:40 +0000 (08:21 -0700)]
[CRYPTO]: Zero out tfm before freeing in crypto_free_tfm().

Based upon discussions with Ulrich Kuehn
(ukuehn@acm.org)

Signed-off-by: James Morris <jmorris@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
22 years ago[TG3]: Update driver version and reldate.
David S. Miller [Tue, 14 Sep 2004 15:15:26 +0000 (08:15 -0700)]
[TG3]: Update driver version and reldate.

22 years ago[TG3]: Recognize all onboard Sun variants, not just 5704.
David S. Miller [Tue, 14 Sep 2004 15:10:26 +0000 (08:10 -0700)]
[TG3]: Recognize all onboard Sun variants, not just 5704.

Based upon a report from Matthias Merz.

Signed-off-by: David S. Miller <davem@davemloft.net>
22 years ago[TG3]: Fix thinko in 5704 fibre hw autoneg code.
Mike Waychison [Tue, 14 Sep 2004 15:06:01 +0000 (08:06 -0700)]
[TG3]: Fix thinko in 5704 fibre hw autoneg code.

Signed-off-by: Mike Waychison <michael.waychison@sun.com>
Signed-off-by: David S. Miller <davem@davemloft.net>