]> git.hungrycats.org Git - linux/log
linux
22 years ago[PATCH] PPC32: Select arch/ppc/kernel/head.S on CONFIG_PPC_STD_MMU.
Andrew Morton [Mon, 19 Jan 2004 02:27:17 +0000 (18:27 -0800)]
[PATCH] PPC32: Select arch/ppc/kernel/head.S on CONFIG_PPC_STD_MMU.

From: Tom Rini <trini@kernel.crashing.org>

PPC32: Select arch/ppc/kernel/head.S on CONFIG_PPC_STD_MMU.

- Don't pick a head*.S by default, instead select head.S on
  CONFIG_PPC_STD_MMU.  This is more consistent with how we
  case things in this file.

22 years ago[PATCH] PPC32: Change all EXPORT_SYMBOL_NOVERS to EXPORT_SYMBOL in ppc_ksyms.c
Andrew Morton [Mon, 19 Jan 2004 02:27:08 +0000 (18:27 -0800)]
[PATCH] PPC32: Change all EXPORT_SYMBOL_NOVERS to EXPORT_SYMBOL in ppc_ksyms.c

From: Tom Rini <trini@kernel.crashing.org>

PPC32: Change all EXPORT_SYMBOL_NOVERS to EXPORT_SYMBOL in ppc_ksyms.c

- Change all EXPORT_SYMBOL_NOVERS to EXPORT_SYMBOL in ppc_ksyms.c

22 years ago[PATCH] PPC32: Export consistent_sync_page.
Andrew Morton [Mon, 19 Jan 2004 02:27:00 +0000 (18:27 -0800)]
[PATCH] PPC32: Export consistent_sync_page.

From: Tom Rini <trini@kernel.crashing.org>

We must export the consistent_sync_page symbol.  It is used by inline
functions which implement the PCI DMA API.

22 years ago[PATCH] AS tuning
Andrew Morton [Mon, 19 Jan 2004 02:26:51 +0000 (18:26 -0800)]
[PATCH] AS tuning

From: Nick Piggin <piggin@cyberone.com.au>

The big regression from deadline is tiobench random reads with TCQ disks,
however it is present in -linus as well, and would have been since day 1 of
AS, but nobody has complained too loudly.

http://developer.osdl.org/judith/tiobench/4CPU/rr.html

This problem is probably a distilation of what causes lower database
throughput, because I have only ever seen it with TCQ drives, and pgbench
and OraSim are actually getting higher throughput here with a non TCQ
drive.

That is not to say that TCQ is useless, it obviously can provide a very
real and significant boost.  What I might do in the (near) future is get AS
to detect TCQ and turn itself off indefinitely unless/until the a sysfs
flag is set, and default that flag to off.

This patch changes the AS tunables a bit to be more on par with deadline.  It
lowers the threshold for random reading processes to be considered unsuitable
for anticipation, and it slightly rearranges and comments the "cooperative
seek distance" logic.

With this patch, AS is now very competitive with deadline on the single IDE
and SCSI (non TCQ) disks here.  In fact, I don't have any regressions
anywhere.  Even when TCQ is on, although throughput can be lower, AS still
has benefits because of its much better read vs write latency and general
tendancy to keep number of outstanding tags smaller.

22 years ago[PATCH] AS: thinktime improvement
Andrew Morton [Mon, 19 Jan 2004 02:26:43 +0000 (18:26 -0800)]
[PATCH] AS: thinktime improvement

From: Nick Piggin <piggin@cyberone.com.au>

Sometimes a processes thinktime shouldn't be measured on how soon it
submits its next request, but how soon any close request is submitted.

Some processes, such as those in make -j, find | xargs blah, etc. Should be
waited upon even if they never submit another request, because they work with
cooperating or child processes. This helps to take that into account.

22 years ago[PATCH] AS: new process estimation
Andrew Morton [Mon, 19 Jan 2004 02:26:34 +0000 (18:26 -0800)]
[PATCH] AS: new process estimation

From: Nick Piggin <piggin@cyberone.com.au>

This one gathers better statistics about the new process problem.  It
improves estimation for initial process IO.  That is, better calculations
for whether it will be worth waiting after a process submits its first
read.

This is done with a per queue average thinktime and seek time for a second
read submitted from a process.

When combined with 3/3, numbers are around the same as mm1 for most long
lived tasks, but much better for things like the top 4 benchmarks.

Probably wants rwhron and the OSDL database guys to give it some testing.

test                                    2.6.0-test9-mm1  2.6.0-test9-mm1-np
Cat kernel source during seq read       0:26.89          0:24.75
Cat kernel source during seq write      9:17.80          0:23.48
ls -lr kernel source during seq read    0:11.03          0:14.68
ls -lr kernel source during seq write   0:49.95          0:08.06

contest no_load                         143s 0 loads     144s 0 loads
contest io_load                         193s 40.2 loads  193s 40.1 loads
contest read_load                       186s 11.6 loads  190s 10.5 loads
contest list_load                       201s 5.0 loads   200s 5.0 loads

pgbench 1 client                        31.3TPS          31.5TPS
pgbench 4 clients                       37.7TPS          37.5TPS
pgbench 16 clients                      42.1TPS          48.1TPS

22 years ago[PATCH] AS fixes
Andrew Morton [Mon, 19 Jan 2004 02:26:27 +0000 (18:26 -0800)]
[PATCH] AS fixes

From: Nick Piggin <piggin@cyberone.com.au>

This fixes all known bugs with as in mm2.  That constitutes small fixes for
2 WARNs getting triggered.  It looks like Prakash's lost interrupt problem
was due to as spewing bazillions of warnings, and he must have had his
kernel.printk configured not to show them or something.  I have to just get
final confirmation from him that this final cut of the patch fixes his
problem too.

22 years ago[PATCH] AS: request poisining fix
Andrew Morton [Mon, 19 Jan 2004 02:26:18 +0000 (18:26 -0800)]
[PATCH] AS: request poisining fix

From: Nick Piggin <piggin@cyberone.com.au>

22 years ago[PATCH] AS: request poisoning
Andrew Morton [Mon, 19 Jan 2004 02:26:10 +0000 (18:26 -0800)]
[PATCH] AS: request poisoning

