]> git.hungrycats.org Git - linux/log
linux
21 years ago[PATCH] ppc64: Update G5 thermal control driver
Benjamin Herrenschmidt [Fri, 22 Oct 2004 00:31:28 +0000 (17:31 -0700)]
[PATCH] ppc64: Update G5 thermal control driver

This patch updates the G5 thermal control driver, the main change
is support for the new "PowerMac7,3" type desktops including the
dual 2.5Ghz with liquid cooling.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] ppc64: Fix typo in zImage boot wrapper
Benjamin Herrenschmidt [Fri, 22 Oct 2004 00:31:15 +0000 (17:31 -0700)]
[PATCH] ppc64: Fix typo in zImage boot wrapper

This patch fixes a typo in the zImage boot wrapper (incorrect printf).

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Matthew Dharm <mdharm@momenco.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] ppc64: Fix boot on some non-LPAR pSeries
Benjamin Herrenschmidt [Fri, 22 Oct 2004 00:31:03 +0000 (17:31 -0700)]
[PATCH] ppc64: Fix boot on some non-LPAR pSeries

This patch fixes a problem when allocating the TCE tables (iommu) during
early boot on some non-LPAR machines with a lot of memory.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] PPC64 remove __ioremap_explicit() error message
Paul Mackerras [Fri, 22 Oct 2004 00:30:50 +0000 (17:30 -0700)]
[PATCH] PPC64 remove __ioremap_explicit() error message

This patch, from John Rose, is the counterpart of one recently
forwarded by Greg KH.  It has the same description, but isn't the same
patch - this is the arch/ppc64 part of the change.

As an unfortunate side effect of runtime addition/removal of PCI Host Bridges,
the RPA DLPAR driver can no longer depend on the success of ioremap_explicit()
(and therefore remap_page_range()) for the case of DLPAR adding an I/O Slot.

Without addressing this, an attempt to add the first child slot of a newly
added PHB will fail when __ioremap_explicit() determines the mappings for that
range to already exist.

For a little context, __ioremap_explicit() creates mappings for the range of a
newly added slot.  Here's why these calls will be expected to fail in some
cases.  Keep in mind that at boot-time, the PPC64 kernel calls ioremap() for
the entire range spanned by each PHB.  Consider the following scenarios of
DLPAR-adding an I/O slot.

1) Just after boot, one removes an I/O slot.  At this point the range
   associated with the parent PHB is fragmented, and the child range for the
   slot in question is iounmap()'ed.  One then re-adds the slot, at which point
   remap_page_range()/ioremap_explicit() restores the mappings that were
   previously removed.

2) One adds a new PHB, at which point the ppc64-specific addition ioremaps the
   entire PHB range.  One then performs a DLPAR-add of a child slot of that
   PHB.  At this point, mappings already exist for the range of the slot to
   be added.  So remap_page_range()/ioremap_explicit() will fail at this point.

The problem is, there's not a good way to distinguish between cases 1 and 2
from the perspective of the DLPAR driver.  Because of that, I believe the
correct solution to be:

- Removal of relevant error prints from iounmap_explicit(), which is only used
  for DLPAR.
- Removal of error code checks from the RPA driver

Here's the first of these.

Signed-off-by: John Rose <johnrose@austin.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] added typechecking ot sparc64 ioremap()
Alexander Viro [Thu, 21 Oct 2004 11:04:56 +0000 (04:04 -0700)]
[PATCH] added typechecking ot sparc64 ioremap()

ioremap() made inlined function on sparc64; that had caught one bogosity in
drivers, actually - cpwatchdog.c passed sizeof(structure that was never
declared) as the second argument to ioremap().  It went unnoticed since
that argument was never used in the body of macro, so it disappeared without
a trace...

Signed-off-by: Al Viro <viro@parcelfarce.linux.theplanet.co.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] sparc64 missing volatile in io.h prototypes
Alexander Viro [Thu, 21 Oct 2004 11:04:43 +0000 (04:04 -0700)]
[PATCH] sparc64 missing volatile in io.h prototypes

A bunch of places passes volatile pointers to readb() et.al.;
sparc64 has their arguments declared as void __iomem *.  Prototypes
changed to match other platforms.

Signed-off-by: Al Viro <viro@parcelfarce.linux.theplanet.co.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] ppc io.h annotations
Alexander Viro [Thu, 21 Oct 2004 11:04:30 +0000 (04:04 -0700)]
[PATCH] ppc io.h annotations

Signed-off-by: Al Viro <viro@parcelfarce.linux.theplanet.co.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] alpha io_remap_page_range() compile fix
Alexander Viro [Thu, 21 Oct 2004 11:04:17 +0000 (04:04 -0700)]
[PATCH] alpha io_remap_page_range() compile fix

Signed-off-by: Al Viro <viro@parcelfarce.linux.theplanet.co.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] amd64 uaccess.h annotations
Alexander Viro [Thu, 21 Oct 2004 11:04:05 +0000 (04:04 -0700)]
[PATCH] amd64 uaccess.h annotations

sparse complains on casts from long to pointers; unsigned long is OK, though,
and it's OK with all numeric cases.

Signed-off-by: Al Viro <viro@parcelfarce.linux.theplanet.co.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] amd64 io.h annotations
Alexander Viro [Thu, 21 Oct 2004 11:03:52 +0000 (04:03 -0700)]
[PATCH] amd64 io.h annotations

