]> git.hungrycats.org Git - linux/log
linux
22 years ago[PATCH] depends on PCI: VIA686A i2c
Geert Uytterhoeven [Wed, 28 Jul 2004 16:07:42 +0000 (09:07 -0700)]
[PATCH] depends on PCI: VIA686A i2c

VIA686A i2c unconditionally depends on PCI

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] !PCI warnings: Specialix serial
Geert Uytterhoeven [Wed, 28 Jul 2004 16:07:30 +0000 (09:07 -0700)]
[PATCH] !PCI warnings: Specialix serial

Kill warnings in Specialix serial driver when !PCI.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] !PCI warnings: Moxa serial
Geert Uytterhoeven [Wed, 28 Jul 2004 16:07:19 +0000 (09:07 -0700)]
[PATCH] !PCI warnings: Moxa serial

Kill warnings in MOXA Intellio and Smartio multiport serial drivers when !PCI.
Also kill warnings about unused variables in the non-modular case.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] depends on PCI: Multi-Tech, SyncLink, Applicom serial
Geert Uytterhoeven [Wed, 28 Jul 2004 16:07:08 +0000 (09:07 -0700)]
[PATCH] depends on PCI: Multi-Tech, SyncLink, Applicom serial

Multi-Tech, Microgate SyncLink, and Applicom serial unconditionally depend on
PCI

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] M68k Maintainership
Geert Uytterhoeven [Wed, 28 Jul 2004 16:06:57 +0000 (09:06 -0700)]
[PATCH] M68k Maintainership

M68k maintainership update:
  - Transfer maintainership to Roman and me (ack'ed by Jes and Roman)
  - Update main website URL
  - Add Linux/m68k CVS repository website

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] M68k pgalloc fixup
Geert Uytterhoeven [Wed, 28 Jul 2004 16:06:45 +0000 (09:06 -0700)]
[PATCH] M68k pgalloc fixup

M68k: Fix build after <asm/pgalloc.h> surgery in 2.6.8-rc1:
  - Add missing include on machines with a standard m68k MMU
  - Convert __pte_free_tlb() to a macro (like it is on most other archs) on
    Sun-3, to avoid include hell

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] M68k checksum include
Geert Uytterhoeven [Wed, 28 Jul 2004 16:06:34 +0000 (09:06 -0700)]
[PATCH] M68k checksum include

M68k: Add missing include, showing up due to include reshuffling in 2.6.8-rc1

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] M68k bitops
Geert Uytterhoeven [Wed, 28 Jul 2004 16:06:23 +0000 (09:06 -0700)]
[PATCH] M68k bitops

M68k: Add `volatile' to some bitops parameters, as this is required by the
cpumask code in 2.6.8-rc1.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] dmasound paths
Geert Uytterhoeven [Wed, 28 Jul 2004 16:06:11 +0000 (09:06 -0700)]
[PATCH] dmasound paths

Dmasound was moved to sound/oss/ a while ago

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] m68k hardirq.h
Geert Uytterhoeven [Wed, 28 Jul 2004 16:06:00 +0000 (09:06 -0700)]
[PATCH] m68k hardirq.h

M68k: Add missing #include <linux/config.h>

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] amifb sparse &=
Geert Uytterhoeven [Wed, 28 Jul 2004 16:05:49 +0000 (09:05 -0700)]
[PATCH] amifb sparse &=

Amiga Frame buffer: Use `&' instead of `&=' (found by sparse, present since at
least 2.0.x)

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] dnfb sparse struct init
Geert Uytterhoeven [Wed, 28 Jul 2004 16:05:37 +0000 (09:05 -0700)]
[PATCH] dnfb sparse struct init

Apollo Frame buffer: Fix C99 struct initializers (found by sparse)

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] m68k sparse floating point
Geert Uytterhoeven [Wed, 28 Jul 2004 16:05:26 +0000 (09:05 -0700)]
[PATCH] m68k sparse floating point

M68k: Replace floating point by integer constants (found by sparse)
Affected drivers:
  - Amiga frame buffer
  - ATI Mach64 frame buffer

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] dsp56k sparse const
Geert Uytterhoeven [Wed, 28 Jul 2004 16:05:15 +0000 (09:05 -0700)]
[PATCH] dsp56k sparse const

Atari dsp56k: Add missing `const' keywords (found by sparse)

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] m68k sparse inline
Geert Uytterhoeven [Wed, 28 Jul 2004 16:05:04 +0000 (09:05 -0700)]
[PATCH] m68k sparse inline

M68k: Define inline functions before use (found by sparse)
Affected drivers:
  - Atari floppy
  - Amiga A2232 serial
  - Amiga Fastlane SCSI
  - Mac/PowerMac Valkyrie frame buffer

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] m68k sparse extern
Geert Uytterhoeven [Wed, 28 Jul 2004 16:04:52 +0000 (09:04 -0700)]
[PATCH] m68k sparse extern

M68k: Remove `extern' at function definition (found by sparse)

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] m68k sparse void return
Geert Uytterhoeven [Wed, 28 Jul 2004 16:04:41 +0000 (09:04 -0700)]
[PATCH] m68k sparse void return

M68k: Don't return anything in functions returning void (found by sparse)

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] m68k sparse #if vs. #ifdef
Geert Uytterhoeven [Wed, 28 Jul 2004 16:04:30 +0000 (09:04 -0700)]
[PATCH] m68k sparse #if vs. #ifdef

