]> git.hungrycats.org Git - linux/log
linux
22 years ago[PATCH] kNFSd: Make sure dnotify events happen for NFS read and write.
Andrew Morton [Mon, 19 Jan 2004 02:57:00 +0000 (18:57 -0800)]
[PATCH] kNFSd: Make sure dnotify events happen for NFS read and write.

From: NeilBrown <neilb@cse.unsw.edu.au>

Based on code from Terje Malmedal <terje.malmedal@usit.uio.no>

22 years ago[PATCH] kNFSd: Fix incorrect call for follow_up
Andrew Morton [Mon, 19 Jan 2004 02:56:51 +0000 (18:56 -0800)]
[PATCH] kNFSd: Fix incorrect call for follow_up

From: NeilBrown <neilb@cse.unsw.edu.au>

follow_up doesn't check that the passed dentry is at the root of the mounted
file system, so we have to do that, to avoid calling follow_up too many
times.

22 years ago[PATCH] kNFSd: Convert error status for failed lookup("..") properly.
Andrew Morton [Mon, 19 Jan 2004 02:56:42 +0000 (18:56 -0800)]
[PATCH] kNFSd: Convert error status for failed lookup("..") properly.

From: NeilBrown <neilb@cse.unsw.edu.au>

We weren't converting the -E* error code to an nfserr_* error code as we
should.

22 years ago[PATCH] kNFSd: Fix problem with stale filehandles.
Andrew Morton [Mon, 19 Jan 2004 02:56:34 +0000 (18:56 -0800)]
[PATCH] kNFSd: Fix problem with stale filehandles.

From: NeilBrown <neilb@cse.unsw.edu.au>

nfsd_setuser was not called until after filehandle lookup was done, so
filehandle lookup would use the wrong userid, and so the permission checking
in nfsd_acceptable would be bogus.

22 years ago[PATCH] update OProfile maintainer
Andrew Morton [Mon, 19 Jan 2004 02:56:25 +0000 (18:56 -0800)]
[PATCH] update OProfile maintainer

From: John Levon <levon@movementarian.org>

Please apply the below and accept patches directly from Philippe for
OProfile in the future, as necessary.

(Philippe is the other main developer of OProfile)

22 years ago[PATCH] modules: skip debug sections
Andrew Morton [Mon, 19 Jan 2004 02:56:16 +0000 (18:56 -0800)]
[PATCH] modules: skip debug sections

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

Skip debug sections of modules - taking 12 minutes to load the ipv6 module
is a bug.  :)

22 years ago[PATCH] Use request_list as indicator that req originated from ll_rw_blk
Andrew Morton [Mon, 19 Jan 2004 02:56:07 +0000 (18:56 -0800)]
[PATCH] Use request_list as indicator that req originated from ll_rw_blk

From: Mike Christie <michaelc@cs.wisc.edu>,
      Jens Axboe <axboe@suse.de>

It's cleaner and more correct to look at req->rl to determine whether this
request got from the block layer requests lists instead of using req->q.
It's handy to always have req->q available, to lookup the queue from the
request.

22 years ago[PATCH] v4l: add conexant 2388x driver.
Andrew Morton [Mon, 19 Jan 2004 02:55:58 +0000 (18:55 -0800)]
[PATCH] v4l: add conexant 2388x driver.

From: Gerd Knorr <kraxel@bytesex.org>

This patch adds a experimental driver for Conexant 2388x based TV cards.

DESC
cx88-video compile fixes for older gcc
EDESC

Fix some gcc-3.xisms.

22 years ago[PATCH] v4l: saa7134 driver update
Andrew Morton [Mon, 19 Jan 2004 02:55:49 +0000 (18:55 -0800)]
[PATCH] v4l: saa7134 driver update

From: Gerd Knorr <kraxel@bytesex.org>

This is a saa7134 driver update.  Changes:

* add infrared remote support.

* add support for more TV cards.

* misc minor fixes.

This patch depends on the ir-input patch.

22 years ago[PATCH] v4l: add bttv IR input support.
Andrew Morton [Mon, 19 Jan 2004 02:55:39 +0000 (18:55 -0800)]
[PATCH] v4l: add bttv IR input support.

From: Gerd Knorr <kraxel@bytesex.org>

This patch adds linux input layer based support for infrared remote
  controls.  It adds two new modules:

* ir-kbd-i2c supports i2c-based IR receivers.

* ir-kbd-gpio supports IR receivers connected to the bt878 gpio pins.

This patch depends on the ir-input patch and the bttv driver update.

22 years ago[PATCH] v4l: tuner update
Andrew Morton [Mon, 19 Jan 2004 02:55:29 +0000 (18:55 -0800)]
[PATCH] v4l: tuner update

From: Gerd Knorr <kraxel@bytesex.org>

This is a i2c tuner module update.  Changes:

* adds support for more tunes (mt2050, atsc, ...)

* some reorganization, uses function pointers to branch to different
  functions for different tuner types.

22 years ago[PATCH] v4l: misc i2c fixes
Andrew Morton [Mon, 19 Jan 2004 02:55:21 +0000 (18:55 -0800)]
[PATCH] v4l: misc i2c fixes

From: Gerd Knorr <kraxel@bytesex.org>

This is a collection of misc i2c tv helper module fixes.