Signed-off-by: Al Viro <viro@parcelfarce.linux.theplanet.co.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] alpha writeq fixes
Alexander Viro [Thu, 21 Oct 2004 11:03:39 +0000 (04:03 -0700)]
[PATCH] alpha writeq fixes

Some drivers do ifdef on writeq; alpha has it as inline function, so they
get confused.

Signed-off-by: Al Viro <viro@parcelfarce.linux.theplanet.co.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] fusion iomem annotations
Alexander Viro [Thu, 21 Oct 2004 11:03:27 +0000 (04:03 -0700)]
[PATCH] fusion iomem annotations

Signed-off-by: Al Viro <viro@parcelfarce.linux.theplanet.co.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] aacraid iomem annotations
Alexander Viro [Thu, 21 Oct 2004 11:03:14 +0000 (04:03 -0700)]
[PATCH] aacraid iomem annotations

Signed-off-by: Al Viro <viro@parcelfarce.linux.theplanet.co.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years agoMerge bk://bart.bkbits.net/ide-2.6
Linus Torvalds [Thu, 21 Oct 2004 10:45:49 +0000 (03:45 -0700)]
Merge bk://bart.bkbits.net/ide-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

21 years ago[ide] kill CONFIG_IDE_TASKFILE_IO
Bartlomiej Zolnierkiewicz [Fri, 22 Oct 2004 03:34:19 +0000 (05:34 +0200)]
[ide] kill CONFIG_IDE_TASKFILE_IO

It is not needed any longer:
* PIO code is unified and converted to use scatterlists
* taskfile code doesn't support falling back to PIO
* it is much easier to convert non-taskfile version of
  __ide_do_rw_disk() to something sane than taskfile one

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
21 years ago[block] remove bio walking
Bartlomiej Zolnierkiewicz [Fri, 22 Oct 2004 03:22:42 +0000 (05:22 +0200)]
[block] remove bio walking

All users of this code were fixed to use scatterlists.

Acked by Jens.

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
21 years ago[ide] remove broken pdc4030 driver
Bartlomiej Zolnierkiewicz [Thu, 21 Oct 2004 18:30:23 +0000 (20:30 +0200)]
[ide] remove broken pdc4030 driver

Sigh, I broke it by accident 16 months ago and nobody has noticed
(I suspect that it was non-functional even earlier).

Additionally, this driver:
* should be converted to use scatterlists
* has verbose debugging enabled by default
* needs hacks all over IDE code
* is guilty of crimes against ide_hwifs[]

Just remove it for now.

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
21 years agoMake core-dumps have all the relevant regions in it.
Linus Torvalds [Thu, 21 Oct 2004 08:26:51 +0000 (01:26 -0700)]
Make core-dumps have all the relevant regions in it.

Based on input from Roland McGrath and Hugh Dickins.

This simplifies the logic, and takes advantage of the
"new" VM information in the form of vma->anon_vma.

21 years agoMake drivers/char/mem.c use remap_pfn_range()
Linus Torvalds [Thu, 21 Oct 2004 08:25:17 +0000 (01:25 -0700)]
Make drivers/char/mem.c use remap_pfn_range()

Rather than the deprecated remap_page_range() function
that can't handle all of the PFN range anyway.

Also, since that will now mark the vma as being special,
there's no need to do it in mmap_mem() any more.

21 years agoremap_pfn_range: make the region special.
Linus Torvalds [Thu, 21 Oct 2004 08:23:16 +0000 (01:23 -0700)]
remap_pfn_range: make the region special.

VM_IO tells the rest fo the world that the pages may
have side effects on reads/writes etc, and VM_RESERVED
historically told swap-out not to bother with it.

21 years ago[PATCH] PA-RISC io_remap_page_range() fix
William Lee Irwin III [Thu, 21 Oct 2004 07:30:26 +0000 (00:30 -0700)]
[PATCH] PA-RISC io_remap_page_range() fix

It was pointed out to me that I typo'd and lost a backslash in the
PA-RISC io_remap_page_range() definition. This patch corrects the
one-character typo.

21 years ago[PATCH] ppp: disconnect on hangup (synctty)
Paul Fulghum [Thu, 21 Oct 2004 05:38:55 +0000 (22:38 -0700)]
[PATCH] ppp: disconnect on hangup (synctty)

Here is the hangup implementation for ppp_synctty.c (same as patch
previously for ppp_asynctty.c)

Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years agoMerge bk://linux-mtd.bkbits.net/mtd-2.6
Linus Torvalds [Thu, 21 Oct 2004 04:28:22 +0000 (21:28 -0700)]
Merge bk://linux-mtd.bkbits.net/mtd-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

21 years agoMTD: dilnetpc: use %p for ptr printk arg.
Randy Dunlap [Thu, 21 Oct 2004 10:34:07 +0000 (11:34 +0100)]
MTD: dilnetpc: use %p for ptr printk arg.

Use %p to print a pointer, so that its length doesn't matter
and so that gcc won't complain.

drivers/mtd/maps/dilnetpc.c:416: warning: long unsigned int format, pointer arg (arg 2)

Signed-off-by: Randy Dunlap <rddunlap@osdl.org>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
21 years ago[PATCH] ppp: terminate connection on hangup
Paul Fulghum [Thu, 21 Oct 2004 04:22:34 +0000 (21:22 -0700)]
[PATCH] ppp: terminate connection on hangup

I reviewed, patched, and tested ppp_async.c to implement
ldisc->hangup().  This correctly terminates the PPP connection on
hangup.

