]> git.hungrycats.org Git - linux/log
linux
22 years ago[PATCH] Added rtas_set_power_level()
Andrew Morton [Mon, 15 Mar 2004 23:28:13 +0000 (15:28 -0800)]
[PATCH] Added rtas_set_power_level()

From: John Rose <johnrose@austin.ibm.com>

Added rtas_set_power_level()

22 years ago[PATCH] Remove pci DMA exports
Andrew Morton [Mon, 15 Mar 2004 23:28:03 +0000 (15:28 -0800)]
[PATCH] Remove pci DMA exports

From: Anton Blanchard <anton@samba.org>

Remove pci DMA exports we now access them via inline functions that
operate on pci_dma_ops.

22 years ago[PATCH] Dont enable interrupts during interrupt processing on iseries
Andrew Morton [Mon, 15 Mar 2004 23:27:52 +0000 (15:27 -0800)]
[PATCH] Dont enable interrupts during interrupt processing on iseries

From: Stephen Rothwell <sfr@canb.auug.org.au>

Dont enable interrupts during interrupt processing on iseries

22 years ago[PATCH] Add slow path lookup in xics_get_irq
Andrew Morton [Mon, 15 Mar 2004 23:27:40 +0000 (15:27 -0800)]
[PATCH] Add slow path lookup in xics_get_irq

From: Jake Moilanen <moilanen@austin.ibm.com>

In xics_get_irq(), for a real-to-virt irq lookup, go down the
slowpath by looking through the entire virt_irq_to_real_map array
if take a miss on the radix tree.  This is possible, when an
interrupt is taken before the driver has called request_irq() (eg IDE).

22 years ago[PATCH] Export find_next_bit
Andrew Morton [Mon, 15 Mar 2004 23:27:28 +0000 (15:27 -0800)]
[PATCH] Export find_next_bit

From: Anton Blanchard <anton@samba.org>

- export find_next_bit and move the other exports here
- fix a few minor style issues

22 years ago[PATCH] update iseries default target
Andrew Morton [Mon, 15 Mar 2004 23:27:18 +0000 (15:27 -0800)]
[PATCH] update iseries default target

From: Anton Blanchard <anton@samba.org>

update iseries default target

22 years ago[PATCH] Move iSeries specific EXPORT_SYMBOLs out of ppc_ksyms.c
Andrew Morton [Mon, 15 Mar 2004 23:27:05 +0000 (15:27 -0800)]
[PATCH] Move iSeries specific EXPORT_SYMBOLs out of ppc_ksyms.c

From: Stephen Rothwell <sfr@canb.auug.org.au>

After this the only iSeries specific EXPORT_SYMBOLS in ppc_ksyms.c are
the assembler ones ...

22 years ago[PATCH] Add some functions to make vio.h consistant with pci_dma.h and dma_mapping.h
Andrew Morton [Mon, 15 Mar 2004 23:26:54 +0000 (15:26 -0800)]
[PATCH] Add some functions to make vio.h consistant with pci_dma.h and dma_mapping.h

From: Dave Boutcher <boutcher@us.ibm.com>

Add some functions to make vio.h consistant with pci_dma.h and dma_mapping.h

22 years ago[PATCH] Fix xics IRQ affinity
Andrew Morton [Mon, 15 Mar 2004 23:26:41 +0000 (15:26 -0800)]
[PATCH] Fix xics IRQ affinity

From: Anton Blanchard <anton@samba.org>

- Merge some whitespace differences with the ameslab tree
- We check for CPU_MASK_ALL in xics to send irqs to all cpus.
  In some cases CPU_MASK_ALL is smaller than the cpumask (eg
  NR_CPUS == 32 and cpumask is a long), so we mask it here to
  be consistent.

22 years ago[PATCH] Fix multiple EEH-related bugs
Andrew Morton [Mon, 15 Mar 2004 23:26:29 +0000 (15:26 -0800)]
[PATCH] Fix multiple EEH-related bugs

From: Linas Vepstas <linas@austin.ibm.com>