22 years ago[PATCH] v4l: add infrared remote support
Andrew Morton [Mon, 19 Jan 2004 02:55:12 +0000 (18:55 -0800)]
[PATCH] v4l: add infrared remote support

From: Gerd Knorr <kraxel@bytesex.org>

This patch adds a module with some helper functions to handle infrared
remotes using the linux input layer.  It doesn't do any useful stuff alone,
but the saa7134 and bttv drivers will use that to support the remotes shipped
with some TV cards.

22 years ago[PATCH] v4l: bttv driver update
Andrew Morton [Mon, 19 Jan 2004 02:55:03 +0000 (18:55 -0800)]
[PATCH] v4l: bttv driver update

From: Gerd Knorr <kraxel@bytesex.org>

bttv driver update.  Changes:

(1) Added a new, sysfs-based interface to allow access to the bt878 gpio
    lines from other kernel modules (new bttv-gpio.c file), which fixes alot
    of problems the old interface has (which still is in bttv-if.c, to be
    removed in 2.7).

(2) moved the i2c code from bttv-if.c to bttv-i2c.c.

(3) created a new "struct bttv_core" and moved some of the entries from
    "struct bttv" to the new one.  This is needed for (1) and makes the patch
    pretty big, althrough there is no actual code changes.

(4) first cut for suspend support (S1 works for me).

(5) usual batch of new/updated tv card list entries.

(6) minor fixes.

22 years ago[PATCH] v4l: video-buf update
Andrew Morton [Mon, 19 Jan 2004 02:54:53 +0000 (18:54 -0800)]
[PATCH] v4l: video-buf update

From: Gerd Knorr <kraxel@bytesex.org>

This patch contains video-buf fixes, mainly remove videobuf_lock() and
videobuf_unlock() functions.  They are not needed as get_user_pages() locks
down the pages anyway.

22 years ago[PATCH] v4l: v4l2 update
Andrew Morton [Mon, 19 Jan 2004 02:54:44 +0000 (18:54 -0800)]
[PATCH] v4l: v4l2 update

From: Gerd Knorr <kraxel@bytesex.org>

This patch is a v4l2 update.  Changes:

* added new ioctls (VIDIOC_G_PRIORITY, VIDIOC_S_PRIORITY) to give v4l apps
  priorities for tuning and other controls.  Main purpose is that backgrounds
  applictions like nxtvepg which are fishing informations from /dev/vbi
  (teletext, epg, ...) can run at lower priority than interactive tv apps and
  thus the user isn't annonyed with unexpected channel switches.

* add a set of helper functions to handle priorities to the v4l2-common
  module.

* minor fixes in the v4l1-compat module.

* minor header file fixes.

22 years ago[PATCH] v4l: videodev update
Andrew Morton [Mon, 19 Jan 2004 02:54:35 +0000 (18:54 -0800)]
[PATCH] v4l: videodev update

From: Gerd Knorr <kraxel@bytesex.org>

This patch fixes some v4l2 ioctl #defines which have wrong _IO* macros.  It
also adds a function which maps the old numbers to to new ones to maintain
binary backward compatibility.

22 years ago[PATCH] Document EFI zero-page usage
Andrew Morton [Mon, 19 Jan 2004 02:54:26 +0000 (18:54 -0800)]
[PATCH] Document EFI zero-page usage

From: "Randy.Dunlap" <rddunlap@osdl.org>

Add x86 EFI zero-page usage to i386 docs.

22 years ago[PATCH] sn: cleanups and error checking
Andrew Morton [Mon, 19 Jan 2004 02:54:17 +0000 (18:54 -0800)]
[PATCH] sn: cleanups and error checking

From: Pat Gefre <pfg@sgi.com>

- hwgfs cleanup
- some oom checks and proper error returns
- killed some dead code

22 years ago[PATCH] sn: A little re-formatting
Andrew Morton [Mon, 19 Jan 2004 02:54:09 +0000 (18:54 -0800)]
[PATCH] sn: A little re-formatting

From: Pat Gefre <pfg@sgi.com>

A little re-formatting
Added pcibr_lock()

22 years ago[PATCH] sn: Mostly printk clean up and remove some dead code
Andrew Morton [Mon, 19 Jan 2004 02:54:00 +0000 (18:54 -0800)]
[PATCH] sn: Mostly printk clean up and remove some dead code

From: Pat Gefre <pfg@sgi.com>

Mostly printk clean up and remove some dead code

22 years ago[PATCH] sn: Simulator check in pci_bus_cvlink.c
Andrew Morton [Mon, 19 Jan 2004 02:53:51 +0000 (18:53 -0800)]
[PATCH] sn: Simulator check in pci_bus_cvlink.c

From: Pat Gefre <pfg@sgi.com>

Simulator check in pci_bus_cvlink.c

22 years ago[PATCH] sn: Minor clean up for ml_iograph.c
Andrew Morton [Mon, 19 Jan 2004 02:53:43 +0000 (18:53 -0800)]
[PATCH] sn: Minor clean up for ml_iograph.c

From: Pat Gefre <pfg@sgi.com>

Minor clean up for ml_iograph.c

22 years ago[PATCH] sn: Delete unused pciio.c code (???_host???_[sg]et)
Andrew Morton [Mon, 19 Jan 2004 02:53:34 +0000 (18:53 -0800)]
[PATCH] sn: Delete unused pciio.c code (???_host???_[sg]et)