Paul Mackerras already did an excellent job of ensuring safe shutdown
and I/O completion in ldisc->close so the change is trivial: just add
the ldisc->hangup and call the existing close routine.

Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years agoMerge bk://gkernel.bkbits.net/libata-2.6
Linus Torvalds [Thu, 21 Oct 2004 04:10:19 +0000 (21:10 -0700)]
Merge bk://gkernel.bkbits.net/libata-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

21 years ago[PATCH] Another ISA PnP modem (USR0009)
Adrian Bunk [Thu, 21 Oct 2004 03:59:06 +0000 (20:59 -0700)]
[PATCH] Another ISA PnP modem (USR0009)

Below is a patch from Denis Zaitsev <zzz@anda.ru> with the following two
adjustments:

- applies with -p1 (not -p0)

- USRobotics -> U.S. Robotics (consistent with the rest of the entries)

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] mips: fixed MIPS Makefile
Yoichi Yuasa [Thu, 21 Oct 2004 03:58:54 +0000 (20:58 -0700)]
[PATCH] mips: fixed MIPS Makefile

The MIPS Makefile was changed so that the offset of data section may not be
dependent on a specific machine header file.

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>
21 years ago[PATCH] stat shows wrong ppid
Dinakar Guniguntala [Thu, 21 Oct 2004 03:58:41 +0000 (20:58 -0700)]
[PATCH] stat shows wrong ppid

One more place in fs/proc/array.c where ppid is wrong, which I missed in my
previous mail to lkml.

Signed-off-by: Dinakar Guniguntala <dino@in.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] smbfs protocol fixes
Stefan Esser [Thu, 21 Oct 2004 03:58:29 +0000 (20:58 -0700)]
[PATCH] smbfs protocol fixes

From: <Urban.Widmark@enlight.net>

The memset is because it was previously possible to send always the same CIFS
fragment and use this to increase the data counters.  When the data counter
"exceeds" the amount of bytes expected this will return the buffer only
partially initialised...  With findfirst etc requests this should allow
leaking kernel memory content.

The other thing is that the data is only returned when data_tot and parm_tot
both "exceed" the expected values.  Previously it was possible to create a
sequence of CIFS fragments that allowed exceeding the counters.  The calling
functions then would believe they received a number of bytes that does not fit
into the allocated buffer.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] vm_dirty_ratio initialisation fix
Andy Whitcroft [Thu, 21 Oct 2004 03:58:17 +0000 (20:58 -0700)]
[PATCH] vm_dirty_ratio initialisation fix

When a system has a very large imbalance of overall memory size to
ZONE_NORMAL (for example when large amounts of numa remap space are in use)
page_writeback_init() may incorrectly set vm_dirty_ratio and
dirty_background_ratio to zero; leading to divide by zero errors elsewhere.
This patch bounds these at 1%.

Signed-off-by: Andy Whitcroft <apw@shadowen.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] cx88: discarded reference
Randy Dunlap [Thu, 21 Oct 2004 03:58:04 +0000 (20:58 -0700)]
[PATCH] cx88: discarded reference

Error: ./drivers/media/video/cx88/cx88-video.o .data refers to 0000000000000b28 R_X86_64_64       .exit.text

Signed-off-by: Randy Dunlap <rddunlap@osdl.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] bt878: discarded reference
Randy Dunlap [Thu, 21 Oct 2004 03:57:52 +0000 (20:57 -0700)]
[PATCH] bt878: discarded reference

Error: ./drivers/media/dvb/bt8xx/bt878.o .data refers to 0000000000000048 R_X86_64_64       .exit.text

Signed-off-by: Randy Dunlap <rddunlap@osdl.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] saa7134: discarded reference
Randy Dunlap [Thu, 21 Oct 2004 03:57:40 +0000 (20:57 -0700)]
[PATCH] saa7134: discarded reference

Error: ./drivers/media/video/saa7134/saa7134-core.o .data refers to 0000000000000028 R_X86_64_64       .exit.text

Signed-off-by: Randy Dunlap <rddunlap@osdl.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] m32r: update SIO driver to use module_param()
Hirokazu Takata [Thu, 21 Oct 2004 03:57:28 +0000 (20:57 -0700)]
[PATCH] m32r: update SIO driver to use module_param()

Here is a patch for M32R SIO driver, which replaces deprecated
MODULE_PARAM() with modern module_param().

* drivers/serial/m32r_sio.c:
- Replace MODULE_PARAM() with module_param().
- Fix a typo: UARRT_RSA_BASE --> UART_RSA_BASE.

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>
21 years ago[PATCH] x86_64: no TIOCSBRK/TIOCCBRK in ia32 emulation
Werner Almesberger [Thu, 21 Oct 2004 03:57:15 +0000 (20:57 -0700)]
[PATCH] x86_64: no TIOCSBRK/TIOCCBRK in ia32 emulation

In ia32 emulation, the amd64 kernel refuses the ioctls TIOCSBRK and
TIOCCBRK with EINVAL.  I've attached a patch that adds them to the
compatibility list.

Since all architectures have these ioctls ("m68knommu" inherits them from
"m68k", "um" from its host) and use the same code, I think adding them to
compat_ioctl.h is the correct choice (as opposed to adding them to
arch/x86_64/ia32/ia32_ioctl.c).