From: Nick Piggin <piggin@cyberone.com.au>

I have tested this on my disks and cdroms, but they don't represent
what all drivers might do. I have asked Jarkko Lehti with his dvd writing
problem to try it...

22 years ago[PATCH] Fix IO scheduler regression
Andrew Morton [Mon, 19 Jan 2004 02:26:01 +0000 (18:26 -0800)]
[PATCH] Fix IO scheduler regression

From: Nick Piggin <piggin@cyberone.com.au>

Randy has just reported that this fixes up his regression. Its now as good
as test5 in his tests with this patch. He is also seeing quite large
increases (above test5) when IO scheduler barriers are disabled (this patch
doesn't do that). Perhaps something is using them too liberally.

Anyway, this reverts AS back to defaulting to not anticipate IO for a
program that submits its first request (this really hurts find | xargs grep
sort of things).  I am working on something to fix this up properly.  That
can go in after 2.6.0 anyway.

22 years ago[PATCH] jffs: use daemonize()
Andrew Morton [Mon, 19 Jan 2004 02:25:52 +0000 (18:25 -0800)]
[PATCH] jffs: use daemonize()

Use daemonize() rather than open-coding half of it.

(I don't know if this has been tested - it has been in -mm for three months).

22 years ago[PATCH] ppc64: vio fixup
Andrew Morton [Mon, 19 Jan 2004 02:25:44 +0000 (18:25 -0800)]
[PATCH] ppc64: vio fixup

From: Anton Blanchard <anton@samba.org>

vi fixup

22 years ago[PATCH] ppc64: early BSS clear, from Ben Herrenschmidt
Andrew Morton [Mon, 19 Jan 2004 02:25:35 +0000 (18:25 -0800)]
[PATCH] ppc64: early BSS clear, from Ben Herrenschmidt

From: Anton Blanchard <anton@samba.org>

Gone are the days of initialising stuff we touch in prom_init just
to keep it out of the BSS. There are a few things the hypervisor
writes to in the iseries case, hard code them into the data segment
and add a comment.

Remove the -fno-zero-initialized-in-bss hack, it was required when
gcc got smart and put zero initialised stuff into the BSS

22 years ago[PATCH] ppc64: Fixed rtas_extended_busy_delay_time() to calculate correct value,...
Andrew Morton [Mon, 19 Jan 2004 02:25:26 +0000 (18:25 -0800)]
[PATCH] ppc64: Fixed rtas_extended_busy_delay_time() to calculate correct value, from John Rose

From: Anton Blanchard <anton@samba.org>

Fixed rtas_extended_busy_delay_time() to calculate correct value, from John
Rose

22 years ago[PATCH] ppc64: xmon breakpoint and single step on LPAR fixes from John Rose
Andrew Morton [Mon, 19 Jan 2004 02:25:18 +0000 (18:25 -0800)]
[PATCH] ppc64: xmon breakpoint and single step on LPAR fixes from John Rose

From: Anton Blanchard <anton@samba.org>

Xmon changes to make breakpoints and single-stepping work on pSeries LPARs.
Also changed help text to reflect obsolete cmds.

22 years ago[PATCH] ppc64: cp_compat_stat should copy nanosecond fields
Andrew Morton [Mon, 19 Jan 2004 02:25:09 +0000 (18:25 -0800)]
[PATCH] ppc64: cp_compat_stat should copy nanosecond fields

From: Anton Blanchard <anton@samba.org>

Looks like glibc is using stat in some places, so we should modify
it to copy the nanosecond fields. Also speed up stat by only checking
the region once instead of each put_user call.

22 years ago[PATCH] ppc64: correct epoll syscall names
Andrew Morton [Mon, 19 Jan 2004 02:25:00 +0000 (18:25 -0800)]
[PATCH] ppc64: correct epoll syscall names

From: Anton Blanchard <anton@samba.org>

correct epoll syscall names

22 years ago[PATCH] ppc64: setup_cpu must be called on boot cpu
Andrew Morton [Mon, 19 Jan 2004 02:24:52 +0000 (18:24 -0800)]
[PATCH] ppc64: setup_cpu must be called on boot cpu

From: Anton Blanchard <anton@samba.org>

setup_cpu was being called for the boot cpu after all other cpus had been
spun up.  The init thread can sleep during secondary cpu spinup (eg migration
thread init) and sometimes the init thread would switch to another cpu at
this time.  The end result was setup_cpu was called twice on one cpu and
never on the boot cpu.

The original fix called setup_cpu on the boot cpu before all others but that
wont work for G5, so we now use cpu affinity calls to enforce it.

22 years ago[PATCH] ppc64: vmlinux.lds fixes, from Alan Modra
Andrew Morton [Mon, 19 Jan 2004 02:24:43 +0000 (18:24 -0800)]
[PATCH] ppc64: vmlinux.lds fixes, from Alan Modra

From: Anton Blanchard <anton@samba.org>

- Remove a bunch of unnecessary sections
- Always declare section labels inside the section (bug found on ppc32)
- Rearrange sections to waste less space

22 years ago[PATCH] ppc64: Makefile fixes
Andrew Morton [Mon, 19 Jan 2004 02:24:35 +0000 (18:24 -0800)]
[PATCH] ppc64: Makefile fixes

From: Anton Blanchard <anton@samba.org>

 - remove old checks target, no longer used
 - add -mtraceback=none, we dont use traceback tables any more
 - add check for -mcpu=power4, older toolchains dont support this option

22 years ago[PATCH] ppc64: Use an atomic_t instead of a volatile unsigned long, from Stephen...
Andrew Morton [Mon, 19 Jan 2004 02:24:26 +0000 (18:24 -0800)]
[PATCH] ppc64: Use an atomic_t instead of a volatile unsigned long, from Stephen Rothwell

From: Anton Blanchard <anton@samba.org>

Use an atomic_t instead of a volatile unsigned long, from Stephen Rothwell

22 years ago[PATCH] ppc64: Fix a compile error and a warning in the iSeries code, from Stephen...
Andrew Morton [Mon, 19 Jan 2004 02:24:18 +0000 (18:24 -0800)]
[PATCH] ppc64: Fix a compile error and a warning in the iSeries code, from Stephen Rothwell

From: Anton Blanchard <anton@samba.org>

Fix a compile error and a warning in the iSeries code, from Stephen Rothwell

22 years ago[PATCH] ppc64: Check range of PCI memory and I/O accesses on iSeries, from Stephen...
Andrew Morton [Mon, 19 Jan 2004 02:24:09 +0000 (18:24 -0800)]
[PATCH] ppc64: Check range of PCI memory and I/O accesses on iSeries, from Stephen Rothwell

From: Anton Blanchard <anton@samba.org>

Check range of PCI memory and I/O accesses on iSeries, from Stephen Rothwell

22 years ago[PATCH] ppc64: prom_panic(), from Todd Inglett
Andrew Morton [Mon, 19 Jan 2004 02:23:57 +0000 (18:23 -0800)]
[PATCH] ppc64: prom_panic(), from Todd Inglett

From: Anton Blanchard <anton@samba.org>

prom_panic(), from Todd Inglett

22 years ago[PATCH] ppc64: Tidy up the mf_proc code, from Stephen Rothwell
Andrew Morton [Mon, 19 Jan 2004 02:23:46 +0000 (18:23 -0800)]
[PATCH] ppc64: Tidy up the mf_proc code, from Stephen Rothwell

From: Anton Blanchard <anton@samba.org>

Tidy up the mf_proc code, from Stephen Rothwell

22 years ago[PATCH] ppc64: __hash_page rewrite, from Ben Herrenschmidt
Andrew Morton [Mon, 19 Jan 2004 02:23:35 +0000 (18:23 -0800)]
[PATCH] ppc64: __hash_page rewrite, from Ben Herrenschmidt

From: Anton Blanchard <anton@samba.org>

Rewrite __hash_page function in assembly in such a way we don't need
the page table lock any more. We now rely on a BUSY bit in the linux
PTE on which we spin on when doing an update of the PTE

22 years ago[PATCH] ppc64: Fix {pte,pmd}_free vs. hash_page race by relaying actual deallocation...
Andrew Morton [Mon, 19 Jan 2004 02:22:50 +0000 (18:22 -0800)]
[PATCH] ppc64: Fix {pte,pmd}_free vs. hash_page race by relaying actual deallocation with RCU, from Ben Herrenschmidt

From: Anton Blanchard <anton@samba.org>

Fix {pte,pmd}_free vs.  hash_page race by relaying actual deallocation with
RCU, from Ben Herrenschmidt

22 years ago[PATCH] ppc64: VMX (Altivec) support & signal32 rework, from Ben Herrenschmidt
Andrew Morton [Mon, 19 Jan 2004 02:22:39 +0000 (18:22 -0800)]
[PATCH] ppc64: VMX (Altivec) support & signal32 rework, from Ben Herrenschmidt

From: Anton Blanchard <anton@samba.org>

VMX (Altivec) support & signal32 rework, from Ben Herrenschmidt

22 years ago[PATCH] ppc64: fix POWER3 boot
Andrew Morton [Mon, 19 Jan 2004 02:22:27 +0000 (18:22 -0800)]
[PATCH] ppc64: fix POWER3 boot

From: Anton Blanchard <anton@samba.org>

Binutils uses the recent mtcrf optimisation when compiling for a POWER4
target.  Unfortunately this causes a program check on POWER3.  We required
compiling for POWER4 so the tlbiel instruction would be recognised.

For the moment we hardwire the tlbiel instruction, longer term we can use the
binutils -many flag.

22 years ago[PATCH] ppc64: Update the surveillance boot parameter to allow all valid settings...
Andrew Morton [Mon, 19 Jan 2004 02:22:17 +0000 (18:22 -0800)]
[PATCH] ppc64: Update the surveillance boot parameter to allow all valid settings of the surveillance timeout, from Nathan Fontenot

From: Anton Blanchard <anton@samba.org>

Update the surveillance boot parameter to allow all valid settings of the
surveillance timeout, from Nathan Fontenot

22 years ago[PATCH] ppc64: add/forward port of lparcfg, from Will Schmidt
Andrew Morton [Mon, 19 Jan 2004 02:22:07 +0000 (18:22 -0800)]
[PATCH] ppc64: add/forward port of lparcfg, from Will Schmidt

From: Anton Blanchard <anton@samba.org>

add/forward port of lparcfg, from Will Schmidt

22 years ago[PATCH] ppc64: Get native PCI going on iSeries, from Paul Mackerras
Andrew Morton [Mon, 19 Jan 2004 02:21:55 +0000 (18:21 -0800)]
[PATCH] ppc64: Get native PCI going on iSeries, from Paul Mackerras

From: Anton Blanchard <anton@samba.org>

Get native PCI going on iSeries, from Paul Mackerras

22 years ago[PATCH] ppc64: VIO support, from Dave Boutcher, Hollis Blanchard and Santiago Leon
Andrew Morton [Mon, 19 Jan 2004 02:21:43 +0000 (18:21 -0800)]
[PATCH] ppc64: VIO support, from Dave Boutcher, Hollis Blanchard and Santiago Leon

From: Anton Blanchard <anton@samba.org>

Add virtual I/O support.  These routines provide the infrastructure
needed by virtual SCSI, virtual ethernet, virtual serial on IBM
pSeries servers

22 years ago[PATCH] ppc64: add hcall interface
Andrew Morton [Mon, 19 Jan 2004 02:21:31 +0000 (18:21 -0800)]
[PATCH] ppc64: add hcall interface

From: Anton Blanchard <anton@samba.org>

add hcall interface

22 years ago[PATCH] ppc64: Small cleanups to iSeries virtual ethernet driver, from Dave Gibson
Andrew Morton [Mon, 19 Jan 2004 02:21:15 +0000 (18:21 -0800)]
[PATCH] ppc64: Small cleanups to iSeries virtual ethernet driver, from Dave Gibson

From: Anton Blanchard <anton@samba.org>

Small cleanups to iSeries virtual ethernet driver, from Dave Gibson

22 years ago[PATCH] ppc64: Tidy up various bits of the iSeries code. No significant code changes...
Andrew Morton [Mon, 19 Jan 2004 02:21:03 +0000 (18:21 -0800)]
[PATCH] ppc64: Tidy up various bits of the iSeries code. No significant code changes, from Stephen Rothwell

From: Anton Blanchard <anton@samba.org>

Tidy up various bits of the iSeries code.  No significant code changes, from
Stephen Rothwell

22 years ago[PATCH] ppc64: fix a couple small OF device tree bugs which were overlooked, from...
Andrew Morton [Mon, 19 Jan 2004 02:20:45 +0000 (18:20 -0800)]
[PATCH] ppc64: fix a couple small OF device tree bugs which were overlooked, from Joel Schopp

From: Anton Blanchard <anton@samba.org>

fix a couple small OF device tree bugs which were overlooked, from Joel Schopp

22 years ago[PATCH] ppc64: iSeries fixes, from Stephen Rothwell
Andrew Morton [Mon, 19 Jan 2004 02:20:25 +0000 (18:20 -0800)]
[PATCH] ppc64: iSeries fixes, from Stephen Rothwell

From: Anton Blanchard <anton@samba.org>

iSeries fixes, from Stephen Rothwell

22 years ago[PATCH] ppc64: Add additional hypervisor call constants, from Dave Boutcher
Andrew Morton [Mon, 19 Jan 2004 02:20:01 +0000 (18:20 -0800)]
[PATCH] ppc64: Add additional hypervisor call constants, from Dave Boutcher

From: Anton Blanchard <anton@samba.org>

Add additional hypervisor call constants, from Dave Boutcher

22 years ago[PATCH] ppc64: preliminary iseries support, from Paul Mackerras
Andrew Morton [Mon, 19 Jan 2004 02:19:35 +0000 (18:19 -0800)]
[PATCH] ppc64: preliminary iseries support, from Paul Mackerras

From: Anton Blanchard <anton@samba.org>

Preliminary iSeries support.  Still a bit hackish in parts but it does
compile.  The viodasd driver is almost completely untested so don't trust it
with your data.

22 years ago[PATCH] ppc64: NVRAM error logging/buffering patch, from Jake Moilanen
Andrew Morton [Mon, 19 Jan 2004 02:19:16 +0000 (18:19 -0800)]
[PATCH] ppc64: NVRAM error logging/buffering patch, from Jake Moilanen

From: Anton Blanchard <anton@samba.org>

This is a port of the nvram buffering/error logging code from 2.4 to 2.6.  It
includes moving /proc/rtas to /proc/ppc64/rtas and making /proc/rtas a
symlink to /proc/ppc64/rtas.  It also splits up the /dev/nvram device
read/write functions from the basic nvram access functions, and adds ppc_md
fields for the nvram access functions.

22 years ago[PATCH] ppc64: one instruction fix for synchronization bug found during cpu DLPAR...
Andrew Morton [Mon, 19 Jan 2004 02:18:58 +0000 (18:18 -0800)]
[PATCH] ppc64: one instruction fix for synchronization bug found during cpu DLPAR development, from Joel Schopp

From: Anton Blanchard <anton@samba.org>

one instruction fix for synchronization bug found during cpu DLPAR
development, from Joel Schopp

22 years ago[PATCH] ppc64: Add VMX registers to sigcontext, from Steve Munroe
Andrew Morton [Mon, 19 Jan 2004 02:18:40 +0000 (18:18 -0800)]
[PATCH] ppc64: Add VMX registers to sigcontext, from Steve Munroe

From: Anton Blanchard <anton@samba.org>

Add VMX registers to sigcontext, from Steve Munroe

22 years ago[PATCH] ppc64: UP compile fixes, from Paul Mackerras
Andrew Morton [Mon, 19 Jan 2004 02:18:21 +0000 (18:18 -0800)]
[PATCH] ppc64: UP compile fixes, from Paul Mackerras

From: Anton Blanchard <anton@samba.org>

Minor fixes to make the UP case compile, export cpu_possible_map, fix up
whitespace etc.

22 years ago[PATCH] ppc64: SMT processor support and logical cpu numbering, from Dave Engebretsen
Andrew Morton [Mon, 19 Jan 2004 02:18:04 +0000 (18:18 -0800)]
[PATCH] ppc64: SMT processor support and logical cpu numbering, from Dave Engebretsen

From: Anton Blanchard <anton@samba.org>

And SMT processor support & move back to a logical cpu numbering
in support of DLPAR work.

22 years ago[PATCH] ppc64: shared processor support, from Dave Engebretsen
Andrew Morton [Mon, 19 Jan 2004 02:17:48 +0000 (18:17 -0800)]
[PATCH] ppc64: shared processor support, from Dave Engebretsen

From: Anton Blanchard <anton@samba.org>

Initial round of code to add shared processor support into 2.6.  This adds
h_call interfaces, paca/VPA fields, and vpa register.  Add adds new idle loop
code.

22 years ago[PATCH] ppc64: add rtas syscall, from John Rose
Andrew Morton [Mon, 19 Jan 2004 02:17:30 +0000 (18:17 -0800)]
[PATCH] ppc64: add rtas syscall, from John Rose

From: Anton Blanchard <anton@samba.org>

Added RTAS syscall.  Reserved lowmem rtas_rmo_buf for userspace use.  Created
"rmo_buffer" proc file to export bounds of rtas_rmo_buf.

22 years ago[PATCH] ppc64: compat layer update, from Paul Mackerras, Olaf Hering and myself
Andrew Morton [Mon, 19 Jan 2004 02:17:15 +0000 (18:17 -0800)]
[PATCH] ppc64: compat layer update, from Paul Mackerras, Olaf Hering and myself

From: Anton Blanchard <anton@samba.org>

- Switch to using the new compat aio syscalls
- add compat timer/clock syscalls
- use compat_statfs64
- add compat fadvise64_64

22 years ago[PATCH] ppc64: fix sched_clock, from Paul Mackerras:
Andrew Morton [Mon, 19 Jan 2004 02:17:03 +0000 (18:17 -0800)]
[PATCH] ppc64: fix sched_clock, from Paul Mackerras:

From: Anton Blanchard <anton@samba.org>

Currently the sched_clock implementation for PPC64 is bogus.  It just reads
the timebase register, which counts at some fixed rate, typically around
100MHz.  This patch adds code to calculate a suitable multiplier from the
timebase frequency, and use that in sched_clock().

22 years ago[PATCH] ppc64: Add _syscall6, from Olaf Hering
Andrew Morton [Mon, 19 Jan 2004 02:16:48 +0000 (18:16 -0800)]
[PATCH] ppc64: Add _syscall6, from Olaf Hering

From: Anton Blanchard <anton@samba.org>

Add _syscall6, from Olaf Hering

22 years ago[PATCH] ppc64: Add exports and change some __init to __devinit for dynamic OF and...
Andrew Morton [Mon, 19 Jan 2004 02:16:29 +0000 (18:16 -0800)]
[PATCH] ppc64: Add exports and change some __init to __devinit for dynamic OF and pci hotplug, from John Rose and Linda Xie

From: Anton Blanchard <anton@samba.org>

Add exports and change some __init to __devinit for dynamic OF and pci
hotplug, from John Rose and Linda Xie

22 years ago[PATCH] ppc64: fix sign extension bug in NUMA code
Andrew Morton [Mon, 19 Jan 2004 02:16:01 +0000 (18:16 -0800)]
[PATCH] ppc64: fix sign extension bug in NUMA code

From: Anton Blanchard <anton@samba.org>

The ppc64 NUMA code has a sign extension problem.  We would sign extend tmp1
when assigning it to start.  Fix this by making tmp1 unsigned.

22 years ago[PATCH] ppc64: rename the rtas event classes to avoid namespace collisions, from...
Andrew Morton [Mon, 19 Jan 2004 02:15:40 +0000 (18:15 -0800)]
[PATCH] ppc64: rename the rtas event classes to avoid namespace collisions, from John Rose

From: Anton Blanchard <anton@samba.org>

rename the rtas event classes to avoid namespace collisions, from John Rose

22 years ago[PATCH] ppc64: Add some rtas calls, from John Rose
Andrew Morton [Mon, 19 Jan 2004 02:15:16 +0000 (18:15 -0800)]
[PATCH] ppc64: Add some rtas calls, from John Rose

From: Anton Blanchard <anton@samba.org>

Added functions for 3 RTAS calls
get-power-level
get-sensor-state
set-indicator

22 years ago[PATCH] ppc64: iSeries fixups, from Stephen Rothwel
Andrew Morton [Mon, 19 Jan 2004 02:14:52 +0000 (18:14 -0800)]
[PATCH] ppc64: iSeries fixups, from Stephen Rothwel

From: Anton Blanchard <anton@samba.org>

iSeries fixups, from Stephen Rothwel

22 years ago[PATCH] ppc64: cputable cleanup, from Dave Engebretsen:
Andrew Morton [Mon, 19 Jan 2004 02:14:27 +0000 (18:14 -0800)]
[PATCH] ppc64: cputable cleanup, from Dave Engebretsen:

From: Anton Blanchard <anton@samba.org>

Formatting cleanup, fix for firmware_features init, use cpu_features
to display processor names.

22 years ago[PATCH] ppc64: cputable update, from Dave Engebretsen
Andrew Morton [Mon, 19 Jan 2004 02:14:11 +0000 (18:14 -0800)]
[PATCH] ppc64: cputable update, from Dave Engebretsen

From: Anton Blanchard <anton@samba.org>

Sync 2.4 & 2.6 cputable code.  Adds 970 and Power5 processor support
plus new firmware features.

22 years ago[PATCH] ppc64: extended flash changes, from Mike Wolf
Andrew Morton [Mon, 19 Jan 2004 02:13:57 +0000 (18:13 -0800)]
[PATCH] ppc64: extended flash changes, from Mike Wolf

From: Anton Blanchard <anton@samba.org>

extended flash changes, from Mike Wolf

22 years ago[PATCH] ppc64: Mem-map I/O changes, from Mike Wolf
Andrew Morton [Mon, 19 Jan 2004 02:13:37 +0000 (18:13 -0800)]
[PATCH] ppc64: Mem-map I/O changes, from Mike Wolf

From: Anton Blanchard <anton@samba.org>

Mem-map I/O changes, from Mike Wolf

22 years ago[PATCH] ppc64: Open Firmware device tree manipulation support, from Nathan Lynch
Andrew Morton [Mon, 19 Jan 2004 02:13:20 +0000 (18:13 -0800)]
[PATCH] ppc64: Open Firmware device tree manipulation support, from Nathan Lynch

From: Anton Blanchard <anton@samba.org>

Implementation of /proc/ppc64/ofdt, for manipulation of Open Firmware
device tree (/proc/device-tree).  Supports addition and removal of
OF device nodes.

22 years ago[PATCH] ppc64: various trivial patches
Andrew Morton [Mon, 19 Jan 2004 02:13:05 +0000 (18:13 -0800)]
[PATCH] ppc64: various trivial patches

From: Anton Blanchard <anton@samba.org>

various trivial patches

22 years ago[PATCH] ppc64: base support for dynamic update of OF device, tree from Nathan Lynch
Andrew Morton [Mon, 19 Jan 2004 02:12:49 +0000 (18:12 -0800)]
[PATCH] ppc64: base support for dynamic update of OF device, tree from Nathan Lynch

From: Anton Blanchard <anton@samba.org>

base support for dynamic update of OF device, tree from Nathan Lynch

22 years ago[PATCH] ppc64: support for runtime updates of /proc/device-tree, from Nathan Lynch
Andrew Morton [Mon, 19 Jan 2004 02:12:33 +0000 (18:12 -0800)]
[PATCH] ppc64: support for runtime updates of /proc/device-tree, from Nathan Lynch

From: Anton Blanchard <anton@samba.org>

support for runtime updates of /proc/device-tree, from Nathan Lynch

22 years ago[PATCH] ppc64: Make IPI receivers survive a late arrival after the sender has given...
Andrew Morton [Mon, 19 Jan 2004 02:12:16 +0000 (18:12 -0800)]
[PATCH] ppc64: Make IPI receivers survive a late arrival after the sender has given up waiting, from Olof Johansson

From: Anton Blanchard <anton@samba.org>

Make IPI receivers survive a late arrival after the sender has given up
waiting, from Olof Johansson

22 years ago[PATCH] ppc64: use device_is_compatible() instead of manual strcmp, from Hollis Blanchard
Andrew Morton [Mon, 19 Jan 2004 02:12:00 +0000 (18:12 -0800)]
[PATCH] ppc64: use device_is_compatible() instead of manual strcmp, from Hollis Blanchard

From: Anton Blanchard <anton@samba.org>

use device_is_compatible() instead of manual strcmp, from Hollis Blanchard

22 years ago[PATCH] ppc64: hvc_console can only handle vty nodes compatible with "hvterm1", from...
Andrew Morton [Mon, 19 Jan 2004 02:11:40 +0000 (18:11 -0800)]
[PATCH] ppc64: hvc_console can only handle vty nodes compatible with "hvterm1", from Hollis Blanchard

From: Anton Blanchard <anton@samba.org>

hvc_console can only handle vty nodes compatible with "hvterm1", from Hollis
Blanchard

22 years ago[PATCH] ppc64: vty updates, from Hollis Blanchard
Andrew Morton [Mon, 19 Jan 2004 02:11:24 +0000 (18:11 -0800)]
[PATCH] ppc64: vty updates, from Hollis Blanchard

From: Anton Blanchard <anton@samba.org>

vty updates, from Hollis Blanchard

22 years ago[PATCH] ppc64: Change to new OF device tree API, from Nathan Lynch
Andrew Morton [Mon, 19 Jan 2004 02:11:09 +0000 (18:11 -0800)]
[PATCH] ppc64: Change to new OF device tree API, from Nathan Lynch

From: Anton Blanchard <anton@samba.org>

Attached is a patch which replaces all the uses of the old device tree API in
arch/ppc64.  Patch is against 2.6.0-test5 (cset 1.1328) from ameslab bk, plus
the patch from my previous message.  I've tested this on a pSeries LPAR.

22 years ago[PATCH] ppc64: New Open Firmware device tree API, from Nathan Lynch
Andrew Morton [Mon, 19 Jan 2004 02:10:48 +0000 (18:10 -0800)]
[PATCH] ppc64: New Open Firmware device tree API, from Nathan Lynch

From: Anton Blanchard <anton@samba.org>

This is an adaptation of the new Open Firmware device tree traversal API from
ppc32, originally written by Benjamin Herrenschmidt.  This patch is against
2.6.0-test3, but should apply ok to the latest 2.5 ameslab tree.

These functions are meant to be SMP-safe alternatives to the current set of
query/traversal routines (find_devices, find_type_devices, et al).

22 years ago[PATCH] ppc64: support for ibm,phandle OF property, from Dave Engebretsen:
Andrew Morton [Mon, 19 Jan 2004 02:10:29 +0000 (18:10 -0800)]
[PATCH] ppc64:  support for ibm,phandle OF property, from Dave Engebretsen:

From: Anton Blanchard <anton@samba.org>

Upcoming partition firmware requires the use of the ibm,phandle property for
matching device nodes.  Add a new field in device_node to contain this data.

22 years ago[PATCH] ppc64: HvCall_writeLogBuffer called with too large of a buffer
Andrew Morton [Mon, 19 Jan 2004 02:10:14 +0000 (18:10 -0800)]
[PATCH] ppc64: HvCall_writeLogBuffer called with too large of a buffer

From: Anton Blanchard <anton@samba.org>

HvCall_writeLogBuffer called with too large of a buffer

22 years ago[PATCH] ppc64: ptrace.h PT_FPSCR fixup, from Will Schmidt
Andrew Morton [Mon, 19 Jan 2004 02:10:03 +0000 (18:10 -0800)]
[PATCH] ppc64: ptrace.h PT_FPSCR fixup, from Will Schmidt

From: Anton Blanchard <anton@samba.org>

ptrace.h PT_FPSCR fixup, from Will Schmidt

22 years ago[PATCH] ppc64: add automatic check for biarch compilers
Andrew Morton [Mon, 19 Jan 2004 02:09:50 +0000 (18:09 -0800)]
[PATCH] ppc64: add automatic check for biarch compilers

From: Anton Blanchard <anton@samba.org>

add automatic check for biarch compilers

22 years ago[PATCH] ppc64: Build the zImage by default
Andrew Morton [Mon, 19 Jan 2004 02:09:41 +0000 (18:09 -0800)]
[PATCH] ppc64: Build the zImage by default

From: Anton Blanchard <anton@samba.org>

Build the zImage by default

22 years ago[PATCH] ppc64: revert IRQ_INPROGRESS change
Andrew Morton [Mon, 19 Jan 2004 02:09:33 +0000 (18:09 -0800)]
[PATCH] ppc64: revert IRQ_INPROGRESS change

From: Anton Blanchard <anton@samba.org>

revert IRQ_INPROGRESS change

22 years ago[PATCH] ppc64: clean up WARN_ON backtrace
Andrew Morton [Mon, 19 Jan 2004 02:09:24 +0000 (18:09 -0800)]
[PATCH] ppc64: clean up WARN_ON backtrace

From: Anton Blanchard <anton@samba.org>

clean up WARN_ON backtrace

22 years ago[PATCH] Convert tsdev to use module_param
Andrew Morton [Mon, 19 Jan 2004 02:09:15 +0000 (18:09 -0800)]
[PATCH] Convert tsdev to use module_param

From: Dmitry Torokhov <dtor_core@ameritech.net>

Convert tsdev to the new way of handling parameters and document them in
kernel-parameters.txt

22 years ago[PATCH] Convert mouse drivers to use module_param
Andrew Morton [Mon, 19 Jan 2004 02:09:06 +0000 (18:09 -0800)]
[PATCH] Convert mouse drivers to use module_param

From: Dmitry Torokhov <dtor_core@ameritech.net>

Convert the rest of mouse devices to the new way of handling kernel
parameters and document them in kernel-parameters.txt

22 years ago[PATCH] Fix compile error in 98busmouse.c module
Andrew Morton [Mon, 19 Jan 2004 02:08:57 +0000 (18:08 -0800)]
[PATCH] Fix compile error in 98busmouse.c module

From: Dmitry Torokhov <dtor_core@ameritech.net>

Fix 98busmouse compile error - have interrupt routine return IRQ_HANDLED

22 years ago[PATCH] input: SiS AUX port
Andrew Morton [Mon, 19 Jan 2004 02:08:50 +0000 (18:08 -0800)]
[PATCH] input: SiS AUX port

From: Dmitry Torokhov <dtor_core@ameritech.net>

Do not ignore AUX port if chipset fails to disable it (SiS seems to have
trouble disabling AUX port, other than that the port works fine).

22 years ago[PATCH] Kconfig Synaptics help
Andrew Morton [Mon, 19 Jan 2004 02:08:41 +0000 (18:08 -0800)]
[PATCH] Kconfig Synaptics help

From: Dmitry Torokhov <dtor_core@ameritech.net>

Kconfig help section update -

Suggest psmouse.proto=imps option to Synaptics users who do not want
installing native XFree driver but want tapping work

22 years ago[PATCH] input: missing module licenses
Andrew Morton [Mon, 19 Jan 2004 02:08:33 +0000 (18:08 -0800)]
[PATCH] input: missing module licenses

From: Dmitry Torokhov <dtor_core@ameritech.net>

Add missing MODULE_LICENSEs

22 years ago[PATCH] input: atkbd option parsing
Andrew Morton [Mon, 19 Jan 2004 02:08:24 +0000 (18:08 -0800)]
[PATCH] input: atkbd option parsing

From: Dmitry Torokhov <dtor_core@ameritech.net>

Convert atkbd to the new style of option parsing.

If compiled as a module new option names are: set, softrepeat, reset.

If built into the kernel options must be prepended with "atkbd." prefix,
like "atkbd.softrepeat"

22 years ago[PATCH] input: psmouse option parsing
Andrew Morton [Mon, 19 Jan 2004 02:08:16 +0000 (18:08 -0800)]
[PATCH] input: psmouse option parsing

From: Dmitry Torokhov <dtor_core@ameritech.net>

With Vojtech's approval adjusted psmouse option names by dropping psmouse_
prefix.

If psmouse is compiled as a module new option names are: proto, rate,
resetafter, resolution, smartscroll

If psmouse is built in the kernel the prefix "psmouse." is required in
front of an option, like "psmouse.proto"

Also, since we are changing all names, killed psmouse_noext completely

22 years ago[PATCH] input: i8042 option parsing
Andrew Morton [Mon, 19 Jan 2004 02:08:07 +0000 (18:08 -0800)]
[PATCH] input: i8042 option parsing

From: Dmitry Torokhov <dtor_core@ameritech.net>

With Vojtech's approval adjusted i8042 option names by dropping i8042_
prefix.

If i8042 is compiled as a module new option names are: direct, dumbkbd,
noaux, nomux, reset, unlock.

If i8042 is build in the kernel the prefix "i8042." is required in front of
an option, like "i8042.reset"

22 years ago[PATCH] input: i8042 suspend
Andrew Morton [Mon, 19 Jan 2004 02:07:58 +0000 (18:07 -0800)]
[PATCH] input: i8042 suspend

From: Dmitry Torokhov <dtor_core@ameritech.net>

Add suspend methods to restore original controller state on suspend as some
BIOS don't like the state we leave it in.  Also synchroniously delete the
polling timer on module exit.

22 years ago[PATCH] mousedev PS/@ emulation fix
Andrew Morton [Mon, 19 Jan 2004 02:07:50 +0000 (18:07 -0800)]
[PATCH] mousedev PS/@ emulation fix

From: Dmitry Torokhov <dtor_core@ameritech.net>

correctly perform PS/2 (mousedev) emulation for touchpads generating
absolute events (do not stop with the first client)

22 years ago[PATCH] Input: smooth out mouse jitter
Andrew Morton [Mon, 19 Jan 2004 02:07:41 +0000 (18:07 -0800)]
[PATCH] Input: smooth out mouse jitter

From: Dmitry Torokhov <dtor_core@ameritech.net>

When calculating deltas for touchpads that generate absolute events use
average over the last 3 packets to remove jitter

22 years ago[PATCH] raw.c refcounting fix
Andrew Morton [Mon, 19 Jan 2004 02:07:34 +0000 (18:07 -0800)]
[PATCH] raw.c refcounting fix

From: viro@parcelfarce.linux.theplanet.co.uk

raw.c has a refcounting bug (patch attached).

As for the theory...  If you have a pathname - use filp_open() or
open_bdev_excl() and be done with that.  bdget() et.al.  are OK only if you
really have nothing better than device number and that's a situation that
should be avoided unless you really have no choice.

Said that, we have the following primitives:

* lookup_bdev(): takes a pathname, returns a reference to block_device.

* bdget(): takes a number, returns a reference to block_device.

* blkdev_get(): takes a reference to block_device and opens it.  If open
  fails - drops the reference to block_device passed to it.

* blkdev_put(): takes a reference to block_device and closes it.  The
  reference is dropped.

* bdput(): drops a reference to block_device.

Note that behaviour of blkdev_get() and blkdev_put() is such that it makes
for minimal cleanup code.

bd_claim()/bd_release() is the exclusion mechanism - that's what mount,
swapon, open with O_EXCL, etc.  are using to avoid stepping on each others
toes.  bd_claim() claims bdev for given owner; if it's already owned and
not by the same owner you'll get -EBUSY.  bd_release() reverts the effect
of bd_claim().  Note that if you claim the thing N times (with the same
owner, obviously), you'll need N bd_release() before it stops being owned.

raw.c grabbed a reference to bdev only after blkdev_get().  If blkdev_get()
failed (e.g.  media being absent), you've got an unbalanced bdput().

22 years ago[PATCH] cramfs: use pagecache better
Andrew Morton [Mon, 19 Jan 2004 02:07:25 +0000 (18:07 -0800)]
[PATCH] cramfs: use pagecache better

From: viro@parcelfarce.linux.theplanet.co.uk

Patch switches cramfs_read() to direct use of pagecache and
eliminates all messing with buffer_heads.  Fixes the interaction with
ramdisk (there set_blocksize() simply killed the ramdisk contents) and
gets code less brittle overall.

22 years ago[PATCH] bdev: add I_BDEV()
Andrew Morton [Mon, 19 Jan 2004 02:07:17 +0000 (18:07 -0800)]
[PATCH] bdev: add I_BDEV()

From: viro@parcelfarce.linux.theplanet.co.uk <viro@parcelfarce.linux.theplanet.co.uk>

For bdevfs inodes (ones created along with struct block_device by
fs/block_dev.c) we have inode->i_bdev equal to &BDEV_I(inode)->bdev (i.e.
it's at the constant offset from inode).  New helper added for such inodes
(I_BDEV(inode)).  A bunch of places (mostly in block_dev.c) switched to use
of that helper.  A bunch of places that used

file->f_dentry->d_inode->i_bdev->bd_inode

switched to

file->f_mapping->host

- those expressions are equal whenever the former is valid.

22 years ago[PATCH] bdev: generic_write_checks() cleanup
Andrew Morton [Mon, 19 Jan 2004 02:07:08 +0000 (18:07 -0800)]
[PATCH] bdev: generic_write_checks() cleanup

From: viro@parcelfarce.linux.theplanet.co.uk <viro@parcelfarce.linux.theplanet.co.uk>

generic_write_checks() had lost the first argument (inode) - it can be
calculated from the second one (file).

22 years ago[PATCH] bdev: bd_acquire() cleanup
Andrew Morton [Mon, 19 Jan 2004 02:06:59 +0000 (18:06 -0800)]
[PATCH] bdev: bd_acquire() cleanup

From: viro@parcelfarce.linux.theplanet.co.uk <viro@parcelfarce.linux.theplanet.co.uk>

bd_acquire() made static, switched to returning the block_device it had
found.  Callers updated.

22 years ago[PATCH] bdev: generic_osync_inode() conversion
Andrew Morton [Mon, 19 Jan 2004 02:06:51 +0000 (18:06 -0800)]
[PATCH] bdev: generic_osync_inode() conversion

From: viro@parcelfarce.linux.theplanet.co.uk <viro@parcelfarce.linux.theplanet.co.uk>

generic_osync_inode() got an extra argument - mapping and doesn't calculate
inode->i_mapping anymore.  Callers updated and switched to use of
->f_mapping.

22 years ago[PATCH] bdev: move i_mapping -> f_mapping conversions
Andrew Morton [Mon, 19 Jan 2004 02:06:44 +0000 (18:06 -0800)]
[PATCH] bdev: move i_mapping -> f_mapping conversions

From: viro@parcelfarce.linux.theplanet.co.uk <viro@parcelfarce.linux.theplanet.co.uk>

More uses of ->i_mapping switched to uses of ->f_mapping - stuff that was not
caught by the earlier f_mapping conversion.

22 years ago[PATCH] bdev: use correct mapping's i_sem
Andrew Morton [Mon, 19 Jan 2004 02:06:35 +0000 (18:06 -0800)]
[PATCH] bdev: use correct mapping's i_sem

From: viro@parcelfarce.linux.theplanet.co.uk <viro@parcelfarce.linux.theplanet.co.uk>

In a bunch of places we used file->f_dentry->d_inode->i_sem to protect
fdatasync et.al.  Replaced with corrent file->f_mapping->host->i_sem - the
object we are protecting is address_space, so we want an exclusion that would
work for redirected ->i_mapping.  For normal files (not coda, not bdev) it's
all the same, of course - there we have

  file->f_mapping->host == file->f_dentry->d_inode

and change above is an equivalent transfromation.

22 years ago[PATCH] bdev: switch to f_mapping
Andrew Morton [Mon, 19 Jan 2004 02:06:27 +0000 (18:06 -0800)]
[PATCH] bdev: switch to f_mapping

From: viro@parcelfarce.linux.theplanet.co.uk <viro@parcelfarce.linux.theplanet.co.uk>

A lot of places used to use ->f_dentry->d_inode->i_mapping all over the
place.  Replaced with use of ->f_mapping.  For now - just the places where we
literally could do search-and-replace.

22 years ago[PATCH] bdev: add file.f_mapping
Andrew Morton [Mon, 19 Jan 2004 02:06:16 +0000 (18:06 -0800)]
[PATCH] bdev: add file.f_mapping

From: viro@parcelfarce.linux.theplanet.co.uk <viro@parcelfarce.linux.theplanet.co.uk>

New field of struct file - ->f_mapping.  We maintain the following:
file->f_dentry->d_inode->i_mapping == file->f_mapping for all opened files.

22 years ago[PATCH] bdev: presto conversion
Andrew Morton [Mon, 19 Jan 2004 02:06:06 +0000 (18:06 -0800)]
[PATCH] bdev: presto conversion

From: viro@parcelfarce.linux.theplanet.co.uk <viro@parcelfarce.linux.theplanet.co.uk>

presto_journal_close() switched to passing struct presto_file_data * instead
of bogus struct file *.  The only field of struct file we used to look at was
file->private_data and most of the callers allocated on-stack struct file,
assigned file.private_data and passed the sucker to presto_journal_close().
Idiocy removed.

Looks like they started with case where the data they wanted all along was,
indeed, in ->private_data of already available struct file, so they just
passed pointer to struct file.  And when they found that they need to call it
in other places where there was no such struct file, they'd done it the dumb
way instead of fixing the prototype...

22 years ago[PATCH] bdev: blkdev_put() cleanup
Andrew Morton [Mon, 19 Jan 2004 02:05:57 +0000 (18:05 -0800)]
[PATCH] bdev: blkdev_put() cleanup

From: viro@parcelfarce.linux.theplanet.co.uk <viro@parcelfarce.linux.theplanet.co.uk>

Trivial cleanup in blkdev_put() - replace bdev->bd_inode->i_bdev with bdev.