From: Pat Gefre <pfg@sgi.com>

Delete unused pciio.c code (???_host???_[sg]et)

22 years ago[PATCH] sn: Delete unused code in pcibr_slot.c
Andrew Morton [Mon, 19 Jan 2004 02:53:26 +0000 (18:53 -0800)]
[PATCH] sn: Delete unused code in pcibr_slot.c

From: Pat Gefre <pfg@sgi.com>

Delete unused code in pcibr_slot.c

22 years ago[PATCH] sn: Error devenable not used - delete defs
Andrew Morton [Mon, 19 Jan 2004 02:53:17 +0000 (18:53 -0800)]
[PATCH] sn: Error devenable not used - delete defs

From: Pat Gefre <pfg@sgi.com>

Error devenable not used - delete defs

22 years ago[PATCH] sn: Don't call init_hcl from the fixup code
Andrew Morton [Mon, 19 Jan 2004 02:53:09 +0000 (18:53 -0800)]
[PATCH] sn: Don't call init_hcl from the fixup code

From: Pat Gefre <pfg@sgi.com>

Don't call init_hcl from the fixup code
Delete reference to hwgraph_path_lookup()

22 years ago[PATCH] sn: Remove irix_io_init - replace with sgi_master_io_infr_init
Andrew Morton [Mon, 19 Jan 2004 02:53:00 +0000 (18:53 -0800)]
[PATCH] sn: Remove irix_io_init - replace with sgi_master_io_infr_init

From: Pat Gefre <pfg@sgi.com>

Remove irix_io_init - replace with sgi_master_io_infr_init

22 years ago[PATCH] sn: sn_pci_fixup() clean up or is it fix up ???
Andrew Morton [Mon, 19 Jan 2004 02:52:52 +0000 (18:52 -0800)]
[PATCH] sn: sn_pci_fixup() clean up or is it fix up ???

From: Pat Gefre <pfg@sgi.com>

sn_pci_fixup() clean up or is it fix up ???

22 years ago[PATCH] sn: Minor code clean up of pcibr_error.c
Andrew Morton [Mon, 19 Jan 2004 02:52:43 +0000 (18:52 -0800)]
[PATCH] sn: Minor code clean up of pcibr_error.c

From: Pat Gefre <pfg@sgi.com>

Minor code clean up of pcibr_error.c

22 years ago[PATCH] sn: pcibr_rrb.c cleanup
Andrew Morton [Mon, 19 Jan 2004 02:52:34 +0000 (18:52 -0800)]
[PATCH] sn: pcibr_rrb.c cleanup

From: Pat Gefre <pfg@sgi.com>

pcibr_rrb.c cleanup

22 years ago[PATCH] sn: More code clean up = mostly pcibr_slot.c
Andrew Morton [Mon, 19 Jan 2004 02:52:25 +0000 (18:52 -0800)]
[PATCH] sn: More code clean up = mostly pcibr_slot.c

From: Pat Gefre <pfg@sgi.com>

More code clean up = mostly pcibr_slot.c

22 years ago[PATCH] sn: Added call to pcireg_intr_status_get
Andrew Morton [Mon, 19 Jan 2004 02:52:16 +0000 (18:52 -0800)]
[PATCH] sn: Added call to pcireg_intr_status_get

From: Pat Gefre <pfg@sgi.com>

Added call to pcireg_intr_status_get

22 years ago[PATCH] sn: Include file clean up in pcibr_hints.c
Andrew Morton [Mon, 19 Jan 2004 02:52:07 +0000 (18:52 -0800)]
[PATCH] sn: Include file clean up in pcibr_hints.c

From: Pat Gefre <pfg@sgi.com>

Include file clean up in pcibr_hints.c

22 years ago[PATCH] sn: Make pcibr debug variables static
Andrew Morton [Mon, 19 Jan 2004 02:51:59 +0000 (18:51 -0800)]
[PATCH] sn: Make pcibr debug variables static

From: Pat Gefre <pfg@sgi.com>

Make pcibr debug variables static

22 years ago[PATCH] sn: pci dma cleanup
Andrew Morton [Mon, 19 Jan 2004 02:51:50 +0000 (18:51 -0800)]
[PATCH] sn: pci dma cleanup

From: Pat Gefre <pfg@sgi.com>

pci dma cleanup

22 years ago[PATCH] sn: printk cleanup
Andrew Morton [Mon, 19 Jan 2004 02:51:40 +0000 (18:51 -0800)]
[PATCH] sn: printk cleanup

From: Pat Gefre <pfg@sgi.com>

printk cleanup

22 years ago[PATCH] sn: Remove the pcibr_wrap... functions
Andrew Morton [Mon, 19 Jan 2004 02:51:31 +0000 (18:51 -0800)]
[PATCH] sn: Remove the pcibr_wrap... functions

From: Pat Gefre <pfg@sgi.com>

Remove the pcibr_wrap... functions

22 years ago[PATCH] sn: Fixed an oom in pci_bus_cvlink.c
Andrew Morton [Mon, 19 Jan 2004 02:51:24 +0000 (18:51 -0800)]
[PATCH] sn: Fixed an oom in pci_bus_cvlink.c

From: Pat Gefre <pfg@sgi.com>

Fixed an oom in pci_bus_cvlink.c
Also added slot to flush code