Signed-off-by: Werner Almesberger <werner@almesberger.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] ppc64: fix CPU numa init code thinkos
Olof Johansson [Thu, 21 Oct 2004 03:57:03 +0000 (20:57 -0700)]
[PATCH] ppc64: fix CPU numa init code thinkos

There seems to have been a couple of thinkos in the NUMA init code, in
particular in find_cpu_node():

* Property size returned is in bytes, not words
* Off-by-one error in loop iteration

Signed-off-by: Nathan Lynch <nathanl@austin.ibm.com>
Signed-off-by: Olof Johansson <olof@austin.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] ppc64: fix XICS startup function to enable as well
Paul Mackerras [Thu, 21 Oct 2004 03:56:51 +0000 (20:56 -0700)]
[PATCH] ppc64: fix XICS startup function to enable as well

When the generic IRQ patch went in, it changed the behaviour of setup_irq
(compared to the previous ppc64 version) in that we now don't call the
handler's enable function if it has a startup function.  The XICS interrupt
controller has a startup function, and so we weren't getting any interrupts
through the XICS because they never got enabled.  This patch adds a call to
xics_enable_irq to xics_startup and fixes the problem.

Signed-off-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] ppc64: iSeries compile broken in 2.6.9-bk3
Stephen Rothwell [Thu, 21 Oct 2004 03:56:39 +0000 (20:56 -0700)]
[PATCH] ppc64: iSeries compile broken in 2.6.9-bk3

One of the iSeries specific files used HZ without including linux/param.h
and previously got away with it.

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] ppc32: fix ibm44x_common.c compile
Matt Porter [Thu, 21 Oct 2004 03:56:27 +0000 (20:56 -0700)]
[PATCH] ppc32: fix ibm44x_common.c compile

Fix ibm44x_common.c compile.

Signed-off-by: Eugene Surovegin <ebs@ebshome.net>
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>
21 years ago[PATCH] ppc: fix build with O=$(output_dir)
Roland Dreier [Thu, 21 Oct 2004 03:56:14 +0000 (20:56 -0700)]
[PATCH] ppc: fix build with O=$(output_dir)

Recent changes to arch/ppc/boot/lib/Makefile cause

      CC      arch/ppc/boot/lib/../../../../lib/zlib_inflate/infblock.o
    Assembler messages:
    FATAL: can't create arch/ppc/boot/lib/../../../../lib/zlib_inflate/infblock.o: No such file or directory

when building a ppc kernel using O=$(output_dir) with CONFIG_ZLIB_INFLATE=n,
because the $(output_dir)/lib/zlib_inflate directory doesn't get created.

This patch, which makes arch/ppc/boot/lib/Makefile create the
directory if needed, is one fix for the problem.

Signed-off-by: Roland Dreier <roland@topspin.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] ppc32: remove bogus PPC44x prefetch workaround
Matt Porter [Thu, 21 Oct 2004 03:56:02 +0000 (20:56 -0700)]
[PATCH] ppc32: remove bogus PPC44x prefetch workaround

This patch removes the bogus workaround for dcache prefetch beyond the end
of the physical memory.

Signed-off-by: Eugene Surovegin <ebs@ebshome.net>
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>
21 years ago[PATCH] vm thrashing control tuning CONFIG_SWAP=n build fix
Hideo Aoki [Thu, 21 Oct 2004 03:55:50 +0000 (20:55 -0700)]
[PATCH] vm thrashing control tuning CONFIG_SWAP=n build fix

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years agoUpdate tty layer to not mix kernel and user pointers.
Linus Torvalds [Thu, 21 Oct 2004 03:03:33 +0000 (20:03 -0700)]
Update tty layer to not mix kernel and user pointers.

Instead, tty_io.c will always copy user space data to
kernel space, leaving the drivers to worry only about
normal kernel buffers.

No more "from_user" flag, and having the user copy in
each driver.

This cleans up the code and also fixes a number of
locking bugs.

21 years agoJFFS2 updates
David Woodhouse [Thu, 21 Oct 2004 02:05:56 +0000 (03:05 +0100)]
JFFS2 updates

 - Reduce memory use by merging adjacent obsolete raw_node_refs
 - Error handling fixes
 - Respect kmalloc size limit in scan
 - NAND ECC updates

Signed-Off-By: David Woodhouse <dwmw2@infradead.org>
21 years agoMTD: NAND flash driver updates.
Thomas Gleixner [Thu, 21 Oct 2004 01:35:05 +0000 (02:35 +0100)]
MTD: NAND flash driver updates.

 - Use new RS library for ECC
 - Add support for new NAND flash chips
 - New board support:
   - iPAQ H1910
   - Renesas AG-AND devel board
   - Simtec S3C210
 - Support for shared controllers on multiple chips.

Signed-Off-By: Thomas Gleixner <tglx@linutronix.de>
Signed-Off-By: David Woodhouse <dwmw2@infradead.org>
21 years agoMTD userspace ABI: fix userspace compilation w.r.t. __user
David Woodhouse [Thu, 21 Oct 2004 01:25:44 +0000 (02:25 +0100)]
MTD userspace ABI: fix userspace compilation w.r.t. __user

Signed-Off-By: David Woodhouse <dwmw2@infradead.org>
21 years agoMTD: M-Systems DiskOnChip translation layer (NFTL): fix unused variable.
Thomas Gleixner [Thu, 21 Oct 2004 01:23:10 +0000 (02:23 +0100)]
MTD: M-Systems DiskOnChip translation layer (NFTL): fix unused variable.