M68k: Use #ifdef instead of #if (found by sparse)

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] m68k sparse missing void
Geert Uytterhoeven [Wed, 28 Jul 2004 16:04:18 +0000 (09:04 -0700)]
[PATCH] m68k sparse missing void

M68k: Add missing `void' parameters (found by sparse)

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] M68k ifpsp060
Geert Uytterhoeven [Wed, 28 Jul 2004 16:04:07 +0000 (09:04 -0700)]
[PATCH] M68k ifpsp060

68060 Integer Support Package: Fix _060_real_lock_page(): test %d0 before
actually using it (from Roman Zippel)

Signed-off-by: Roman Zippel <zippel@linux-m68k.org>
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] M68k 68060 errata I14
Geert Uytterhoeven [Wed, 28 Jul 2004 16:03:56 +0000 (09:03 -0700)]
[PATCH] M68k 68060 errata I14

M68k: gcc lately manages to generate the code sequence described in the 060
errata I14, so use the described workaround (from Roman Zippel)

Signed-off-by: Roman Zippel <zippel@linux-m68k.org>
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] MAINTAINERS: update mailing list for osst
Willem Riede [Wed, 28 Jul 2004 16:03:45 +0000 (09:03 -0700)]
[PATCH] MAINTAINERS: update mailing list for osst

This list has been on sourceforge for a while now, please apply this patch
to make MAINTAINERS reflect that.

Signed-off-by: Willem Riede <osst@riede.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] fix readahead breakage for sequential after random reads
Miklos Szeredi [Wed, 28 Jul 2004 16:03:33 +0000 (09:03 -0700)]
[PATCH] fix readahead breakage for sequential after random reads

Current readahead logic is broken when a random read pattern is followed by
a long sequential read.  The cause is that on a window miss ra->next_size
is set to ra->average, but ra->average is only updated at the end of a
sequence, so window size will remain 1 until the end of the sequential
read.

This patch fixes this by taking the current sequence length into account
(code taken from towards end of page_cache_readahead()), and also setting
ra->average to a decent value in handle_ra_miss() when sequential access is
detected.

Signed-off-by: Miklos Szeredi <miklos@szeredi.hu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] remove scripts/mkconfigs
Brian Gerst [Wed, 28 Jul 2004 16:03:22 +0000 (09:03 -0700)]
[PATCH] remove scripts/mkconfigs

This script is no longer used after the patch to consolidate the stored
configs.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] ipmi_msghandler module load failure fix
Khalid Aziz [Wed, 28 Jul 2004 16:03:11 +0000 (09:03 -0700)]
[PATCH] ipmi_msghandler module load failure fix

On a 2.6.7 kernel, when I try to modprobe ipmi_msghandler, it fails to load
with following message:

FATAL: Error inserting ipmi_msghandler (/lib/modules/2.6.7/kernel/drivers/char/ipmi/ipmi_msghandler.ko): Invalid module format

And there is an error message in dmesg:

ipmi_msghandler: init symbol 0xa000000200058080 used in module code at a000000200031b32

What I have been able to determine is that ipmi_msghandler.c defines
ipmi_init_msghandler() as the module_init() routine and then it also calls
ipmi_init_msghandler() diretcly from couple of other places.  This does not
seem to be okay in 2.6.7 kernel.  I was able to fix this by defining a new
module_init routine which in turn calls ipmi_init_msghandler().  I also
removed __init from ipmi_init_msghandler() since it gets called from
ipmi_open() on an open of the ipmi device file.  So I would think we want
to keep ipmi_init_msghandler() around even after initialization.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] fix for buffer limit for long in sysctl.c
Stéphane Eranian [Wed, 28 Jul 2004 16:03:00 +0000 (09:03 -0700)]
[PATCH] fix for buffer limit for long in sysctl.c

Fix a bug in do_proc_doulongvec_minmax() where the the string buffer was
too short to parse a 64-bit number expressed in decimal.  That was causing
problems with entries in /proc/sys using long and allowing large number
(such as -1)

Signed-off-by: Stephane Eranian <eranian@hpl.hp.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] Remove dead comment in mm/filemap.c
Himanshu Raj [Wed, 28 Jul 2004 16:02:48 +0000 (09:02 -0700)]
[PATCH] Remove dead comment in mm/filemap.c

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] sign fix in swapfile.c
Mika Kukkonen [Wed, 28 Jul 2004 16:02:37 +0000 (09:02 -0700)]
[PATCH] sign fix in swapfile.c

  CC      mm/swapfile.o
mm/swapfile.c: In function `scan_swap_map':
mm/swapfile.c:114: warning: comparison between signed and unsigned

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] radeonfb x86_64 fix
Pavel Machek [Wed, 28 Jul 2004 16:02:27 +0000 (09:02 -0700)]
[PATCH] radeonfb x86_64 fix

Fix radeonfb and aty128fb on x86_64 by using the correct ifdef.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] v850: Define find_first_bit
Miles Bader [Wed, 28 Jul 2004 16:02:16 +0000 (09:02 -0700)]
[PATCH] v850: Define find_first_bit

Signed-off-by: Miles Bader <miles@gnu.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] fdomain_cs needs ISA
Pawel Sikora [Wed, 28 Jul 2004 16:02:05 +0000 (09:02 -0700)]
[PATCH] fdomain_cs needs ISA