22 years ago[PATCH] sn: Clean up the bit twiddle macros in pcibr_config.c
Andrew Morton [Mon, 19 Jan 2004 02:51:16 +0000 (18:51 -0800)]
[PATCH] sn: Clean up the bit twiddle macros in pcibr_config.c

From: Pat Gefre <pfg@sgi.com>

Clean up the bit twiddle macros in pcibr_config.c

22 years ago[PATCH] sn: Added cbrick_type_get_nasid() function
Andrew Morton [Mon, 19 Jan 2004 02:51:06 +0000 (18:51 -0800)]
[PATCH] sn: Added cbrick_type_get_nasid() function

From: Pat Gefre <pfg@sgi.com>

Added cbrick_type_get_nasid() function

22 years ago[PATCH] sn: Added a missed opus mod and oom mod
Andrew Morton [Mon, 19 Jan 2004 02:50:58 +0000 (18:50 -0800)]
[PATCH] sn: Added a missed opus mod and oom mod

From: Pat Gefre <pfg@sgi.com>

Added a missed opus mod and oom mod

22 years ago[PATCH] sn: Fix IIO_ITTE_DISABLE() args
Andrew Morton [Mon, 19 Jan 2004 02:50:49 +0000 (18:50 -0800)]
[PATCH] sn: Fix IIO_ITTE_DISABLE() args

From: Pat Gefre <pfg@sgi.com>

Fix IIO_ITTE_DISABLE() args

22 years ago[PATCH] sn: New pci provider interfaces
Andrew Morton [Mon, 19 Jan 2004 02:50:41 +0000 (18:50 -0800)]
[PATCH] sn: New pci provider interfaces

From: Pat Gefre <pfg@sgi.com>

New pci provider interfaces

22 years ago[PATCH] sn: Debug clean up in pcibr_dvr.c
Andrew Morton [Mon, 19 Jan 2004 02:50:32 +0000 (18:50 -0800)]
[PATCH] sn: Debug clean up in pcibr_dvr.c

From: Pat Gefre <pfg@sgi.com>

Debug clean up in pcibr_dvr.c

22 years ago[PATCH] sn: Change the definition and usage of iio_itte - make it an array
Andrew Morton [Mon, 19 Jan 2004 02:50:23 +0000 (18:50 -0800)]
[PATCH] sn: Change the definition and usage of iio_itte - make it an array

From: Pat Gefre <pfg@sgi.com>

Change the definition and usage of iio_itte - make it an array

22 years ago[PATCH] sn: Use numionodes
Andrew Morton [Mon, 19 Jan 2004 02:50:15 +0000 (18:50 -0800)]
[PATCH] sn: Use numionodes

From: Pat Gefre <pfg@sgi.com>

Use numionodes

22 years ago[PATCH] sn: Need a bigger max compact node value
Andrew Morton [Mon, 19 Jan 2004 02:50:06 +0000 (18:50 -0800)]
[PATCH] sn: Need a bigger max compact node value

From: Pat Gefre <pfg@sgi.com>

Need a bigger max compact node value

22 years ago[PATCH] sn: Fixes for shuberror.c
Andrew Morton [Mon, 19 Jan 2004 02:49:58 +0000 (18:49 -0800)]
[PATCH] sn: Fixes for shuberror.c

From: Pat Gefre <pfg@sgi.com>

Fixes for shuberror.c

22 years ago[PATCH] sn: SAL interface clean up
Andrew Morton [Mon, 19 Jan 2004 02:49:49 +0000 (18:49 -0800)]
[PATCH] sn: SAL interface clean up

From: Pat Gefre <pfg@sgi.com>

SAL interface clean up

22 years ago[PATCH] sn: One less panic
Andrew Morton [Mon, 19 Jan 2004 02:49:40 +0000 (18:49 -0800)]
[PATCH] sn: One less panic

From: Pat Gefre <pfg@sgi.com>

One less panic

22 years ago[PATCH] sn: Missed an include file in the last patch
Andrew Morton [Mon, 19 Jan 2004 02:49:32 +0000 (18:49 -0800)]
[PATCH] sn: Missed an include file in the last patch

From: Pat Gefre <pfg@sgi.com>

Missed an include file in the last patch

22 years ago[PATCH] sn: Support for the LCD
Andrew Morton [Mon, 19 Jan 2004 02:49:23 +0000 (18:49 -0800)]
[PATCH] sn: Support for the LCD

From: Pat Gefre <pfg@sgi.com>

Support for the LCD

22 years ago[PATCH] sn: Merged 2 files into another (sgi_io_sim and irix_io_init into sgi_io_init)
Andrew Morton [Mon, 19 Jan 2004 02:49:15 +0000 (18:49 -0800)]
[PATCH] sn: Merged 2 files into another (sgi_io_sim and irix_io_init into sgi_io_init)

From: Pat Gefre <pfg@sgi.com>

Merged 2 files into another (sgi_io_sim and irix_io_init into sgi_io_init)

22 years ago[PATCH] sn: Forget to check in the _reg file
Andrew Morton [Mon, 19 Jan 2004 02:49:06 +0000 (18:49 -0800)]
[PATCH] sn: Forget to check in the _reg file

From: Pat Gefre <pfg@sgi.com>

Forget to check in the _reg file

22 years ago[PATCH] sn: Code changes for interrupt redirect
Andrew Morton [Mon, 19 Jan 2004 02:48:57 +0000 (18:48 -0800)]
[PATCH] sn: Code changes for interrupt redirect

