]> git.hungrycats.org Git - linux/log
linux
22 years agoLinux v2.5.32 v2.5.32
Linus Torvalds [Tue, 27 Aug 2002 05:27:55 +0000 (22:27 -0700)]
Linux v2.5.32

22 years agoAutomerge
Linus Torvalds [Tue, 27 Aug 2002 05:24:14 +0000 (22:24 -0700)]
Automerge

22 years agoCleanup console merge
Christoph Hellwig [Tue, 27 Aug 2002 17:31:56 +0000 (19:31 +0200)]
Cleanup console merge

Instead of checking for cetain architectures in the Makefile set
CONFIG_HW_CONSOLE in Config.in if we support a hardware console.

22 years agoMerge bk://ppc.bkbits.net/for-linus-ppc
Linus Torvalds [Tue, 27 Aug 2002 05:12:30 +0000 (22:12 -0700)]
Merge bk://ppc.bkbits.net/for-linus-ppc
into home.transmeta.com:/home/torvalds/v2.5/linux

22 years agoPPC32: remove code that sets kd_mksound now that it isn't a pointer.
Paul Mackerras [Wed, 28 Aug 2002 07:55:39 +0000 (17:55 +1000)]
PPC32: remove code that sets kd_mksound now that it isn't a pointer.

This gets it to compile but leaves us without a keyboard beep on
powermac and APUS for now.

22 years agoPPC32: define bits that are needed for the IDE subsystem now.
Paul Mackerras [Wed, 28 Aug 2002 07:51:13 +0000 (17:51 +1000)]
PPC32: define bits that are needed for the IDE subsystem now.

This puts back the definitions of ide_request/free_irq,
ide_check/request/release_region, ide_fix_driveid etc. that were
removed while Martin Dalecki was IDE maintainer.

22 years agoPPC32: include sched.h before elfcore.h in ppc_ksyms.c
Paul Mackerras [Wed, 28 Aug 2002 07:49:03 +0000 (17:49 +1000)]
PPC32: include sched.h before elfcore.h in ppc_ksyms.c

This fixes a compile error.

22 years agoPPC32: Fix the type of set_rtc_time
Paul Mackerras [Wed, 28 Aug 2002 07:47:53 +0000 (17:47 +1000)]
PPC32: Fix the type of set_rtc_time

22 years agoPPC32: define L1_CACHE_SHIFT
Paul Mackerras [Wed, 28 Aug 2002 07:46:53 +0000 (17:46 +1000)]
PPC32: define L1_CACHE_SHIFT

22 years agoPPC32: add the bits needed for AIO and sendfile64 support.
Paul Mackerras [Wed, 28 Aug 2002 06:21:09 +0000 (16:21 +1000)]
PPC32: add the bits needed for AIO and sendfile64 support.

This is extra syscall entries + KM_IRQ0/1.

22 years ago[PATCH] LRU race semi-fix
Andrew Morton [Tue, 27 Aug 2002 05:11:32 +0000 (22:11 -0700)]
[PATCH] LRU race semi-fix

Couple of last-minute fixes please:

- Partial fix for the LRU race which Christian Ehrhardt identified.

- Delete a bogus BUG() in __page_cache_release

22 years agoKeyboard reset NAK does not imply that the keyboard
Linus Torvalds [Tue, 27 Aug 2002 04:46:34 +0000 (21:46 -0700)]
Keyboard reset NAK does not imply that the keyboard
isn't there.

22 years agoMerge bk://linux-input.bkbits.net/linux-input
Linus Torvalds [Tue, 27 Aug 2002 03:10:01 +0000 (20:10 -0700)]
Merge bk://linux-input.bkbits.net/linux-input
into home.transmeta.com:/home/torvalds/v2.5/linux

22 years agoMinor endianness and debugging fixes. Most thanks to Dave Miller.
Vojtech Pavlik [Tue, 27 Aug 2002 11:59:42 +0000 (13:59 +0200)]
Minor endianness and debugging fixes. Most thanks to Dave Miller.

22 years agoWorkaround to make iforce-usb.c compile with Pat Mochel's input to
Vojtech Pavlik [Tue, 27 Aug 2002 11:58:50 +0000 (13:58 +0200)]
Workaround to make iforce-usb.c compile with Pat Mochel's input to
standard lists conversion.

