]> git.hungrycats.org Git - linux/log
linux
22 years ago[PATCH] ppc64 Fix unbalanced pci_dev_put in EEH code
Paul Mackerras [Mon, 23 Aug 2004 05:32:41 +0000 (22:32 -0700)]
[PATCH] ppc64 Fix unbalanced pci_dev_put in EEH code

The EEH code currently can end up doing an extra pci_dev_put() in the case
where we hot-unplug a card for which we are ignoring EEH errors (e.g.  a
graphics card).  This patch fixes that problem by only maintaining a
reference to the PCI device if we have entered any of its resource
addresses into our address -> PCI device cache.  This patch is based on an
earlier patch by Linas Vepstas.

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: log firmware errors during boot
Paul Mackerras [Mon, 23 Aug 2004 05:32:30 +0000 (22:32 -0700)]
[PATCH] ppc64: log firmware errors during boot

Firmware can report errors at any time, and not atypically during boot.
However, these reports were being discarded until th rtasd comes up, which
occurs fairly late in the boot cycle.  As a result, firmware errors during
boot were being silently ignored.

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: C99 initializers in INIT_THREAD
David Gibson [Mon, 23 Aug 2004 05:32:18 +0000 (22:32 -0700)]
[PATCH] ppc64: C99 initializers in INIT_THREAD

Fairly trivial PPC64 cleanup.  This patch makes the ppc64 INIT_THREAD
#define use C99 initializers, which will make it less likely to get broken
if we need to change thread_struct.

Signed-off-by: David Gibson <dwg@au1.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] ppc64: fix idle loop for offline cpu
Paul Mackerras [Mon, 23 Aug 2004 05:32:07 +0000 (22:32 -0700)]
[PATCH] ppc64: fix idle loop for offline cpu

In the default_idle and dedicated_idle loops, there are some inner loops
out of which we should break if the cpu is marked offline.  Otherwise, it
is possible for the cpu to get stuck and never actually go offline.
shared_idle is unaffected.

Signed-off-by: Nathan Lynch <nathanl@austin.ibm.com>
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: Don't call scheduler on offline cpu
Paul Mackerras [Mon, 23 Aug 2004 05:31:55 +0000 (22:31 -0700)]
[PATCH] ppc64: Don't call scheduler on offline cpu

When taking a cpu offline, once the cpu has been removed from
cpu_online_map, it is not supposed to service any more interrupts.  This
presents a problem on ppc64 because we cannot truly disable the
decrementer.  There used to be cpu_is_offline() checks in several scheduler
functions (e.g.  rebalance_tick()) which papered over this issue, but these
checks were removed recently.  So with recent 2.6 kernels, an attempt to
offline a cpu can result in a crash in find_busiest_group().  This patch
prevents such crashes.

Signed-off-by: Nathan Lynch <nathanl@austin.ibm.com>
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: set tbl->it_type in iommu code
Paul Mackerras [Mon, 23 Aug 2004 05:31:43 +0000 (22:31 -0700)]
[PATCH] ppc64: set tbl->it_type in iommu code

Here is a patch that sets struct iommu_table->it_type to TCE_PCI in
pSeries_iommu.c.  This is just for code completeness (and it is updated in
iSeries_iommu.c, but was somehow missed in pSeries_iommu.c).

Signed-off-by: Ananth N Mavinakayanahalli <ananth@in.ibm.com>
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 oprofile error messages
Anton Blanchard [Mon, 23 Aug 2004 05:31:31 +0000 (22:31 -0700)]
[PATCH] ppc64: Fix oprofile error messages

Clean up an oprofile error message, it was missing a newline.

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] ppc64: add missing EXPORT_SYMBOLS for oprofile
Anton Blanchard [Mon, 23 Aug 2004 05:31:20 +0000 (22:31 -0700)]
[PATCH] ppc64: add missing EXPORT_SYMBOLS for oprofile

Add some missing exports, required for oprofile to be compiled as a module.

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] ppc64: allow oprofile module to be safely unloaded
Anton Blanchard [Mon, 23 Aug 2004 05:31:08 +0000 (22:31 -0700)]
[PATCH] ppc64: allow oprofile module to be safely unloaded

Allow the oprofile module to be unloaded, before we never removed the
oprofile specific interrupt handler.  Handle the pending exception case in
the dummy interrupt handler instead.

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] ppc64: disable oprofile debug messages
Anton Blanchard [Mon, 23 Aug 2004 05:30:56 +0000 (22:30 -0700)]
[PATCH] ppc64: disable oprofile debug messages

Disable oprofile debug messages.  They arent much use now things are
working reliably.

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] ppc64: POWER4 oprofile update
Anton Blanchard [Mon, 23 Aug 2004 05:30:44 +0000 (22:30 -0700)]
[PATCH] ppc64: POWER4 oprofile update

POWER4 oprofile updates from Carl Love.

- Create mmcr0, mmcr1, mmcra oprofilefs files.
- Use kernel and user profile disable bits. (Some modifications by me)

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] ppc64: remove unnecessary cpu maps
Paul Mackerras [Mon, 23 Aug 2004 05:30:32 +0000 (22:30 -0700)]
[PATCH] ppc64: remove unnecessary cpu maps

With cpu_present_map, we don't need these any longer.

Signed-off-by: Nathan Lynch <nathanl@austin.ibm.com>
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: rework secondary SMT thread setup at boot
Paul Mackerras [Mon, 23 Aug 2004 05:30:20 +0000 (22:30 -0700)]
[PATCH] ppc64: rework secondary SMT thread setup at boot

Our (ab)use of cpu_possible_map in setup_system to start secondary SMT
threads bothers me.  Mark such threads in cpu_possible_map during early
boot; let RTAS tell us which present cpus are still offline later so we can
start them.

I'm not totally sure about this one, it might be better to set up
cpu_sibling_map in prom_hold_cpus and use that in setup_system.