From: Pat Gefre <pfg@sgi.com>

Code changes for interrupt redirect

22 years ago[PATCH] sn: More code clean up - this time ioconfig_bus.c
Andrew Morton [Mon, 19 Jan 2004 02:48:49 +0000 (18:48 -0800)]
[PATCH] sn: More code clean up - this time ioconfig_bus.c

From: Pat Gefre <pfg@sgi.com>

More code clean up - this time ioconfig_bus.c

22 years ago[PATCH] sn: Small check for invalid node in shub ioctl function
Andrew Morton [Mon, 19 Jan 2004 02:48:40 +0000 (18:48 -0800)]
[PATCH] sn: Small check for invalid node in shub ioctl function

From: Pat Gefre <pfg@sgi.com>

Small check for invalid node in shub ioctl function

22 years ago[PATCH] sn: Remove __ASSEMBLY__ tags from shubio.h
Andrew Morton [Mon, 19 Jan 2004 02:48:32 +0000 (18:48 -0800)]
[PATCH] sn: Remove __ASSEMBLY__ tags from shubio.h

From: Pat Gefre <pfg@sgi.com>

Remove __ASSEMBLY__ tags from shubio.h

22 years ago[PATCH] sn: Some more minor clean up
Andrew Morton [Mon, 19 Jan 2004 02:48:23 +0000 (18:48 -0800)]
[PATCH] sn: Some more minor clean up

From: Pat Gefre <pfg@sgi.com>

Some more minor clean up

22 years ago[PATCH] sn: A few small clean ups
Andrew Morton [Mon, 19 Jan 2004 02:48:14 +0000 (18:48 -0800)]
[PATCH] sn: A few small clean ups

From: Pat Gefre <pfg@sgi.com>

A few small clean ups

22 years ago[PATCH] sn: Moved code out of pciio and into its own file - snia_if.c and renamed...
Andrew Morton [Mon, 19 Jan 2004 02:48:06 +0000 (18:48 -0800)]
[PATCH] sn: Moved code out of pciio and into its own file - snia_if.c and renamed the functions

From: Pat Gefre <pfg@sgi.com>

Moved code out of pciio and into its own file - snia_if.c and renamed the
functions

pciio clean up

22 years ago[PATCH] sn: Some small bte code clean ups
Andrew Morton [Mon, 19 Jan 2004 02:47:56 +0000 (18:47 -0800)]
[PATCH] sn: Some small bte code clean ups

From: Pat Gefre <pfg@sgi.com>

Some small bte code clean ups

22 years ago[PATCH] sn: hcl.c clean up for init failures and OOM
Andrew Morton [Mon, 19 Jan 2004 02:47:47 +0000 (18:47 -0800)]
[PATCH] sn: hcl.c clean up for init failures and OOM

From: Pat Gefre <pfg@sgi.com>

hcl.c clean up for init failures and OOM

22 years ago[PATCH] sn: Fix a couple of compiler warnings
Andrew Morton [Mon, 19 Jan 2004 02:47:39 +0000 (18:47 -0800)]
[PATCH] sn: Fix a couple of compiler warnings

From: Pat Gefre <pfg@sgi.com>

Fix a couple of compiler warnings

22 years ago[PATCH] sn: code pruning - a couple of adds due to the clean up
Andrew Morton [Mon, 19 Jan 2004 02:47:30 +0000 (18:47 -0800)]
[PATCH] sn: code pruning - a couple of adds due to the clean up

From: Pat Gefre <pfg@sgi.com>

Mostly code pruning - a couple of adds due to the clean up

22 years ago[PATCH] sn: irq clean up and update
Andrew Morton [Mon, 19 Jan 2004 02:47:21 +0000 (18:47 -0800)]
[PATCH] sn: irq clean up and update

From: Pat Gefre <pfg@sgi.com>

irq clean up and update

22 years ago[PATCH] sn: General xtalk.c clean up
Andrew Morton [Mon, 19 Jan 2004 02:47:12 +0000 (18:47 -0800)]
[PATCH] sn: General xtalk.c clean up

From: Pat Gefre <pfg@sgi.com>

General xtalk.c clean up

22 years ago[PATCH] sn: shubio.c cleanup
Andrew Morton [Mon, 19 Jan 2004 02:47:04 +0000 (18:47 -0800)]
[PATCH] sn: shubio.c cleanup

From: Pat Gefre <pfg@sgi.com>

shubio.c cleanup

22 years ago[PATCH] sn: General module.c clean up
Andrew Morton [Mon, 19 Jan 2004 02:46:55 +0000 (18:46 -0800)]
[PATCH] sn: General module.c clean up

From: Pat Gefre <pfg@sgi.com>

General module.c clean up

22 years ago[PATCH] sn: More klgraph.c clean up
Andrew Morton [Mon, 19 Jan 2004 02:46:46 +0000 (18:46 -0800)]
[PATCH] sn: More klgraph.c clean up

From: Pat Gefre <pfg@sgi.com>

More klgraph.c clean up
Remove is_specified

22 years ago[PATCH] sn: klgraph.c clean up
Andrew Morton [Mon, 19 Jan 2004 02:46:38 +0000 (18:46 -0800)]
[PATCH] sn: klgraph.c clean up

From: Pat Gefre <pfg@sgi.com>

