]> git.hungrycats.org Git - linux/log
linux
21 years agoMerge bk://bk.arm.linux.org.uk/linux-2.6-serial
Linus Torvalds [Tue, 19 Oct 2004 10:01:45 +0000 (03:01 -0700)]
Merge bk://bk.arm.linux.org.uk/linux-2.6-serial
into ppc970.osdl.org:/home/torvalds/v2.6/linux

21 years ago[SERIAL] serial_reg.h update.
Russell King [Wed, 20 Oct 2004 00:41:47 +0000 (01:41 +0100)]
[SERIAL] serial_reg.h update.

This includes a fuller definition of the 8250 and compatible bits,
and adding notes where the definition varies between different
chips.

This also fixes the following build error:

drivers/serial/8250.c:185: error: `UART_FCR_R_TRIG_10'

21 years ago[SERIAL] Keep trying to register our console device.
Russell King [Tue, 19 Oct 2004 17:11:22 +0000 (18:11 +0100)]
[SERIAL] Keep trying to register our console device.

Some serial drivers receive their serial port device information via
the device model.  This unfortunately means that the selected port
may not be available when the console subsystem initialises, so we
must keep trying to register the console after each port is added.

21 years ago[SERIAL] Convert 8250_pci to use new serial8250_register_port()
Russell King [Tue, 19 Oct 2004 17:02:10 +0000 (18:02 +0100)]
[SERIAL] Convert 8250_pci to use new serial8250_register_port()

This allows 8250 PCI ports to register with their correct device
structures.

21 years ago[SERIAL] Add new port registration/unregistration functions.
Russell King [Tue, 19 Oct 2004 16:50:24 +0000 (17:50 +0100)]
[SERIAL] Add new port registration/unregistration functions.

serial8250_register_port()/serial8250_unregister_port() has the
capability of registering ports with their struct device nodes,
which allows sysfs to indicate which tty devices belong to which
hardware devices.

We also add a serial8250 platform device driver in an initial
attempt at PM for ISA ports.  However, I'm leaving out the
platform device for the time being since adding that would cause
potential oops issues.

21 years ago[SERIAL] Make port autoprobing set up->capabilities.
Russell King [Tue, 19 Oct 2004 16:22:21 +0000 (17:22 +0100)]
[SERIAL] Make port autoprobing set up->capabilities.

Convert port autoprobing to set up->capabilities as it discovers
various capabilities of the port.  Warn when the detected
capabilities do not match those in the uart_config table.

21 years ago[SERIAL] Add explaination why we don't use RTS flow control.
Russell King [Tue, 19 Oct 2004 16:10:06 +0000 (17:10 +0100)]
[SERIAL] Add explaination why we don't use RTS flow control.

21 years ago[SERIAL] Clean up handling of LSR in receive function.
Russell King [Tue, 19 Oct 2004 16:00:01 +0000 (17:00 +0100)]
[SERIAL] Clean up handling of LSR in receive function.

It's pointless accessing the LSR value via a pointer all the time -
it prevents the compiler optimising it.  Also, ensure that we
recognise a break sent during a kernel printk correctly.

21 years ago[SERIAL] Add comment about frobbing the 950's ACR on TX disable.
Russell King [Tue, 19 Oct 2004 15:47:01 +0000 (16:47 +0100)]
[SERIAL] Add comment about frobbing the 950's ACR on TX disable.

Add a bit of explaination why we only turn off the transmitter if
we are called from uart_stop().

21 years ago[SERIAL] Convert TI16C750 flow control into a port capability.
Russell King [Tue, 19 Oct 2004 15:37:05 +0000 (16:37 +0100)]
[SERIAL] Convert TI16C750 flow control into a port capability.

Add UART_CAP_AFE, and use this to enable TI16C750 flow control,
but only if we have 32 bytes or more of FIFO.

21 years ago[SERIAL] Add FCR setting to serial8250_config structure.
Russell King [Tue, 19 Oct 2004 15:28:29 +0000 (16:28 +0100)]
[SERIAL] Add FCR setting to serial8250_config structure.

This allows us to adapt the FCR for each port type in a much more
flexible way, and allows us to set the transmit trigger levels.

21 years agoMerge PCI updates
Linus Torvalds [Tue, 19 Oct 2004 09:59:19 +0000 (02:59 -0700)]
Merge PCI updates

21 years agoMerge bk://bart.bkbits.net/ide-2.6
Linus Torvalds [Tue, 19 Oct 2004 08:06:19 +0000 (01:06 -0700)]
Merge bk://bart.bkbits.net/ide-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

21 years ago[ide] convert ide_hwif_t->ide_dma_begin() to ->dma_start()
Bartlomiej Zolnierkiewicz [Wed, 20 Oct 2004 00:06:01 +0000 (02:06 +0200)]
[ide] convert ide_hwif_t->ide_dma_begin() to ->dma_start()

Make ->ide_dma_begin() functions void and rename them to ->dma_start().

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
21 years ago[ide] add ide_hwif_t->dma_exec_cmd()
Bartlomiej Zolnierkiewicz [Wed, 20 Oct 2004 00:00:15 +0000 (02:00 +0200)]
[ide] add ide_hwif_t->dma_exec_cmd()

* split off ->dma_exec_cmd() from ->ide_dma_[read,write] functions
* choose command to execute by ->dma_exec_cmd() in higher layers
  and remove ->ide_dma_[read,write]
* in Etrax ide.c driver REQ_DRIVE_TASKFILE requests weren't
  handled properly for drive->addressing == 0
* in trm290.c read and write commands were interchanged
* in sgiioc4.c commands weren't sent to disk devices

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
21 years ago[ide] add ide_hwif_t->dma_setup()
Bartlomiej Zolnierkiewicz [Tue, 19 Oct 2004 23:49:30 +0000 (01:49 +0200)]
[ide] add ide_hwif_t->dma_setup()

* tag REQ_DRIVE_TASKFILE write requests with REQ_RW
* split off ->dma_setup() from ->ide_dma_[read,write] functions
* use ->dma_setup() directly in ATAPI drivers and remove media
  checks from ->ide_dma_[read,write]
* ->ide_dma_[read,write,begin] cannot fail now
* in Etrax ide.c setup DMA for ATAPI devices before sending
  command to drive (so setup order is the same as for disks)

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
21 years ago[ide] add sg_init_one() helper and teach ide about it
Bartlomiej Zolnierkiewicz [Tue, 19 Oct 2004 21:46:59 +0000 (23:46 +0200)]
[ide] add sg_init_one() helper and teach ide about it

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
21 years agoPCI: fix up pci_save/restore_state in via-agp due to api change.
Greg Kroah-Hartman [Tue, 19 Oct 2004 07:48:04 +0000 (00:48 -0700)]
PCI: fix up pci_save/restore_state in via-agp due to api change.

Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
21 years agoMerge bk://linux-dj.bkbits.net/cpufreq
Linus Torvalds [Tue, 19 Oct 2004 05:25:16 +0000 (22:25 -0700)]
Merge bk://linux-dj.bkbits.net/cpufreq
into ppc970.osdl.org:/home/torvalds/v2.6/linux

21 years agoMerge arm integrator time.h removal
Linus Torvalds [Tue, 19 Oct 2004 05:21:19 +0000 (22:21 -0700)]
Merge arm integrator time.h removal

21 years ago[ARM] Add documentation for ARM kernel timer infrastructure.
Russell King [Tue, 19 Oct 2004 20:52:44 +0000 (21:52 +0100)]
[ARM] Add documentation for ARM kernel timer infrastructure.

21 years ago[ARM] Add generic RTC implementation.
Russell King [Tue, 19 Oct 2004 20:36:16 +0000 (21:36 +0100)]
[ARM] Add generic RTC implementation.

This provides a number of helper functions and data structures
for RTC implementations to make use of, including a standard
implemention for /proc/driver/rtc and the rtc miscdevice.  It
supports runtime registration of RTC timekeeping sources.

21 years ago[ARM] Sanitise Footbridge machine class.
Russell King [Tue, 19 Oct 2004 19:02:21 +0000 (20:02 +0100)]
[ARM] Sanitise Footbridge machine class.

Footbridge was suffering from a little lack of care and attention;
it still had the nasty arch.c file with all the associated #ifdef
gross-ness that entailed.

Re-jig footbridge support so that each machine type contains all
the necessary support code, with a separate common implementation
which they all share.

21 years ago[ARM PATCH] 2132/1: Fix timer NULL pointer de-reference on suspend
Ben Dooks [Tue, 19 Oct 2004 18:49:21 +0000 (19:49 +0100)]
[ARM PATCH] 2132/1: Fix timer NULL pointer de-reference on suspend

Patch from Ben Dooks

Timer suspend code fails to check for NULL before
calling the timer implementor's suspend or resume hooks.

Signed-off-by: Ben Dooks
21 years agoMerge flint.arm.linux.org.uk:/usr/src/bk/linux-2.6-timer
Russell King [Tue, 19 Oct 2004 18:36:06 +0000 (19:36 +0100)]
Merge flint.arm.linux.org.uk:/usr/src/bk/linux-2.6-timer
into flint.arm.linux.org.uk:/usr/src/bk/linux-2.6-rmk

21 years ago[ARM] Fix missed udelay usage - assembly needs to call __udelay now.
Russell King [Tue, 19 Oct 2004 18:22:26 +0000 (19:22 +0100)]
[ARM] Fix missed udelay usage - assembly needs to call __udelay now.

21 years ago[ARM] Move machine specific boot variables to separate makefile.
Russell King [Tue, 19 Oct 2004 18:15:34 +0000 (19:15 +0100)]
[ARM] Move machine specific boot variables to separate makefile.

Move machine specific boot variables out of arch/arm/boot/Makefile
into arch/arm/mach-*/Makefile.boot.

21 years ago[ARM] Clean up footbridge configuration.
Russell King [Tue, 19 Oct 2004 18:02:04 +0000 (19:02 +0100)]
[ARM] Clean up footbridge configuration.

21 years ago[ARM] Rehash iwmmxt signal handling.
Russell King [Tue, 19 Oct 2004 17:53:05 +0000 (18:53 +0100)]
[ARM] Rehash iwmmxt signal handling.

In the near future, VFP will want to save state onto the user stack.
Therefore, separate out the iwmmxt specific parts, and implement
a generic "safe copy to user space using random CPU instructions".
This is necessary because iwmmxt and VFP both use special CPU
instructions to load and/or save their state.

21 years ago[ARM] Convert to constant-optimising udelay() implementation.
Russell King [Tue, 19 Oct 2004 17:44:21 +0000 (18:44 +0100)]
[ARM] Convert to constant-optimising udelay() implementation.

This allows us to eliminate a multiplication when we have a constant
delay value, as per x86.

21 years ago[ARM] Add netconsole support to ARM AM79C961A driver.
Russell King [Tue, 19 Oct 2004 17:33:08 +0000 (18:33 +0100)]
[ARM] Add netconsole support to ARM AM79C961A driver.

21 years agoMerge bk://bk.arm.linux.org.uk/linux-2.6-serial
Linus Torvalds [Tue, 19 Oct 2004 05:11:44 +0000 (22:11 -0700)]
Merge bk://bk.arm.linux.org.uk/linux-2.6-serial
into ppc970.osdl.org:/home/torvalds/v2.6/linux

21 years agoMerge
Linus Torvalds [Tue, 19 Oct 2004 05:08:58 +0000 (22:08 -0700)]
Merge

21 years agoMerge bk://linux-dj.bkbits.net/agpgart
Linus Torvalds [Tue, 19 Oct 2004 05:05:46 +0000 (22:05 -0700)]
Merge bk://linux-dj.bkbits.net/agpgart
into ppc970.osdl.org:/home/torvalds/v2.6/linux

21 years ago[AGPGART] Fix incorrect VIA PT880 entry.
Dave Jones [Tue, 19 Oct 2004 10:53:12 +0000 (06:53 -0400)]
[AGPGART] Fix incorrect VIA PT880 entry.
There was a mistake in the list of IDs I got from VIA,
which meant this chipset was incorrectly recognised.

Signed-off-by: Dave Jones <davej@redhat.com>
21 years agoMerge bk://gkernel.bkbits.net/libata-2.6
Linus Torvalds [Tue, 19 Oct 2004 03:53:07 +0000 (20:53 -0700)]
Merge bk://gkernel.bkbits.net/libata-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

21 years agoMerge pobox.com:/spare/repo/libata-dev/atapi
Jeff Garzik [Tue, 19 Oct 2004 08:54:44 +0000 (04:54 -0400)]
Merge pobox.com:/spare/repo/libata-dev/atapi
into pobox.com:/spare/repo/libata-2.6

21 years agoMerge pobox.com:/spare/repo/libata-dev/ahci
Jeff Garzik [Tue, 19 Oct 2004 08:50:14 +0000 (04:50 -0400)]
Merge pobox.com:/spare/repo/libata-dev/ahci
into pobox.com:/spare/repo/libata-2.6

21 years agoMerge pobox.com:/spare/repo/libata-dev/vitesse
Jeff Garzik [Tue, 19 Oct 2004 08:47:00 +0000 (04:47 -0400)]
Merge pobox.com:/spare/repo/libata-dev/vitesse
into pobox.com:/spare/repo/libata-2.6

21 years agoMerge bk://gkernel.bkbits.net/net-drivers-2.6
Linus Torvalds [Tue, 19 Oct 2004 03:51:41 +0000 (20:51 -0700)]
Merge bk://gkernel.bkbits.net/net-drivers-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

21 years agoHand-merge typhoon and wavelan_cs conflicts, when
Jeff Garzik [Tue, 19 Oct 2004 08:20:09 +0000 (04:20 -0400)]
Hand-merge typhoon and wavelan_cs conflicts, when
merging viro's ETH* patches.

21 years agoMerge pobox.com:/spare/repo/netdev-2.6/typhoon
Jeff Garzik [Tue, 19 Oct 2004 07:47:30 +0000 (03:47 -0400)]
Merge pobox.com:/spare/repo/netdev-2.6/typhoon
into pobox.com:/spare/repo/net-drivers-2.6

21 years agoMerge pobox.com:/spare/repo/netdev-2.6/wireless-ext
Jeff Garzik [Tue, 19 Oct 2004 07:45:50 +0000 (03:45 -0400)]
Merge pobox.com:/spare/repo/netdev-2.6/wireless-ext
into pobox.com:/spare/repo/net-drivers-2.6

21 years agoTrivial Makefile merge
Linus Torvalds [Tue, 19 Oct 2004 03:50:22 +0000 (20:50 -0700)]
Trivial Makefile merge

21 years agoMerge kroah.com:/home/greg/linux/BK/bleed-2.6
Greg Kroah-Hartman [Tue, 19 Oct 2004 02:54:42 +0000 (19:54 -0700)]
Merge kroah.com:/home/greg/linux/BK/bleed-2.6
into kroah.com:/home/greg/linux/BK/pci-2.6

21 years ago[PATCH] ieee1394: SBP-2 - rename some constants to fix clash with new SCSI core defines.
Dmitry Torokhov [Tue, 19 Oct 2004 02:36:24 +0000 (19:36 -0700)]
[PATCH] ieee1394: SBP-2 - rename some constants to fix clash with new SCSI core defines.

Acked by Ben Collins.

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years agoMerge bk://kernel.bkbits.net/gregkh/linux/usb-2.6
Linus Torvalds [Tue, 19 Oct 2004 02:10:04 +0000 (19:10 -0700)]
Merge bk://kernel.bkbits.net/gregkh/linux/usb-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

21 years agoMerge bk://linux-ntfs.bkbits.net/ntfs-2.6
Linus Torvalds [Tue, 19 Oct 2004 02:04:42 +0000 (19:04 -0700)]
Merge bk://linux-ntfs.bkbits.net/ntfs-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

21 years agoMerge cantab.net:/home/src/bklinux-2.6
Anton Altaparmakov [Tue, 19 Oct 2004 10:56:30 +0000 (11:56 +0100)]
Merge cantab.net:/home/src/bklinux-2.6
into cantab.net:/home/src/ntfs-2.6

21 years agoMerge flatcap.org:/home/flatcap/backup/bk/linux-2.6
Richard Russon [Tue, 19 Oct 2004 02:56:13 +0000 (03:56 +0100)]
Merge flatcap.org:/home/flatcap/backup/bk/linux-2.6
into flatcap.org:/home/flatcap/backup/bk/ntfs-2.6

21 years agoMerge ssh://linux-ntfs@bkbits.net/ntfs-2.6
Richard Russon [Tue, 19 Oct 2004 02:47:51 +0000 (03:47 +0100)]
Merge ssh://linux-ntfs@bkbits.net/ntfs-2.6
into flatcap.org:/home/flatcap/backup/bk/ntfs-2.6

21 years ago[PATCH] i2o: message conversion fix for le32_to_cpu parameters
Markus Lidel [Tue, 19 Oct 2004 01:30:26 +0000 (18:30 -0700)]
[PATCH] i2o: message conversion fix for le32_to_cpu parameters

- fixed incorrect parameters to le32_to_cpu which was introduced with the
  I2O message conversion patch

Signed-off-by: Markus Lidel <Markus.Lidel@shadowconnect.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] i2o: correct error code if bus is busy in i2o_scsi
Markus Lidel [Tue, 19 Oct 2004 01:30:14 +0000 (18:30 -0700)]
[PATCH] i2o: correct error code if bus is busy in i2o_scsi

- corrected the error code in i2o_scsi_reply to return the correct error
  code DID_BUS_BUSY if bus is busy (original from Alan Cox)

Signed-off-by: Markus Lidel <Markus.Lidel@shadowconnect.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] net/mac89x0: replace schedule_timeout() with msleep_interruptible()
Nishanth Aravamudan [Tue, 19 Oct 2004 01:24:08 +0000 (18:24 -0700)]
[PATCH] net/mac89x0: replace schedule_timeout() with msleep_interruptible()

Signed-off-by: Nishanth Aravamudan <nacc@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] janitor: __FUNCTION__ string concatenation deprecated
Maximilian Attems [Tue, 19 Oct 2004 01:23:55 +0000 (18:23 -0700)]
[PATCH] janitor: __FUNCTION__ string concatenation deprecated

__FUNCTION__ string concatenation is deprecated

Signed-off-by: Clemens Buchacher <drizzd@aon.at>
Signed-off-by: Maximilian Attems <janitor@sternwelten.at>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] janitor: replace dprintk with pr_debug in microcode.c
Maximilian Attems [Tue, 19 Oct 2004 01:23:43 +0000 (18:23 -0700)]
[PATCH] janitor: replace dprintk with pr_debug in microcode.c

Replaced dprintk with pr_debug from kernel.h

Signed-off-by: Domen Puncer <domen@coderock.org>
Signed-off-by: Maximilian Attems <janitor@sternwelten.at>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] drivers/isdn: replace milliseconds() with msecs_to_jiffies()
Maximilian Attems [Tue, 19 Oct 2004 01:23:30 +0000 (18:23 -0700)]
[PATCH] drivers/isdn: replace milliseconds() with msecs_to_jiffies()

Signed-off-by: Nishanth Aravamudan <nacc@us.ibm.com>
Signed-off-by: Maximilian Attems <janitor@sternwelten.at>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] janitor: isdn/icn: change units of ICN_BOOT_TIMEOUT1
Maximilian Attems [Tue, 19 Oct 2004 01:23:18 +0000 (18:23 -0700)]
[PATCH] janitor: isdn/icn: change units of ICN_BOOT_TIMEOUT1

Change units of ICN_BOOT_TIMEOUT1 to msecs instead of jiffies for
msleep_interruptible() in icn.c.  Also, remove unused constant
ICN_CHANLOCK_DELAY.

Signed-off-by: Nishanth Aravamudan <nacc@us.ibm.com>
Signed-off-by: Maximilian Attems <janitor@sternwelten.at>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] janitor: replace dprintk with pr_debug in drivers/scsi/tpam/
Maximilian Attems [Tue, 19 Oct 2004 01:23:05 +0000 (18:23 -0700)]
[PATCH] janitor: replace dprintk with pr_debug in drivers/scsi/tpam/

Replaced dprintk, and deleted it out of tpam.h.

Signed-off-by: Domen Puncer <domen@coderock.org>
Signed-off-by: Maximilian Attems <janitor@sternwelten.at>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] ieee1394: replace schedule_timeout() with msleep_interruptible()
Maximilian Attems [Tue, 19 Oct 2004 01:22:53 +0000 (18:22 -0700)]
[PATCH] ieee1394: replace schedule_timeout() with msleep_interruptible()

Signed-off-by: Nishanth Aravamudan <nacc@us.ibm.com>
Signed-off-by: Maximilian Attems <janitor@sternwelten.at>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] drivers/md: replace schedule_timeout() with msleep_interruptible()
Maximilian Attems [Tue, 19 Oct 2004 01:22:40 +0000 (18:22 -0700)]
[PATCH] drivers/md: replace schedule_timeout() with msleep_interruptible()

Signed-off-by: Nishanth Aravamudan <nacc@us.ibm.com>
Signed-off-by: Maximilian Attems <janitor@sternwelten.at>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] janitor: drivers/message: replace schedule_timeout() with msleep_interruptible()
Maximilian Attems [Tue, 19 Oct 2004 01:22:28 +0000 (18:22 -0700)]
[PATCH] janitor: drivers/message: replace schedule_timeout() with msleep_interruptible()

Use msleep_interruptible() instead of schedule_timeout() under drivers/message.

Signed-off-by: Nishanth Aravamudan <nacc@us.ibm.com>
Signed-off-by: Maximilian Attems <janitor@sternwelten.at>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] janitor: drivers/media: replace schedule_timeout() with msleep()
Maximilian Attems [Tue, 19 Oct 2004 01:22:16 +0000 (18:22 -0700)]
[PATCH] janitor: drivers/media: replace schedule_timeout() with msleep()

Signed-off-by: Nishanth Aravamudan <nacc@us.ibm.com>
Signed-off-by: Maximilian Attems <janitor@sternwelten.at>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] janitor: video/radeonfb: remove MS_TO_HZ()
Maximilian Attems [Tue, 19 Oct 2004 01:22:03 +0000 (18:22 -0700)]
[PATCH] janitor: video/radeonfb: remove MS_TO_HZ()

Removes definition of MS_TO_HZ() in favor of msecs_to_jiffies().

Signed-off-by: Nishanth Aravamudan <nacc@us.ibm.com>
Signed-off-by: Maximilian Attems <janitor@sternwelten.at>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] janitor: video/radeon_base: replace MS_TO_HZ() with msecs_to_jiffies()
Maximilian Attems [Tue, 19 Oct 2004 01:21:51 +0000 (18:21 -0700)]
[PATCH] janitor: video/radeon_base: replace MS_TO_HZ() with msecs_to_jiffies()

Replace MS_TO_HZ() with msecs_to_jiffies().

Signed-off-by: Nishanth Aravamudan <nacc@us.ibm.com>
Signed-off-by: Maximilian Attems <janitor@sternwelten.at>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] janitor: kill KERNEL_VERSION duplicate in videocodec.c
Maximilian Attems [Tue, 19 Oct 2004 01:21:39 +0000 (18:21 -0700)]
[PATCH] janitor: kill KERNEL_VERSION duplicate in videocodec.c

Kill KERNEL_VERSION duplicate.  Funny that it insn't even used in here

Signed-off-by: Domen Puncer <domen@coderock.org>
Signed-off-by: Maximilian Attems <janitor@sternwelten.at>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] janitor: fix-typo-arm-dma arch/arm26/machine/dma.c
Maximilian Attems [Tue, 19 Oct 2004 01:21:27 +0000 (18:21 -0700)]
[PATCH] janitor: fix-typo-arm-dma arch/arm26/machine/dma.c

caught by Domen Puncer <domen@coderock.org>

Signed-off-by: Maximilian Attems <janitor@sternwelten.at>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] janitor: mark __init/__exit static drivers/net/bsd_comp
Maximilian Attems [Tue, 19 Oct 2004 01:21:15 +0000 (18:21 -0700)]
[PATCH] janitor: mark __init/__exit static drivers/net/bsd_comp

Signed-off-by: Maximilian Attems <janitor@sternwelten.at>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] janitor: mark __init/__exit static drivers/net/ppp_deflate
Maximilian Attems [Tue, 19 Oct 2004 01:21:02 +0000 (18:21 -0700)]
[PATCH] janitor: mark __init/__exit static drivers/net/ppp_deflate

Signed-off-by: Maximilian Attems <janitor@sternwelten.at>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] janitor: remove check_region from drivers/char/esp.c
Maximilian Attems [Tue, 19 Oct 2004 01:20:50 +0000 (18:20 -0700)]
[PATCH] janitor: remove check_region from drivers/char/esp.c

Signed-off-by: Maximilian Attems <janitor@sternwelten.at>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] drivers/char: replace schedule_timeout() with msleep_interruptible()
Maximilian Attems [Tue, 19 Oct 2004 01:20:38 +0000 (18:20 -0700)]
[PATCH] drivers/char: replace schedule_timeout() with msleep_interruptible()

Replace lots of open-coded sleeps with msleep_interruptible() under
drivers/char.

Signed-off-by: Maximilian Attems <janitor@sternwelten.at>
Signed-off-by: Nishanth Aravamudan <nacc@us.ibm.com>
Signed-off-by: Rogier Wolff <R.E.Wolff@BitWizard.nl>
Signed-off-by: Christoph Lameter <christoph@lameter.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] janitor: char/sx: replace direct assignment with set_current_state()
Maximilian Attems [Tue, 19 Oct 2004 01:20:24 +0000 (18:20 -0700)]
[PATCH] janitor: char/sx: replace direct assignment with set_current_state()

Signed-off-by: Nishanth Aravamudan <nacc@us.ibm.com>
Signed-off-by: Maximilian Attems <janitor@sternwelten.at>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] janitor: char/ipmi_si_intf: add set_current_state()
Maximilian Attems [Tue, 19 Oct 2004 01:20:11 +0000 (18:20 -0700)]
[PATCH] janitor: char/ipmi_si_intf: add set_current_state()

Add set_current_state() before schedule_timeout() so a delay is achieved.
Without the addition, schedule_timeout() returns immediately.

Signed-off-by: Nishanth Aravamudan <nacc@us.ibm.com>
Signed-off-by: Maximilian Attems <janitor@sternwelten.at>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] janitor: char/fdc-io: replace direct assignment with set_current_state()
Maximilian Attems [Tue, 19 Oct 2004 01:19:59 +0000 (18:19 -0700)]
[PATCH] janitor: char/fdc-io: replace direct assignment with set_current_state()

Signed-off-by: Nishanth Aravamudan <nacc@us.ibm.com>
Signed-off-by: Maximilian Attems <janitor@sternwelten.at>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] janitor: char/sis-agp: replace schedule_timeout() with msleep()
Maximilian Attems [Tue, 19 Oct 2004 01:19:47 +0000 (18:19 -0700)]
[PATCH] janitor: char/sis-agp: replace schedule_timeout() with msleep()

Signed-off-by: Nishanth Aravamudan <nacc@us.ibm.com>
Signed-off-by: Maximilian Attems <janitor@sternwelten.at>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] janitor: char/rio_linux: replace schedule_timeout() with msleep()/msleep_inte...
Maximilian Attems [Tue, 19 Oct 2004 01:19:34 +0000 (18:19 -0700)]
[PATCH] janitor: char/rio_linux: replace schedule_timeout() with msleep()/msleep_interruptible()

Use msleep()/msleep_interruptible() [as appropriate] instead of
schedule_timeout() to guarantee the task delays as expected.

Signed-off-by: Nishanth Aravamudan <nacc@us.ibm.com>
Signed-off-by: Maximilian Attems <janitor@sternwelten.at>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] janitor: list_for_each: drivers-char-drm-radeon_mem.c
Maximilian Attems [Tue, 19 Oct 2004 01:19:22 +0000 (18:19 -0700)]
[PATCH] janitor: list_for_each: drivers-char-drm-radeon_mem.c

s/for/list_for_each/

Signed-off-by: Domen Puncer <domen@coderock.org>
Signed-off-by: Maximilian Attems <janitor@sternwelten.at>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] janitor: remove old ifdefs fasttimer
Maximilian Attems [Tue, 19 Oct 2004 01:19:10 +0000 (18:19 -0700)]
[PATCH] janitor: remove old ifdefs fasttimer

 Patches to remove some old ifdefs.
 remove most of the #include <linux/version.h>
 kill compat cruft like #define ahd_pci_set_dma_mask pci_set_dma_mask

Signed-off-by: Maximilian Attems <janitor@sternwelten.at>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] janitor: remove old ifdefs dmascc
Maximilian Attems [Tue, 19 Oct 2004 01:18:58 +0000 (18:18 -0700)]
[PATCH] janitor: remove old ifdefs dmascc

 Patches to remove some old ifdefs.
 remove most of the #include <linux/version.h>
 kill compat cruft like #define ahd_pci_set_dma_mask pci_set_dma_mask

Signed-off-by: Maximilian Attems <janitor@sternwelten.at>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] janitor: cpqarray remove unused include
Maximilian Attems [Tue, 19 Oct 2004 01:18:46 +0000 (18:18 -0700)]
[PATCH] janitor: cpqarray remove unused include

  remove unused #include <linux/version.h>
  Old ifdefs were removed that used it's definition.

Signed-off-by: Maximilian Attems <janitor@sternwelten.at>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] i2o: quieten sparse 1-bit-bitfield warnings in i2o.h
Markus Lidel [Tue, 19 Oct 2004 01:18:33 +0000 (18:18 -0700)]
[PATCH] i2o: quieten sparse 1-bit-bitfield warnings in i2o.h

- Single-bit bitfields should be unsigned. Quell sparse warnings for
   these. (from Randy Dunlap)

Signed-off-by: Randy Dunlap <rddunlap@osdl.org>
Signed-off-by: Markus Lidel <Markus.Lidel@shadowconnect.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] i2o: new functions to convert messages to a virtual address
Markus Lidel [Tue, 19 Oct 2004 01:18:19 +0000 (18:18 -0700)]
[PATCH] i2o: new functions to convert messages to a virtual address

- added new function i2o_msg_in_to_virt and i2o_msg_out_to_virt, to turn an
  I2O message to a virtual address (original from Alan Cox)

- replaced readl with le32_to_cpu where it is not necessary (original from
  Alan Cox)

Signed-off-by: Markus Lidel <Markus.Lidel@shadowconnect.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] i2o: added support for Promise controllers
Markus Lidel [Tue, 19 Oct 2004 01:18:07 +0000 (18:18 -0700)]
[PATCH] i2o: added support for Promise controllers

- added support for Promise I2O controllers, which need a different
  initialization sequence (original from Alan Cox)

Signed-off-by: Markus Lidel <Markus.Lidel@shadowconnect.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] i2o: code beautifying and cleanup
Markus Lidel [Tue, 19 Oct 2004 01:17:55 +0000 (18:17 -0700)]
[PATCH] i2o: code beautifying and cleanup

- added KERN_* to printk where it was missing (original from Alan Cox)

- removed unused code which was commented out already (original from Alan
  Cox)

- make error messages more sane in i2o_block (original from Alan Cox)

Signed-off-by: Markus Lidel <Markus.Lidel@shadowconnect.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] sparc32: early tick_ops
William Lee Irwin III [Tue, 19 Oct 2004 01:17:43 +0000 (18:17 -0700)]
[PATCH] sparc32: early tick_ops

The zaphod scheduler likes to call scheduler_tick() before time_init().
sparc32 oopses.

Perhaps a scheduler bug, but this robustifies things.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] profile: 512x Altix timer interrupt livelock fix
William Lee Irwin III [Tue, 19 Oct 2004 01:17:30 +0000 (18:17 -0700)]
[PATCH] profile: 512x Altix timer interrupt livelock fix

I've been informed that /proc/profile livelocks some systems in the timer
interrupt, usually at boot.  The following patch attempts to amortize the
atomic operations done on the profile buffer to address this stability
concern.  This patch has nothing to do with performance; kernels using
periodic timer interrupts are under realtime constraints to complete
whatever work they perform within timer interrupts before the next timer
interrupt arrives lest they livelock, performing no work whatsoever apart
from servicing timer interrupts.  The latency of the cacheline bounce for
prof_buffer contributes to the time spent in the timer interrupt, hence it
must be amortized when remote access latencies or deviations from fair
exclusive cacheline acquisition may cause cacheline bounces to take longer
than the interval between timer ticks.

What this patch does is to create a pair of per-cpu open-addressed
hashtables indexed by profile buffer slot holding values representing the
number of pending profile buffer hits for the profile buffer slot.  When
this hashtable overflows, one iterates over the hashtable accounting each
of the pairs of profile buffer slots and hit counts to the global profile
buffer.  Zero is a legitimate profile buffer slot, so zero hit counts
represent unused hashtable entries.  The hashtable is furthermore protected
from flush IPI's by interrupt disablement.

In order to flush the pending profile hits for read_profile(), this patch
flips betweeen the pairs of per-cpu profile buffer by signalling all cpus
to flip via IPI at the time of read_profile(), followed by doing all the
work to flush the profile hits from the older per-cpu buffers in the
context of the caller of read_profile(), with exclusion provided by a
semaphore ensuring that only one caller of profile_flip_buffers() may
execute at a time, and using interrupt disablement to prevent buffer flip
IPI's from altering the hashtables or flip state while an update is in
progress.  The flip state is per-cpu so that remote cpus need only disable
interrupts locally for synchronization, which is both simple and
busywait-free for remote cpus.  The flip states all change in tandem when
some cpu requests the hashtables be flipped, and the requester waits for
the completion of smp_call_function() for notification that all cpus have
finished flipping between their hashtables.  The IPI handler merely toggles
the flip state (which is an array index) between 0 and 1.

This is expected to be a much stronger amortization than merely reducing
the frequency of profile buffer access by a factor of the size of the
hashtable because numerous hits may be held for each of its entries.  This
reduces what was before the patch a number of atomic increments equal to
what after the patch becomes the sum of the hits held for each entry in the
hashtable, to a number of atomic_add()'s equal to the number of entries in
the per_cpu hashtable.  This is nondeterministic, but as the profile hits
tend to be concentrated in a very small number of profile buffer slots
during any given timing interval, is likely to represent a very large
number of atomic increments.  This amortization of atomic increments does
not depend on the hash function, only the sharp peakedness of the
distribution of profile buffer hits.

This algorithm has two advantages over full-size per-cpu profile buffers.
The first is that the space footprint is much smaller.  Per-cpu profile
buffers would increase the space requirements by a factor of
num_online_cpus(), where this algorithm only requires one page per cpu.
The second is that reading the profile state is much faster, because the
state that must be traversed is exactly the above space consumers, and the
relative reduction in size concomitantly reduces the time required for a
read operation.

I also took the liberty of adding some commentary to the comments at the
beginning of the file reflecting the major work done on profile.c in recent
months and describing what the file implements.

The reporters of this issue have verified that this resolves their timer
interrupt livelock on 512x Altixen.  In my own testing on 4x logical
x86-64, this patch saw a rate of about 18 flushes per minute under load, or
about one flush every 3 seconds, for about 38.4 atomic accesses to the
profile buffer per second per cpu in one of the algorithm's worst cases,
about 3.84% of the number of atomic profile buffer accesses per second per
cpu as a normal kernel would commit.  This represents a twenty-six-fold
increase in the scalability on SMP systems with 4KB PAGE_SIZE, i.e.  with a
4KB PAGE_SIZE, the number of atomic profile buffer accesses per second per
cpu is reduced by a factor of 26, thereby increasing the number of cpus a
system must have before it would experience a timer interrupt livelock by a
factor of 26, with the proviso that cacheline bounces must take the same
amount of time to service.  This increase in the scalability of the kernel
is expected to be much larger for ia64, which has a large PAGE_SIZE,
because the distribution of profile buffer hits is so sharply peaked that
doubling the hashtable size will much more than double the amortization
factor.  In fact, only 19 flushes were observed on a 64x Altix over an
approximately 10 minute AIM7 run, and 1 flush on a 512x Altix over the
course of an entire AIM7 run, for truly vast effective amortization
factors.

A prior version of this patch, which did not include the node-local
hashtable allocation and bounded collision chains has been successfully
tested on 64x and 512x ia64 vs 2.6.9-rc2, 8x ia64 vs.  2.6.9-rc2-mm1, 4x
x86-64 vs.  2.6.9-rc2-mm1, and 6x sparc64 vs.  2.6.9-rc2-mm1.  This patch
minus the hashtable initialization fix has been successfully tested on 2x
ppc64, 2x alpha, 8x ia64, 6x sparc64, and 4x x86-64, all vs.
2.6.9-rc2-mm1.  This precise version of the patch has been successfully
tested on 8x ia32 against 2.6.9-rc2-mm1 and 6x sparc64 vs.  both
2.6.9-rc2-mm1 and 2.6.9-rc2-mm2.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] SELinux: allow all filesystems to specify fscreate mount option
James Morris [Tue, 19 Oct 2004 01:17:18 +0000 (18:17 -0700)]
[PATCH] SELinux: allow all filesystems to specify fscreate mount  option

The patch below allows all types of filesystems to specify the fscreate
mount option (which is used to specify the security context of the
filesystem itself).  This was previously only available for filesystems
with full xattr security labeling, but is also potentially required for
filesystems with e.g.  psuedo xattr labeling such as devpts and tmpfs.

An example of use is to specify at mount time the fs security context of a
tmpfs filesystem, overriding the default specified in policy for that
filesystem.

This patch has been in the Fedora kernel for some weeks with no problems.

Signed-off-by: James Morris <jmorris@redhat.com>
Signed-off-by: Stephen Smalley <sds@epoch.ncsc.mil>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] xattr: re-introduce validity check before xattr cache insert
Andreas Gruenbacher [Tue, 19 Oct 2004 01:17:06 +0000 (18:17 -0700)]
[PATCH] xattr: re-introduce validity check before xattr cache insert

* ext[23]_xattr_list():

  - Before inserting an xattr block into the cache, make sure that the
    block is not corrupted.  The check got moved after inserting into the
    cache in the xattr consolidation patches, so corrupted blocks could become
    visible to cache users.

  - Take a variable out of the loop that calls the ->list handlers.

* A few cosmetic changes.

Signed-off-by: Andreas Gruenbacher <agruen@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] xattr consolidation v3 - tmpfs
James Morris [Tue, 19 Oct 2004 01:16:53 +0000 (18:16 -0700)]
[PATCH] xattr consolidation v3 - tmpfs

This patch adds xattr support to tmpfs, and a security xattr handler.  The
purpose of this is to allow udev to be mounted on tmpfs, as used currently by
Fedora.

Original patch from: Luke Kenneth Casson Leighton <lkcl@lkcl.net>.

Signed-off-by: James Morris <jmorris@redhat.com>
Signed-off-by: Stephen Smalley <sds@epoch.ncsc.mil>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] xattr consolidation v3 - devpts
James Morris [Tue, 19 Oct 2004 01:16:41 +0000 (18:16 -0700)]
[PATCH] xattr consolidation v3 - devpts

This patch updates the devpts xattr handler code to the generic xattr API,
also adds a GPL notice, author and copyright details.

Signed-off-by: James Morris <jmorris@redhat.com>
Signed-off-by: Stephen Smalley <sds@epoch.ncsc.mil>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] xattr consolidation v3 - ext2
James Morris [Tue, 19 Oct 2004 01:16:28 +0000 (18:16 -0700)]
[PATCH] xattr consolidation v3 - ext2

This patch converts ext2 xattr and acl code to the new generic xattr API.

Signed-off-by: James Morris <jmorris@redhat.com>
Signed-off-by: Stephen Smalley <sds@epoch.ncsc.mil>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] xattr consolidation v3 - ext3
James Morris [Tue, 19 Oct 2004 01:16:16 +0000 (18:16 -0700)]
[PATCH] xattr consolidation v3 - ext3

This patch converts the ext3 xattr and acl code to the generic xattr API.

Signed-off-by: James Morris <jmorris@redhat.com>
Signed-off-by: Stephen Smalley <sds@epoch.ncsc.mil>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] xattr consolidation v3 - LSM
James Morris [Tue, 19 Oct 2004 01:16:03 +0000 (18:16 -0700)]
[PATCH] xattr consolidation v3 - LSM

This patch replaces the dentry parameter with an inode in the LSM
inode_{set|get|list}security hooks, in keeping with the ext2/ext3 code.
dentries are not needed here.

Signed-off-by: James Morris <jmorris@redhat.com>
Signed-off-by: Stephen Smalley <sds@epoch.ncsc.mil>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] xattr consolidation v3 - generic xattr API
James Morris [Tue, 19 Oct 2004 01:15:51 +0000 (18:15 -0700)]
[PATCH] xattr consolidation v3 - generic xattr API

This patch consolidates common xattr handling logic into the core fs code,
with modifications suggested by Christoph Hellwig (hang off superblock, remove
locking, use generic code as methods), for use by ext2, ext3 and devpts, as
well as upcoming tmpfs xattr code.

Signed-off-by: James Morris <jmorris@redhat.com>
Signed-off-by: Stephen Smalley <sds@epoch.ncsc.mil>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] Fix types.h
Carlos Eduardo Medaglia Dyonisio [Tue, 19 Oct 2004 01:15:39 +0000 (18:15 -0700)]
[PATCH] Fix types.h

This patch fixes troubles when compiling some applications that include
<linux/byteorder/little_endian.h>, like xmms.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] Simplify last lib/idr.c change
Ulrich Drepper [Tue, 19 Oct 2004 01:15:27 +0000 (18:15 -0700)]
[PATCH] Simplify last lib/idr.c change

The last change to alloc_layer in lib/idr.c unnecessarily complicates
the code and depending on the definition of spin_unlock will cause worse
code to be generated than necessary.  The following patch should improve
the situation.

Signed-off-by: Ulrich Drepper <drepper@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] smbfs does not honor uid, gid, file_mode and dir_mode supplied by user mount
Haroldo Gamal [Tue, 19 Oct 2004 01:15:14 +0000 (18:15 -0700)]
[PATCH] smbfs does not honor uid, gid, file_mode and dir_mode supplied by user mount

This patch fixes "Samba Bugzilla Bug 999".  The last version (2.6.8.1) of
smbfs kernel module do not honor uid, gid, file_mode and dir_mode supplied
by user during mount.  This bug is also logged as "Kernel Bug Tracker Bug
3330".

To fully work, some modifications are needed to samba smbmount.c and
smbmnt.c files.  Those patches are available at Samba and Kernel Bug
Tracker pages.

After those patches, if the user do not supply any of the parameters above,
the uid, gid, file_mode and dir_mode on the server will be used by the
client.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] taint on bad_page
Nick Piggin [Tue, 19 Oct 2004 01:15:02 +0000 (18:15 -0700)]
[PATCH] taint on bad_page

Hugh and I both thought this would be generally useful.

Signed-off-by: Nick Piggin <nickpiggin@yahoo.com.au>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] taint: fix forced rmmod
Nick Piggin [Tue, 19 Oct 2004 01:14:50 +0000 (18:14 -0700)]
[PATCH] taint: fix forced rmmod

This taint didn't appear to be reported.

Signed-off-by: Nick Piggin <nickpiggin@yahoo.com.au>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] x86-64/i386: add mce tainting
Andi Kleen [Tue, 19 Oct 2004 01:14:38 +0000 (18:14 -0700)]
[PATCH] x86-64/i386: add mce tainting

This patch adds machine check tainting.  When a handled machine check
occurs the oops gets a new 'M' flag.  This is useful to ignore machines
with hardware problems in oops reports.

On i386 a thermal failure also sets this flag.

Done for x86-64 and i386 so far.

Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Nick Piggin <nickpiggin@yahoo.com.au>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>