Signed-off-by: Nathan Lynch <nathanl@austin.ibm.com>
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: use cpu_present_map in ppc64
Paul Mackerras [Mon, 23 Aug 2004 05:30:08 +0000 (22:30 -0700)]
[PATCH] ppc64: use cpu_present_map in ppc64

Adopt the "standard" cpu_present_map for describing cpus which are present
in the system, but not necessarily online.  cpu_present_map is meant to be
a superset of cpu_online_map and a subset of cpu_possible_map.

Signed-off-by: Nathan Lynch <nathanl@austin.ibm.com>
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: use platform numbering of cpus for hypervisor calls.
Paul Mackerras [Mon, 23 Aug 2004 05:29:56 +0000 (22:29 -0700)]
[PATCH] ppc64: use platform numbering of cpus for hypervisor calls.

We were using Linux's cpu numbering for cpu-related hypervisor calls (e.g.
vpa registration, H_CONFER).  It happened to work most of the time because
Linux and the hypervisor usually, but not always, have the same numbering
for cpus.

Signed-off-by: Nathan Lynch <nathanl@austin.ibm.com>
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: include profile.c in kernel/irq.c
Dave Hansen [Mon, 23 Aug 2004 05:29:44 +0000 (22:29 -0700)]
[PATCH] ppc64: include profile.c in kernel/irq.c

arch/ppc64/kernel/irq.c: In function `init_irq_proc':
arch/ppc64/kernel/irq.c:797: warning: implicit declaration of function
`create_prof_cpu_mask'

Signed-off-by: Dave Hansen <haveblue@us.ibm.com>
Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] ppc64: set time-related systemcfg fields
Paul Mackerras [Mon, 23 Aug 2004 05:29:32 +0000 (22:29 -0700)]
[PATCH] ppc64: set time-related systemcfg fields

Somewhere along the line we lost the code that updates some fields of the
systemcfg structure that are used for translating timebase values to time
of day.  I want to get rid of the systemcfg structure eventually, but
applications are using it (and in particular these fields) and I don't want
to break the ABI in a stable kernel series.

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: remove old asm offsets
Anton Blanchard [Mon, 23 Aug 2004 05:29:20 +0000 (22:29 -0700)]
[PATCH] ppc64: remove old asm offsets

Remove some unused things in asm-offsets.c

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] ppc64: reduce stack overflow warning threshold
Anton Blanchard [Mon, 23 Aug 2004 05:29:08 +0000 (22:29 -0700)]
[PATCH] ppc64: reduce stack overflow warning threshold

Reduce the stack overflow warning from 4kB to 2kB now that its been in and
tested for a while.

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] ppc32: fix warnings on Ebony MTD build
Matt Porter [Mon, 23 Aug 2004 05:28:53 +0000 (22:28 -0700)]
[PATCH] ppc32: fix warnings on Ebony MTD build

This patch removes warnings associated with Ebony MTD related defines.
Please apply.

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>
22 years ago[PATCH] ppc32: Fix bug in altivec emulation
Paul Mackerras [Mon, 23 Aug 2004 05:28:40 +0000 (22:28 -0700)]
[PATCH] ppc32: Fix bug in altivec emulation

This patch fixes a bug in the kernel emulation of altivec instructions with
denormalized operands.  The emulation of the vmaddfp and vmnsubfp
instructions was giving the wrong answer because I had the wrong order of
operands to the fmadds and fnmsubs instructions.  This patch fixes it for
both ppc32 and ppc64.

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] ppc32: export __dma_sync & __dma_sync_page
Eugene Surovegin [Mon, 23 Aug 2004 05:28:28 +0000 (22:28 -0700)]
[PATCH] ppc32: export __dma_sync & __dma_sync_page

This patch adds missing exports for __dma_sync and __dma_sync_page (DMA API
helpers for non-coherent cache PPCs).

Signed-off-by: Eugene Surovegin <ebs@ebshome.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] ppc32: add docs for noltlbs and nobats parameters
Matt Porter [Mon, 23 Aug 2004 05:28:16 +0000 (22:28 -0700)]
[PATCH] ppc32: add docs for noltlbs and nobats parameters

Adds documentation of the PPC noltlbs and nobats kernel cmdline parameters.
noltlbs is a new option and nobats never had an entry.

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: emulate obsolete instructions
Paul Mackerras [Mon, 23 Aug 2004 05:28:04 +0000 (22:28 -0700)]
[PATCH] ppc32: emulate obsolete instructions

This patch adds emulation in the illegal instruction handler for a couple
of old instructions that are no longer implemented in the PPC970 and later
chips.  This patch adds the code for both ppc32 and ppc64, and cleans up
the ppc64 traps.c a bit, along the lines of the ppc32 code.  It also makes
sure that the ppc64 code generates a SIGTRAP after emulating an instruction
if single-stepping is enabled.

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] ppc32: handle misaligned string/multiple insns
Paul Mackerras [Mon, 23 Aug 2004 05:27:52 +0000 (22:27 -0700)]
[PATCH] ppc32: handle misaligned string/multiple insns

This patch adds code to the ppc32 alignment exception handler to make it
handle the load/store string and load/store multiple word instructions.
This is an issue for older CPUs such as the PPC601, which traps on
load/store string instructions which cross a page boundary (newer CPUs
handle this in hardware).  I have a little test program which exercises
this code, so I am reasonably confident it's correct.

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] ppc32: make PPC40x large tlb mapping optional
Matt Porter [Mon, 23 Aug 2004 05:27:40 +0000 (22:27 -0700)]
[PATCH] ppc32: make PPC40x large tlb mapping optional

This makes the PPC40x lowmem large tlb mapping selectable via a cmdline
option.  This allows use of the normal page-sized mapping so that kernel
text can be read only if desired.