klgraph.c clean up

22 years ago[PATCH] sn: New code for Opus and CGbrick
Andrew Morton [Mon, 19 Jan 2004 02:46:29 +0000 (18:46 -0800)]
[PATCH] sn: New code for Opus and CGbrick

From: Pat Gefre <pfg@sgi.com>

New code for Opus and CGbrick
More minor clean up

22 years ago[PATCH] sn: Fix the last patch - missed an IS_PIC_SOFT and needed the CG definition
Andrew Morton [Mon, 19 Jan 2004 02:46:20 +0000 (18:46 -0800)]
[PATCH] sn: Fix the last patch - missed an IS_PIC_SOFT and needed the CG definition

From: Pat Gefre <pfg@sgi.com>

Fix the last patch - missed an IS_PIC_SOFT and needed the CG definition

Header file clean up
Added some __init definitions for functions that were init only
Removed some 'porting' code - replaced it with linux calls/defintions
Cleaned up some of the types we were using (ones that had been added)
Fixed include files that had the wrong path in their ifdef'd names

22 years ago[PATCH] sn: Fix the last patch - missed an IS_PIC_SOFT and needed the CG definition
Andrew Morton [Mon, 19 Jan 2004 02:46:10 +0000 (18:46 -0800)]
[PATCH] sn: Fix the last patch - missed an IS_PIC_SOFT and needed the CG definition

From: Pat Gefre <pfg@sgi.com>

Fix the last patch - missed an IS_PIC_SOFT and needed the CG definition

22 years ago[PATCH] sn: Remove the bridge and xbridge code - everything not PIC
Andrew Morton [Mon, 19 Jan 2004 02:46:02 +0000 (18:46 -0800)]
[PATCH] sn: Remove the bridge and xbridge code - everything not PIC

From: Pat Gefre <pfg@sgi.com>

Remove the bridge and xbridge code - everything not PIC

22 years ago[PATCH] sn: General clean up of xbow.c
Andrew Morton [Mon, 19 Jan 2004 02:45:53 +0000 (18:45 -0800)]
[PATCH] sn: General clean up of xbow.c

From: Pat Gefre <pfg@sgi.com>

General clean up of xbow.c

22 years ago[PATCH] sn: machvec/pci.c clean up
Andrew Morton [Mon, 19 Jan 2004 02:45:44 +0000 (18:45 -0800)]
[PATCH] sn: machvec/pci.c clean up

From: Pat Gefre <pfg@sgi.com>

machvec/pci.c clean up
Other clean up related to above

22 years ago[PATCH] sn: General code clean up of sn/io/io.c
Andrew Morton [Mon, 19 Jan 2004 02:45:35 +0000 (18:45 -0800)]
[PATCH] sn: General code clean up of sn/io/io.c

From: Pat Gefre <pfg@sgi.com>

General code clean up of sn/io/io.c

22 years ago[PATCH] sn: Delete invent.h
Andrew Morton [Mon, 19 Jan 2004 02:45:27 +0000 (18:45 -0800)]
[PATCH] sn: Delete invent.h

From: Pat Gefre <pfg@sgi.com>

Delete invent.h
Delete sgi_if.c
Cleaned up some of the NEW/DEL calls

