]> git.hungrycats.org Git - linux/log
linux
22 years ago[PATCH] __iomem fixups for atiixp soundcards
Trond Myklebust [Fri, 17 Sep 2004 06:00:30 +0000 (23:00 -0700)]
[PATCH] __iomem fixups for atiixp soundcards

Signed-off-by: Trond Myklebust <trond.myklebust@fys.uio.no>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years agoMerge bk://kernel.bkbits.net/davem/net-2.6
Linus Torvalds [Fri, 17 Sep 2004 05:45:23 +0000 (22:45 -0700)]
Merge bk://kernel.bkbits.net/davem/net-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years agoMerge bk://kernel.bkbits.net/davem/sparc-2.6
Linus Torvalds [Fri, 17 Sep 2004 05:44:11 +0000 (22:44 -0700)]
Merge bk://kernel.bkbits.net/davem/sparc-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years agoremove i2o_core.c
Linus Torvalds [Fri, 17 Sep 2004 05:31:05 +0000 (22:31 -0700)]
remove i2o_core.c

It is unused and obsolete.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] sparc32: vmalloc address fix
William Lee Irwin III [Fri, 17 Sep 2004 05:17:54 +0000 (22:17 -0700)]
[PATCH] sparc32: vmalloc address fix

Resolves the framebuffer errors on some older sparc32s (we triggered it on
a SparcStation 2).

Signed-off-by: William Irwin <wli@holomorphy.com>
Signed-off-by: Tom 'spot' Callaway <tcallawa@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] remove sh64 smplock.h
Andrew Morton [Fri, 17 Sep 2004 05:17:43 +0000 (22:17 -0700)]
[PATCH] remove sh64 smplock.h

It is unused and obsolete.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] Fix write() return values for reiserfs.
Robin Holt [Fri, 17 Sep 2004 05:17:28 +0000 (22:17 -0700)]
[PATCH] Fix write() return values for reiserfs.

This patch fixes the direct I/O return value for reiserfs writes to be
ssize_t instead of int.

Signed-off-by: Robin Holt <holt@sgi.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] Fix write() return values for tmpfs.
Robin Holt [Fri, 17 Sep 2004 05:17:17 +0000 (22:17 -0700)]
[PATCH] Fix write() return values for tmpfs.

This patch makes the return from the write() syscall actually an ssize_t
instead of an int.

Signed-off-by: Robin Holt <holt@sgi.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] tune vmalloc size
Ingo Molnar [Fri, 17 Sep 2004 05:17:02 +0000 (22:17 -0700)]
[PATCH] tune vmalloc size

There are a few devices that use lots of ioremap space.  vmalloc space is a
showstopper problem for them.

this patch adds the vmalloc=<size> boot parameter to override
__VMALLOC_RESERVE.  The default is 128mb right now - e.g.  vmalloc=256m
doubles the size.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Arjan van de Ven <arjanv@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] bio_alloc() cleanup
Andrew Morton [Fri, 17 Sep 2004 05:16:50 +0000 (22:16 -0700)]
[PATCH] bio_alloc() cleanup

de-spaghettify this function.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] Add MTD map driver for Intel IXP2000 NPU
Deepak Saxena [Fri, 17 Sep 2004 05:16:36 +0000 (22:16 -0700)]
[PATCH] Add MTD map driver for Intel IXP2000 NPU

The following patch adds the MTD map driver for Intel's IXP2000 NPU.  The
driver is already in MTD CVS and I've gotten the OK from David to push it
upstream.

Missing Kconfig bits from Lennert Buytenhek <buytenh@wantstofly.org>

Signed-off-by: Deepak Saxena <dsaxena@plexity.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] Update IXP4xx MTD driver from CVS MTD
Deepak Saxena [Fri, 17 Sep 2004 05:16:21 +0000 (22:16 -0700)]
[PATCH] Update IXP4xx MTD driver from CVS MTD

The following patch updates the IXP4xx MTD driver with a compile fix from
the CVS repository.  David has given me the OK to push this upstream.

Signed-off-by: Deepak Saxena <dsaxena@plexity.net>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] Document ARM pci=firmware option
Deepak Saxena [Fri, 17 Sep 2004 05:16:07 +0000 (22:16 -0700)]
[PATCH] Document ARM pci=firmware option

Added a new pci= command line option specific to ARM systems in
-rc2 and it should be added to kernel-parameters.txt.

Signed-off-by: Deepak Saxena <dsaxena@plexity.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] time interpolators logic fix
Christoph Lameter [Fri, 17 Sep 2004 05:15:53 +0000 (22:15 -0700)]
[PATCH] time interpolators logic fix