Signed-off-by: Josh Boyer <jwboyer@charter.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>
22 years ago[PATCH] ppc32: optimize/fix timer_interrupt loop
Matt Porter [Mon, 23 Aug 2004 05:27:29 +0000 (22:27 -0700)]
[PATCH] ppc32: optimize/fix timer_interrupt loop

The following patch fixes the situation where the loop condition could
generate a next_dec of zero while exiting the loop.  This is suboptimal on
Classic PPC because it forces another interrupt to occur and reenter the
handler.  It is fatal on Book E cores, because their decrementer is stopped
when writing a zero (Classic interrupts on a 0->-1 transition, Book E
interrupts on a 1->0 transition).  Instead, stay in the loop on a
next_dec==0.

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: remove hardcoded offsets from ppc asm
Benjamin Herrenschmidt [Mon, 23 Aug 2004 05:27:17 +0000 (22:27 -0700)]
[PATCH] ppc32: remove hardcoded offsets from ppc asm

This patch by Vincent Hanquez removes some hard coded offsets for accessing
thread info fields from assembly, uses the normal offset generation
mecanism that we already have for other things instead.

Signed-off-by: Vincent Hanquez <tab@snarc.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] Make i386 die() more resilient against recursive errors
Keith Owens [Mon, 23 Aug 2004 05:27:05 +0000 (22:27 -0700)]
[PATCH] Make i386 die() more resilient against recursive errors

Make i386 die() more resilient against recursive errors, almost a cut
and paste of the ia64 die() routine.  Much of the patch is indentation
changes.

Mainly to make it easier to add crash, lcrash, kmsgdump or other RAS patches.
They are invoked from die() and if they crash themselves, we have to avoid
recursive loops in die().

Signed-off-by: Keith Owens <kaos@sgi.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] NMI trigger switch support for debugging(updated)
Akiyama Nobuyuki [Mon, 23 Aug 2004 05:26:54 +0000 (22:26 -0700)]
[PATCH] NMI trigger switch support for debugging(updated)

I made a patch for debugging with the help of NMI trigger switch.
When kernel hangs severely, keyboard operation(e.g.Ctrl-Alt-Del)
doesn't work properly. This patch enables debugging information
to be displayed on console in this case.
I think this feature is necessary as standard functionality.
Please feel free to use this patch and let me know if you have
any comments.

Background:

When a trouble occurs in kernel, we usually begin to investigate
with following information:
 - panic >> panic message.
 - oops >> CPU registers and stack trace.
 - hang >> **NONE** no standard method established.

How it works:

Most IA32 servers have a NMI switch that fires NMI interrupt up.
The NMI interrupt can interrupt even if kernel is serious state,
for example deadlock under the interrupt disabled.
When the NMI switch is pressed after this feature is activated,
CPU registers and stack trace are displayed on console and then
panic occurs.
This feature is activated or deactivated with sysctl.

On IA32 architecture, only the following are defined as reason
of NMI interrupt:
 - memory parity error
 - I/O check error
The reason code of NMI switch is not defined, so this patch assumes
that all undefined NMI interrupts are fired by MNI switch.
However, oprofile and NMI watchdog also use undefined NMI interrupt.
Therefore this feature cannot be used at the same time with oprofile
and NMI watchdog. This feature hands NMI interrupt over to oprofile
and NMI watchdog. So, when they have been activated, this feature
doesn't work even if it is activated.

Supported architecture:

IA32

Setup:

Set up the system control parameter as follows:

# sysctl -w kernel.unknown_nmi_panic=1
kernel.unknown_nmi_panic = 1

If the NMI switch is pressed, CPU registers and stack trace will
be displayed on console and then panic occurs.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] fix reading string module parameters in sysfs
Arnd Bergmann [Mon, 23 Aug 2004 05:26:41 +0000 (22:26 -0700)]
[PATCH] fix reading string module parameters in sysfs

Reading the contents of a module_param_string through sysfs currently
oopses because the param_get_charp() function cannot operate on a
kparam_string struct.  This introduces the required param_get_string.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] proc fs task name locking fix
Mike Kravetz [Mon, 23 Aug 2004 05:26:30 +0000 (22:26 -0700)]
[PATCH] proc fs task name locking fix

Races have been observed between excec-time overwriting of task->comm and
/proc accesses to the same data.  This causes environment string
information to appear in /proc.

Fix that up by taking task_lock() around updates to and accesses to
task->comm.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] tg3 section fix
Randy Dunlap [Mon, 23 Aug 2004 05:26:18 +0000 (22:26 -0700)]
[PATCH] tg3 section fix

add_pin_to_irq() should not be __init; it is used after init code.

Signed-off-by: Randy Dunlap <rddunlap@osdl.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] context-switching overhead in X, ioport()
Ingo Molnar [Mon, 23 Aug 2004 05:26:07 +0000 (22:26 -0700)]
[PATCH] context-switching overhead in X, ioport()

while debugging/improving scheduling latencies i got the following
strange latency report from Lee Revell:

  http://krustophenia.net/testresults.php?dataset=2.6.8.1-P6#/var/www/2.6.8.1-P6

this trace shows a 120 usec latency caused by XFree86, on a 600 MHz x86
system. Looking closer reveals:

  00000002 0.006ms (+0.003ms): __switch_to (schedule)
  00000002 0.088ms (+0.082ms): finish_task_switch (schedule)

it took more than 80 usecs for XFree86 to do a context-switch!

it turns out that the reason for this (massive) context-switching
overhead is the following change in 2.6.8:

      [PATCH] larger IO bitmaps

To demonstrate the effect of this change i've written ioperm-latency.c
(attached), which gives the following on vanilla 2.6.8.1:

  # ./ioperm-latency
  default no ioperm:             scheduling latency: 2528 cycles
  turning on port 80 ioperm:     scheduling latency: 10563 cycles
  turning on port 65535 ioperm:  scheduling latency: 10517 cycles