This patch fixes multiple EEH-related bugs:

 - Fixes the eeh_check_failure() usage in an interrupt context.
   This routine is now safe to use in an interrupt. The fix was to
   build a cache of IO addresses and check that, instead of using
   the pci routines.
 - Merges in Olof Johansson's sizeof patch when checking for failure
 - Adds EEH tests to array/string reads
 - Fixes bugs with address resolution (some i/o addresses were handled
   incorrectly, resulting in EEH errors slipping by undetected.)
 - Adds EEH support to the PCI Hotplug system (so that devices that
   get added/removed get properly registered with the EEH subsystem.)
 - Fixes improper use of /proc filesystem.
 - Adds some misc statistics.

While merging Linas' patch I also converted the proc usage to
seq_single, used per cpu variables for the stats and removed the
eeh-force-off option.

22 years ago[PATCH] Fix for hotplug of multifunction cards.
Andrew Morton [Mon, 15 Mar 2004 23:26:19 +0000 (15:26 -0800)]
[PATCH] Fix for hotplug of multifunction cards.

From: Linda Xie <lxiep@us.ibm.com>

The changes in this patch are for multifunction cards insertions/removals
and  bug fixes:

1. fix up new nodes' linux_phandle field.
2. new nodes' phb, devfn(and so on) need to be fixed even the nodes don't
have "interrupts".
3. change of_remove_node to non-recurisve func. The recursions will be done
by the caller.
4. add a new function -- of_finish_dynamic_node_interrupts()

22 years ago[PATCH] Add some missing EXPORT_SYMBOLs
Andrew Morton [Mon, 15 Mar 2004 23:26:08 +0000 (15:26 -0800)]
[PATCH] Add some missing EXPORT_SYMBOLs

From: Anton Blanchard <anton@samba.org>

Add some missing EXPORT_SYMBOLs

22 years ago[PATCH] Handle longbusy return codes in IBM VETH driver
Andrew Morton [Mon, 15 Mar 2004 23:25:57 +0000 (15:25 -0800)]
[PATCH] Handle longbusy return codes in IBM VETH driver

From: Santiago Leon <santil@us.ibm.com>

Handle longbusy return codes in IBM VETH driver

22 years ago[PATCH] Add hypervisor busy return codes
Andrew Morton [Mon, 15 Mar 2004 23:25:46 +0000 (15:25 -0800)]
[PATCH] Add hypervisor busy return codes

From: Dave Boutcher <boutcher@us.ibm.com>

Add hypervisor busy return codes

22 years ago[PATCH] Make dma API handle PCI and VIO
Andrew Morton [Mon, 15 Mar 2004 23:25:35 +0000 (15:25 -0800)]
[PATCH] Make dma API handle PCI and VIO

From: Stephen Rothwell <sfr@canb.auug.org.au>

Make dma API handle PCI and VIO

22 years ago[PATCH] Remove some unused ppc64 variables
Andrew Morton [Mon, 15 Mar 2004 23:25:22 +0000 (15:25 -0800)]
[PATCH] Remove some unused ppc64 variables

From: Anton Blanchard <anton@samba.org>

Remove some unused ppc64 variables

22 years ago[PATCH] Remove bogus sys_oldumount sign extension code
Andrew Morton [Mon, 15 Mar 2004 23:25:10 +0000 (15:25 -0800)]
[PATCH] Remove bogus sys_oldumount sign extension code

From: Anton Blanchard <anton@samba.org>

Remove bogus sys_oldumount sign extension code. We were sign extending
the flags argument which doesnt make sense.

22 years ago[PATCH] Reduce stack overflow check to 4096 bytes
Andrew Morton [Mon, 15 Mar 2004 23:24:59 +0000 (15:24 -0800)]
[PATCH] Reduce stack overflow check to 4096 bytes

From: Anton Blanchard <anton@samba.org>

Reduce stack overflow check to 4096 bytes free, we were tripping it
too much at 8192.

22 years ago[PATCH] iostats averaging fix
Andrew Morton [Mon, 15 Mar 2004 23:22:49 +0000 (15:22 -0800)]
[PATCH] iostats averaging fix

From: Rick Lindsley <ricklind@us.ibm.com>

Fix bug #2230.

I've corresponded with the submitter and he did find a real bug -- when we
were merging I/O requests we didn't always take the oldest request start
time, which would cause a couple of the calculations like wait time and
average queue size to be too small.  He found it mathematically but having
done so, I think logic and inspection makes it easy to verify.

22 years ago[PATCH] blk: statically initialise the congestion waitqueue_heads
Andrew Morton [Mon, 15 Mar 2004 23:22:38 +0000 (15:22 -0800)]
[PATCH] blk: statically initialise the congestion waitqueue_heads