Signed-Off-By: Thomas Gleixner <tglx@linutronix.de>
Signed-Off-By: David Woodhouse <dwmw2@infradead.org>
21 years agoMTD translation layer helper: set PF_NOFREEZE to allow sleep
David Woodhouse [Thu, 21 Oct 2004 01:17:33 +0000 (02:17 +0100)]
MTD translation layer helper: set PF_NOFREEZE to allow sleep

Patch from Todd Poynor

Signed-Off-By: David Woodhouse <dwmw2@infradead.org>
21 years agoMTD: NOR flash chip driver updates
David Woodhouse [Thu, 21 Oct 2004 01:13:45 +0000 (02:13 +0100)]
MTD: NOR flash chip driver updates

Mostly from Eric Biederman for supporting BIOS flash.

    - Move support firmware hub style lock and unlock into fhw_lock.h (from cfi_cmdset_0002)
    - Move cfi_varsize_frob into cfi_util from cfi_cmdset_0001.c and cfi_cmdset_0002.c
    - reduce gen_probe probe failuers to a debug level message
    - Modify cfi_fixup to take a struct mtd_info instead of a struct map_info
      So that the fixup routines can modify the mtd functions.
    - Modify cfi_cmdset_0001() to allocate and initialize the mtd structure
      before calling cfi_fixup.
    - Modify cfi_cmdset_0002() to allocate and initialize the mtd structure
      before calling cfi_fixup.
    - Refactor the hard coded fixups in cfi_cmdset_0001 and cfi_cmdset_0002
      so the improved cfi_fixup infrastructure.
    - Rewrote amd76xrom and ichxrom.
      They now report their starting physical address in their name.
      They now both handle multiple bankwidth configurations
      They both can create multipe mtd devices.
      They both now assume the rom windows are properly opened by the BIOS
       or whatever runs previous to them.
      Their code is now synchromized so it is almost identical,
         and could be a starting point for a x86_rom_probe.

Signed-Off-By: David Woodhouse <dwmw2@infradead.org>
21 years agoNew MTD map drivers.
David Woodhouse [Thu, 21 Oct 2004 01:00:02 +0000 (02:00 +0100)]
New MTD map drivers.

- Technology Systems TS-5500 board
- Simtec BAST
- IBM 440GX Ocotea

Signed-Off-By: David Woodhouse <dwmw2@infradead.org>
21 years agoMTD char device access -- return data when ECC errors happen.
Thomas Gleixner [Thu, 21 Oct 2004 00:53:32 +0000 (01:53 +0100)]
MTD char device access -- return data when ECC errors happen.

This is sane, as the driver returns the real data and the return
value is for information of NAND aware filesystems. Userspace
access to raw NAND is usually restricted to debugging tools which
are aware of the NAND specific problems.

Signed-Off-By: Thomas Gleixner <tglx@linutronix.de>
Signed-Off-By: David Woodhouse <dwmw2@infradead.org>
21 years agoMTD map access: Fix calculation of the number of longs in a bus access
David Woodhouse [Thu, 21 Oct 2004 00:50:36 +0000 (01:50 +0100)]
MTD map access: Fix calculation of the number of longs in a bus access

Patch from Ben Dooks <ben-mtd@fluff.org>
Signed-Off-By: David Woodhouse <dwmw2@infradead.org>
21 years agoMTD map driver update: ppc44x 'ebony' board
David Woodhouse [Thu, 21 Oct 2004 00:37:43 +0000 (01:37 +0100)]
MTD map driver update: ppc44x 'ebony' board

- Update mporter email address
- Include file fixups
- Tglx's __iomem fixes

Signed-Off-By: David Woodhouse <dwmw2@infradead.org>
21 years agoMTD map driver update: Alchemy DB1xxx boards
David Woodhouse [Thu, 21 Oct 2004 00:34:33 +0000 (01:34 +0100)]
MTD map driver update: Alchemy DB1xxx boards

- Change Pete Popov's email address
- Tglx's __iomem fixes
- Include file cleanups

Signed-Off-By: David Woodhouse <dwmw2@infradead.org>
21 years agoMTD cmdlinepart: Allow partition definitions to be set from elsewhere
David Woodhouse [Thu, 21 Oct 2004 00:30:22 +0000 (01:30 +0100)]
MTD cmdlinepart: Allow partition definitions to be set from elsewhere

... by making mtdpart_setup() non-static

Patch from Juha Yrjölä committed by Jarkko Lavinen.

Signed-Off-By: David Woodhouse <dwmw2@infradead.org>
21 years agoMTD updates for __iomem
Thomas Gleixner [Thu, 21 Oct 2004 00:23:38 +0000 (01:23 +0100)]
MTD updates for __iomem

Signed-Off-By: Thomas Gleixner <tglx@linutronix.de>
Signed-Off-By: David Woodhouse <dwmw2@infradead.org>
21 years agoAdd DocBook documentation for MTD NAND drivers
Thomas Gleixner [Thu, 21 Oct 2004 00:04:05 +0000 (01:04 +0100)]
Add DocBook documentation for MTD NAND drivers

Signed-Off-By: Thomas Gleixner <tglx@linutronix.de>
Signed-Off-By: David Woodhouse <dwmw2@infradead.org>
21 years agoShared Reed-Solomon ECC library
Thomas Gleixner [Wed, 20 Oct 2004 23:55:08 +0000 (00:55 +0100)]
Shared Reed-Solomon ECC library

