]> git.hungrycats.org Git - linux/log
linux
22 years ago[PATCH] resierfs: scheduling latency improvements
Andrew Morton [Mon, 15 Mar 2004 23:20:41 +0000 (15:20 -0800)]
[PATCH] resierfs: scheduling latency improvements

From: Chris Mason <mason@suse.com>

Add conditional schedules to reiserfs to help lower latencies.  Bits of
this orginated long ago in code akpm sent me.

22 years ago[PATCH] reiserfs: fix null pointer deref
Andrew Morton [Mon, 15 Mar 2004 23:20:29 +0000 (15:20 -0800)]
[PATCH] reiserfs: fix null pointer deref

From: Chris Mason <mason@suse.com>

From: Jeff Mahoney <jeffm@suse.de>

fsstress manages to setup a sequence of events that allow an attempt to
perform direct-io on a tail.  bh_result->b_page == NULL, which causes the
PageLocked and PageWriteback checks to perform a NULL deref, causing the
oops.

22 years ago[PATCH] kernel-doc build fix
Andrew Morton [Mon, 15 Mar 2004 23:20:17 +0000 (15:20 -0800)]
[PATCH] kernel-doc build fix

From: Michael Still <mikal@stillhq.com>

This is needed to get any of the SGML documentation to build with 2.6.4.

22 years ago[PATCH] fbdev: character drawing enhancement.
Andrew Morton [Mon, 15 Mar 2004 23:20:05 +0000 (15:20 -0800)]
[PATCH] fbdev: character drawing enhancement.

From: James Simmons <jsimmons@infradead.org>

This patch merges two of the drawing functions.  The patch uses aligned
transfers when possible even on displays where the characters are not byte
align.  Tested on my my laptop for 12 bit width fonts and 8 bit wide fonts.
It works very nicely.

22 years ago[PATCH] page_referenced() simplification
Andrew Morton [Mon, 15 Mar 2004 23:19:52 +0000 (15:19 -0800)]
[PATCH] page_referenced() simplification

There's no point in calling mark_page_accessed() here.  The page is never on
the LRU so all mark_page_accessed() will do is to set PG_referenced, which we
immediately clear again.

22 years ago[PATCH] flush_workqueue(): detect excessive nesting
Andrew Morton [Mon, 15 Mar 2004 23:19:41 +0000 (15:19 -0800)]
[PATCH] flush_workqueue(): detect excessive nesting

Add a debug check for workqueues nested more than three deep via the
direct-run-workqueue() path.

22 years ago[PATCH] flush_scheduled_work() deadlock fix
Andrew Morton [Mon, 15 Mar 2004 23:19:29 +0000 (15:19 -0800)]
[PATCH] flush_scheduled_work() deadlock fix

Because keventd is a resource which is shared between unrelated parts of the
kernel it is possible for one person's workqueue handler to accidentally call
another person's flush_scheduled_work().  thockin managed it by calling
mntput() from a workqueue handler.  It deadlocks.

It's simple enough to fix: teach flush_scheduled_work() to go direct when it
discovers that the calling thread is the one which should be running the
work.

Note that this can cause recursion.  The depth of that recursion is equal to
the number of currently-queued works which themselves want to call
flush_scheduled_work().  If this ever exceeds three I'll eat my hat.

22 years ago[PATCH] selinux: fix compute_av bug
Andrew Morton [Mon, 15 Mar 2004 23:19:18 +0000 (15:19 -0800)]
[PATCH] selinux: fix compute_av bug

From: Stephen Smalley <sds@epoch.ncsc.mil>

This patch fixes a bug in the SELinux compute_av code; the current code
yields the right access computation but can cause unnecessary (but
harmless) processing to occur when transition permission wasn't granted in
the first place by the TE configuration.  Thanks to Chad Hanson of TCS for
reporting the bug.

22 years ago[PATCH] kbuild: fix modpost when used with O=
Andrew Morton [Mon, 15 Mar 2004 23:19:07 +0000 (15:19 -0800)]
[PATCH] kbuild: fix modpost when used with O=

From: Sam Ravnborg <sam@ravnborg.org>

modpost or to be more specific sumversion.c was not behaving correct when
used with O= and MODULE_VERSION was used.  Previously it failed to use
local .h when calculation the md-sum in case of a O= build.

The following patch introduces the following:

- A generic get_next_line()

- Check that the topmost part of the directory matches

- Using strrch when checking for file with suffix .o

- Use NOFAIL for allocations in sumversion

- Avoid memory leak in new_module

The generic get_next_line will pay off when Andreas implmentation of
storing symbol addresses in a seperate file is introduced.

22 years ago[PATCH] fix modular fb drivers
Andrew Morton [Mon, 15 Mar 2004 23:18:55 +0000 (15:18 -0800)]
[PATCH] fix modular fb drivers

From: Arnd Bergmann <arnd@arndb.de>

The recent "fbdev: monitor detection fixes" patch broke modular frame
buffer drivers.

22 years ago[PATCH] move PCIBIOS access help text
Andrew Morton [Mon, 15 Mar 2004 23:18:45 +0000 (15:18 -0800)]
[PATCH] move PCIBIOS access help text

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