Report the resolution of the time source correctly for time interpolators
with a frequency over 1 Ghz.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] mips: fixed do_signal in arch/mips/kernel/signal.c
Yoichi Yuasa [Fri, 17 Sep 2004 05:15:40 +0000 (22:15 -0700)]
[PATCH] mips: fixed do_signal in arch/mips/kernel/signal.c

The change of get_signal_to_deliver() is followed.

Signed-off-by: Yoichi Yuasa <yuasa@hh.iij4u.or.jp>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] ide: remove obsolete CONFIG_BLK_DEV_ADMA
Raphael Zimmerer [Fri, 17 Sep 2004 05:15:26 +0000 (22:15 -0700)]
[PATCH] ide: remove obsolete CONFIG_BLK_DEV_ADMA

In drivers/ide/Kconfig there's a hidden config-item named BLK_DEV_ADMA.
Nowhere in the sources are any references to this item, so this option
simply is obsolete.

This patch removes the according item from drivers/ide/Kconfig.

Signed-off-by: Raphael Zimmerer <killekulla@rdrz.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] uml: update defconfig
Jeff Dike [Fri, 17 Sep 2004 05:15:12 +0000 (22:15 -0700)]
[PATCH] uml: update defconfig

Signed-off-by: Jeff Dike <jdike@addtoit.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] uml: code cleanup
Jeff Dike [Fri, 17 Sep 2004 05:14:58 +0000 (22:14 -0700)]
[PATCH] uml: code cleanup

Here's another batch of "obviously harmless" changes:
comments
unsigned long -> __u32 changes for some data that needs to be 32 bits
cleanups
removal of an unused declaration
rearrangement of includes

Signed-off-by: Jeff Dike <jdike@addtoit.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] uml: remove useless ioctls
Jeff Dike [Fri, 17 Sep 2004 05:14:45 +0000 (22:14 -0700)]
[PATCH] uml: remove useless ioctls

The UML block driver had some useless ioctls in it somehow.  This gets rid of
them.

Signed-off-by: Jeff Dike <jdike@addtoit.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] uml: network driver fixes
Jeff Dike [Fri, 17 Sep 2004 05:14:33 +0000 (22:14 -0700)]
[PATCH] uml: network driver fixes

This is from Gerd Knorr.  It fixes a network hang caused by the host side of
an interface being full when the UML interface is brought up, preventing any
SIGIOs from happening.  It also implements an ioctl needed for ethtool.

Signed-off-by: Jeff Dike <jdike@addtoit.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] uml: mconsole fixes and cleanups
Jeff Dike [Fri, 17 Sep 2004 05:14:19 +0000 (22:14 -0700)]
[PATCH] uml: mconsole fixes and cleanups

This patch
makes a couple of functions static
tidies code a bit
sends a response on shutdown before the shutdown happens

Signed-off-by: Jeff Dike <jdike@addtoit.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] uml: more EINTR protection
Jeff Dike [Fri, 17 Sep 2004 05:14:08 +0000 (22:14 -0700)]
[PATCH] uml: more EINTR protection

This adds retrying on EINTR to a couple more places.

Signed-off-by: Jeff Dike <jdike@addtoit.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] uml: get rid of the arch EXTRAVERSION
Jeff Dike [Fri, 17 Sep 2004 05:13:53 +0000 (22:13 -0700)]
[PATCH] uml: get rid of the arch EXTRAVERSION

I thought this was gone already.  It was only intended for my own patch
numbering, and never intended for any other trees.

Signed-off-by: Jeff Dike <jdike@addtoit.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] uml: clean up terminal state handling
Jeff Dike [Fri, 17 Sep 2004 05:13:41 +0000 (22:13 -0700)]
[PATCH] uml: clean up terminal state handling

This patch cleans up UML's handling of terminal state with better error
handling, interface cleanup, and some code tidying.

Signed-off-by: Jeff Dike <jdike@addtoit.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] uml: restrict tlb flushing
Jeff Dike [Fri, 17 Sep 2004 05:13:30 +0000 (22:13 -0700)]
[PATCH] uml: restrict tlb flushing

One of UML's tlb flushing routines was ignoring the address range passed in by
its callers.  This patch fixes that.

Signed-off-by: Jeff Dike <jdike@addtoit.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] uml: export memmove
Jeff Dike [Fri, 17 Sep 2004 05:13:18 +0000 (22:13 -0700)]
[PATCH] uml: export memmove

Signed-off-by: Jeff Dike <jdike@addtoit.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] uml: comment UML's signal handling
Jeff Dike [Fri, 17 Sep 2004 05:13:02 +0000 (22:13 -0700)]
[PATCH] uml: comment UML's signal handling