the ChangeSet says:

        Now, with the lazy bitmap allocation and per-CPU TSS, this
        will really not drain any resources I think.

this is plain wrong. An increase in the IO bitmap size introduces
per-context-switch overhead as well: we now have to copy an 8K bitmap
every time XFree86 context-switches - even though XFree86 never uses
ports higher than 1024! I've straced XFree86 on a number of x86 systems
and in every instance ioperm() was used - so i'd say the majority of x86
Linux systems running 2.6.8.1 are affected by this problem.

This not only causes lots of overhead, it also trashes ~16K out of the
L1 and L2 caches, on every context-switch. It's as if XFree86 did a L1
cache flush on every context-switch ...

the simple solution would be to revert IO_BITMAP_BITS back to 1024 and
release 2.6.8.2?

I've implemented another solution as well, which tracks the
highest-enabled port # for every task and does the copying of the bitmap
intelligently. (patch attached) The patched kernel gives:

  # ./ioperm-latency
  default no ioperm:             scheduling latency: 2423 cycles
  turning on port 80 ioperm:     scheduling latency: 2503 cycles
  turning on port 65535 ioperm:  scheduling latency: 10607 cycles

this is much more acceptable - the full overhead only occurs in the very
unlikely event of a task using the high ioport range. X doesnt suffer
any significant overhead.

(tracking the maximum allowed port # also allows a simplification of
io_bitmap handling: e.g. we dont do the invalid-offset trick anymore -
the IO bitmap in the TSS is always valid and secure.)

I tested the patch on x86 SMP and UP, it works fine for me. I tested
boundary conditions as well, it all seems secure.

Ingo

#include <errno.h>
#include <stdio.h>
#include <sched.h>
#include <signal.h>
#include <sys/io.h>
#include <stdlib.h>
#include <unistd.h>
#include <linux/unistd.h>

#define CYCLES(x) asm volatile ("rdtsc" :"=a" (x)::"edx")

#define __NR_sched_set_affinity 241
_syscall3 (int, sched_set_affinity, pid_t, pid, unsigned int, mask_len, unsigned long *, mask)

/*
 * Use a pair of RT processes bound to the same CPU to measure
 * context-switch overhead:
 */
static void measure(void)
{
unsigned long i, min = ~0UL, pid, mask = 1, t1, t2;

sched_set_affinity(0, sizeof(mask), &mask);

pid = fork();
if (!pid)
for (;;) {
asm volatile ("sti; nop; cli");
sched_yield();
}

sched_yield();
for (i = 0; i < 100; i++) {
asm volatile ("sti; nop; cli");
CYCLES(t1);
sched_yield();
CYCLES(t2);
if (i > 10) {
if (t2 - t1 < min)
min = t2 - t1;
}
}
asm volatile ("sti");

kill(pid, 9);
printf("scheduling latency: %ld cycles\n", min);
sched_yield();
}

int main(void)
{
struct sched_param p = { sched_priority: 2 };
unsigned long mask = 1;

if (iopl(3)) {
printf("need to run as root!\n");
exit(-1);
}
sched_setscheduler(0, SCHED_FIFO, &p);
sched_set_affinity(0, sizeof(mask), &mask);

printf("default no ioperm:             ");
measure();

printf("turning on port 80 ioperm:     ");
ioperm(0x80,1,1);
measure();

printf("turning on port 65535 ioperm:  ");
if (ioperm(0xffff,1,1))
printf("FAILED - older kernel.\n");
else
measure();

return 0;
}

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 agoMake some single-bit bitfields unsigned.
Linus Torvalds [Sun, 22 Aug 2004 13:06:07 +0000 (06:06 -0700)]
Make some single-bit bitfields unsigned.

Signed single-bit bitfields really are a pretty strange
thing to have. They work, but it wasn't really intentional.

22 years agoMerge http://linux-watchdog.bkbits.net/linux-2.6-watchdog
Linus Torvalds [Sun, 22 Aug 2004 12:13:00 +0000 (05:13 -0700)]
Merge http://linux-watchdog.bkbits.net/linux-2.6-watchdog
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years agoMerge http://xfs.org:8090/xfs-linux-2.6
Linus Torvalds [Sun, 22 Aug 2004 12:11:54 +0000 (05:11 -0700)]
Merge http://xfs.org:8090/xfs-linux-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years ago[PATCH] fix /proc/net/netstat output
Cal Peake [Sun, 22 Aug 2004 11:59:46 +0000 (04:59 -0700)]
[PATCH] fix /proc/net/netstat output

net/ipv4/proc.c was updated to use a new mechanism for outputting
/proc/net/snmp and /proc/net/netstat.

However, a superfluous '\n' snuck in, breaking `netstat -s`

22 years agoMerge bk://linux-dj.bkbits.net/cpufreq
Linus Torvalds [Sun, 22 Aug 2004 08:18:04 +0000 (01:18 -0700)]
Merge bk://linux-dj.bkbits.net/cpufreq
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years agoAdd another Intel cache descriptor entry.
Linus Torvalds [Sun, 22 Aug 2004 08:09:13 +0000 (01:09 -0700)]
Add another Intel cache descriptor entry.

This one from Dave Jones, who read the Intel docs even
more.

22 years agoMerge bk://bk.arm.linux.org.uk/linux-2.6-fb
Linus Torvalds [Sun, 22 Aug 2004 07:59:06 +0000 (00:59 -0700)]
Merge bk://bk.arm.linux.org.uk/linux-2.6-fb
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years ago[PATCH] ppc32: Fix booting on some OldWolrd Macs
Benjamin Herrenschmidt [Sun, 22 Aug 2004 07:34:52 +0000 (00:34 -0700)]
[PATCH] ppc32: Fix booting on some OldWolrd Macs