drivers/scsi/pcmcia/fdomain_cs.ko needs unknown symbol isa_memcpy_fromio
drivers/scsi/pcmcia/fdomain_cs.ko needs unknown symbol isa_readb

iirc the isa bus isn't available on ppc.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] hugetlbfs vm_pgoff bugs
Oleg Nesterov [Wed, 28 Jul 2004 16:01:53 +0000 (09:01 -0700)]
[PATCH] hugetlbfs vm_pgoff bugs

1. hugetlbfs_file_mmap() must check that vm_pgoff is hugepage aligned.

2. hugetlb_vmtruncate_list() confuses << with >> while converting
   vm_pgoff to huge page offset, and zaps wrong area.

Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] Fix rivafb's NV_ARCH_, cleanup DEBUG, backlight control on ppc
Guido Guenther [Wed, 28 Jul 2004 16:01:42 +0000 (09:01 -0700)]
[PATCH] Fix rivafb's NV_ARCH_, cleanup DEBUG, backlight control on ppc

- fixes the PCI-IDs (needed to get it to work on at least the NV17)

- cleans up the DEBUG option (similar to the new radeonfb).  This also
  makes it easy to replace printk by btext_printf() (on ppc) or similar to
  ease debugging of the fb code when all else fails.

- adds backlight control for Apple powerbooks

Signed-off-by: Guido Guenther <agx@sigxcpu.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] Make get_user_pages() work again for ia64 gate area
David Mosberger [Wed, 28 Jul 2004 16:01:30 +0000 (09:01 -0700)]
[PATCH] Make get_user_pages() work again for ia64 gate area

Changeset

  roland@redhat.com[torvalds]|ChangeSet|20040624165002|30880

inadvertently broke ia64 because the patch assumed that pgd_offset_k() is
just an optimization of pgd_offset(), which it is not.  This patch fixes
the problem by introducing pgd_offset_gate().  On architectures on which
the gate area lives in the user's address-space, this should be aliased to
pgd_offset() and on architectures on which the gate area lives in the
kernel-mapped segment, this should be aliased to pgd_offset_k().

This bug was found and tracked down by Peter Chubb.

Signed-off-by: <davidm@hpl.hp.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] drivers/macintosh/macserial.c MIN/MAX removal
Maximilian Attems [Wed, 28 Jul 2004 16:01:19 +0000 (09:01 -0700)]
[PATCH] drivers/macintosh/macserial.c MIN/MAX removal

Removes unnecessary min/max macros and changes calls to use kernel.h macros
instead.

Signed-off-by: Maximilian Attems <janitor@sternwelten.at>
Cc: <benh@kernel.crashing.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] macintosh/mediabay: replace schedule_timeout() with msleep()
Nishanth Aravamudan [Wed, 28 Jul 2004 16:01:08 +0000 (09:01 -0700)]
[PATCH] macintosh/mediabay: replace schedule_timeout() with msleep()

Use msleep() instead of schedule_timeout() to guarantee the task delays the
desired time.

Signed-off-by: Nishanth Aravamudan <nacc@us.ibm.com>
Cc: 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] ide/pmac: replace schedule_timeout() with msleep()
Nishanth Aravamudan [Wed, 28 Jul 2004 16:00:58 +0000 (09:00 -0700)]
[PATCH] ide/pmac: replace schedule_timeout() with msleep()

Use msleep() instead of schedule_timeout() to guarantee the desired delay.

Signed-off-by: Nishanth Aravamudan <nacc@us.ibm.com>
Cc: 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] macintosh/adb: replace schedule_timeout() with msleep()
Nishanth Aravamudan [Wed, 28 Jul 2004 16:00:47 +0000 (09:00 -0700)]
[PATCH] macintosh/adb: replace schedule_timeout() with msleep()

Use msleep() instead of schedule_timeout() to guarantee the task delays the
desired time.

Signed-off-by: Nishanth Aravamudan <nacc@us.ibm.com>
Cc: 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] ppc32: add gcc-3.4+binutils-2.14 check
Tom Rini [Wed, 28 Jul 2004 16:00:36 +0000 (09:00 -0700)]
[PATCH] ppc32: add gcc-3.4+binutils-2.14 check

Add a build-time check for gcc-3.4 and binutils-2.14.  They don't play well
together.

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] ppc32: fix comment in arch/ppc/platforms/pmac_pci.c
Nicolas Kaiser [Wed, 28 Jul 2004 16:00:24 +0000 (09:00 -0700)]
[PATCH] ppc32: fix comment in arch/ppc/platforms/pmac_pci.c

Typos.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] ppc32: export some DMA API symbols
Matt Porter [Wed, 28 Jul 2004 16:00:15 +0000 (09:00 -0700)]
[PATCH] ppc32: export some DMA API symbols

Exports some DMA API symbols so module clients work.

Signed-off-by: Matt Porter <mporter@kernel.crashing.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] ppc32: Fix PPC44x early uart setup
Matt Porter [Wed, 28 Jul 2004 16:00:04 +0000 (09:00 -0700)]
[PATCH] ppc32: Fix PPC44x early uart setup

Fix a bug introduced in the PPC44x early uart setup from the last set of
44x fixes.

Signed-off-by: Matt Porter <mporter@kernel.crashing.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] ppc64: HVCS driver
Ryan S. Arnold [Wed, 28 Jul 2004 15:59:52 +0000 (08:59 -0700)]
[PATCH] ppc64: HVCS driver