This adds a couple of comments so that people don't get confused into making
misguided fixes, and I don't get confused into applying them.

Signed-off-by: Jeff Dike <jdike@addtoit.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] uml: copy_user fixes
Jeff Dike [Fri, 17 Sep 2004 05:12:48 +0000 (22:12 -0700)]
[PATCH] uml: copy_user fixes

This patch fixes some copy_user bugs:

- kernelspace page faults that happen on behalf of a process are now
  correctly handled

- add copy_user treatment so a fault handler which looks at the faulting
  instruction

- added a note to do the same with the ldt stuff some day

Signed-off-by: Jeff Dike <jdike@addtoit.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] uml: fix call to sys_clone
Jeff Dike [Fri, 17 Sep 2004 05:12:33 +0000 (22:12 -0700)]
[PATCH] uml: fix call to sys_clone

This patch changes the calling convention of clone on i386 to match that of
the host by leaving the fourth argument unused.

Signed-off-by: Jeff Dike <jdike@addtoit.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] uml: iomem fix
Jeff Dike [Fri, 17 Sep 2004 05:12:22 +0000 (22:12 -0700)]
[PATCH] uml: iomem fix

This patch rounds up the size of a file used for iomem emulation up to the
nearest page.  This makes mmap work much better on the last page of the
file.

Signed-off-by: Jeff Dike <jdike@addtoit.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] uml: eliminate signal order delivery dependency
Jeff Dike [Fri, 17 Sep 2004 05:12:07 +0000 (22:12 -0700)]
[PATCH] uml: eliminate signal order delivery dependency

On 2.4 hosts signals are delivered in numeric order when there are multiple
pending at a given time.  UML developed a subtle dependency on this
ordering, which broke on 2.6 hosts and the separate process and thread
signal queues.

This patch eliminates that dependency.

Signed-off-by: Jeff Dike <jdike@addtoit.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] uml: let page faults always be delivered immediately
Jeff Dike [Fri, 17 Sep 2004 05:11:55 +0000 (22:11 -0700)]
[PATCH] uml: let page faults always be delivered immediately

This allows page faults to be delivered when they happen.  Without this, it
can happen that a page fault will occur when SIGSEGV is disabled, and the
host will then just kill UML because it can't invoke the handler.

Signed-off-by: Jeff Dike <jdike@addtoit.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] uml: cleaning up
Jeff Dike [Fri, 17 Sep 2004 05:11:41 +0000 (22:11 -0700)]
[PATCH] uml: cleaning up

This patch is a whole lot of "obviously won't break anything" changes,
including
renaming the UML console functions more consistently
notes to myself
code movement
making some functions static
error path cleanup
printk fixes

Signed-off-by: Jeff Dike <jdike@addtoit.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] uml: convert the real-time clock to gettimeofday from rdtsc
Jeff Dike [Fri, 17 Sep 2004 05:11:29 +0000 (22:11 -0700)]
[PATCH] uml: convert the real-time clock to gettimeofday from rdtsc

There are a whole bunch of reasons to use gettimeofday rather than rdtsc,
so this patch does just that.

Signed-off-by: Jeff Dike <jdike@addtoit.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] uml: enable the timer *after* the timer handler
Jeff Dike [Fri, 17 Sep 2004 05:10:46 +0000 (22:10 -0700)]
[PATCH] uml: enable the timer *after* the timer handler

Otherwise, we'll sometimes get timer interrupts that we can't handle.

Signed-off-by: Jeff Dike <jdike@addtoit.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] uml: fix a signal race
Jeff Dike [Fri, 17 Sep 2004 05:10:32 +0000 (22:10 -0700)]
[PATCH] uml: fix a signal race

This patch saves and restores UML's idea of user mode across an interrupt.
Without this, an interrupt arriving at the wrong time can cause UML to lose
track of whether an interrupted handler is handing a userspace interrupt.

From: Ingo Molnar
Signed-off-by: Jeff Dike <jdike@addtoit.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] uml: finish the signals across a reboot fix
Jeff Dike [Fri, 17 Sep 2004 05:10:21 +0000 (22:10 -0700)]
[PATCH] uml: finish the signals across a reboot fix

Due to me not refreshing this patch earlier, the last reboot signals patch was
missing the actual fix.

Signed-off-by: Jeff Dike <jdike@addtoit.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] uml: finish conversion to sigjmp_buf/siglongjmp
Jeff Dike [Fri, 17 Sep 2004 05:10:06 +0000 (22:10 -0700)]
[PATCH] uml: finish conversion to sigjmp_buf/siglongjmp