22 years agoMerge suse.cz:/home/vojtech/bk/pat into suse.cz:/home/vojtech/bk/input
Vojtech Pavlik [Tue, 27 Aug 2002 10:55:17 +0000 (12:55 +0200)]
Merge suse.cz:/home/vojtech/bk/pat into suse.cz:/home/vojtech/bk/input

22 years agoMerge bk://ldm.bkbits.net/linux-2.5-input
Vojtech Pavlik [Tue, 27 Aug 2002 10:49:37 +0000 (12:49 +0200)]
Merge bk://ldm.bkbits.net/linux-2.5-input
into suse.cz:/home/vojtech/bk/pat

22 years agoI did find one bug, hid_submit_ctrl() does not cpu_to_le16()
David S. Miller [Tue, 27 Aug 2002 10:43:59 +0000 (12:43 +0200)]
I did find one bug, hid_submit_ctrl() does not cpu_to_le16()
all the control request fields properly.

22 years agoMerge suse.cz:/home/vojtech/bk/linus into suse.cz:/home/vojtech/bk/pat
Vojtech Pavlik [Tue, 27 Aug 2002 10:36:23 +0000 (12:36 +0200)]
Merge suse.cz:/home/vojtech/bk/linus into suse.cz:/home/vojtech/bk/pat

22 years agoMerge suse.cz:/home/vojtech/bk/linus into suse.cz:/home/vojtech/bk/input
Vojtech Pavlik [Tue, 27 Aug 2002 05:09:54 +0000 (07:09 +0200)]
Merge suse.cz:/home/vojtech/bk/linus into suse.cz:/home/vojtech/bk/input

22 years agoFix a dangling 'else' after removing ps/2 keyboard support.
Vojtech Pavlik [Tue, 27 Aug 2002 04:57:46 +0000 (06:57 +0200)]
Fix a dangling 'else' after removing ps/2 keyboard support.
Found by Anton Blanchard.

22 years agoAdd mouse model reporting into psmouse.c.
Vojtech Pavlik [Tue, 27 Aug 2002 04:49:57 +0000 (06:49 +0200)]
Add mouse model reporting into psmouse.c.

22 years agoAlways build input.o in - avoid build problems with keyboard.c.
Vojtech Pavlik [Tue, 27 Aug 2002 04:38:07 +0000 (06:38 +0200)]
Always build input.o in - avoid build problems with keyboard.c.

22 years agoFix bits that have fallen out when merging input-based keyboard.c
Vojtech Pavlik [Tue, 27 Aug 2002 04:28:38 +0000 (06:28 +0200)]
Fix bits that have fallen out when merging input-based keyboard.c
into 2.5 - kbd0 init, sysrq support, show_regs, show_mem, show_state
support, correct handling of shifts across vt switches, console
blanking, console callback. Hope that's all.

22 years agoAutomerge
Linus Torvalds [Tue, 27 Aug 2002 03:05:14 +0000 (20:05 -0700)]
Automerge

22 years agoMerge bk://ldm.bkbits.net/linux-2.5-input
Vojtech Pavlik [Tue, 27 Aug 2002 02:42:33 +0000 (04:42 +0200)]
Merge bk://ldm.bkbits.net/linux-2.5-input
into suse.cz:/home/vojtech/bk/pat

22 years agoFix syntax error in character driver Config.in file introduced
Linus Torvalds [Mon, 26 Aug 2002 10:53:42 +0000 (03:53 -0700)]
Fix syntax error in character driver Config.in file introduced
by input merge

22 years agoMerge osdl.org:/home/mochel/src/kernel/devel/linux-2.5-virgin
Patrick Mochel [Mon, 26 Aug 2002 10:49:41 +0000 (03:49 -0700)]
Merge osdl.org:/home/mochel/src/kernel/devel/linux-2.5-virgin
into osdl.org:/home/mochel/src/kernel/devel/linux-2.5-input

22 years agoUse standard linked lists in input layer
Patrick Mochel [Mon, 26 Aug 2002 10:39:29 +0000 (03:39 -0700)]
Use standard linked lists in input layer
- Replace struct input_dev::handle with a standard linked list
- Replace struct input_handler::handle with a standard linked list
- Replace struct input_handle's next pointers with struct list_heads
- Update users of the lists
- Add macros for converting from the struct list_head to various types

22 years ago- Remove input_handler list; replace with LIST_HEAD(input_handler_list).
Patrick Mochel [Mon, 26 Aug 2002 10:07:55 +0000 (03:07 -0700)]
- Remove input_handler list; replace with LIST_HEAD(input_handler_list).
- Update all accesses to list to use generic list functions.