22 years ago[PATCH] sn: Kill the arcs/*.h files
Andrew Morton [Mon, 19 Jan 2004 02:45:16 +0000 (18:45 -0800)]
[PATCH] sn: Kill the arcs/*.h files

From: Pat Gefre <pfg@sgi.com>

Kill the arcs/*.h files
Some general clean up on klconfig.h

22 years ago[PATCH] sn: Kill nag.h
Andrew Morton [Mon, 19 Jan 2004 02:45:07 +0000 (18:45 -0800)]
[PATCH] sn: Kill nag.h

From: Pat Gefre <pfg@sgi.com>

Kill nag.h

22 years ago[PATCH] sn: serial update
Andrew Morton [Mon, 19 Jan 2004 02:44:57 +0000 (18:44 -0800)]
[PATCH] sn: serial update

From: Pat Gefre <pfg@sgi.com>
      Jesse Barnes <jbarnes@tomahawk.engr.sgi.com>

22 years ago[PATCH] sn: remove unused enum
Andrew Morton [Mon, 19 Jan 2004 02:44:48 +0000 (18:44 -0800)]
[PATCH] sn: remove unused enum

From: Pat Gefre <pfg@sgi.com>

remove unused enum

22 years ago[PATCH] sn: kill $Id$
Andrew Morton [Mon, 19 Jan 2004 02:44:40 +0000 (18:44 -0800)]
[PATCH] sn: kill $Id$

From: Pat Gefre <pfg@sgi.com>

kill $Id$

22 years ago[PATCH] sn: kill big endian stuff
Andrew Morton [Mon, 19 Jan 2004 02:44:30 +0000 (18:44 -0800)]
[PATCH] sn: kill big endian stuff

From: Pat Gefre <pfg@sgi.com>

kill big endian stuff

22 years ago[PATCH] sn: namespace cleanup: ioerror_dump->sn_ioerror_dump
Andrew Morton [Mon, 19 Jan 2004 02:44:21 +0000 (18:44 -0800)]
[PATCH] sn: namespace cleanup: ioerror_dump->sn_ioerror_dump

From: Pat Gefre <pfg@sgi.com>

namespace cleanup: ioerror_dump->sn_ioerror_dump

22 years ago[PATCH] sn: copyright update
Andrew Morton [Mon, 19 Jan 2004 02:44:12 +0000 (18:44 -0800)]
[PATCH] sn: copyright update

From: Pat Gefre <pfg@sgi.com>

copyright update

22 years ago[PATCH] sn: Some hwgraph code clean up
Andrew Morton [Mon, 19 Jan 2004 02:44:03 +0000 (18:44 -0800)]
[PATCH] sn: Some hwgraph code clean up

From: Pat Gefre <pfg@sgi.com>

Some hwgraph code clean up

22 years ago[PATCH] const vs. __attribute__((const)) confusion
Andrew Morton [Mon, 19 Jan 2004 02:43:54 +0000 (18:43 -0800)]
[PATCH] const vs. __attribute__((const)) confusion

From: "H. Peter Anvin" <hpa@zytor.com>

Declaring a function to return a const scalar value is pretty meaningless.
These functions are really trying to say that they don't alter any external
state.

Fix that up by using __attribute__((const)), if the compiler supports that.

22 years ago[PATCH] s390: endless loop in follow_page.
Andrew Morton [Mon, 19 Jan 2004 02:43:46 +0000 (18:43 -0800)]
[PATCH] s390: endless loop in follow_page.

From: Martin Schwidefsky <schwidefsky@de.ibm.com>

Fix endless loop in get_user_pages() on s390.  It happens only on s/390
because pte_dirty always returns 0.  For all other architectures this is an
optimization.

In the case of "write && !pte_dirty(pte)" follow_page() returns NULL.  On all
architectures except s390 handle_pte_fault() will then create a pte with
pte_dirty(pte)==1 because write_access==1.  In the following, second call to
follow_page() all is fine.  With the physical dirty bit patch pte_dirty() is
always 0 for s/390 because the dirty bit doesn't live in the pte.

22 years ago[PATCH] s390: superflous flush_tlb_range calls.
Andrew Morton [Mon, 19 Jan 2004 02:43:37 +0000 (18:43 -0800)]
[PATCH] s390: superflous flush_tlb_range calls.

From: Martin Schwidefsky <schwidefsky@de.ibm.com>

while searching for a s390 tlb flush problem I noticed some superflous tlb
flushes.  One in zeromap_page_range, one in remap_page_range, and another one
in filemap_sync.  The patch just adds comments but I think these three
flush_tlb_range calls can be removed.

22 years ago[PATCH] rmap page refcounting simplification
Andrew Morton [Mon, 19 Jan 2004 02:43:28 +0000 (18:43 -0800)]
[PATCH] rmap page refcounting simplification

From: Martin Schwidefsky <schwidefsky@de.ibm.com>

Ok, its just the revert of the page_cache_release delta.

22 years ago[PATCH] s390: rmap optimization.
Andrew Morton [Mon, 19 Jan 2004 02:43:19 +0000 (18:43 -0800)]
[PATCH] s390: rmap optimization.

From: Martin Schwidefsky <schwidefsky@de.ibm.com>

while working on my mm patch for s390 I played with rmap a bit, adding
BUG statements and the like. While doing so I noticed some room for
improvement in rmap. Its minor stuff but anyway...

The first observation is that the pte chain array doesn't have holes,
meaning that from the pte_chain_idx() of the first array every slot of
all following pte chain arrays are full. That is there can't be NULL
pointers. The "if (!pte_paddr)" check in try_to_unmap() can be removed
and if the loop in page_referenced() is started from pte_chain_idx(pc)
then the "if (!pte_paddr)" in page_referenced() can be removed as well.

The second observation is that the first pte array of a pte chain has
at least one entry. Empty pte chain arrays are always freed immediatly
after the last entry was removed. Because of that victim_i can be
calculated in a simpler way. Instead of setting victim_i to -1 and then
check in each loop iteration against -1 victim_i can just be set to
the pte_chain_idx of the first pte chain array.

22 years ago[PATCH] s390: tlb flush race.
Andrew Morton [Mon, 19 Jan 2004 02:43:11 +0000 (18:43 -0800)]
[PATCH] s390: tlb flush race.

From: Martin Schwidefsky <schwidefsky@de.ibm.com>

I think I found a potential race in install_page/install_file_pte. The
inline function zap_pte releases pages by calling page_remove_rmap and
page_cache_release.  If this was the last user of a page it can get
purged from the page cache and then get immediatly reused. But there
might still be a tlb for this page on another cpu. The tlb is removed
in the callers of zap_pte, install_page and install_file_pte, but this
is too late. I admit that its a very unlikely race but never the less..

I fixed this by using the new ptep_clear_flush function that is introduced
with the tlb flush optimization patch for s/390.

22 years ago[PATCH] s390: physical dirty/referenced bits.
Andrew Morton [Mon, 19 Jan 2004 02:43:03 +0000 (18:43 -0800)]
[PATCH] s390: physical dirty/referenced bits.

From: Martin Schwidefsky <schwidefsky@de.ibm.com>

this is another s/390 related mm patch. It introduces the concept of
physical dirty and referenced bits into the common mm code. I always
had the nagging feeling that the pte functions for setting/clearing
the dirty and referenced bits are not appropriate for s/390. It works
but it is a bit of a hack.
After the wake of rmap it is now possible to put a much better solution
into place. The idea is simple: since there are not dirty/referenced
bits in the pte make these function nops on s/390 and add operations
on the physical page to the appropriate places. For the referenced bit
this is the page_referenced() function. For the dirty bit there are
two relevant spots: in page_remove_rmap after the last user of the
page removed its reverse mapping and in try_to_unmap after the last
user was unmapped. There are two new functions to accomplish this:

 * page_test_and_clear_dirty: Test and clear the dirty bit of a
   physical page. This function is analog to ptep_test_and_clear_dirty
   but gets a struct page as argument instead of a pte_t pointer.

 * page_test_and_clear_young: Test and clear the referenced bit
   of a physical page. This function is analog to ptep_test_and_clear_young
   but gets a struct page as argument instead of a pte_t pointer.

Its pretty straightforward and with it the s/390 mm makes much more
sense. You'll need the tls flush optimization patch for the patch.
Comments ?

22 years ago[PATCH] s390: tlb flush optimization.
Andrew Morton [Mon, 19 Jan 2004 02:42:53 +0000 (18:42 -0800)]
[PATCH] s390: tlb flush optimization.

From: Martin Schwidefsky <schwidefsky@de.ibm.com>

On the s/390 architecture we still have the issue with tlb flushing and the
ipte instruction.  We can optimize the tlb flushing a lot with some minor
interface changes between the arch backend and the memory management core.
In the end the whole thing is about the Invalidate Page Table Entry (ipte)
instruction.  The instruction sets the invalid bit in the pte and removes the
tlb for the page on all cpus for the virtual to physical mapping of the page
in a particular address space.  The nice thing is that only the tlb for this
page gets removed, all the other tlbs stay valid.  The reason we can't use
ipte to implement flush_tlb_page() is one of the requirements of the
instruction: the pte that should get flushed needs to be *valid*.

I'd like to add the following four functions to the mm interface:

  * ptep_establish: Establish a new mapping. This sets a pte entry to a
    page table and flushes the tlb of the old entry on all cpus if it
    exists. This is more or less what establish_pte in mm/memory.c does
    right now but without the update_mmu_cache call.

  * ptep_test_and_clear_and_flush_young. Do what ptep_test_and_clear_young
    does and flush the tlb.

  * ptep_test_and_clear_and_flush_dirty. Do what ptep_test_and_clear_dirty
    does and flush the tlb.

  * ptep_get_and_clear_and_flush: Do what ptep_get_and_clear does and
    flush the tlb.

The s/390 specific functions in include/pgtable.h define their own optimized
version of these four functions by use of the ipte.

I avoid the definition of these function for every architecture I added them
to include/asm-generic/pgtable.h.  Since i386/x86 and others don't include
this header yet and define their own version of the functions found there I
#ifdef'd all functions in include/asm-generic/pgtable.h to be able to pick
the ones that are needed for each architecture (see patch for details).

With the new functions in place it is easy to do the optimization, e.g.  the
sequence

         ptep_get_and_clear(ptep);
         flush_tlb_page(vma, address);

gets replace by

         ptep_get_and_clear_and_flush(vma, address, ptep);

The old sequence still works but it is suboptimal on s/390.

22 years ago[PATCH] s390: 32 bit ioctl emulation fixes.
Andrew Morton [Mon, 19 Jan 2004 02:42:44 +0000 (18:42 -0800)]
[PATCH] s390: 32 bit ioctl emulation fixes.

From: Martin Schwidefsky <schwidefsky@de.ibm.com>

- audit all 32 bit pointer accesses and make them use compat_ioctl(),
  because of the necessary conversion on s390
- introduce ULONG_IOCTL() which is used instead of COMPATIBLE_IOCTL()
  for all ioctls that have their argument encoded in 'arg' instead
  of the memory pointed to by arg. Same reason as above.
- remove most #ifdefs in <linux/compat_ioctl.h>: They don't make
  any sense if the respective handlers in fs/compat_ioctl.c are
  not disabled as well and they are potentially harmful (the
  CONFIG_BLK_DEV_DM e.g. was insufficient).
- comment out  COMPATIBLE_IOCTL(SIOCSIFBR) and
  COMPATIBLE_IOCTL(SIOCGIFBR), they appear to require a handler
- implement copy_in_user for s390, as needed for many handlers in
  fs/compat_ioctl.c
- get rid of all duplicate stuff in arch/s390/kernel/compat_ioctl.c
  that is also in fs/compat_ioctl.c

22 years ago[PATCH] s390: 32 bit emulation fixes.
Andrew Morton [Mon, 19 Jan 2004 02:42:36 +0000 (18:42 -0800)]
[PATCH] s390: 32 bit emulation fixes.

From: Martin Schwidefsky <schwidefsky@de.ibm.com>

 - Add emulation for sys_fadvise64 and sys_fadvise64_64.
 - Use common code wrapper for sys_sched_setaffinity and sys_sched_getaffinity.
 - Remove unused put_rusage.
 - Add ssize_t checks for iovec lengths in do_readv_writev32.
 - Add emulation for posix timer system calls.

22 years ago[PATCH] s390: new 3270 driver.
Andrew Morton [Mon, 19 Jan 2004 02:42:27 +0000 (18:42 -0800)]
[PATCH] s390: new 3270 driver.

From: Martin Schwidefsky <schwidefsky@de.ibm.com>

New 3270 device driver.