UML needs to use siglongjmp instead of longjmp everywhere.  This patch fixes
the remaining longjmp/jmp_buf occurrences.

Signed-off-by: Jeff Dike <jdike@addtoit.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] uml: update handle_IRQ_event
Jeff Dike [Fri, 17 Sep 2004 05:09:54 +0000 (22:09 -0700)]
[PATCH] uml: update handle_IRQ_event

A small update to make UML's handle_IRQ_event look like the i386 version.

Signed-off-by: Jeff Dike <jdike@addtoit.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] fix sysrq handling bug in sn_console.c
Jesse Barnes [Fri, 17 Sep 2004 05:09:41 +0000 (22:09 -0700)]
[PATCH] fix sysrq handling bug in sn_console.c

Fix a stupid bug in the sysrq handling in sn_console.c.  Instead of eating
all characters in the sysrq string (preventing them from getting to the tty
layer), only eat those following 'ESC' since that's a pretty important
character for various things.  Please apply before 2.6.9 is released as the
console is very unfriendly to use without it.

Signed-off-by: Jesse Barnes <jbarnes@sgi.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] Updates to RCU documentation
Paul E. McKenney [Fri, 17 Sep 2004 05:09:26 +0000 (22:09 -0700)]
[PATCH] Updates to RCU documentation

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] Close race with preempt and modular pm_idle callbacks
Zwane Mwaikambo [Fri, 17 Sep 2004 05:09:12 +0000 (22:09 -0700)]
[PATCH] Close race with preempt and modular pm_idle callbacks

The following patch from Shaohua Li fixes a race with preempt enabled when
a module containing a pm_idle callback is unloaded.  Cached values in local
variables need to be protected as RCU critical sections so that the
synchronize_kernel() call in the unload path waits for all processors.
There original bugzilla entry can be found at

Shaohua, i had to make a small change (variable declaration after code in
code block) so that it compiles with geriatric compilers such as the ones
Andrew is attached to ;)

http://bugzilla.kernel.org/show_bug.cgi?id=1716

Signed-off-by: Li Shaohua <shaohua.li@intel.com>
Signed-off-by: Zwane Mwaikambo <zwane@linuxpower.ca>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] device driver for the SGI system clock, mmtimer
Christoph Lameter [Fri, 17 Sep 2004 05:08:57 +0000 (22:08 -0700)]
[PATCH] device driver for the SGI system clock, mmtimer

SGI has been using this driver under Linux since 2001 but it was
never included in the upstream kernel. SuSE did include the patch for mmtimer
in SLES 9. The driver has been widely used for applications on the Altix
platform.

The timer hardware was designed around the multimedia timer specification by
Intel but to my knowledge only SGI has implemented that standard. The driver
was written by Jesse Barnes.

The second revision has interrupt support removed and was somewhat simplified
by removing one include file.

Signed-off-by: Christoph Lameter <clameter@sgi.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] m32r: fix to build SMP kernel
Hirokazu Takata [Fri, 17 Sep 2004 05:08:43 +0000 (22:08 -0700)]
[PATCH] m32r: fix to build SMP kernel

Here is a patch to fix compile errors to build SMP kernel for m32r.

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: upgrade include/asm-m32r/atomic.h
Hirokazu Takata [Fri, 17 Sep 2004 05:08:28 +0000 (22:08 -0700)]
[PATCH] m32r: upgrade include/asm-m32r/atomic.h

Upgrade include/asm-m32r/atomic.h.

* include/asm-m32r/atomic.h

- Change atomic_add(), atomic_sub(), atomic_inc() and atomic_dec() from
  function to macro.

- Change not to use fixed woking register in atomic_clear_mask() and
  atomic_set_mask().

- Update comments: "return" to "return it", and so on.

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: slim arch/m32r/Kconfig
Hirokazu Takata [Fri, 17 Sep 2004 05:08:15 +0000 (22:08 -0700)]
[PATCH] m32r: slim arch/m32r/Kconfig

Here is a patch to slim arch/m32r/Kconfig.  Useless CONFIG_ options are
removed for m32r.

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: modify drivers/net/ne.c for m32r
Hirokazu Takata [Fri, 17 Sep 2004 05:08:01 +0000 (22:08 -0700)]
[PATCH] m32r: modify drivers/net/ne.c for m32r

This patch updates drivers/net/ne.c and merges m32r support to it.

- Add m32r support.