The attached patch contains a shared Reed-Solomon Library analogous to
the shared zlib.

(N)AND FLASH is gaining popularity and there are a lot of ASIC/SoC/FPGA
controllers around which implement hardware support for Reed-Solomon
error correction. As usual they use different implementations
(polynomials etc.). So it's obvious to use a shared library for the
common tasks of error correction.

A short scan through the kernel revealed that at least the ftape driver
uses Reed-Solomon error correction. It could be easily converted to use
the shared library code.

The encoder/decoder code is lifted from the GPL'd userspace RS-library
written by Phil Karn. I modified/wrapped it to provide the different
functions which we need in the MTD/NAND code.

The library is tested in extenso under various MTD/NAND configurations.

The lib should be usable for other purposes right out of the box.
Adjustment for currently not implemented functionality is an easy task.

I'm willing to take the maintainership of the library.

Signed-Off-By: Thomas Gleixner <tglx@linutronix.de>
Signed-Off-By: David Woodhouse <dwmw2@infradead.org>
"No objections at all. Just keep the authorship notices." -- Phil Karn

21 years agoFix posix timer direct user space access
Linus Torvalds [Wed, 20 Oct 2004 10:44:41 +0000 (03:44 -0700)]
Fix posix timer direct user space access

This makes us do the proper copy_to_user() for the new
posix timers code.

Acked by Christoph Lameter <clameter@sgi.com>.

21 years agoMerge http://lia64.bkbits.net/linux-ia64-release-2.6.10
Linus Torvalds [Wed, 20 Oct 2004 10:32:29 +0000 (03:32 -0700)]
Merge http://lia64.bkbits.net/linux-ia64-release-2.6.10
into ppc970.osdl.org:/home/torvalds/v2.6/linux

21 years agoMerge
Tony Luck [Wed, 20 Oct 2004 22:58:50 +0000 (22:58 +0000)]
Merge

21 years ago[IA64-SGI] more sparse I/O accessor fixes
Jesse Barnes [Wed, 20 Oct 2004 22:53:23 +0000 (22:53 +0000)]
[IA64-SGI] more sparse I/O accessor fixes

I forgot to add 'const volatile' to the I/O read/write functions in the last
patch, and also forgot to update the _relaxed variants.  This patch fixes
that by adding 'const volatile' to the sn2 specific read/write routines as
well as the ia64 machine vector wrappers.

Signed-off-by: Jesse Barnes <jbarnes@sgi.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
21 years ago[IA64-SGI] sparse cleanups & misc fixes for sn2
Jesse Barnes [Wed, 20 Oct 2004 20:40:02 +0000 (20:40 +0000)]
[IA64-SGI] sparse cleanups & misc fixes for sn2

This is a big patch mostly because I trimmed shub_mmr.h down from 17M to 11k
or so.  It fixes a number of things sparse discovered and removes some dead
code, fixes up some prototypes, etc.  Of note:

o sn_proc_fs.c was directly dereferencing user pointers, fixed
o sn_hwperf.c was missing an include and was using asm-ia64 directly
o the I/O routines were all missing proper sparse annotations
o dead code in prominfo_proc.c has been removed
o fix generic build by putting numionodes into asm/sn/io.h

With this patch applied, the check build is pretty clean.  The sn_console bit
depends on some of the other changes, so it's included here.

Signed-off-by: Jesse Barnes <jbarnes@sgi.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
21 years ago[IA64] fix sba_iommu build
Jesse Barnes [Wed, 20 Oct 2004 20:29:33 +0000 (20:29 +0000)]
[IA64] fix sba_iommu build

sba_iommu.c needs to include linux/nodemask.h for node_online now.  Here's a
patch to add it.

Signed-off-by: Jesse Barnes <jbarnes@sgi.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
21 years ago[IA64-SGI] Mod to allow functions other than zero to use virtual channel 1.
Pat Gefre [Wed, 20 Oct 2004 20:26:30 +0000 (20:26 +0000)]
[IA64-SGI] Mod to allow functions other than zero to use virtual channel 1.

Signed-off-by: Patrick Gefre <pfg@sgi.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
21 years ago[IA64-SGI] snsc.c: snsc needs asm/sn/io.h
Jesse Barnes [Wed, 20 Oct 2004 20:23:20 +0000 (20:23 +0000)]
[IA64-SGI] snsc.c: snsc needs asm/sn/io.h

The sn system controller driver needs asm/sn/io.h in order to build correctly
(it was missing the numionodes declaration).

Signed-off-by: Jesse Barnes <jbarnes@sgi.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
21 years ago[IA64] export sn_dma_mapping_error for libata
Pat Gefre [Wed, 20 Oct 2004 19:01:36 +0000 (19:01 +0000)]
[IA64] export sn_dma_mapping_error for libata

Signed-off-by: Patrick Gefre <pfg@sgi.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
21 years ago[IA64] numa.c, discontig.c: sparse: use NULL, not 0
Jesse Barnes [Wed, 20 Oct 2004 18:32:46 +0000 (18:32 +0000)]
[IA64] numa.c, discontig.c: sparse: use NULL, not 0

Clean up a couple of places that were using 0 instead of NULL, which is the
more proper value.

Signed-off-by: Jesse Barnes <jbarnes@sgi.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
21 years ago[IA64] mca.c: sparse cleanup
Jesse Barnes [Wed, 20 Oct 2004 18:28:59 +0000 (18:28 +0000)]
[IA64] mca.c: sparse cleanup