On a really small memory machine (or one with a monstrous kernel memory leak)
we can end up calling blk_congestion_wait() before the waitqueue_heads are set
up.

22 years ago[PATCH] kill INIT_THREAD_SIZE
Andrew Morton [Mon, 15 Mar 2004 23:22:26 +0000 (15:22 -0800)]
[PATCH] kill INIT_THREAD_SIZE

From: Matt Mackall <mpm@selenic.com>

This piece of the THREAD_SIZE cleanup got dropped.  If you make THREAD_SIZE
> 8k, the init thread overlaps the .init section and gets smashed.  I've
gone ahead and killed INIT_THREAD_SIZE throughout as it wasn't doing much.
This also saves 4k when we use 4k stacks.  Please apply.  Couple more minor
pieces remaining.

22 years ago[PATCH] kthreads hold files open
Andrew Morton [Mon, 15 Mar 2004 23:22:15 +0000 (15:22 -0800)]
[PATCH] kthreads hold files open

keventd and friends are currently holding /dev/console open three times.
It's all inherited from init.

Steal the relevant parts of daemonize() to fix that up.

22 years ago[PATCH] slab: fix display of object length in corruption detector
Andrew Morton [Mon, 15 Mar 2004 23:22:03 +0000 (15:22 -0800)]
[PATCH] slab: fix display of object length in corruption detector

From: Manfred Spraul <manfred@colorfullife.com>

print_objinfo() dumps the first few characters of an interesting object for
debugging.  It used the wrong object len (including debug padding, instead
of just the data area), which could cause an oops if DEBUG_PAGEALLOC is
enabled.

22 years ago[PATCH] document unchecked do_munmaps in ipc/shm.c
Andrew Morton [Mon, 15 Mar 2004 23:21:52 +0000 (15:21 -0800)]
[PATCH] document unchecked do_munmaps in ipc/shm.c

From: Manfred Spraul <manfred@colorfullife.com>

There are a few unchecked do_munmap()s in the shm code.  Manfred's comment
explains why they are OK.

22 years ago[PATCH] do_write_mem() return value check
Andrew Morton [Mon, 15 Mar 2004 23:21:39 +0000 (15:21 -0800)]
[PATCH] do_write_mem() return value check

From: BlaisorBlade <blaisorblade_spam@yahoo.it>, and me

- remove unused `file *' arg from do_write_mem()

- Add checking for copy_from_user() failures in do_write_mem()

- Return correct value from kmem writes() when a fault is encountered.  A
  write()-style syscall's return values are:

   0 when nothing was written and there was no error (someone tried to
   write zero bytes)

   >0: the number of bytes copied, whether or not there was an error.
   Userspace detects errors by noting that the write() return value is less
   than was requested.

   <0: there was an error and no bytes were copied

22 years ago[PATCH] resierfs: AIO support
Andrew Morton [Mon, 15 Mar 2004 23:21:28 +0000 (15:21 -0800)]
[PATCH] resierfs: AIO support

From: Chris Mason <mason@suse.com>

reiserfs can safely use the generic fs aio functions.

22 years ago[PATCH] reiserfs: atomicity fix
Andrew Morton [Mon, 15 Mar 2004 23:21:18 +0000 (15:21 -0800)]
[PATCH] reiserfs: atomicity fix

From: Chris Mason <mason@suse.com>

reiserfs_file_write() can use stale metadata after a schedule.

Two reiserfs_file_write bugs, where items can change during a schedule.

22 years ago[PATCH] reiserfs: fix transaction sizes
Andrew Morton [Mon, 15 Mar 2004 23:21:05 +0000 (15:21 -0800)]
[PATCH] reiserfs: fix transaction sizes

From: Chris Mason <mason@suse.com>

Make sure reiserfs uses a reasonable number when restarting long unbounded
transactions (creating holes or deleting files).

Without this patch, the number of blocks requested grows with each
transaction restart, until it hits MAX_BATCH_COUNT and starts forcing
commits with every new transaction.

Oleg Drokin tracked this bug down

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

From: Chris Mason <mason@suse.com>

Fix a bug in reiserfs search_by_key call, where it might not properly
detect a change in tree height during a schedule.  Originally from
vs@namesys.com

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.