Signed-off-by: Hayato Fujiwara <fujiwara@linux-m32r.org>
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: modify drivers/net/smc91x.c for m32r
Hirokazu Takata [Fri, 17 Sep 2004 05:07:47 +0000 (22:07 -0700)]
[PATCH] m32r: modify drivers/net/smc91x.c for  m32r

This patch updates drivers/net/smc91x.c and merges m32r support to it.

- Add m32r support.

- Modify for SMP kernel.

Signed-off-by: Hayato Fujiwara <fujiwara@linux-m32r.org>
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: remove network drivers
Hirokazu Takata [Fri, 17 Sep 2004 05:07:32 +0000 (22:07 -0700)]
[PATCH] m32r: remove network drivers

Signed-off-by: Hayato Fujiwara <fujiwara@linux-m32r.org>
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: modify IO routines for m32700ut CF access
Hirokazu Takata [Fri, 17 Sep 2004 05:07:16 +0000 (22:07 -0700)]
[PATCH] m32r: modify IO routines for m32700ut CF  access

Here is a patch for M3T-M32700UT board.

- Enable CF access through card-service if CONFIG_M32R_CFC is not defined.

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: support a new bootloader "m32r-g00ff"
Hirokazu Takata [Fri, 17 Sep 2004 05:07:00 +0000 (22:07 -0700)]
[PATCH] m32r: support a new bootloader "m32r-g00ff"

- Support new bootloader "m32r-g00ff".  m32r-g00ff is newly written by
  NIIBE Yutaka and is released under GPL.
  http://www.gniibe.org/software/m32r-g00ff-20040729.tar.gz

- arch/m32r/kernel/setup.c (parse_mem_cmdline): Fix to remove unused
  region at the end of memory.

- include/asm-m32r/uaccess.h (__put_user_u64): Fix to remove warnings in
  compilation time.

NOTE: (for m32r users)
  From this version, the bootloader-kernel interface has changed.
  - Section order is changed and rearranged for the new bootloader.
  - Kernel's entry address is also changed : 0x08001000 --> 0x08002000.
  - Paramter-passing method from bootloader to kernel is revised.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] m32r: upgrade to 2.6.8.1 kernel
Hirokazu Takata [Fri, 17 Sep 2004 05:06:46 +0000 (22:06 -0700)]
[PATCH] m32r: upgrade to 2.6.8.1 kernel

Here is a patch for 2.6.8.1 kernel of Renesas M32R processor.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] m32r: add ELF machine code
Hirokazu Takata [Fri, 17 Sep 2004 05:06:30 +0000 (22:06 -0700)]
[PATCH] m32r: add ELF machine code

Here is a patch for m32r's ELF machine code.  And also change from "Hitachi
H8/300" to "Renesas H8/300"(*).

  (*) The SuperH, M32R and H8* - now these are all Renesas's products.

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: modify sys_ipc() to remove useless iBCS2 support code
Hirokazu Takata [Fri, 17 Sep 2004 05:06:18 +0000 (22:06 -0700)]
[PATCH] m32r: modify sys_ipc() to remove useless  iBCS2 support code

The useless iBCS2 supporting code is removed.

However, according to old_ syscalls, I would like to keep backward-
compatibility for a while, due to some old deb packages and
executables for m32r.
I'm struggling to rebuild and replace old packages to new ones.
http://debian.linux-m32r.org/

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: change from EXPORT_SYMBOL_NOVERS to EXPORT_SYMBOL
Hirokazu Takata [Fri, 17 Sep 2004 05:06:05 +0000 (22:06 -0700)]
[PATCH] m32r: change from EXPORT_SYMBOL_NOVERS to  EXPORT_SYMBOL

arch/m32r/kernel/m32r_ksyms, EXPORT_SYMBOL_NOVERS is deprecated, use
EXPORT_SYMBOL.

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] atomic_inc_return for m32r
Hirokazu Takata [Fri, 17 Sep 2004 05:05:50 +0000 (22:05 -0700)]
[PATCH] atomic_inc_return for m32r

* include/asm-m32r/atomic.h:
- Add atomic_inc_return(), atomic_dec_return(), atomic_add_return(),
  atomic_sub_return() and atomic_clear_mask().

- Change atomic_sub_and_test(), atomic_inc_and_test() and
  atomic_dec_and_test() from functions to macros.

- Update comments, etc.

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 headers to remove useless iBCS2 support code
Hirokazu Takata [Fri, 17 Sep 2004 05:05:37 +0000 (22:05 -0700)]
[PATCH] m32r: update headers to remove useless  iBCS2 support code

Here's a patch to update headers, elf.h and poll.h, to remove useless
iBCS2/SVR4 support code for m32r.

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 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>