22 years agoinput layer update:
Patrick Mochel [Mon, 26 Aug 2002 10:00:59 +0000 (03:00 -0700)]
input layer update:
- Remove struct input_dev * input_dev; replace with static LIST_HEAD(input_dev_list).
- Change all list manipulation from manual to using generic list helpers.

22 years agoMerge osdl.org:/home/mochel/src/kernel/devel/linux-2.5-virgin
Patrick Mochel [Mon, 26 Aug 2002 08:55:31 +0000 (01:55 -0700)]
Merge osdl.org:/home/mochel/src/kernel/devel/linux-2.5-virgin
into osdl.org:/home/mochel/src/kernel/devel/linux-2.5-input

22 years agoMerge bk://ldm.bkbits.net/linux-2.5-cls
Linus Torvalds [Mon, 26 Aug 2002 08:38:04 +0000 (01:38 -0700)]
Merge bk://ldm.bkbits.net/linux-2.5-cls
into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux

22 years agoUpdate defconfig to current state (keyboard/input layer in particular)
Linus Torvalds [Mon, 26 Aug 2002 08:30:11 +0000 (01:30 -0700)]
Update defconfig to current state (keyboard/input layer in particular)

Talking to Vojtech about nicer config interfaces

22 years agoFix missing kmap_types.h header (it got included "by mistake" with
Linus Torvalds [Mon, 26 Aug 2002 07:21:11 +0000 (00:21 -0700)]
Fix missing kmap_types.h header (it got included "by mistake" with
highmem enabled, but not otherwise, and was always required).

22 years agoMerge osdl.org:/home/mochel/src/kernel/devel/linux-2.5-cls
Patrick Mochel [Mon, 26 Aug 2002 07:05:29 +0000 (00:05 -0700)]
Merge osdl.org:/home/mochel/src/kernel/devel/linux-2.5-cls
into osdl.org:/home/mochel/src/kernel/devel/linux-2.5-input

22 years agounlock the right lock in enum_device.
Patrick Mochel [Mon, 26 Aug 2002 07:04:34 +0000 (00:04 -0700)]
unlock the right lock in enum_device.

22 years agoDefine a struct device_interface for all the input interfaces and register
Patrick Mochel [Mon, 26 Aug 2002 07:01:01 +0000 (00:01 -0700)]
Define a struct device_interface for all the input interfaces and register
them with the input device class when started up.

22 years agoDefine input device class and register it.
Patrick Mochel [Mon, 26 Aug 2002 07:00:03 +0000 (00:00 -0700)]
Define input device class and register it.

22 years agoMerge master.kernel.org:/home/bcrl/aio-2.5
Linus Torvalds [Mon, 26 Aug 2002 05:30:32 +0000 (22:30 -0700)]
Merge master.kernel.org:/home/bcrl/aio-2.5
into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux

22 years agoMerge http://gkernel.bkbits.net/net-drivers-2.5
Linus Torvalds [Mon, 26 Aug 2002 05:29:36 +0000 (22:29 -0700)]
Merge http://gkernel.bkbits.net/net-drivers-2.5
into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux

22 years agoFix typos in 8139cp net driver RxProto{TCP,UDP} constants
Ian Jackson [Mon, 26 Aug 2002 10:38:52 +0000 (06:38 -0400)]
Fix typos in 8139cp net driver RxProto{TCP,UDP} constants

22 years agoInclude linux/bitops.h in e100 net driver, it uses ffs
Jeff Garzik [Mon, 26 Aug 2002 10:38:12 +0000 (06:38 -0400)]
Include linux/bitops.h in e100 net driver, it uses ffs
   (Noticed by DaveM)

22 years agoFix #undef warning in xirc2ps_cs net driver
Alan Cox [Mon, 26 Aug 2002 10:37:30 +0000 (06:37 -0400)]
Fix #undef warning in xirc2ps_cs net driver

22 years agoProbe port 0x240 too, in eexpress net driver
Pavel Janík [Mon, 26 Aug 2002 10:36:41 +0000 (06:36 -0400)]
Probe port 0x240 too, in eexpress net driver

22 years agoRemove unneeded #includes from 3c359, sbni, and sdla_ft1 net drivers
Brad Hards [Mon, 26 Aug 2002 10:35:52 +0000 (06:35 -0400)]
Remove unneeded #includes from 3c359, sbni, and sdla_ft1 net drivers

22 years agoFix spelling in natsemi net driver
Bryan B. Whitehead [Mon, 26 Aug 2002 10:34:43 +0000 (06:34 -0400)]
Fix spelling in natsemi net driver

22 years agoRemove unused var and unused func from ali-ircc IrDA driver
Eric Sandeen [Mon, 26 Aug 2002 10:33:55 +0000 (06:33 -0400)]
Remove unused var and unused func from ali-ircc IrDA driver

22 years agoMerge mandrakesoft.com:/home/jgarzik/vanilla/linus-2.5
Jeff Garzik [Mon, 26 Aug 2002 10:31:28 +0000 (06:31 -0400)]
Merge mandrakesoft.com:/home/jgarzik/vanilla/linus-2.5
into mandrakesoft.com:/home/jgarzik/repo/net-drivers-2.5

22 years agoRemove dead prototype, fix printk format string in rcpci45 net driver
Jeff Garzik [Mon, 26 Aug 2002 10:30:00 +0000 (06:30 -0400)]
Remove dead prototype, fix printk format string in rcpci45 net driver

22 years agoMerge bk://ldm.bkbits.net/linux-2.5-cls
Linus Torvalds [Mon, 26 Aug 2002 05:27:25 +0000 (22:27 -0700)]
Merge bk://ldm.bkbits.net/linux-2.5-cls
into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux

22 years ago[PATCH] convert quota.h to bsd 3 clause
Benjamin LaHaise [Mon, 26 Aug 2002 04:02:07 +0000 (21:02 -0700)]
[PATCH] convert quota.h to bsd 3 clause

For some reason, quota.h was derrived from BSD 4 clause code.  Thankfully,
UCB gave permission to remove the advert clause a couple of years ago, so
it's now okay for us to actually distribute this code.  The following patch
updates the header in quota.h.

22 years ago[PATCH] eliminate hangs during RPC client shutdown
Chuck Lever [Mon, 26 Aug 2002 04:01:55 +0000 (21:01 -0700)]
[PATCH] eliminate hangs during RPC client shutdown

this eliminates an infinite loop in rpciod if an RPC client's reference
counter accidentally goes negative.  i've been running this under load
since 2.5.30 with no ill effects.

22 years ago[PATCH] SCSI tape direct transfers for 2.5.31
Kai Mäkisara [Mon, 26 Aug 2002 04:01:44 +0000 (21:01 -0700)]
[PATCH] SCSI tape direct transfers for 2.5.31

This adds direct write and read from/to the user space to/from the SCSI
adapter.  If something (e.g., too high address) prevents direct
transfer, the existing driver buffer code is used.  The patch contains
functions to map and pin the user buffer pages so that this patch is not
dependent on kiobufs.  Similar functions are already used in sg.c.

22 years agoAutomerge
Linus Torvalds [Mon, 26 Aug 2002 03:54:55 +0000 (20:54 -0700)]
Automerge

22 years agoMerge bk://jfs.bkbits.net/linux-2.5
Linus Torvalds [Mon, 26 Aug 2002 03:51:22 +0000 (20:51 -0700)]
Merge bk://jfs.bkbits.net/linux-2.5
into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux

22 years ago[PATCH] CodingStyle and docu update to srm_env
Jan-Benedict Glaw [Mon, 26 Aug 2002 03:46:56 +0000 (20:46 -0700)]
[PATCH] CodingStyle and docu update to srm_env

Please import this patch. It updates the Config.help entry (which some
people requested) and cleans up coding a bit. No functional changes.

22 years ago[PATCH] Make rmap.c alloc/free actually inline
Luca Barbieri [Mon, 26 Aug 2002 03:45:20 +0000 (20:45 -0700)]
[PATCH] Make rmap.c alloc/free actually inline

GCC can only inline functions when the function definition comes before
its use.

22 years agoMerge - uinput moved into misc/
Vojtech Pavlik [Mon, 26 Aug 2002 13:28:03 +0000 (15:28 +0200)]
Merge - uinput moved into misc/

22 years agoShorten the keycode handling code in keyboard.c and evdev.c.
Vojtech Pavlik [Mon, 26 Aug 2002 13:13:55 +0000 (15:13 +0200)]
Shorten the keycode handling code in keyboard.c and evdev.c.
Recompute keybit when keycode table changes.
Stricter checks on input keycode/scancode values.

22 years agoIntroduce struct device_interface.
Patrick Mochel [Mon, 26 Aug 2002 02:24:19 +0000 (19:24 -0700)]
Introduce struct device_interface.

Device interfaces are the logical interfaces of device classes that correlate
directly to userspace interfaces, like device nodes.

Device interfaces are registered with the class they belong to. As devices
are added to the class, they are added to each interface registered with
the class. The interface is responsible for determining whether the device
supports the interface or not.

The interface is responsible for allocating and initializing a struct
intf_data and calling interface_add_data() to add it to the device's list
of interfaces it belongs to. This list will be iterated over when the device
is removed from the class (instead of all possible interfaces for a class).
This structure should probably be embedded in whatever per-device data
structure the interface is allocating anyway.

Devices are enumerated within the interface. This happens in interface_add_data()
and the enumerated value is stored in the struct intf_data for that device.

Interfaces get a directory in driverfs under their class's directory. Each
time a device is added to the interface, a symlink is created in that
directory that points to the device's directory in the physical hierarchy.
The name of this symlink is the interface-enumerated value of the device.

22 years agoIntroduce struct device_class
Patrick Mochel [Mon, 26 Aug 2002 01:39:32 +0000 (18:39 -0700)]
Introduce struct device_class

Device classes describe a type (or class) of device, like an input device
or network device, etc. This changeset defines a struct device_class that
each subsystem is expected to implement and register with the core.

struct device_driver gains a devclass pointer which points to the class it
belongs to. When the driver is registered, it is added to the class's list
of drivers. Whenever a device is bound to that driver, it is added to the
class by calling the class's add_device callback.

struct device gains a class_num field which is the per-class enumerated value
of the device. It is incremented each time a device is registered with the
class.

Each device class gets a driverfs directory in class/<class name> and two
subdirectories: 'devices' and 'drivers'. For each device added to the class,
a symlink is created in the devices/ directory that points to the device's
directory in the physical hierarchy. The name of the symlink is the enumerated
number the device got when it was registered with the class.

For each driver that's added to the class, a symlink is created in the class's
drivers/ directory that points to the driver's directory. The name of this
symlink is a concatenation of <bus name>:<driver name> (to prevent namespace
conflicts of drivers with the same name on different buses).

22 years agoMerge suse.cz:/home/vojtech/bk/linus into suse.cz:/home/vojtech/bk/input
Vojtech Pavlik [Sun, 25 Aug 2002 17:27:27 +0000 (19:27 +0200)]
Merge suse.cz:/home/vojtech/bk/linus into suse.cz:/home/vojtech/bk/input

22 years agoThis (re)implements getkeycode/setkeycode, kbd_rate and kd_mksound
Vojtech Pavlik [Sun, 25 Aug 2002 17:21:22 +0000 (19:21 +0200)]
This (re)implements getkeycode/setkeycode, kbd_rate and kd_mksound
as functions interfacing to the input core. PC-Speaker handling is
moved to a separate file. Uinput is moved to a input/misc directory.

22 years agoMerge http://linuxusb.bkbits.net/linus-2.5
Linus Torvalds [Sun, 25 Aug 2002 14:07:35 +0000 (07:07 -0700)]
Merge http://linuxusb.bkbits.net/linus-2.5
into home.transmeta.com:/home/torvalds/v2.5/linux

22 years agoMerge master.kernel.org:/home/davem/BK/net-2.5
Linus Torvalds [Sun, 25 Aug 2002 14:06:39 +0000 (07:06 -0700)]
Merge master.kernel.org:/home/davem/BK/net-2.5
into home.transmeta.com:/home/torvalds/v2.5/linux

22 years agoMerge master.kernel.org:/home/davem/BK/sparc-2.5
Linus Torvalds [Sun, 25 Aug 2002 14:05:35 +0000 (07:05 -0700)]
Merge master.kernel.org:/home/davem/BK/sparc-2.5
into home.transmeta.com:/home/torvalds/v2.5/linux

22 years agoMerge zephyr.physics.uiowa.edu:/home/kai/src/kernel/v2.5/linux-2.5.make-config
Kai Germaschewski [Sun, 25 Aug 2002 12:48:41 +0000 (07:48 -0500)]
Merge zephyr.physics.uiowa.edu:/home/kai/src/kernel/v2.5/linux-2.5.make-config
into zephyr.physics.uiowa.edu:/home/kai/src/kernel/v2.5/linux-2.5.make

22 years agokbuild: fix Config.in if statement syntax error
Kai Germaschewski [Sun, 25 Aug 2002 12:47:28 +0000 (07:47 -0500)]
kbuild: fix Config.in if statement syntax error

Greg Banks:

A very significant space is missing from an "if" expression
in drivers/video/Config.in.

22 years agokbuild: fix missing/spurious EXPERIMENTAL
Kai Germaschewski [Sun, 25 Aug 2002 12:46:11 +0000 (07:46 -0500)]
kbuild: fix missing/spurious EXPERIMENTAL

Greg Banks:

Symbols CONFIG_BLK_DEV_NS87415, CONFIG_BLK_DEV_TRM290, CONFIG_DSCC4, and
CONFIG_USB_SERIAL_SAFE_PADDED had spurious (EXPERIMENTAL) tags in their
banners.
Symbol CONFIG_INPUT_UINPUT was missing an (EXPERIMENTAL) tag in it banner.

22 years agokbuild: remove duplicate modules menu
Kai Germaschewski [Sun, 25 Aug 2002 12:44:59 +0000 (07:44 -0500)]
kbuild: remove duplicate modules menu

The mips and parisc ports both defined 'Loadable module support' menus,
despite including an identical menu from init/Config.in.

22 years agokbuild: remove OSS pointless hex default
Kai Germaschewski [Sun, 25 Aug 2002 12:44:09 +0000 (07:44 -0500)]
kbuild: remove OSS pointless hex default

Greg Banks:

The symbol CONFIG_SOUND_CMPCI_FMIO is declared with a "hex" statement,
immediately preceded by a "define_hex" with the same value as the
default value from the "hex".  In config and xconfig, this has no effect;
in menuconfig it prevents the user selecting any value other than the
default.

22 years agokbuild: remove duplicate CONFIG_DEBUG_SPINLOCK
Kai Germaschewski [Sun, 25 Aug 2002 12:43:00 +0000 (07:43 -0500)]
kbuild: remove duplicate CONFIG_DEBUG_SPINLOCK

Greg Banks:

The symbol CONFIG_DEBUG_SPINLOCK was defined twice identically
in the same file...three lines apart.

22 years agokbuild: remove duplicated dependencies
Kai Germaschewski [Sun, 25 Aug 2002 12:42:00 +0000 (07:42 -0500)]
kbuild: remove duplicated dependencies

Greg Banks:

A number of dep_bools and dep_tristates have architecture constants
(e.g. CONFIG_X86) as dependencies.  Such symbols have the property
that their value is constant for any particular arch tree, and is
either "y" or "", neither of which have any effect as dependencies,
so the dependencies have no effect.  This patch removes some of them.

22 years agokbuild: remove spurious comment
Kai Germaschewski [Sun, 25 Aug 2002 12:40:46 +0000 (07:40 -0500)]
kbuild: remove spurious comment

Greg Banks:

The menu 'AX.25 network device drivers' contained as its first
item a comment with identical banner.  This is pointless duplication,
but more to the point it confused gcml2 unnecessarily.

22 years agoHand merged.
Kai Germaschewski [Sun, 25 Aug 2002 12:28:48 +0000 (07:28 -0500)]
Hand merged.

22 years agoHandle page fault atomicity correctly when preempt is enabled.
Linus Torvalds [Sun, 25 Aug 2002 04:30:46 +0000 (21:30 -0700)]
Handle page fault atomicity correctly when preempt is enabled.

22 years agore-do spinlock cleanup, it was innocent
Linus Torvalds [Sun, 25 Aug 2002 03:25:47 +0000 (20:25 -0700)]
re-do spinlock cleanup, it was innocent
Cset exclude: torvalds@home.transmeta.com|ChangeSet|20020821235957|57282

22 years ago[PATCH] HT & MTRRs, 2.5.31-BK-curr
Ingo Molnar [Sun, 25 Aug 2002 03:24:47 +0000 (20:24 -0700)]
[PATCH] HT & MTRRs, 2.5.31-BK-curr

This patch simply ensures that 'setting the MTRR' is atomic.  This is
important since HT CPU's may share some MTRR state.

22 years agoSPARC64: Ultra-III+ bug fix and better bad trap logging.
David S. Miller [Fri, 23 Aug 2002 23:07:52 +0000 (16:07 -0700)]
SPARC64: Ultra-III+ bug fix and better bad trap logging.
- Do not use PC-relative branch/call in Ultra-III+ parity error
trap vectors, we patch this into the trap table and then the PC-relative
values are wrong.
- When we take an irrecoverable trap at tl > 0, save away the full
trap stack to the kernel stack, then log it from the C code handler.

22 years agonet/unix/af_unix.c: protinfo is dead, use unix_sk().
David S. Miller [Fri, 23 Aug 2002 21:28:15 +0000 (14:28 -0700)]
net/unix/af_unix.c: protinfo is dead, use unix_sk().

22 years ago[SPARC32]: Synchronize with 2.5.x changes
David S. Miller [Fri, 23 Aug 2002 21:09:31 +0000 (14:09 -0700)]
[SPARC32]: Synchronize with 2.5.x changes
- Some places need to include sched.h because the already include ptrace.h
- CLONE_{SET,CLEAR}TID support
- Clear PT_DTRACE when execve succeeds.
- Add security bits to ptrace
- Add sys_security to syscall tables.

22 years ago[SPARC64]: Synchronize with 2.5.x changes
David S. Miller [Fri, 23 Aug 2002 21:00:43 +0000 (14:00 -0700)]
[SPARC64]: Synchronize with 2.5.x changes
- Some places need to include sched.h because the already include ptrace.h
- CLONE_{SET,CLEAR}TID support
- Clear PT_DTRACE when execve succeeds.
- Add security bits to ptrace and sys32_execve
- Add sys_security to syscall tables.

22 years ago[CLONE_*TID]: Make tsk->user_tid and int so that 64-bit arches work.
David S. Miller [Fri, 23 Aug 2002 20:58:36 +0000 (13:58 -0700)]
[CLONE_*TID]: Make tsk->user_tid and int so that 64-bit arches work.
- futex uses int as its atomic word type, we pass in user_tid
to the futex routines, so the types must match

22 years agoSPARC64: Bug fixes in arch/sparc64/mm/ultra.S
David S. Miller [Fri, 23 Aug 2002 20:55:19 +0000 (13:55 -0700)]
SPARC64: Bug fixes in arch/sparc64/mm/ultra.S
- flush_dcpage_cheetah sized wrongly, it is 11 not 9 insns now
- xcall_report_regs and xcall_promstop should use etrap_irq not etrap

22 years agoCleanup BKL handling and move kernel_flag definition to common code
Christoph Hellwig [Fri, 23 Aug 2002 15:56:54 +0000 (17:56 +0200)]
Cleanup BKL handling and move kernel_flag definition to common code

22 years agoMerge nuts.ninka.net:/home/davem/src/BK/BAK-net-2.5
David S. Miller [Fri, 23 Aug 2002 15:20:26 +0000 (08:20 -0700)]
Merge nuts.ninka.net:/home/davem/src/BK/BAK-net-2.5
into nuts.ninka.net:/home/davem/src/BK/net-2.5

22 years agoMerge nuts.ninka.net:/home/davem/src/BK/BAK-sparc-2.5
David S. Miller [Fri, 23 Aug 2002 15:17:29 +0000 (08:17 -0700)]
Merge nuts.ninka.net:/home/davem/src/BK/BAK-sparc-2.5
into nuts.ninka.net:/home/davem/src/BK/sparc-2.5

22 years agoSPARC64:setup_arch Flush correct I-cache line when patching irqsz_patchme.
David S. Miller [Fri, 23 Aug 2002 14:53:11 +0000 (07:53 -0700)]
SPARC64:setup_arch Flush correct I-cache line when patching irqsz_patchme.

22 years agonet/ipv4/tcp_diag.c: Avoid unaligned accesses to tcpdiag_cookie.
David S. Miller [Fri, 23 Aug 2002 12:18:11 +0000 (05:18 -0700)]
net/ipv4/tcp_diag.c: Avoid unaligned accesses to tcpdiag_cookie.

22 years agonet/unix/af_unix.c: Set msg_namelen in unix_copy_addr properly, define MODULE_LICENSE.
David S. Miller [Fri, 23 Aug 2002 12:03:09 +0000 (05:03 -0700)]
net/unix/af_unix.c: Set msg_namelen in unix_copy_addr properly, define MODULE_LICENSE.

22 years agonet/ipv6/netfilter/ip6_tables.c: Fix extension header parsing bugs.
Andras Kis-Szabo [Fri, 23 Aug 2002 11:58:01 +0000 (04:58 -0700)]
net/ipv6/netfilter/ip6_tables.c: Fix extension header parsing bugs.

22 years agonet/ipv4/ipconfig.c: Add support for multiple nameservers.
Josef Siemes [Fri, 23 Aug 2002 11:47:13 +0000 (04:47 -0700)]
net/ipv4/ipconfig.c: Add support for multiple nameservers.

22 years agonet/ipv4/netfilter/ip_conntrack_core.c: Fix comment typo.
James Mayer [Fri, 23 Aug 2002 11:34:44 +0000 (04:34 -0700)]
net/ipv4/netfilter/ip_conntrack_core.c: Fix comment typo.

22 years agonet/unix/af_unix.c: Set ATIME on socket inode.
Solar Designer [Fri, 23 Aug 2002 11:31:54 +0000 (04:31 -0700)]
net/unix/af_unix.c: Set ATIME on socket inode.

22 years agoarch/i386/lib/checksum.S: Handle zero length.
Alexey Kuznetsov [Fri, 23 Aug 2002 11:26:26 +0000 (04:26 -0700)]
arch/i386/lib/checksum.S: Handle zero length.

22 years agoMerge tp1.ruhr-uni-bochum.de:/scratch/kai/kernel/v2.5/linux-2.5.make
Kai Germaschewski [Fri, 23 Aug 2002 09:42:26 +0000 (04:42 -0500)]
Merge tp1.ruhr-uni-bochum.de:/scratch/kai/kernel/v2.5/linux-2.5.make
into tp1.ruhr-uni-bochum.de:/home/kai/linux-2.5.make

22 years ago[PATCH] kNFSd: NFSv4: tweak nfsd_readdir() for NFSv4
Kendrick M. Smith [Fri, 23 Aug 2002 04:38:37 +0000 (21:38 -0700)]
[PATCH] kNFSd: NFSv4: tweak nfsd_readdir() for NFSv4

This patch makes three small changes to nfsd_readdir().

First, the 'filldir' routine for NFSv4 may return an arbitrary error,
which should become the return value for nfsd_readdir().  I implemented
this by adding an 'nfserr' field to the 'struct readdir_cd'.

Second, in NFSv4 the caller of nfsd_readdir() will specify an attribute
bitmap, which must be communicated to the 'filldir' routine.  I implemented
this by adding a @bitmap parameter to nfsd_readdir() and a corresponding
field in the 'struct readdir_cd'.  (The bitmap is not interpreted in any
way by nfsd_readdir().)

Finally, NFSv4 defines a new error nfserr_readdir_nospc, which indicates
that there was not enough buffer space to encode a single entry.

22 years ago[PATCH] kNFSd: NFSv4: new argument to nfsd_access()
Kendrick M. Smith [Fri, 23 Aug 2002 04:38:25 +0000 (21:38 -0700)]
[PATCH] kNFSd: NFSv4: new argument to nfsd_access()

NFSv4 defines a new field in the ACCESS response: a bitmap to indicate
which access bits requested by the client are "supported", i.e. meaningful
for the object in question.

This patch adds a new parameter @supported to nfsd_access(), so that
nfsd_access() can set the value of this bitmap.

22 years ago[PATCH] kNFSd: NFSv4: tweak nfsd_create_v3() for NFSv4
Kendrick M. Smith [Fri, 23 Aug 2002 04:38:13 +0000 (21:38 -0700)]
[PATCH] kNFSd: NFSv4: tweak nfsd_create_v3() for NFSv4

File creation in NFSv4 is almost the same as in NFSv3, with one minor
difference.  If an UNCHECKED create is done, and the file exists, we
don't set any attributes.  Exception: If size==0 is specified as part
of the attributes, then we do truncate the file, but only after processing
the rest of the OPEN.  (File creation is always part of an OPEN request.)

This patch defines a new argument *truncp to nfsd_create_v3(), which
will be NULL for v3 requests.  For v4 requests, it will point to a
variable which should be set to 1 if file truncation is still needed.

The logic in nfsd_create_v3() is changed as follows: If
  - *truncp is not NULL
  - the create is UNCHECKED
  - the file exists
then nfsd_create_v3() returns immediately.  If size==0 is specified,
then *truncp is set to 1.

This is kind of a hack, but the only alternative I could see was creating
a new routine nfsd_create_v4(), which would be identical to nfsd_create_v3()
except for this point.