* include/asm-ppc64/hvcserver.h

  New file added to wrap ppc64 architecture specific firmware calls for
  use by HVCS.  This file provides a struct hvcs_partner_info definition,
  headers for partner info gathering and vterm connection and termination
  interfaces.

* arch/ppc64/kernel/Makefile

  Added build directive for hvcserver.o when HVCS is configured.

* arch/ppc64/kernel/hvconsole.c

  Exported hvc_put_chars() and hvc_get_chars() for use by HVCS.

* arch/ppc64/kernel/hvcserver.c

  Body of hvcserver module which accompanies the hvcs module and provides
  ppc64 architecture firmware calls for use by HVCS.  This file provides
  function bodies for partner info gathering and vterm connection and
  termination interfaces.

* drivers/char/Kconfig

  Added CONFIG_HVCS option for both built-in version and module version
  of hvcs.

* drivers/char/Makefile

  Added build directive for hvcs.o when CONFIG_HVCS is configured.

* drivers/char/hvcs.c

  This is the device driver for the IBM Hypervisor Virtual Console
  Server, "hvcs".  The IBM hvcs provides a tty driver interface to allow
  Linux user space applications access to the system consoles of logically
  partitioned operating systems, e.g.  Linux, running on the same
  partitioned Power5 ppc64 system.  Physical hardware consoles per
  partition are not practical on this hardware so system consoles are
  accessed by this driver using inter-partition firmware interfaces to
  virtual terminal devices.

* Documentation/powerpc/hvcs.txt

  HVCS installation and usage documentation.

Thanks everyone for all the help with this driver [Andrew Morton, Paul
Mackerras, Ben Herrenschmidt, Dave Hansen, Paul Mackerras, Dave Boutcher,
Hollis Blanchard, Santiago Leon, Brian King, Randy Dunlap].

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] ppc64 SMT bugfix
Joel Schopp [Wed, 28 Jul 2004 15:59:41 +0000 (08:59 -0700)]
[PATCH] ppc64 SMT bugfix

This patch is fairly straightforward.  maxcpus should be per SMT thread and
not per physical processor.  SUSE picked this up back in May (was discussed
on ppc64 mailing list) and has had no trouble with it.

Signed-off-by: Joel Schopp <jschopp@austin.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] ppc64: whitespace cleanup in prom.c
Paul Mackerras [Wed, 28 Jul 2004 15:59:29 +0000 (08:59 -0700)]
[PATCH] ppc64: whitespace cleanup in prom.c

This patch, originally from Linas Vepstas, cleans up some wonky indentation
and other formatting issues in arch/ppc64/kernel/prom.c.  It does not change
any actual code.

Signed-off-by: Linas Vepstas <linas@linas.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] ppc64: Fix RAS irq handlers
Paul Mackerras [Wed, 28 Jul 2004 15:59:18 +0000 (08:59 -0700)]
[PATCH] ppc64: Fix RAS irq handlers

On pSeries systems, the firmware tells us a list of interrupt numbers
that we should enable in order to detect various error conditions.
When we get one of these interrupts we are supposed to call the
firmware, which will work out and tell us what the error was and
possibly also fix it.

We were not correctly parsing the property values that tell us which
interrupts need to be handled in this fashion.  This patch fixes it.
It exports prom_n_intr_cells from prom.c since that is needed to do
the parsing properly.

Signed-off-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] ppc64: cpu hotplug fix
Joel Schopp [Wed, 28 Jul 2004 15:59:08 +0000 (08:59 -0700)]
[PATCH] ppc64: cpu hotplug fix

On Power4 and earlier hardware there is no need to clear the CPPR (see RPAp
479 section 18.5.4.7.2 for what little info there is on the CPPR) when
stopping a cpu.  On hardware that uses Power5 an undocumented change has
been made that requires the CPPR to be cleared if an isolate is to be done
on the stopped cpu.  So the following patch lets cpu hotplug work on the
recent hardware.

I sent this patch to the ppc64-dev list back in mid April and Suse picked
it up then for SLES9 so it has been well tested for several months.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] ppc64: remove multiple IRQ optimisation
Anton Blanchard [Wed, 28 Jul 2004 15:58:57 +0000 (08:58 -0700)]
[PATCH] ppc64: remove multiple IRQ optimisation

ppc64 has an optimisation where it loops on get_irq until there are no more
interrupts to be handled.  Mark Hack notes that this optimisation hardly
ever hits and costs us a potentially expensive extra read of an interrupt
register every interrupt.

Also make do_IRQ void, the callers never use the return value.

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] page align emergency stack
David Gibson [Wed, 28 Jul 2004 15:58:46 +0000 (08:58 -0700)]
[PATCH] page align emergency stack

The PPC64 ABI requires the stack to be 128 byte aligned (and that can
become important if AltiVec registers are saved there).  In the kernel,
that's usually dealt with by the fact that the stack has a page
more-or-less to itself.  However, the emergency stacks (used in SMP bringup
and when we detect a bad stack pointer) aren't necessarily page aligned, or
anything aligned for that matter.  This patch applies the necessary
alignement constraint to them.

Signed-off-by: David Gibson <dwg@au.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] dvb_usercopy() fix
Johannes Stezenbach [Wed, 28 Jul 2004 15:58:35 +0000 (08:58 -0700)]
[PATCH] dvb_usercopy() fix