Looks like we were casting a value into a union and sparse doesn't like that.
Why not just assign it directly to the appropriate field?

Signed-off-by: Jesse Barnes <jbarnes@sgi.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
21 years ago[IA64] top level scheduler domain for ia64
John Hawkes [Wed, 20 Oct 2004 18:23:39 +0000 (18:23 +0000)]
[IA64] top level scheduler domain for ia64

Some have noticed that the overlapping sched domains code doesn't quite work
as intended (it results in disjoint domains on some machines), and that a top
level, machine spanning domain is needed.  This patch from John Hawkes adds
it to the ia64 code.  This allows processes to run on all CPUs in large
systems, though balancing is limited.  It should go to Linus soon now
otherwise large systems will only have ~16p (depending on topology) usable by
the scheduler.  I sanity checked it on a small system after rediffing John's
original, and he's done some testing on very large systems.

 Nick, can you buy off on the sched.c change?  Alternatively, do you want to
 send that fix separately John? Nick did indeed ACK this change, but it isn't
 dependent on this ia64 specific part ... so it's going to be submitted
 separately.

Signed-off-by: John Hawkes <hawkes@sgi.com>
Signed-off-by: Jesse Barnes <jbarnes@sgi.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
21 years agoMerge intel.com:/data/home/aegl/BK/Linus
Tony Luck [Wed, 20 Oct 2004 18:16:51 +0000 (18:16 +0000)]
Merge intel.com:/data/home/aegl/BK/Linus
into intel.com:/data/home/aegl/BK/linux-ia64-release-2.6.10

21 years agoMerge bk://kernel.bkbits.net/davem/sparc-2.6
Linus Torvalds [Wed, 20 Oct 2004 10:31:29 +0000 (03:31 -0700)]
Merge bk://kernel.bkbits.net/davem/sparc-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

21 years ago[PATCH] qla1820 iomem annotations
Alexander Viro [Wed, 20 Oct 2004 10:18:52 +0000 (03:18 -0700)]
[PATCH] qla1820 iomem annotations

Signed-off-by: Al Viro <viro@parcelfarce.linux.theplanet.co.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] ioremap cleanups in aic7xxx
Alexander Viro [Wed, 20 Oct 2004 10:18:40 +0000 (03:18 -0700)]
[PATCH] ioremap cleanups in aic7xxx

ioremap() is capable of dealing with addresses that are not
page-aligned; no need to duplicate that in driver.

Signed-off-by: Al Viro <viro@parcelfarce.linux.theplanet.co.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] aac7xxx iomem annotations
Alexander Viro [Wed, 20 Oct 2004 10:18:25 +0000 (03:18 -0700)]
[PATCH] aac7xxx iomem annotations

aic7xxx annotations - trivial part

Signed-off-by: Al Viro <viro@parcelfarce.linux.theplanet.co.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] nsp32 iomem annotations
Alexander Viro [Wed, 20 Oct 2004 10:18:13 +0000 (03:18 -0700)]
[PATCH] nsp32 iomem annotations

Signed-off-by: Al Viro <viro@parcelfarce.linux.theplanet.co.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] megaraid iomem annotations
Alexander Viro [Wed, 20 Oct 2004 10:17:58 +0000 (03:17 -0700)]
[PATCH] megaraid iomem annotations

Signed-off-by: Al Viro <viro@parcelfarce.linux.theplanet.co.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] ips iomem annotations
Alexander Viro [Wed, 20 Oct 2004 10:17:45 +0000 (03:17 -0700)]
[PATCH] ips iomem annotations

Signed-off-by: Al Viro <viro@parcelfarce.linux.theplanet.co.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] ipr iomem annotations
Alexander Viro [Wed, 20 Oct 2004 10:17:32 +0000 (03:17 -0700)]
[PATCH] ipr iomem annotations

Annotated.  Original reused the structure that contained pointers into
remapped iomem for storing offsets in such area, so we need to split that
beast.

Signed-off-by: Al Viro <viro@parcelfarce.linux.theplanet.co.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] isurf iomem annotations
Alexander Viro [Wed, 20 Oct 2004 10:17:20 +0000 (03:17 -0700)]
[PATCH] isurf iomem annotations

Signed-off-by: Al Viro <viro@parcelfarce.linux.theplanet.co.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] teles{0,pci} iomem annotations
Alexander Viro [Wed, 20 Oct 2004 10:17:09 +0000 (03:17 -0700)]
[PATCH] teles{0,pci} iomem annotations

Signed-off-by: Al Viro <viro@parcelfarce.linux.theplanet.co.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] kyro iomem annotations
Alexander Viro [Wed, 20 Oct 2004 10:16:54 +0000 (03:16 -0700)]
[PATCH] kyro iomem annotations

Signed-off-by: Al Viro <viro@parcelfarce.linux.theplanet.co.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] skystar2 iomem annotations
Alexander Viro [Wed, 20 Oct 2004 10:16:42 +0000 (03:16 -0700)]
[PATCH] skystar2 iomem annotations

Signed-off-by: Al Viro <viro@parcelfarce.linux.theplanet.co.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] sx.c iomem annotations and fixes
Alexander Viro [Wed, 20 Oct 2004 10:16:29 +0000 (03:16 -0700)]
[PATCH] sx.c iomem annotations and fixes

a bunch of missing readb() and check of 64Kb alignment of physical address
done on remapped one.