Moves PCI BIOS Access Mode help text to its top level instead of under
PCI_GOBIOS (which is only 1 of 4 possible choices).

22 years ago[PATCH] drivers_cdrom_cdu31c.c check_region() fix
Andrew Morton [Mon, 15 Mar 2004 23:18:33 +0000 (15:18 -0800)]
[PATCH] drivers_cdrom_cdu31c.c check_region() fix

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

check_region() fixes.

22 years ago[PATCH] add warning to DocBook/Makefile
Andrew Morton [Mon, 15 Mar 2004 23:18:22 +0000 (15:18 -0800)]
[PATCH] add warning to DocBook/Makefile

From: Trivial Patch Monkey <trivial@rustcorp.com.au>

From:  maximilian attems <janitor@sternwelten.at>

Print something friendlier than:

/bin/sh: fig2dev: command not found
make[1]: *** [Documentation/DocBook/parport-share.eps] Error 127
make: *** [pdfdocs] Error 2

22 years ago[PATCH] Fix comment in drivers/block/genhd.c
Andrew Morton [Mon, 15 Mar 2004 23:18:09 +0000 (15:18 -0800)]
[PATCH] Fix comment in drivers/block/genhd.c

From: Trivial Patch Monkey <trivial@rustcorp.com.au>

From:  a.othieno@bluewin.ch (Arthur Othieno)