Fix some breakage in dvb_usercopy() introduced by sparse cleanups in -rc2.

Signed-off-by: Johannes Stezenbach <js@convergence.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] DVB major number
Alan Cox [Wed, 28 Jul 2004 15:58:23 +0000 (08:58 -0700)]
[PATCH] DVB major number

The DVB merge forgot an important change - DVB is currently using
major 250, which is "local" while devices.txt (and thus FSSTND/LSB) require
it uses the officially allocated 212 major.

Fortunately most 2.6 users don't currently use DVB and vendors ship devfs
or versions of makedev that do the right thing and generate 212 majors.

Fix below, original author: Red Hat <alan@redhat.com>, OSDL certificate
of authorship included by reference.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] swapoff mmap_sem deadlock
Hugh Dickins [Wed, 28 Jul 2004 15:58:12 +0000 (08:58 -0700)]
[PATCH] swapoff mmap_sem deadlock

Updating the mm lock ordering documentation drew attention to the fact that
we were wrong to blithely add down_read(&mm->mmap_sem) to swapoff's
unuse_process, while it holds swapcache page lock: not very likely, but it
could deadlock against, say, mlock faulting a page back in from swap.

But it looks like these days it's safe to drop and reacquire page lock if
down_read_trylock fails: the page lock is held to stop try_to_unmap
unmapping the page's ptes as fast as try_to_unuse is mapping them back in;
but the recent fix for get_user_pages works to prevent that too.

Signed-off-by: Hugh Dickins <hugh@veritas.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] install_page vs. vmtruncate
Hugh Dickins [Wed, 28 Jul 2004 15:58:01 +0000 (08:58 -0700)]
[PATCH] install_page vs. vmtruncate

BK is still missing one piece for Oleg's install_page/vmtruncate races.
Oleg didn't explicitly ACK this, but I think he did implicitly: Oleg?

The previous patch to install_page, returning an error if !page_mapping
once page_table_lock is held, is not enough to guard against vmtruncate.

When unmap_mapping_range already did this vma, but truncate_inode_pages has
not yet done this page, page->mapping will still be set, but we must now
refrain from inserting the page into the page table.

Could check truncate_count, but that would need caller to read and pass it
down.  Instead, recheck page->index against i_size, which is updated before
unmap_mapping_range.  Better check page->mapping too: not really necessary,
but it's accidental that index is left when mapping is reset.

Also, callers are expecting -EINVAL for beyond end of file, not -EAGAIN.

Signed-off-by: Hugh Dickins <hugh@veritas.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] selinux: fix clearing of new personality bit on security transitions
Stephen D. Smalley [Wed, 28 Jul 2004 15:57:50 +0000 (08:57 -0700)]
[PATCH] selinux: fix clearing of new personality bit on security transitions

This patch moves the clearing of the new personality bit from
selinux_bprm_apply_creds (called from compute_creds) to
selinux_bprm_set_security (called from prepare_binprm).  This ensures that the
bit is cleared at the same point in exec processing as for setuid/setgid
binaries, prior to setting up the new image.

Signed-off-by: Stephen Smalley <sds@epoch.ncsc.mil>
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] BIO page refcounting fix
Jens Axboe [Wed, 28 Jul 2004 15:57:38 +0000 (08:57 -0700)]
[PATCH] BIO page refcounting fix

Hopefully fixes the free-of-a-freed-page BUG caused during CDRW writing.

This also fixes a problem in the bouncing for io errors (it needs to free
the pages and clear the BIO_UPTODATE flag, not set it.  it's already set.
passing -EIO to bio_endio() takes care of that).

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] compat_clock_getres shouldn't return -EFAULT if res == NULL
Arun Sharma [Wed, 28 Jul 2004 15:57:26 +0000 (08:57 -0700)]
[PATCH] compat_clock_getres shouldn't return -EFAULT if res == NULL

For clock_getres(clockid_t clock_id, struct timespec *res), the specification
says "If res is NULL, the clock resolution is not returned." So this kind of
call should succeed.  The current implementation returns -EFAULT.

The patch fixes the bug in compat_clock_getres().

Signed-off-by: Gordon Jin <gordon.jin@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] sched: initialize sched domain table
Jack Steiner [Wed, 28 Jul 2004 15:57:15 +0000 (08:57 -0700)]
[PATCH] sched: initialize sched domain table

Here is a trivial patch that is required to boot the latest 2.6.7 tree
on the SGI 512p system.

Initialize the busy_factor in the sched_domain_init table.  Otherwise,
booting hangs doing excessive load balance operations.

Signed-off-by: Jack Steiner <steiner@sgi.com>
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] Fix UNIX98 pty indices leak
Vladimir B. Savkin [Wed, 28 Jul 2004 15:57:05 +0000 (08:57 -0700)]
[PATCH] Fix UNIX98 pty indices leak

I noticed that our PPPoE/PPtP access concentrator leaks pty devices.
When all 4096 indices are leaked, there was need to reboot it.

The following patch fixes this problem.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] fixes for rcu_offline_cpu, rcu_move_batch
Nathan Lynch [Wed, 28 Jul 2004 15:56:54 +0000 (08:56 -0700)]
[PATCH] fixes for rcu_offline_cpu, rcu_move_batch