Signed-off-by: Al Viro <viro@parcelfarce.linux.theplanet.co.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] if_ppp.h __user annotation
Alexander Viro [Wed, 20 Oct 2004 10:16:17 +0000 (03:16 -0700)]
[PATCH] if_ppp.h __user annotation

annotated ioctl structure

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] sparc32 kconfig fixes
Alexander Viro [Wed, 20 Oct 2004 10:16:02 +0000 (03:16 -0700)]
[PATCH] sparc32 kconfig fixes

a) CONFIG_VT should set CONFIG_INPUT
b) parport_pc and serial/8250 are broken for sparc32 same as for
sparc64

Signed-off-by: Al Viro <viro@parcelfarce.linux.theplanet.co.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] moxa iomem annotations
Alexander Viro [Wed, 20 Oct 2004 10:15:50 +0000 (03:15 -0700)]
[PATCH] moxa iomem annotations

Signed-off-by: Al Viro <viro@parcelfarce.linux.theplanet.co.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years agoMerge bk://bart.bkbits.net/ide-2.6
Linus Torvalds [Wed, 20 Oct 2004 10:08:10 +0000 (03:08 -0700)]
Merge bk://bart.bkbits.net/ide-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

21 years ago[ide] unify PIO code
Bartlomiej Zolnierkiewicz [Wed, 20 Oct 2004 21:10:23 +0000 (23:10 +0200)]
[ide] unify PIO code

Use PIO code from ide-taskfile.c in ide-disk.c so:
* drive status is checked after PIO read
* request is failed if invalid data phase
  is detected during PIO write

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
21 years ago[ide] ide-disk: unify PIO write/multiwrite code
Bartlomiej Zolnierkiewicz [Wed, 20 Oct 2004 21:05:20 +0000 (23:05 +0200)]
[ide] ide-disk: unify PIO write/multiwrite code

Merge multwrite_intr() into write_intr().

The only change in functionality is that rq->errors is
now also cleared for multiwrite PIO (if there is no error).

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
21 years ago[ide] sg PIO for fs requests
Bartlomiej Zolnierkiewicz [Wed, 20 Oct 2004 20:52:39 +0000 (22:52 +0200)]
[ide] sg PIO for fs requests

Convert CONFIG_IDE_TASKFILE_IO=n code
to use scatterlists for PIO transfers.

Fixes longstanding 'data integrity on error'
issue and makes barriers work with PIO.

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
21 years ago[ide] sg PIO for taskfile requests
Bartlomiej Zolnierkiewicz [Wed, 20 Oct 2004 20:48:28 +0000 (22:48 +0200)]
[ide] sg PIO for taskfile requests

Use scatterlists for taskfile based PIO transfers
instead of directly walking rq->[bio,cbio] lists.

If CONFIG_IDE_TASKFILE_IO is defined
this code will be used for fs requests.

ide_pio_sector() is based on ata_pio_sector()
from libata-core.c so kudos to Jeff.

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
21 years ago[ide] always allocate hwif->sg_table
Bartlomiej Zolnierkiewicz [Wed, 20 Oct 2004 19:08:34 +0000 (21:08 +0200)]
[ide] always allocate hwif->sg_table

Allocate hwif->sg_table in hwif_init() so it can also be used for PIO.

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
21 years ago[ide] pmac: use more ide_hwif_t fields
Bartlomiej Zolnierkiewicz [Wed, 20 Oct 2004 19:02:39 +0000 (21:02 +0200)]
[ide] pmac: use more ide_hwif_t fields

Use dmatable_dma, sg_table, sg_nents and sg_dma_direction fields
of ide_hwif_t and remove their equivalents from pmac_ide_hwif_t.

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
21 years ago[PATCH] i2o: missing bits from merge
Andrew Morton [Wed, 20 Oct 2004 10:05:52 +0000 (03:05 -0700)]
[PATCH] i2o: missing bits from merge

A couple of functions got themselves lost.

cc: <Markus.Lidel@shadowconnect.com>

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] v4l: missing bits
Andrew Morton [Wed, 20 Oct 2004 10:05:35 +0000 (03:05 -0700)]
[PATCH] v4l: missing bits

Missing parts of the v4l update

Cc: Gerd Knorr <kraxel@bytesex.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years agoMerge http://linux-watchdog.bkbits.net/linux-2.6-watchdog
Linus Torvalds [Wed, 20 Oct 2004 10:04:34 +0000 (03:04 -0700)]
Merge http://linux-watchdog.bkbits.net/linux-2.6-watchdog
into ppc970.osdl.org:/home/torvalds/v2.6/linux

21 years agoMerge bk://bk.arm.linux.org.uk/linux-2.6-rmk
Linus Torvalds [Wed, 20 Oct 2004 09:43:55 +0000 (02:43 -0700)]
Merge bk://bk.arm.linux.org.uk/linux-2.6-rmk
into ppc970.osdl.org:/home/torvalds/v2.6/linux

21 years ago[ARM] Add seqlocking to timers.
Russell King [Wed, 20 Oct 2004 21:34:23 +0000 (22:34 +0100)]
[ARM] Add seqlocking to timers.

Sometimes, it's useful to have locking.  Especially when we're
talking about time keeping.

It would appear that shemminger's patch of 5th February 2003
completely missed updating _ANY_ ARM timer implementations and,
because linux-arch didn't exist at the time, there appears to
have been no notification to any architecture developer that
maybe, just maybe, some work was required.

One wonders how many other changes are in the kernel which
architecture maintainers have missed.