It seems that on some OldWolrd macs, we don't get the OF stdout device,
thus the new set_preferred_console() dies at boot trying to dereference
a NULL pointer.

Trivial fix.

22 years agoMerge bk://gkernel.bkbits.net/netdev-2.6
Linus Torvalds [Sun, 22 Aug 2004 07:12:53 +0000 (00:12 -0700)]
Merge bk://gkernel.bkbits.net/netdev-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years ago[PATCH] update gianfar ethernet driver
Andy Fleming [Sun, 22 Aug 2004 12:58:14 +0000 (08:58 -0400)]
[PATCH] update gianfar ethernet driver

22 years agoMerge pobox.com:/spare/repo/linux-2.6
Jeff Garzik [Sun, 22 Aug 2004 12:46:20 +0000 (08:46 -0400)]
Merge pobox.com:/spare/repo/linux-2.6
into pobox.com:/spare/repo/netdev-2.6/ALL

22 years ago[PATCH] minix block usage counting fix
Andries E. Brouwer [Sun, 22 Aug 2004 07:07:46 +0000 (00:07 -0700)]
[PATCH] minix block usage counting fix

In 2.5.18 some minix-specific stuff was moved to the minix subdirectory
where it belonged.  However, a typo crept in, causing inode disk usage
to be incorrectly reported.  A few people have complained, but so far
not sufficiently loudly.

Signed-off-by: Andries Brouwer <Andries.Brouwer@cwi.nl>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] missing CPU descriptors
Alan Cox [Sun, 22 Aug 2004 07:03:35 +0000 (00:03 -0700)]
[PATCH] missing CPU descriptors

There are a couple of cache descriptors in the current Intel manuals
missing from our tables at least one of which appears in an actual
processor in the real world.

22 years ago[PATCH] fix OProfile events with zero event values
John Levon [Sun, 22 Aug 2004 06:52:58 +0000 (23:52 -0700)]
[PATCH] fix OProfile events with zero event values

A silly bug prevented certain events from being used.

22 years agoMerge bk://linux-acpi.bkbits.net/linux-acpi-release-2.6.8
Linus Torvalds [Sun, 22 Aug 2004 05:34:04 +0000 (22:34 -0700)]
Merge bk://linux-acpi.bkbits.net/linux-acpi-release-2.6.8
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years ago[PATCH] Fix HPT374 merge problem
Alan Cox [Sun, 22 Aug 2004 05:33:21 +0000 (22:33 -0700)]
[PATCH] Fix HPT374 merge problem

This got accidentally reverted in merging HPT372N support. The following
patch restores 50Mhz on the HPT374 using the 370a clocking tables.

22 years agoMerge bk://bk.arm.linux.org.uk/linux-2.6-rmk
Linus Torvalds [Sun, 22 Aug 2004 05:32:28 +0000 (22:32 -0700)]
Merge bk://bk.arm.linux.org.uk/linux-2.6-rmk
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years ago[PATCH] Kconfig updates for PA-RISC
Matthew Wilcox [Sun, 22 Aug 2004 05:30:57 +0000 (22:30 -0700)]
[PATCH] Kconfig updates for PA-RISC

Fix some Kconfig dependencies on PA-RISC (Grant Grundler, Martin Schulze,
  Helge Deller, Matthew Wilcox)

22 years ago[PATCH] ACPI for 2.6
Jesse Barnes [Sun, 22 Aug 2004 05:30:28 +0000 (22:30 -0700)]
[PATCH] ACPI for 2.6

Define acpi_noirq on ia64 since it's used now in pci_link.c.  All ia64
machines use ACPI, so we can just define it to 0 like we do for acpi_disabled
and acpi_pci_disabled.

Signed-off-by: Jesse Barnes <jbarnes@sgi.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] PA-RISC sound updates
Matthew Wilcox [Sun, 22 Aug 2004 05:30:17 +0000 (22:30 -0700)]
[PATCH] PA-RISC sound updates

PA-RISC sound updates:

 - Do a DAC/ADC reset for sampling rate changes in ad1889 (Randolph Chung)
 - Set the ad1889 interrupt configuration properly (Randolph Chung)
 - Fix dependency for the OSS Harmony driver (Thibaut Varene)
 - Forward port Stuart Brady's 2.4 Harmony driver patches (Thibaut Varene)
   - Fix sample skipping (Stuart Brady)
   - Prevent harmony_silence being called wrongly (Stuart Brady)
   - Fix crash caused by buf_to_fill becoming -1 (Stuart Brady)
   - Improve naming of mixer channels (Stuart Brady)
   - Implement SNDCTL_DSP_CHANNELS ioctl (Stuart Brady)
   - Improve toggling the recording source (Stuart Brady)
   - Sanity check MIXER_WRITE volume levels (Stuart Brady)
   - Fix MIXER_READ right_level return (Stuart Brady)
   - Reject AFMT_S16_LE format (Stuart Brady)
 - Fail OSS Harmony initialisation if no irq (Helge Deller)
 - Fix typos in ALSA Harmony (Andy Walker, Grant Grundler, Stuart Brady)

22 years ago[CPUFREQ] Recognise another Dothan variant in speedstep driver.
Dave Jones [Fri, 20 Aug 2004 21:40:20 +0000 (22:40 +0100)]
[CPUFREQ] Recognise another Dothan variant in speedstep driver.

From: Jeremy Fitzhardinge <jeremy@goop.org>
Signed-off-by: Dave Jones <davej@redhat.com>
22 years ago[WATCHDOG] v2.6.8.1 watchdog-llseek-patch
Wim Van Sebroeck [Fri, 20 Aug 2004 13:18:39 +0000 (15:18 +0200)]
[WATCHDOG] v2.6.8.1 watchdog-llseek-patch

The watchdog drivers use a VFS implementation and thus should not be
lseek'able, so we put a '.llseek = no_llseek' in the file_operations
structure.