rcu_offline_cpu and rcu_move_batch have been broken since the list_head's
in struct rcu_head and struct rcu_data were replaced with singly-linked
lists:

  CC      kernel/rcupdate.o
kernel/rcupdate.c: In function `rcu_move_batch':
kernel/rcupdate.c:222: warning: passing arg 2 of `list_add_tail' from
incompatible pointer type
kernel/rcupdate.c: In function `rcu_offline_cpu':
kernel/rcupdate.c:239: warning: passing arg 1 of `rcu_move_batch' from
incompatible pointer type
kernel/rcupdate.c:240: warning: passing arg 1 of `rcu_move_batch' from
incompatible pointer type
kernel/rcupdate.c:236: warning: label `unlock' defined but not used

Kernel crashes when you try to offline a cpu, not surprisingly.

It also looks like rcu_move_batch isn't preempt-safe so I touched that up,
and got rid of an unused label in rcu_offline_cpu.

Signed-off-by: Nathan Lynch <nathanl@austin.ibm.com>
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 [Wed, 28 Jul 2004 15:48:26 +0000 (08:48 -0700)]
Merge bk://ppc.bkbits.net/for-linus-ppc
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years agoMerge bk://kernel.bkbits.net/jgarzik/libata-upstream-2.6
Linus Torvalds [Wed, 28 Jul 2004 15:47:25 +0000 (08:47 -0700)]
Merge bk://kernel.bkbits.net/jgarzik/libata-upstream-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years agoMerge bk://gkernel.bkbits.net/misc-2.6
Linus Torvalds [Wed, 28 Jul 2004 15:45:23 +0000 (08:45 -0700)]
Merge bk://gkernel.bkbits.net/misc-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years ago[PATCH] cirrusfb: discarded in section `.exit.text' from drivers/built-in.o
Russell King [Wed, 28 Jul 2004 11:59:24 +0000 (07:59 -0400)]
[PATCH] cirrusfb: discarded in section `.exit.text' from drivers/built-in.o

This patch fixes the error in the subject line.

22 years ago[sound/oss i810] misc small changes
John W. Linville [Wed, 28 Jul 2004 09:27:25 +0000 (05:27 -0400)]
[sound/oss i810] misc small changes

Attached is a second patch to account for (most of) Herbert Xu's
comments.

I have left-out the part about changing state->card to a
local variable where it is used a lot.  Unfortunately, that usage is
somewhat pervasive and I would prefer to make those changes in a separate
patch -- after I have had a chance to do some testing.

If you'd prefer one patch to account for the original plus these
changes, let me know and I'll be happy to provide it.

22 years ago[sound/oss i810] add MMIO DSP support
John W. Linville [Wed, 28 Jul 2004 09:26:13 +0000 (05:26 -0400)]
[sound/oss i810] add MMIO DSP support

Enclosed is a patch for the i810_audio OSS driver to support using
memory-mapped I/O for those chipsets that support it.

 o Added a family of macros -- I810_IOREADx() and I810_IOWRITEx() -- that
key off the existing card->use_mmio flag to select between using readx/writex
or inx/outx for I/O operations.

 o Converted existing inx/outx invocations to use
I810_IOREADx/I810_IOWRITEx instead.

 o Changed GET_CIV(), GET_LVI, and CIV_TO_LVI() not only to use
I810_IOREADx/I810_IOWRITEx but also to take "card" (i.e. struct i810_card)
paramter.

 o Removed check for "Pure MMIO interfaces" in i810_probe() -- replaced w/
(relocated) check for no I/O resources available.

22 years ago[ata] fix reversed bit definitions in linux/ata.h
Andrew Chew [Wed, 28 Jul 2004 09:17:36 +0000 (05:17 -0400)]
[ata] fix reversed bit definitions in linux/ata.h

The macros ata_id_has_lba() and ata_id_has_dma() seem to have their bits
reversed.  LBA support is bit 9 of word 49 in the identify page, whereas
DMA support is bit 8 of word 49 in the identify page.

22 years ago[PATCH] SATAPI despite no data
Pat LaVarre [Wed, 28 Jul 2004 09:15:30 +0000 (05:15 -0400)]
[PATCH] SATAPI despite no data

I see we lost this source line in the changes since 2.6.7.  But if I try
SATAPI expecting no data without this source line, then my ata_piix.ko
promptly dies with such complaints as:

kernel: irq 18: nobody cared!

With this source line, I find I can expect no data, though I still have
to add auto sense to overcome:

kernel: ata2: BUG: timeout without command

22 years ago[PATCH] x86-64 fixes
Andi Kleen [Tue, 27 Jul 2004 15:15:19 +0000 (08:15 -0700)]
[PATCH] x86-64 fixes

This fixes several small but serious x86-64 bugs in 2.6.8rc2:

 - Fix array overflow in PCI bus checking (Travis Betak)
 - Fix broken pci_map_sg in swiotlb (Suresh B. Siddha)
 - Remove bogus bus check in IOMMU code

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years agoMerge bk://gkernel.bkbits.net/net-drivers-2.6
Linus Torvalds [Tue, 27 Jul 2004 07:57:26 +0000 (00:57 -0700)]
Merge bk://gkernel.bkbits.net/net-drivers-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years ago[PATCH] prism54 Fix null pointer reference (Bug 100)
Margit Schubert-While [Tue, 27 Jul 2004 08:24:01 +0000 (04:24 -0400)]
[PATCH] prism54 Fix null pointer reference (Bug 100)

* prism54_get/set_debug_oid are missing checks for a null pointer.
  Reported in Bugzilla number 100.

22 years ago[PATCH] prism54 Fix initialization with older firmware
Margit Schubert-While [Tue, 27 Jul 2004 08:23:53 +0000 (04:23 -0400)]
[PATCH] prism54 Fix initialization with older firmware

* In the card initialization routine, we try to set the
  output power. For firmware < 1.0.4.3, this leads to a
  worrying "mgt_commit has failed .." in the log although
  the device continues to react normally.
  Fix is simple, do not try to configure output power.
  (which I believe we should not be doing anyway as it is
   probably against local country regulations)

22 years ago[PATCH] prism54 Refix TRDY/RETRY_TIMEOUT
Margit Schubert-While [Tue, 27 Jul 2004 08:23:44 +0000 (04:23 -0400)]
[PATCH] prism54 Refix TRDY/RETRY_TIMEOUT

* Reintroduce pushing 0 into the TRDY_TIMEOUT and RETRY_TIMEOUT
  registers. Make this configurable with module parameter
  init_pcitm.

* We now have the ludicrous situation that some hardware setups
  require this (not even pushing 0xFF helps), whilst others
  don't care either way (the majority), and yet others bork
  if anything is pushed into these regs.
  If anybody can explain this (including Conexant :-) ), my ears
  are open.

22 years ago[PATCH] prism54 Fix reference to uninitialized pointer
Margit Schubert-While [Tue, 27 Jul 2004 08:23:35 +0000 (04:23 -0400)]
[PATCH] prism54 Fix reference to uninitialized pointer

* oid_mgt.c is calling islpci_mgt_transaction passing the address
  of a pointer to the management frame. This is not being
  initialized by the caller. The callee only updates this
  pointer when successful. When not, boom.

* Being ultracautious again, not only initialize in the caller,
  also null out the pointer unconditionally in the callee.

22 years agoia64: Update for elf_read_implies_exec() macro changes in mainline tree.
David Mosberger [Mon, 26 Jul 2004 15:26:59 +0000 (08:26 -0700)]
ia64: Update for elf_read_implies_exec() macro changes in mainline tree.

22 years agoMerge tiger.hpl.hp.com:/data1/bk/vanilla/linux-2.5
David Mosberger [Mon, 26 Jul 2004 15:05:09 +0000 (08:05 -0700)]
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 agoia64: Update defconfig
David Mosberger [Mon, 26 Jul 2004 14:56:04 +0000 (07:56 -0700)]
ia64: Update defconfig

22 years ago[PATCH] wrong ifdef in ppc/kernel/setup.c (nvram)
Alexander Viro [Mon, 26 Jul 2004 14:05:10 +0000 (07:05 -0700)]
[PATCH] wrong ifdef in ppc/kernel/setup.c (nvram)

Wrong ifdef around ppc nvram_read_byte() - it should be
CONFIG_GENERIC_NVRAM.

[that's it for today; there's more (fb stuff), but I'd rather make that
a separate series]

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] cpumask updates in open_pic.c (ppc)
Alexander Viro [Mon, 26 Jul 2004 14:04:59 +0000 (07:04 -0700)]
[PATCH] cpumask updates in open_pic.c (ppc)

compile fixes in open_pic.c - it missed cpumask conversion in several
places.

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] inline reordering in drivers/*
Alexander Viro [Mon, 26 Jul 2004 14:04:48 +0000 (07:04 -0700)]
[PATCH] inline reordering in drivers/*

usual "shift definition of inlines before their uses" in a couple of
places in drivers/*

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] signed char fixes in drivers/*
Alexander Viro [Mon, 26 Jul 2004 14:04:36 +0000 (07:04 -0700)]
[PATCH] signed char fixes in drivers/*

a couple of "replace char with explicit s8 to make sure it's really
signed" fixes.

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] drivers/ieee1394 annotation
Alexander Viro [Mon, 26 Jul 2004 14:04:25 +0000 (07:04 -0700)]
[PATCH] drivers/ieee1394 annotation

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] broken stuff marked as such in Kconfig
Alexander Viro [Mon, 26 Jul 2004 14:04:13 +0000 (07:04 -0700)]
[PATCH] broken stuff marked as such in Kconfig

a) ppc KGDB builds only on two subarch; say so in Kconfig
b) ide-pmac.c can't be a module; make it dependent on IDE=y.
c) a bunch of isdn drivers is broken on ppc; marked as such
d) oaknet is broken; marked as such (includes on files that do not
exist, etc.)
e) buslogic and cyber2000 are broken on sparc64
f) s3trio framebuffer is broken
g) usual 8250-based serial is broken on sparc64; in principle it might
be worth supporting (there are PCI cards of that sort), for now marked as
broken (no asm/serial.h, to start with).

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] missing (void) in reiserfs on big-endian boxen
Alexander Viro [Mon, 26 Jul 2004 14:04:02 +0000 (07:04 -0700)]
[PATCH] missing (void) in reiserfs on big-endian boxen

Usual foo ? void : non-void  in reiserfs; gets triggered on big-endian
platforms.

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] asm-ppc/reg.h namespace pollution fixes
Alexander Viro [Mon, 26 Jul 2004 14:03:51 +0000 (07:03 -0700)]
[PATCH] asm-ppc/reg.h namespace pollution fixes

asm-ppc/reg.h defines pollutes namespace like there's no tomorrow;
among other things there are
LR
SR0...SR15
DEC
etc.

That breaks quite a few drivers that should otherwise work on ppc.  SR...
and LR were never used by ppc code; commented out in reg.h (note that
they are just aliases for SPRN_SR... and SPRN_LR).  RPA commented out and
its instances in ppc code (all four of them) replaced with SPRN_RPA.  Ditto
for DEC.  The rest of the offenders (DAR and PVR) are left alone for now and
#undef'ed in drivers in question.

We probably want to rip all these guys out of reg.h and convert ppc users
to SPRN_... forms - file ends up included in alot of places and namespace
pollution like that is a Bad Thing(tm).

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] ffb_context annotation
Alexander Viro [Mon, 26 Jul 2004 14:03:39 +0000 (07:03 -0700)]
[PATCH] ffb_context annotation

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] pointer-to-int conversion fixes
Alexander Viro [Mon, 26 Jul 2004 14:03:29 +0000 (07:03 -0700)]
[PATCH] pointer-to-int conversion fixes

Assorted pointer-to-int fixes:
a) some places want to take pointer modulo alignment or extract
integer that was cast to pointer (which is legitimate), but do that via
wrong cast, triggering sparse warnings.
b) usual %x (int)ptr -> %p ptr fixes

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] drivers/macintosh annotations
Alexander Viro [Mon, 26 Jul 2004 14:03:17 +0000 (07:03 -0700)]
[PATCH] drivers/macintosh annotations

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] via-velocity switched use of to if_mii()
Alexander Viro [Mon, 26 Jul 2004 14:03:05 +0000 (07:03 -0700)]
[PATCH] via-velocity switched use of to if_mii()

Either it got missed back when if_mii() was introduced, or it got merged
that way later.

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] dpt_i2o annotations
Alexander Viro [Mon, 26 Jul 2004 14:02:54 +0000 (07:02 -0700)]
[PATCH] dpt_i2o annotations

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] zoran switched to seq_file
Alexander Viro [Mon, 26 Jul 2004 14:02:43 +0000 (07:02 -0700)]
[PATCH] zoran switched to seq_file

zoran procfs code switched to seq_file and cleaned up; a bunch of homegrown
procfs glue eliminated.

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] cciss compat ioctl fix
Alexander Viro [Mon, 26 Jul 2004 14:02:32 +0000 (07:02 -0700)]
[PATCH] cciss compat ioctl fix

cciss compat ioctls were broken (mixing kernel and userland pointers);
fixed (and cleaned up) by switch to compat_alloc_user_space() and elimination
of set_fs().

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] annotations for arch/ppc and include/asm-ppc
Alexander Viro [Mon, 26 Jul 2004 14:02:20 +0000 (07:02 -0700)]
[PATCH] annotations for arch/ppc and include/asm-ppc

Usual set - explicit -D<arch>=1 for sparse, __sighandler_t / __sigrestore_t
annotated, annotations in arch/ppc/kernel/*, etc. - same as for other platforms

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] #if abuses in drivers/*
Alexander Viro [Mon, 26 Jul 2004 14:02:09 +0000 (07:02 -0700)]
[PATCH] #if abuses in drivers/*

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] CONFIG_MCOUNT fix for sparc64
Alexander Viro [Mon, 26 Jul 2004 14:01:57 +0000 (07:01 -0700)]
[PATCH] CONFIG_MCOUNT fix for sparc64

CONFIG_MCOUNT on sparc64 is currently broken; we have both mcount and _mcount
declared (and aliased to each other), but end up exporting the wrong one.  As
the result, with that option all modules get unresolved symbol.

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] NULL noise removal in drivers/*
Alexander Viro [Mon, 26 Jul 2004 14:01:45 +0000 (07:01 -0700)]
[PATCH] NULL noise removal in drivers/*

it could be split (all chunks are obviously independent), but I don't think
that it's worth doing.

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] drm/gamma_old_dma.h fix
Alexander Viro [Mon, 26 Jul 2004 14:01:32 +0000 (07:01 -0700)]
[PATCH] drm/gamma_old_dma.h fix

blind dereferencing of userland pointer

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] NULL noise removal on ppc
Alexander Viro [Mon, 26 Jul 2004 14:01:20 +0000 (07:01 -0700)]
[PATCH] NULL noise removal on ppc

0->NULL in arch/ppc and include/asm-ppc.

[That's it for this series - there's still ~200Kb to merge, but I'd rather
take a break for a couple of hours before dealing with the rest]

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] sparc32 emulation annotated
Alexander Viro [Mon, 26 Jul 2004 14:01:08 +0000 (07:01 -0700)]
[PATCH] sparc32 emulation annotated

annotated, a bunch of ioctls switched to compat_alloc_user_space() and
cleaned up.

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] solaris emulation annotated
Alexander Viro [Mon, 26 Jul 2004 14:00:57 +0000 (07:00 -0700)]
[PATCH] solaris emulation annotated

trivial annotations and cleanups + proper use of vfs_...stat().

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] #if abuse in drivers/net/*
Alexander Viro [Mon, 26 Jul 2004 14:00:46 +0000 (07:00 -0700)]
[PATCH] #if abuse in drivers/net/*

Signed-off-by: Linus Torvalds <torvalds@osdl.org>