add_gendisk() was replaced with add_disk(), but the comment suggests
otherwise.  Breaks `make *docs'.

22 years ago[PATCH] minor credits updates
Andrew Morton [Mon, 15 Mar 2004 23:17:58 +0000 (15:17 -0800)]
[PATCH] minor credits updates

From: Trivial Patch Monkey <trivial@rustcorp.com.au>

From:  andersen@codepoet.org

I've moved...  This patch updates my contact info.

22 years ago[PATCH] chardev module aliases
Andrew Morton [Mon, 15 Mar 2004 23:17:48 +0000 (15:17 -0800)]
[PATCH] chardev module aliases

From: Trivial Patch Monkey <trivial@rustcorp.com.au>

From: Steve Youngs <sryoungs@bigpond.net.au> Add module aliases for 21285,
amba, anakin, clps711x, mux, and sa1100 serial drivers.

22 years ago[PATCH] Fix scripts/ver_linux
Andrew Morton [Mon, 15 Mar 2004 23:17:35 +0000 (15:17 -0800)]
[PATCH] Fix scripts/ver_linux

From: Trivial Patch Monkey <trivial@rustcorp.com.au>

From:  Thomas Molina <tmolina@cablespeed.com>

ver_linux hasn't displayed binutils version right for some time.  This patch
corrects that and preserves the old behaviour as well, as suggested by Rusty.

22 years ago[PATCH] fix for kallsyms module symbol resolution problem
Andrew Morton [Mon, 15 Mar 2004 23:17:23 +0000 (15:17 -0800)]
[PATCH] fix for kallsyms module symbol resolution problem

From:  Rusty Russell <rusty@rustcorp.com.au>

Fix a problem with kallsyms being unable to look up symbols which are in
modules.

add_kallsyms should be above module_finalize, which means you can just use
the mod->symtab and mod->strtab members.

22 years ago[PATCH] filemap.c comment fix
Andrew Morton [Mon, 15 Mar 2004 23:17:12 +0000 (15:17 -0800)]
[PATCH] filemap.c comment fix

From: Trivial Patch Monkey <trivial@rustcorp.com.au>

From:  Carl Spalletta <ioanamitu@yahoo.com>

22 years ago[PATCH] rename one of the acpi_disable() instances
Andrew Morton [Mon, 15 Mar 2004 23:17:01 +0000 (15:17 -0800)]
[PATCH] rename one of the acpi_disable() instances

From: Trivial Patch Monkey <trivial@rustcorp.com.au>

From:  Pavel Machek <pavel@ucw.cz>

There's acpi_disable somewhere in the acpi interpreter (it disables
interrupts, iirc).  Thus blacklisting function needs better name.

22 years ago[PATCH] drivers_cdrom_sjcd.c check_region() fix
Andrew Morton [Mon, 15 Mar 2004 23:16:48 +0000 (15:16 -0800)]
[PATCH] drivers_cdrom_sjcd.c check_region() fix

From: Trivial Patch Monkey <trivial@rustcorp.com.au>

From:  Omkhar Arasaratnam <omkhar@rogers.com>

22 years ago[PATCH] Document tricks to get S3_swsusp working
Andrew Morton [Mon, 15 Mar 2004 23:16:38 +0000 (15:16 -0800)]
[PATCH] Document tricks to get S3_swsusp working

From: Trivial Patch Monkey <trivial@rustcorp.com.au>

From:  Pavel Machek <pavel@ucw.cz>

I was sending this to users that had problems with swsusp, then lost it.  It
would be nice to have it directly in the tree.

22 years ago[PATCH] ACPI: document acpi_sleep option
Andrew Morton [Mon, 15 Mar 2004 23:16:27 +0000 (15:16 -0800)]
[PATCH] ACPI: document acpi_sleep option

From: Trivial Patch Monkey <trivial@rustcorp.com.au>

From:  Pavel Machek <pavel@ucw.cz>

acpi_sleep option should be documented.

22 years ago[PATCH] drivers_cdrom_cm206.c check_region() fix
Andrew Morton [Mon, 15 Mar 2004 23:16:15 +0000 (15:16 -0800)]
[PATCH] drivers_cdrom_cm206.c check_region() fix

From: Trivial Patch Monkey <trivial@rustcorp.com.au>

From:  Omkhar Arasaratnam <omkhar@rogers.com>

check_region() fix

22 years ago[PATCH] ide-scsi error handling fixes
Andrew Morton [Mon, 15 Mar 2004 23:16:02 +0000 (15:16 -0800)]
[PATCH] ide-scsi error handling fixes

From: Willem Riede <wrlk@riede.org>

The patch revises the error handling in ide-scsi, fixing the scheduling
while locked issues, and make it work properly, at least for me...

Specific changes in this patch:

- introduce idescsi_expiry, a timeout routine for the ide subsystem,
  which simply flags the fact that the command timed out, but postpones
  any other action until either the command still finishes on its own
  (unlikely?) or the scsi error handler kicks in;

- introduce idescsi_atapi_error and idescsi_atapi_abort, error routines
  for the ide subsystem, which are modeled after those of ide-cd, but
  take only minimal effort to recover, leaving the heavy lifting for
  the scsi error handler;

- rewrite (and rename for clarity) idescsi_eh_abort and idescsi_eh_error,
  the abort/error routines to be called by the scsi error handler --
  this redesign should not have the scheduling while atomic problems
  of the old implementation.

- move ide_cdrom_dump_status() from ide-cd.c to ide-lib.c as
  ide_dump_atapi_status() and both ide-cd and ide-scsi call it.

- replaces BUG() by WARN_ON()/printk in the error handling code.

- sets TASK_UNINTERRUPTIBLE before schedule_timeout() and moves the host
  unlock/lock around the while loop inside the loop in idescsi_eh_reset().

22 years ago[PATCH] selinux: Conditional policy extension and MLS detection support
Andrew Morton [Mon, 15 Mar 2004 23:15:51 +0000 (15:15 -0800)]
[PATCH] selinux: Conditional policy extension and MLS detection support

From: Stephen Smalley <sds@epoch.ncsc.mil>

This patch extends the SELinux policy engine to support conditional policy
logic based on a set of policy booleans, allowing well-formed changes to
the policy to be defined within and mediated by the policy itself.

The conditional policy extensions were implemented and contributed by
Tresys Technology.

Userland packages that support these extensions are already available from
nsa.gov/selinux, and backward compatibility is provided for the prior
policy version.

The patch also includes a small change to enable detection of the optional
MLS policy model on a SELinux system and fixes to the conditional policy
extensions to allow the MLS policy to work correctly with them that were
implemented and contributed by Trusted Computer Solutions.

22 years ago[PATCH] s390: update for altered page_state structure
Andrew Morton [Mon, 15 Mar 2004 23:15:39 +0000 (15:15 -0800)]
[PATCH] s390: update for altered page_state structure

From: Gerald Schaefer <gerald.schaefer@gmx.net>

Update s390 to track the new fields in struct page_state.

22 years ago[PATCH] ppc32 compile fix
Andrew Morton [Mon, 15 Mar 2004 23:15:28 +0000 (15:15 -0800)]
[PATCH] ppc32 compile fix

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

The problem is that on PPC32 (and probably sparc64) 'asmlinkage' is a
useless keyword, and should just be removed from include/asm-ppc/unistd.h.

22 years ago[PATCH] Save some memory in mem_map on x86-64
Andrew Morton [Mon, 15 Mar 2004 23:15:17 +0000 (15:15 -0800)]
[PATCH] Save some memory in mem_map on x86-64

From: Andi Kleen <ak@suse.de>

This patch saves 2MB of memory on a 1GB x86-64 machine, 20MB on a 10GB
machine.  It does this by eliminating 8 bytes of useless padding in struct
page.

This resurrects an older patch in a hopefully cleaner form.

22 years ago[PATCH] Fix early parallel make failures
Andrew Morton [Mon, 15 Mar 2004 23:15:05 +0000 (15:15 -0800)]
[PATCH] Fix early parallel make failures

From: Sam Ravnborg <sam@ravnborg.org>

Ingo said:

  Starting at around 2.6.4-rc2-mm1, I keep seeing 'scripts/fixdep: Text
  file busy' messages when doing a -j10 bzImage build - which seems to
  suggest that by the time fixdep is used by the build system it's not
  built yet.

Sam said:

I was pretty sure it was something I had caused, so I gave it a spin.  What
actually happened was that we tried to build the target 'silentoldconfig'
in parrallel with 'scripts'.  Since 'silentoldconfig' started a new make
and then the config target needed 'scripts' we saw two parallel runs.

The way I decided to fix it was to split scripts/ in two parts.  The first
part is now the very basic stuff - moved to scripts/basic/.  The second
part is dependent on kernel config etc.  and kept in scripts/

In the 2.7 timeframe i will redo this initial stuff - it's becoming too
messy for anyone to understand today.

Description:

Fix dependencies in early phases of kernel build.  This solves a few
problems nively: modpost is no longer rebuild twicewhen reaching the
'target' state 'make -j10' now works nicely again

The patch is rather large due to the following file moves:
mkdir scripts/basic
mv scripts/fixdep.c        scripts/basic
mv scripts/split-include.c scripts/basic
mv scripts/docproc.c       scripts/basic

22 years agoMerge http://lia64.bkbits.net/to-linus-2.5
Linus Torvalds [Mon, 15 Mar 2004 23:08:21 +0000 (15:08 -0800)]
Merge http://lia64.bkbits.net/to-linus-2.5
into ppc970.osdl.org:/home/torvalds/v2.5/linux

22 years ago[PATCH] g5: Fix iommu vs. pci_device_to_OF_node
Benjamin Herrenschmidt [Mon, 15 Mar 2004 23:07:38 +0000 (15:07 -0800)]
[PATCH] g5: Fix iommu vs. pci_device_to_OF_node

The g5 iommu code would fill the "iommu_table" member of whatever
device node was pointed to by pcidev->sysdata during boot. However,
the ppc64 kernel fills that with a pointer to the PHB node which is
later replaced "lazily" with a pointer to the real node when calling
pci_device_to_OF_node(). In this case, we were thus "losign" the
iommu_table pointer. Typical symptom: loss of the SATA when looking
at it's /proc entry.

This fixes it by forcing the update to the final sysdata pointer
when filling up the iommu_table pointers. The "lazy" thing is useless
on pmac anyway.

22 years agoia64: Update defconfig
David Mosberger [Mon, 15 Mar 2004 16:03:48 +0000 (08:03 -0800)]
ia64: Update defconfig

22 years ago[PATCH] ia64: Decode salinfo oemdata for SN2 via PROM
Keith Owens [Mon, 15 Mar 2004 15:31:37 +0000 (07:31 -0800)]
[PATCH] ia64: Decode salinfo oemdata for SN2 via PROM

SN2 platforms provide oemdata in salinfo records.  The decode of that
oemdata is done via prom routines.  This patch provides the interface
from user space through the kernel into the prom to do the oem decode.

22 years agoia64: Based on patch by Keith Owens: put stop bit to work around GCC problem.
David Mosberger [Mon, 15 Mar 2004 15:30:13 +0000 (07:30 -0800)]
ia64: Based on patch by Keith Owens: put stop bit to work around GCC problem.

Apparently GCC sometimes fails to insert a stop-bit when re-using p14
after the spinlock directives, even though the register is clearly marked
as "clobbered".

22 years ago[PATCH] ia64: update simscsi to 2.6 scsi APIs
Christoph Hellwig [Mon, 15 Mar 2004 15:21:48 +0000 (07:21 -0800)]
[PATCH] ia64: update simscsi to 2.6 scsi APIs

Use the proper (and cleaner) probing API instead of the old
scsi_module.c hack, don't use the typedefs I plan to kill in 2.7 and
mark everything static

22 years agoMerge tiger.hpl.hp.com:/data1/bk/vanilla/linux-2.5
David Mosberger [Mon, 15 Mar 2004 14:39:06 +0000 (06:39 -0800)]
Merge tiger.hpl.hp.com:/data1/bk/vanilla/linux-2.5
into tiger.hpl.hp.com:/data1/bk/lia64/to-linus-2.5

22 years ago[PATCH] ia64: update ia64/Kconfig
Bjorn Helgaas [Mon, 15 Mar 2004 14:34:08 +0000 (06:34 -0800)]
[PATCH] ia64: update ia64/Kconfig

This Kconfig patch basically just makes ia64 look a little more like i386:
        - moves system type above processor type
        - moves PM & ACPI to a new top-level menu
        - moves PCI/PCMCIA to a new top-level menu

22 years agoia64: Forward-port hp-agp.c fix from 2.4
David Mosberger [Mon, 15 Mar 2004 14:33:05 +0000 (06:33 -0800)]
ia64: Forward-port hp-agp.c fix from 2.4

See this ChangeSet:

http://lia64.bkbits.net:8080/linux-ia64-2.4/cset@40524248tkgE0RDYQL0IyiAdFxo_Ew

22 years ago[PATCH] ia64: kill CONFIG_IA64_MCA
Jesse Barnes [Mon, 15 Mar 2004 14:24:32 +0000 (06:24 -0800)]
[PATCH] ia64: kill CONFIG_IA64_MCA

The MCA code is now slim enough that there isn't much point in keeping
CONFIG_IA64_MCA anymore.

22 years ago[PATCH] ia64: move consistent_dma_mask to the generic device
Bjorn Helgaas [Mon, 15 Mar 2004 14:22:13 +0000 (06:22 -0800)]
[PATCH] ia64: move consistent_dma_mask to the generic device

The patch that moved and renamed consistent_dma_mask neglected
to fix up arch/ia64/hp/common/sba_iommu.c.

22 years ago[PATCH] ia64: fix missing braces in SN2 console code
Pat Gefre [Mon, 15 Mar 2004 14:20:48 +0000 (06:20 -0800)]
[PATCH] ia64: fix missing braces in SN2 console code

The last mod to fix the staircase printing - missed some bracing...

22 years ago[PATCH] ia64: Update SN2 defconfig
Martin Hicks [Mon, 15 Mar 2004 14:18:13 +0000 (06:18 -0800)]
[PATCH] ia64: Update SN2 defconfig

22 years agoyia64: Fix show_mem() panic
John S. Marvin [Mon, 15 Mar 2004 14:17:27 +0000 (06:17 -0800)]
yia64: Fix show_mem() panic

22 years agoLinux 2.6.5-rc1 v2.6.5-rc1
Linus Torvalds [Mon, 15 Mar 2004 13:44:26 +0000 (05:44 -0800)]
Linux 2.6.5-rc1

22 years ago[PATCH] Fix CONFIG_DEBUG build on x86-64 & small cleanup
Andi Kleen [Mon, 15 Mar 2004 13:25:01 +0000 (05:25 -0800)]
[PATCH] Fix CONFIG_DEBUG build on x86-64 & small cleanup

This fixes the CONFIG_DEBUG_INFO build on x86-64 (there were missing
.cfi_endprocs)

Also some minor cleanup in the exception stack handling.

22 years ago[PATCH] sys_swapon bad arg causing slab corruption
Jens Axboe [Mon, 15 Mar 2004 13:24:51 +0000 (05:24 -0800)]
[PATCH] sys_swapon bad arg causing slab corruption

There's an error in sys_swapon() that can cause slab corruption if you
pass in a bad specialfile pointer. getname() then returns
ERR_PTR(-EFAULT), but sys_swapon() doesn't clear name before calling
putname() on it (thus freeing 0xfffffff2, corrupting slab). An ltp test
case repeatedly crashed in later tests due to thus, irk.

22 years ago[PATCH] Set module owner in megaraid driver
Paul Wagland [Mon, 15 Mar 2004 13:15:14 +0000 (05:15 -0800)]
[PATCH] Set module owner in megaraid driver

This bug was discussed on linux-scsi a few weeks back, but it appears to
have slipped through the cracks. This fix was originally proposed by
Christoph Hellwig, but I am reposting it, since I have the hardware :-)

Anyway, the problem that this fixes is that megaraid doesn't set the
moduler owner for the host_template, this means that the module can be
removed, even when it is in use.

22 years agoMerge bk://gkernel.bkbits.net/libata-2.5
Linus Torvalds [Mon, 15 Mar 2004 13:14:00 +0000 (05:14 -0800)]
Merge bk://gkernel.bkbits.net/libata-2.5
into ppc970.osdl.org:/home/torvalds/v2.5/linux

22 years ago[PATCH] Fix sysfs leak.
Dave Jones [Mon, 15 Mar 2004 13:13:30 +0000 (05:13 -0800)]
[PATCH] Fix sysfs leak.

If the driver fails to load, we leave a 3c509 eisa directory
in sysfs.

22 years ago[PATCH] Whitespace fixes.
Dave Jones [Mon, 15 Mar 2004 13:13:18 +0000 (05:13 -0800)]
[PATCH] Whitespace fixes.

No code changes, but lots of trivial whitespace cleaning, and
removal of a bogus set of 'defaults' at the bottom of the file.

22 years ago[PATCH] Remove unneeded cast.
Dave Jones [Mon, 15 Mar 2004 13:13:07 +0000 (05:13 -0800)]
[PATCH] Remove unneeded cast.

22 years agoMerge bk://kernel.bkbits.net/gregkh/linux/i2c-2.6
Linus Torvalds [Mon, 15 Mar 2004 13:07:15 +0000 (05:07 -0800)]
Merge bk://kernel.bkbits.net/gregkh/linux/i2c-2.6
into ppc970.osdl.org:/home/torvalds/v2.5/linux

22 years agoMerge bk://kernel.bkbits.net/gregkh/linux/driver-2.6
Linus Torvalds [Mon, 15 Mar 2004 13:06:18 +0000 (05:06 -0800)]
Merge bk://kernel.bkbits.net/gregkh/linux/driver-2.6
into ppc970.osdl.org:/home/torvalds/v2.5/linux

22 years agoMerge bk://bk.arm.linux.org.uk/linux-2.6-serial
Linus Torvalds [Mon, 15 Mar 2004 13:05:01 +0000 (05:05 -0800)]
Merge bk://bk.arm.linux.org.uk/linux-2.6-serial
into ppc970.osdl.org:/home/torvalds/v2.5/linux

22 years ago[SERIAL] serialP.h: remove a kernel 2.2 #ifdef
Adrian Bunk [Mon, 15 Mar 2004 23:03:37 +0000 (23:03 +0000)]
[SERIAL] serialP.h: remove a kernel 2.2 #ifdef

Patch from Adrian Bunk

22 years ago[SERIAL] fix PCI interrupt setting for ia64
Bjorn Helgaas [Mon, 15 Mar 2004 22:55:39 +0000 (22:55 +0000)]
[SERIAL] fix PCI interrupt setting for ia64

Patch from Bjorn Helgaas

ACPI and HCDP tell us what IRQ the serial port uses, so there's
no need to have the driver probe for the IRQ.

22 years ago[SERIAL] Add alias for TTY_MAJOR character device.
Steve Youngs [Mon, 15 Mar 2004 22:18:18 +0000 (22:18 +0000)]
[SERIAL] Add alias for TTY_MAJOR character device.

Patch from Steve Youngs

22 years agoMerge bk://kernel.bkbits.net/davem/net-2.6
Linus Torvalds [Mon, 15 Mar 2004 13:03:35 +0000 (05:03 -0800)]
Merge bk://kernel.bkbits.net/davem/net-2.6
into ppc970.osdl.org:/home/torvalds/v2.5/linux

22 years agoMerge bk://kernel.bkbits.net/davem/sparc-2.6
Linus Torvalds [Mon, 15 Mar 2004 13:02:50 +0000 (05:02 -0800)]
Merge bk://kernel.bkbits.net/davem/sparc-2.6
into ppc970.osdl.org:/home/torvalds/v2.5/linux

22 years ago[PATCH] generic 32 bit emulation for System-V IPC
Andrew Morton [Mon, 15 Mar 2004 13:02:26 +0000 (05:02 -0800)]
[PATCH] generic 32 bit emulation for System-V IPC

From: Arnd Bergmann <arnd@arndb.de>

Adds a generic implementation of 32 bit emulation for IPC system calls.  The
code is based on the existing implementations for sparc64, ia64, mips, s390,
ppc and x86_64, which can subsequently be converted to use this.

22 years agoMerge davem@nuts.davemloft.net:/disk1/BK/net-2.6
David S. Miller [Mon, 15 Mar 2004 07:46:55 +0000 (23:46 -0800)]
Merge davem@nuts.davemloft.net:/disk1/BK/net-2.6
into kernel.bkbits.net:/home/davem/net-2.6

22 years agoMerge davem@nuts.davemloft.net:/disk1/BK/sparc-2.6
David S. Miller [Mon, 15 Mar 2004 07:45:16 +0000 (23:45 -0800)]
Merge davem@nuts.davemloft.net:/disk1/BK/sparc-2.6
into kernel.bkbits.net:/home/davem/sparc-2.6

22 years ago[TCP]: Clean up some westwood comments.
Angelo Dell\'Aera [Mon, 15 Mar 2004 07:40:12 +0000 (23:40 -0800)]
[TCP]: Clean up some westwood comments.

22 years agoMerge http://linux-mh.bkbits.net/bluetooth-2.6
David S. Miller [Mon, 15 Mar 2004 07:35:22 +0000 (23:35 -0800)]
Merge http://linux-mh.bkbits.net/bluetooth-2.6
into nuts.davemloft.net:/disk1/BK/net-2.6

22 years ago[Bluetooth] Declare more functions static
Marcel Holtmann [Mon, 15 Mar 2004 20:07:31 +0000 (21:07 +0100)]
[Bluetooth] Declare more functions static

This patch declares all possible functions static.

22 years agomerge
Greg Kroah-Hartman [Mon, 15 Mar 2004 07:02:32 +0000 (23:02 -0800)]
merge

22 years ago[libata] kill the warning everybody grumbles about
Jeff Garzik [Mon, 15 Mar 2004 06:44:03 +0000 (01:44 -0500)]
[libata] kill the warning everybody grumbles about

22 years agokref: add kref structure to kernel tree.
Greg Kroah-Hartman [Mon, 15 Mar 2004 06:39:18 +0000 (22:39 -0800)]
kref: add kref structure to kernel tree.

Based on the kobject structure, but much smaller and simpler to use.

22 years ago[PATCH] cdev: warning fix
Andrew Morton [Mon, 15 Mar 2004 06:36:49 +0000 (22:36 -0800)]
[PATCH] cdev: warning fix

Against Jon's cdev stuff

22 years ago[PATCH] I2C: delete the i2c_philips-par.c and i2c-veleman.c drivers
Greg Kroah-Hartman [Mon, 15 Mar 2004 06:14:17 +0000 (22:14 -0800)]
[PATCH] I2C: delete the i2c_philips-par.c and i2c-veleman.c drivers

They are obsolted by the i2c-parport.c driver.

22 years ago[PATCH] I2C: delete the i2c-elv.c driver as it is obsoleted by the i2c-parport.c...
Greg Kroah-Hartman [Mon, 15 Mar 2004 06:13:28 +0000 (22:13 -0800)]
[PATCH] I2C: delete the i2c-elv.c driver as it is obsoleted by the i2c-parport.c driver.

22 years ago[libata] disable clustering by default, whitespace cleanups
Jeff Garzik [Mon, 15 Mar 2004 06:03:56 +0000 (01:03 -0500)]
[libata] disable clustering by default, whitespace cleanups

Disable SCSI's clustering of S/G entries, typically reducing overall
S/G list size.  Although ATA S/G tables are getting smarter (64-bit
address, 32-bit length, no DMA boundary besides 4G itself), working
harder to generate large byte sizes for each S/G size is not necessarily
in our best interest:

* SATA consists of frames, much like ethernet, called "FIS".  A
  Data FIS consists of up to 2048 dwords (8K) of data.  We don't want
  generate large byte sizes in S/G entries, just to have the host controller
  break them up again into smaller chunks.
* Reduces the possibility that ata_fill_sg (libata-core.c) must split
  an S/G into two pieces, because it straddles a 64K boundary.
* Reduces the possibility that FIS-related errata workarounds
  must be enabled.  One such exists in the Silicon Image driver (sata_sil),
  which is currently worked around by limiting the max-sectors-per-request
  to 15.

22 years agoMerge bk://bk.arm.linux.org.uk/linux-2.6-rmk
Linus Torvalds [Mon, 15 Mar 2004 05:53:37 +0000 (21:53 -0800)]
Merge bk://bk.arm.linux.org.uk/linux-2.6-rmk
into ppc970.osdl.org:/home/torvalds/v2.5/linux

22 years ago[ARM] Add asm/irq.h include - required for NR_IRQS
Russell King [Mon, 15 Mar 2004 19:16:07 +0000 (19:16 +0000)]
[ARM] Add asm/irq.h include - required for NR_IRQS

22 years ago[ARM] Allow run-time selection of user debugging messages.
Russell King [Mon, 15 Mar 2004 19:05:44 +0000 (19:05 +0000)]
[ARM] Allow run-time selection of user debugging messages.

22 years ago[ARM] Remove export of kd_mksound.
Russell King [Mon, 15 Mar 2004 17:19:07 +0000 (17:19 +0000)]
[ARM] Remove export of kd_mksound.

This symbol is no longer used in modules.

22 years ago[ARM] Move consistent_xxx exports to arch/arm/mm/consistent.c
Russell King [Mon, 15 Mar 2004 17:14:48 +0000 (17:14 +0000)]
[ARM] Move consistent_xxx exports to arch/arm/mm/consistent.c

22 years ago[ARM] Provide userspace method for controlling LEDs in ARM machines.
Russell King [Mon, 15 Mar 2004 17:07:21 +0000 (17:07 +0000)]
[ARM] Provide userspace method for controlling LEDs in ARM machines.

22 years ago[ARM] Update mach-types file.
Russell King [Mon, 15 Mar 2004 16:57:42 +0000 (16:57 +0000)]
[ARM] Update mach-types file.

22 years ago[ARM PATCH] 1753/1: Devfs support for the 21285 serial driver - try 2
Jonas Larsson [Mon, 15 Mar 2004 14:57:38 +0000 (14:57 +0000)]
[ARM PATCH] 1753/1: Devfs support for the 21285 serial driver - try 2

Patch from Jonas Larsson

This patch adds devfs_name member to struct uart_driver. No devfs
entries are created for the serial port without this patch.

22 years ago[ARM] Update ARM README
Russell King [Mon, 15 Mar 2004 12:06:37 +0000 (12:06 +0000)]
[ARM] Update ARM README

Provide more detailed information on machine types and machine
classes.

22 years ago[ARM PATCH] 1772/1: ARM README changes
Marc Singer [Mon, 15 Mar 2004 11:57:45 +0000 (11:57 +0000)]
[ARM PATCH] 1772/1: ARM README changes

Patch from Marc Singer

Updates to the ARM architecture README file.  Mostly, this is done for
clarity.

22 years ago[NET_SCHED]: Use time_after, fixes htb on 64-bit arch.
Colin Gibbs [Mon, 15 Mar 2004 05:46:14 +0000 (21:46 -0800)]
[NET_SCHED]: Use time_after, fixes htb on 64-bit arch.

22 years ago[VLAN]: Use array for static const char 'fmt'
Tim Cambrant [Mon, 15 Mar 2004 05:38:16 +0000 (21:38 -0800)]
[VLAN]: Use array for static const char 'fmt'

22 years ago[NET]: Make netdevice.h more non-kernel friendly.
Stephen Hemminger [Mon, 15 Mar 2004 05:36:14 +0000 (21:36 -0800)]
[NET]: Make netdevice.h more non-kernel friendly.

22 years agoMerge kroah.com:/home/greg/linux/BK/bleed-2.6
Greg Kroah-Hartman [Mon, 15 Mar 2004 05:22:55 +0000 (21:22 -0800)]
Merge kroah.com:/home/greg/linux/BK/bleed-2.6
into kroah.com:/home/greg/linux/BK/i2c-2.6

22 years ago[PATCH] I2C: New chip driver: ds1621
Aurelien Jarno [Mon, 15 Mar 2004 05:09:45 +0000 (21:09 -0800)]
[PATCH] I2C: New chip driver: ds1621

The following patch against kernel 2.6.4-mm1 adds the ds1621 driver (an
I2C sensor). I have ported it from the 2.4 version.

It has been reviewed by Jean Delvare, partly on IRC, and it is
"compliant" with Mark Hoffman's refactoring.

22 years ago[PATCH] I2C: Setting w83781d fan_div preserves fan_min
Jean Delvare [Mon, 15 Mar 2004 05:09:19 +0000 (21:09 -0800)]
[PATCH] I2C: Setting w83781d fan_div preserves fan_min

This patch makes the w83781d driver preserve fan_min settings when the
user changes fan_divs. This isn't done "by default" because the actual
fan min value (in RPMs) depends on both the fan_min register and the
fan_div register. Only two drivers handle it properly at the moment as
far as I know (lm78 and asb100). Several other drivers would need to be
fixed the same way, but well, once at a time ;)

Tested on my AS99127F rev.1.

Credits go to Philip Pokorny, since I think I remember he is the one who
introduced the method in the lm78 driver in the first place.

This tends to increase the size of the three set_store_regs_fan_div
functions, and I am considering refactoring them at some point. Later
though.

22 years ago[PATCH] I2C: Don't handle kind errors that cannot happen
Jean Delvare [Mon, 15 Mar 2004 05:08:51 +0000 (21:08 -0800)]
[PATCH] I2C: Don't handle kind errors that cannot happen

A number of chip drivers in 2.6.4-mm1 try to handle an error case that
cannot happen when setting the chip name. The following patch changes
that.

Affected drivers: adm1021, it87, lm75, lm78, lm85, w83627hf, w83781d.

Note that in any case, the worst that could happen (but then again, it
cannot happen) is that the chip name would be set to an empty string,
which doesn't hurt much.

The patch also cleans up a few things in it87, w83627hf and w83781d,
which are tightly related to the rest of the changes and necessary for
them to be safe.

it87: There is only really one "kind" in this driver, so I removed all
references to other kinds.

w83627hf: The driver did not handle unknown chips.

w83781d: The user shouldn't be allowed to force a kind that doesn't
match the chip's bus type (I2C or ISA). The code was not meant to handle
that case, although no check was done so far.

Tested on my AS99127F, works as intended.

22 years ago[PATCH] I2C: fix forced i2c chip drivers have no name
Jean Delvare [Mon, 15 Mar 2004 05:08:29 +0000 (21:08 -0800)]
[PATCH] I2C: fix forced i2c chip drivers have no name

I just noticed that I am doing something wrong in the i2c chip drivers I
ported to Linux 2.6. If these drivers are forced to a specific chip type
("kind" as we call it internally), then the device doesn't have its name
set (and defaults to an empty string).

Affected drivers: gl518sm, lm83, lm90, w83l785ts.

I could verify the problem on my ADM1032 chip (lm90 driver). I also
verified that the proposed patch fixes the issue.

You may notice that I fix the problem differently for gl518sm and
w83l785ts on the one hand, and lm83 and lm90 on the other hand. This is
because the first two drivers are not expected to support more a single
chip in the future, while lm90 already does and lm83 could someday (for
example, support for the LM82 could be added on request).

22 years ago[TCP]: Kill westwood bw_sample, set but never used.
Stephen Hemminger [Mon, 15 Mar 2004 04:54:14 +0000 (20:54 -0800)]
[TCP]: Kill westwood bw_sample, set but never used.

22 years ago[ATM]: [suni] dev_data should really be phy_data.
Chas Williams [Mon, 15 Mar 2004 04:46:53 +0000 (20:46 -0800)]
[ATM]: [suni] dev_data should really be phy_data.

22 years ago[TUN]: Fix user buffer verification.
Stephen Hemminger [Mon, 15 Mar 2004 04:45:18 +0000 (20:45 -0800)]
[TUN]: Fix user buffer verification.

When Tun initialization fails it shouldn't obscure the error return,
There are several reasons it could fail, and when diagnosing user problems
the error code might provide more info.

22 years ago[TUN]: Do not obscure error return from misc_register in tun_init.
Stephen Hemminger [Mon, 15 Mar 2004 04:42:56 +0000 (20:42 -0800)]
[TUN]: Do not obscure error return from misc_register in tun_init.

22 years ago[TUN]: Name fix.
Stephen Hemminger [Mon, 15 Mar 2004 04:42:19 +0000 (20:42 -0800)]
[TUN]: Name fix.

This fixes both the devfs name and the /sys name issues.
It ends up as /dev/net/tun and /sys/class/misc/tun looks correct.

22 years ago[SPARC]: Include linux/linkage.h in asm/unistd.h
David S. Miller [Mon, 15 Mar 2004 04:42:14 +0000 (20:42 -0800)]
[SPARC]: Include linux/linkage.h in asm/unistd.h

22 years agoMerge bk://bk.arm.linux.org.uk/linux-2.6-pcmcia
Linus Torvalds [Mon, 15 Mar 2004 04:27:54 +0000 (20:27 -0800)]
Merge bk://bk.arm.linux.org.uk/linux-2.6-pcmcia
into ppc970.osdl.org:/home/torvalds/v2.5/linux

22 years agoMerge bk://ppc.bkbits.net/for-linus-ppc
Linus Torvalds [Mon, 15 Mar 2004 04:20:52 +0000 (20:20 -0800)]
Merge bk://ppc.bkbits.net/for-linus-ppc
into ppc970.osdl.org:/home/torvalds/v2.5/linux

22 years agoMerge
Paul Mackerras [Tue, 16 Mar 2004 08:27:48 +0000 (19:27 +1100)]
Merge