22 years ago[WATCHDOG] v2.6.8.1 cpu5wdt.c-nonseekable_open-patch
Wim Van Sebroeck [Fri, 20 Aug 2004 12:55:20 +0000 (14:55 +0200)]
[WATCHDOG] v2.6.8.1 cpu5wdt.c-nonseekable_open-patch

cpu5wdt also contains a VFS and thus should be "nonseekable_open"

22 years ago[WATCHDOG] pcwd-watchdog.txt-patch
Friedrich Lobenstock [Fri, 20 Aug 2004 11:02:36 +0000 (13:02 +0200)]
[WATCHDOG] pcwd-watchdog.txt-patch

Fix example program in pcwd-watchdog.txt document.

22 years ago[WATCHDOG] v2.6.8.1 compat_ioctl-patch
Arnd Bergmann [Fri, 20 Aug 2004 10:29:39 +0000 (12:29 +0200)]
[WATCHDOG] v2.6.8.1 compat_ioctl-patch

The watchdog ioctl interface is defined correctly for 32 bit emulation,
although WIOC_GETSUPPORT was not marked as such, for an unclear reason.
WDIOC_SETTIMEOUT and WDIOC_GETTIMEOUT were added in may 2002 to the
code but never to the ioctl list. This adds all three definitions.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
22 years ago[XFS] Fix up handling of SB versionnum when filesystem on disk has
Timothy Shimmin [Fri, 20 Aug 2004 01:54:48 +0000 (11:54 +1000)]
[XFS] Fix up handling of SB versionnum when filesystem on disk has
newer bit features than the kernel.

SGI Modid: xfs-linux:xfs-kern:177392a
Signed-off-by: Nathan Scott <nathans@sgi.com>
22 years ago[XFS] avoid using pid_t in ioctl ABI
Christoph Hellwig [Fri, 20 Aug 2004 00:04:30 +0000 (10:04 +1000)]
[XFS] avoid using pid_t in ioctl ABI

SGI Modid: xfs-linux:xfs-kern:177165a
Signed-off-by: Nathan Scott <nathans@sgi.com>
22 years ago[XFS] Add 32bit ioctl translation
Nathan Scott [Fri, 20 Aug 2004 00:01:57 +0000 (10:01 +1000)]
[XFS] Add 32bit ioctl translation

SGI Modid: xfs-linux:xfs-kern:177164a
Signed-off-by: Nathan Scott <nathans@sgi.com>
22 years ago[XFS] Add a realtime inheritance bit for directory inodes so new
Nathan Scott [Thu, 19 Aug 2004 23:49:20 +0000 (09:49 +1000)]
[XFS] Add a realtime inheritance bit for directory inodes so new
files can be automatically created as realtime files.

SGI Modid: xfs-linux:xfs-kern:177129a
Signed-off-by: Nathan Scott <nathans@sgi.com>
22 years ago[XFS] Use sparse whitespace approach that Al took to be more consistent. Couple...
Nathan Scott [Thu, 19 Aug 2004 23:36:30 +0000 (09:36 +1000)]
[XFS] Use sparse whitespace approach that Al took to be more consistent.  Couple more sparse fixes.

SGI Modid: xfs-linux:xfs-kern:177030a
Signed-off-by: Nathan Scott <nathans@sgi.com>
22 years ago[XFS] Remove several macros which are no longer used anywhere.
Nathan Scott [Thu, 19 Aug 2004 23:25:25 +0000 (09:25 +1000)]
[XFS] Remove several macros which are no longer used anywhere.

SGI Modid: xfs-linux:xfs-kern:177029a
Signed-off-by: Nathan Scott <nathans@sgi.com>
22 years ago[XFS] Add support for unsetting realtime flag on realtime file which
Herry Wiputra [Thu, 19 Aug 2004 22:37:07 +0000 (08:37 +1000)]
[XFS] Add support for unsetting realtime flag on realtime file which
has no extents allocated.

SGI Modid: xfs-linux:xfs-kern:18776a
Signed-off-by: Nathan Scott <nathans@sgi.com>
22 years ago[XFS] Fix lock leak in xfs_free_file_space
Dean Roehrich [Thu, 19 Aug 2004 22:06:03 +0000 (08:06 +1000)]
[XFS] Fix lock leak in xfs_free_file_space

SGI Modid: xfs-linux:xfs-kern:176905a
Signed-off-by: Nathan Scott <nathans@sgi.com>
22 years ago[XFS] Fix a blocksize-smaller-than-pagesize hang when writing buffers
Nathan Scott [Thu, 19 Aug 2004 21:54:40 +0000 (07:54 +1000)]
[XFS] Fix a blocksize-smaller-than-pagesize hang when writing buffers
with a shared page.

SGI Modid: xfs-linux:xfs-kern:176412a
Signed-off-by: Nathan Scott <nathans@sgi.com>
22 years ago[XFS] Fix accidental reverting of sync write preallocations.
Nathan Scott [Thu, 19 Aug 2004 21:36:46 +0000 (07:36 +1000)]
[XFS] Fix accidental reverting of sync write preallocations.

SGI Modid: xfs-linux:xfs-kern:176195a
Signed-off-by: Nathan Scott <nathans@sgi.com>
22 years ago[XFS] Code checks to trap access to fsb zero.
Eric Sandeen [Thu, 19 Aug 2004 21:33:19 +0000 (07:33 +1000)]
[XFS] Code checks to trap access to fsb zero.

SGI Modid: xfs-linux:xfs-kern:176159a
Signed-off-by: Nathan Scott <nathans@sgi.com>
22 years ago[CPUFREQ] Fix up deprecation notices.
Dave Jones [Thu, 19 Aug 2004 21:23:53 +0000 (22:23 +0100)]
[CPUFREQ] Fix up deprecation notices.

From: Pavel Machek <pavel@ucw.cz>
- Add missing newlines
- 80-column goodness.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Dave Jones <davej@redhat.com>
22 years ago[XFS] Add filesystem size limit even when XFS_BIG_BLKNOS is
Eric Sandeen [Thu, 19 Aug 2004 21:23:09 +0000 (07:23 +1000)]
[XFS] Add filesystem size limit even when XFS_BIG_BLKNOS is
in effect; limited by page cache index size (16T on ia32)

SGI Modid: xfs-linux:xfs-kern:175103a
Signed-off-by: Nathan Scott <nathans@sgi.com>
22 years ago[XFS] Fix signed/unsigned issues in xfs_reserve_blocks routine.
Nathan Scott [Thu, 19 Aug 2004 21:19:06 +0000 (07:19 +1000)]
[XFS] Fix signed/unsigned issues in xfs_reserve_blocks routine.

SGI Modid: xfs-linux:xfs-kern:174873a
Signed-off-by: Nathan Scott <nathans@sgi.com>
22 years ago[XFS] Restored xfs_iflush_all, which is still used to finish reclaims.
Felix Blyakher [Thu, 19 Aug 2004 21:15:48 +0000 (07:15 +1000)]
[XFS] Restored xfs_iflush_all, which is still used to finish reclaims.

SGI Modid: xfs-linux:xfs-kern:174868a
Signed-off-by: Nathan Scott <nathans@sgi.com>
22 years ago[XFS] sparse: fix remaining NULL vs zero uses.
Nathan Scott [Thu, 19 Aug 2004 21:12:46 +0000 (07:12 +1000)]
[XFS] sparse: fix remaining NULL vs zero uses.

SGI Modid: xfs-linux:xfs-kern:174857a
Signed-off-by: Nathan Scott <nathans@sgi.com>
22 years ago[CPUFREQ] fix typo on gx-suspmod.c
Dave Jones [Thu, 19 Aug 2004 21:10:33 +0000 (22:10 +0100)]
[CPUFREQ] fix typo on gx-suspmod.c

this is patch to fix obvious typo of gx-suspmod cpufreq driver.

Signed-off-by: Hiroshi Miura <miura@da-cha.org>
Signed-off-by: Dave Jones <davej@redhat.com>
22 years ago[XFS] sparse: fix uses of NULL in place of zero and vice versa.
Nathan Scott [Thu, 19 Aug 2004 21:09:14 +0000 (07:09 +1000)]
[XFS] sparse: fix uses of NULL in place of zero and vice versa.
From Chris Wedgwood.

SGI Modid: xfs-linux:xfs-kern:174819a
Signed-off-by: Nathan Scott <nathans@sgi.com>
22 years ago[XFS] sparse: fix warnings in IO path tracing code. From Chris Wedgwood.
Nathan Scott [Thu, 19 Aug 2004 21:05:02 +0000 (07:05 +1000)]
[XFS] sparse: fix warnings in IO path tracing code.  From Chris Wedgwood.

SGI Modid: xfs-linux:xfs-kern:174818a
Signed-off-by: Nathan Scott <nathans@sgi.com>
22 years ago[XFS] sparse: rework previous mods to fix warnings in DMAPI code.
Nathan Scott [Thu, 19 Aug 2004 20:52:00 +0000 (06:52 +1000)]
[XFS] sparse: rework previous mods to fix warnings in DMAPI code.
From Chris Wedgwood.

SGI Modid: xfs-linux:xfs-kern:174817a
Signed-off-by: Nathan Scott <nathans@sgi.com>
22 years ago[XFS] sparse: fix header include order to get cpp macros defined
Nathan Scott [Thu, 19 Aug 2004 20:35:02 +0000 (06:35 +1000)]
[XFS] sparse: fix header include order to get cpp macros defined
correctly.  From Chris Wedgwood.

SGI Modid: xfs-linux:xfs-kern:174816a
Signed-off-by: Nathan Scott <nathans@sgi.com>
22 years ago[XFS] xfs_Gqm_init cannot fail, dont check return value.
Nathan Scott [Thu, 19 Aug 2004 20:30:50 +0000 (06:30 +1000)]
[XFS] xfs_Gqm_init cannot fail, dont check return value.
Removes a bit of dead code and a false positive from the Stanford
lock checker to boot.

SGI Modid: xfs-linux:xfs-kern:174815a
Signed-off-by: Nathan Scott <nathans@sgi.com>
22 years ago[XFS] Fix xfs_off_t to be signed, not unsigned; valid warnings emitted
Nathan Scott [Thu, 19 Aug 2004 20:27:57 +0000 (06:27 +1000)]
[XFS] Fix xfs_off_t to be signed, not unsigned; valid warnings emitted
after stricter compilation options used by some OSDL folks.

SGI Modid: xfs-linux:xfs-kern:174814a
Signed-off-by: Nathan Scott <nathans@sgi.com>
22 years ago[XFS] Fix a possible data loss issue after an unaligned unwritten
Nathan Scott [Thu, 19 Aug 2004 20:25:07 +0000 (06:25 +1000)]
[XFS] Fix a possible data loss issue after an unaligned unwritten
extent write.

SGI Modid: xfs-linux:xfs-kern:174810a
Signed-off-by: Nathan Scott <nathans@sgi.com>
22 years ago[XFS] Removed xfs_iflush_all and all usages of vn_purge, except one
Felix Blyakher [Thu, 19 Aug 2004 20:22:12 +0000 (06:22 +1000)]
[XFS] Removed xfs_iflush_all and all usages of vn_purge, except one
in clear_inode path.

SGI Modid: xfs-linux:xfs-kern:174683a
Signed-off-by: Nathan Scott <nathans@sgi.com>
22 years ago[XFS] sparse: fix warnings in debug/tracing code. From Chris Wedgwood.
Nathan Scott [Thu, 19 Aug 2004 20:18:22 +0000 (06:18 +1000)]
[XFS] sparse: fix warnings in debug/tracing code.  From Chris Wedgwood.

SGI Modid: xfs-linux:xfs-kern:174341a
Signed-off-by: Nathan Scott <nathans@sgi.com>
22 years ago[XFS] sparse: annotate vfs interfaces for user pointers. From Chris Wedgwood.
Nathan Scott [Thu, 19 Aug 2004 20:11:53 +0000 (06:11 +1000)]
[XFS] sparse: annotate vfs interfaces for user pointers.  From Chris Wedgwood.

SGI Modid: xfs-linux:xfs-kern:174339a
Signed-off-by: Nathan Scott <nathans@sgi.com>
22 years ago[XFS] sparse: annotate quota source for user pointers. From Chris Wedgwood.
Nathan Scott [Thu, 19 Aug 2004 20:05:42 +0000 (06:05 +1000)]
[XFS] sparse: annotate quota source for user pointers.  From Chris Wedgwood.

SGI Modid: xfs-linux:xfs-kern:174338a
Signed-off-by: Nathan Scott <nathans@sgi.com>
22 years ago[XFS] sparse: annotate source for user pointers. From Chris Wedgwood.
Nathan Scott [Thu, 19 Aug 2004 19:56:34 +0000 (05:56 +1000)]
[XFS] sparse: annotate source for user pointers.  From Chris Wedgwood.

SGI Modid: xfs-linux:xfs-kern:174337a
Signed-off-by: Nathan Scott <nathans@sgi.com>
22 years ago[XFS] sparse: remove unneeded casts for user buffers. From Chris Wedgwood.
Nathan Scott [Thu, 19 Aug 2004 19:50:58 +0000 (05:50 +1000)]
[XFS] sparse: remove unneeded casts for user buffers.  From Chris Wedgwood.

SGI Modid: xfs-linux:xfs-kern:174335a
Signed-off-by: Nathan Scott <nathans@sgi.com>
22 years ago[XFS] Remove unneeded escape from printed string. From Chris Wedgwood.
Nathan Scott [Thu, 19 Aug 2004 19:47:21 +0000 (05:47 +1000)]
[XFS] Remove unneeded escape from printed string.  From Chris Wedgwood.

SGI Modid: xfs-linux:xfs-kern:174336a
Signed-off-by: Nathan Scott <nathans@sgi.com>
22 years ago[XFS] Revert to using a separate inode for metadata buffers once more.
Nathan Scott [Thu, 19 Aug 2004 19:44:39 +0000 (05:44 +1000)]
[XFS] Revert to using a separate inode for metadata buffers once more.

SGI Modid: xfs-linux:xfs-kern:174253a
Signed-off-by: Nathan Scott <nathans@sgi.com>
22 years ago[XFS] Export blk_get_backing_dev_info for filesystems to use.
Nathan Scott [Thu, 19 Aug 2004 19:29:18 +0000 (05:29 +1000)]
[XFS] Export blk_get_backing_dev_info for filesystems to use.

22 years ago[XFS] Update documentation.
Nathan Scott [Thu, 19 Aug 2004 19:27:28 +0000 (05:27 +1000)]
[XFS] Update documentation.

22 years ago[XFS] Sync up with the 2.4 fix for updating i_size under i_sem.
Nathan Scott [Thu, 19 Aug 2004 19:23:16 +0000 (05:23 +1000)]
[XFS] Sync up with the 2.4 fix for updating i_size under i_sem.

SGI Modid: xfs-linux:xfs-kern:174249a
Signed-off-by: Nathan Scott <nathans@sgi.com>
22 years ago[XFS] Permit buffered writes to the real-time subvolume.
Glen Overby [Thu, 19 Aug 2004 19:10:48 +0000 (05:10 +1000)]
[XFS] Permit buffered writes to the real-time subvolume.

SGI Modid: xfs-linux:xfs-kern:174094a
Signed-off-by: Nathan Scott <nathans@sgi.com>
22 years ago[ARM PATCH] 2027/1: S3C2410 - initial documentation
Ben Dooks [Thu, 19 Aug 2004 00:23:24 +0000 (01:23 +0100)]
[ARM PATCH] 2027/1: S3C2410 - initial documentation

Patch from Ben Dooks

Attached is a couple of initial help documents for the
s3c2410, under Documents/arm/Samsung-S3C24XX

22 years ago[ARM PATCH] 2026/1: S3C2410 - header text for arch/arm/mach-s3c2410/s3c2410.h
Ben Dooks [Thu, 19 Aug 2004 00:18:48 +0000 (01:18 +0100)]
[ARM PATCH] 2026/1: S3C2410 - header text for arch/arm/mach-s3c2410/s3c2410.h

Patch from Ben Dooks

Attached is a copyright / explanation header for the
arch/arm/mach-s3c2410/s3c2410.h header files

22 years ago[ARM PATCH] 2025/1: S3C2410 - default platform devices
Ben Dooks [Thu, 19 Aug 2004 00:13:02 +0000 (01:13 +0100)]
[ARM PATCH] 2025/1: S3C2410 - default platform devices

Patch from Ben Dooks

A set of default devices for the s3c2410 SoC for
use with the machine(s)

22 years ago[ARM] Add a structure name to pxa_dma_desc.
Russell King [Wed, 18 Aug 2004 23:02:56 +0000 (00:02 +0100)]
[ARM] Add a structure name to pxa_dma_desc.

22 years ago[CPUFREQ] Support VIA C3 Nehemiah's with 200MHz FSB.
Dave Jones [Wed, 18 Aug 2004 17:46:46 +0000 (18:46 +0100)]
[CPUFREQ] Support VIA C3 Nehemiah's with 200MHz FSB.

Signed-off-by: Dave Jones <davej@redhat.com>