]> git.hungrycats.org Git - linux/log
linux
20 years agoLinux 2.6.9 v2.6.9
Linus Torvalds [Mon, 18 Oct 2004 04:50:06 +0000 (21:50 -0700)]
Linux 2.6.9

20 years ago[PATCH] USB: handle NAK packets in input devices.
Greg Kroah-Hartman [Mon, 18 Oct 2004 04:46:50 +0000 (21:46 -0700)]
[PATCH] USB: handle NAK packets in input devices.

Andrew requested this fix go in before 2.6.9 was out, to keep people's
syslog quiet for a lot of different USB input devices.

Fixes bug bugzilla.kernel.org bug #3564

Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] Duh. _Really_ unbalanced locking in MTD Intel chip driver
Nicolas Pitre [Mon, 18 Oct 2004 04:46:38 +0000 (21:46 -0700)]
[PATCH] Duh. _Really_ unbalanced locking in MTD Intel chip driver

I apparently can't copy simple obvious fixes by hand.

Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] unbalanced locking in MTD Intel chip driver
Nicolas Pitre [Mon, 18 Oct 2004 02:00:40 +0000 (19:00 -0700)]
[PATCH] unbalanced locking in MTD Intel chip driver

This obvious missing unlock is screwing the preemption count.
Fix was applied to MTD CVS already.

Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] security issue in firmware system
Oliver Neukum [Mon, 18 Oct 2004 01:22:09 +0000 (18:22 -0700)]
[PATCH] security issue in firmware system

The firmware loader has a security issue.  Firmware on some devices can
write to all memory through DMA.  Therefore the ability to feed firmware
to the kernel is equivalent to writing to /dev/kmem.  CAP_SYS_RAWIO is
needed to protect itself.

[ Editors note: the firmware file is 0644, and owned by root, so this
  "security issue" is really only an issue for people who use
  capabilities explicitly, rather than the regular Unix permissions.
  This patch makes it do the same checks we do for /dev/mem etc.  ]

Signed-Off-By: Oliver Neukum <oliver@neukum.name>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] Fix NFS3 krb5 clients on x86-64
Mark Goodman [Mon, 18 Oct 2004 01:21:57 +0000 (18:21 -0700)]
[PATCH] Fix NFS3 krb5 clients on x86-64

This patch is necessary to make NFS3 krb5 clients work on x86-64.

ACK'ed by Trond

Signed-off-by: Mark Goodman <mgoodman@csua.berkeley.edu>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] ppc64: fix smp_startup_cpu for cpu hotplug
Nathan Lynch [Sun, 17 Oct 2004 02:21:08 +0000 (19:21 -0700)]
[PATCH] ppc64:  fix smp_startup_cpu for cpu hotplug

This change is needed in order to allow cpus to be onlined after
boot.  This used to work but the declaration of
pseries_secondary_smp_init in this file was changed in Ben's big
cleanup patch a while back, so the cpu would start at a bad address.

Signed-off-by: Nathan Lynch <nathanl@austin.ibm.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] kswapd lockup fix
Nick Piggin [Sun, 17 Oct 2004 02:20:56 +0000 (19:20 -0700)]
[PATCH] kswapd lockup fix

Fix some bugs in the kswapd logic which can cause kswapd lockups.

The balance_pgdat() logic is supposed to cause kswapd to loop across all zones
in the node until each zone either

a) has enough pages free or

b) is deemed to be in an "all pages unreclaimable" state.

In the latter case, we just give the zone a light scan on each balance_pgdat()
scan and wait for the zone to come back to life again.

But the zone->all_unreclaimable logic is broken - if the zone has no pages on
the LRU at all, we perform no scanning of that zone (of course).  So the
zone->pages_scanned is not incremented and the expression

if (zone->pages_scanned > zone->present_pages * 2)
zone->all_unreclaimable = 1;

never is satisfied.

The patch changes that logic to

if (zone->pages_scanned >= (zone->nr_active +
zone->nr_inactive) * 4)
zone->all_unreclaimable = 1;

so if the zone has no LRU pages it will still enter the all_unreclaimable
state.

Another problem is that if the zone has no LRU pages we will tell
shrink_slab() that we scanned zero LRU pages.  This causes shrink_slab() to
scan zero slab objects, which is obviously wrong.  So change shrink_slab() to
perform a decent chunk of slab scanning in this situation.

And put a cond_resched() into the balance_pgdat() outer loop.  Probably
unnecessary, but that's what Jeff had in place when he confirmed that this
patch fixed the lockup :(

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] swsusp: fix x86-64 - do not use memory in copy loop
Pavel Machek [Sun, 17 Oct 2004 02:20:42 +0000 (19:20 -0700)]
[PATCH] swsusp: fix x86-64 - do not use memory in copy loop

In assembly code, there are some problems with "nosave" section (linker was
doing something stupid, like duplicating the section).  We attempted to fix
it, but fix was worse then first problem.  This fixes is for good: We no
longer use any memory in the copy loop.  (Plus it fixes indentation and
uses meaningful labels.)

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] tailcall prevention in sys_wait4() and sys_waitid()
Ingo Molnar [Sun, 17 Oct 2004 02:20:30 +0000 (19:20 -0700)]
[PATCH] tailcall prevention in sys_wait4() and sys_waitid()

A hack to prevent the compiler from generatin tailcalls in these two
functions.

With CONFIG_REGPARM=y, the tailcalled code ends up stomping on the
syscall's argument frame which corrupts userspace's registers.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] intel_agp: dangling devexit reference
Randy Dunlap [Sun, 17 Oct 2004 02:20:18 +0000 (19:20 -0700)]
[PATCH] intel_agp: dangling devexit reference

Fix error found by 'scripts/reference_discarded.pl':
Error: ./drivers/char/agp/intel-agp.o .data refers to 00000914 R_386_32          .exit.text

Signed-off-by: Randy Dunlap <rddunlap@osdl.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] ppc64: more issues with mem_reserve
Benjamin Herrenschmidt [Sat, 16 Oct 2004 13:19:14 +0000 (06:19 -0700)]
[PATCH] ppc64: more issues with mem_reserve

As Milton noticed, Anton actually broke the logic if the memory isn't
aligned in the first place.  Sorry about this mess for such a little
piece of code.  This _really_ fixes is it all

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] joydump needs gameport
Olaf Hering [Sat, 16 Oct 2004 08:03:26 +0000 (01:03 -0700)]
[PATCH] joydump needs gameport

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] ppc64: fix some issues with mem_reserve
Anton Blanchard [Sat, 16 Oct 2004 08:03:14 +0000 (01:03 -0700)]
[PATCH] ppc64: fix some issues with mem_reserve

I found a couple of issues with reserve_mem:

- If we try and mem_reserve something of zero length, everything
  reserved after it would get ignored. This is because early_reserve_mem
  sees a zero length as a terminator.
- The code rounded the top down instead of up.

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] ppc32: Add "native" iomap interfaces
Benjamin Herrenschmidt [Sat, 16 Oct 2004 08:03:01 +0000 (01:03 -0700)]
[PATCH] ppc32: Add "native" iomap interfaces

This patch adds proper ppc32 "iomap" interfaces.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] ppc64: Split iomap implementation & eeh !
Benjamin Herrenschmidt [Sat, 16 Oct 2004 08:02:49 +0000 (01:02 -0700)]
[PATCH] ppc64: Split iomap implementation & eeh !

Nowadays, it's possible to build CONFIG_PPC_PMAC without CONFIG_PPC_PSERIES,
in which case, eeh will not be included in the build (and the eeh checks are
turned into no-ops). However, we then "lose" the iomap functions. This patch
moves them to a separate file.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] ext3 direct io assert fix
Andrew Morton [Sat, 16 Oct 2004 08:02:35 +0000 (01:02 -0700)]
[PATCH] ext3 direct io assert fix

Fix bug identified by Badari Pulavarty <pbadari@us.ibm.com>

Local variable `handle' will become stale if ext3_direct_io_get_blocks()
closes off the current transaction and starts a new one.  This causes a BUG in
journal_stop().

So reacquire the handle from *current after performing the I/O.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years agoLinux 2.6.9-final v2.6.9-final
Linus Torvalds [Fri, 15 Oct 2004 13:01:12 +0000 (06:01 -0700)]
Linux 2.6.9-final

Let's try the 2.4.x release methodology

20 years agoMerge bk://kernel.bkbits.net/gregkh/linux/fix-2.6
Linus Torvalds [Fri, 15 Oct 2004 09:10:51 +0000 (02:10 -0700)]
Merge bk://kernel.bkbits.net/gregkh/linux/fix-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

20 years ago[PATCH] PCI Hotplug: rpaphp safe list traversal
John Rose [Fri, 15 Oct 2004 05:11:26 +0000 (22:11 -0700)]
[PATCH] PCI Hotplug: rpaphp safe list traversal

Hoping you will accept this fix.  The bug can cause a crash upon hotplug
remove.  The bug involves unsafe traversal of a list while deleting list
members.  The fix uses list_for_each_safe() rather than
list_for_each().  Also threw in an initialization to get rid of a
compiler warning.

Signed-off-by: John Rose <johnrose@austin.ibm.com>
Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
20 years agoTake the whole PCI bus range into account when scanning PCI bridges.
Linus Torvalds [Thu, 14 Oct 2004 04:03:12 +0000 (21:03 -0700)]
Take the whole PCI bus range into account when scanning PCI bridges.

A bridge that has been set up by firmware to cover multiple PCI
buses but doesn't actually have anything connected behind some of
them caused us to use the incorrect maxmimum bus number span when
scanning the bridge chip.

Problem reported by Tim Saunders, with Russell King suggesting
the fix.

20 years agoFix threaded user page write memory ordering
Linus Torvalds [Thu, 14 Oct 2004 04:00:06 +0000 (21:00 -0700)]
Fix threaded user page write memory ordering

Make sure we order the writes to a newly created page
with the page table update that potentially exposes the
page to another CPU.

This is a no-op on any architecture where getting the
page table spinlock will already do the ordering (notably
x86), but other architectures can care.

20 years ago[PATCH] H8/300 some error/warning fix
Yoshinori Sato [Wed, 13 Oct 2004 14:31:45 +0000 (07:31 -0700)]
[PATCH] H8/300 some error/warning fix

Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] uml: fix critical IP checksum corruption
Paolo \'Blaisorblade\' Giarrusso [Wed, 13 Oct 2004 14:31:33 +0000 (07:31 -0700)]
[PATCH] uml: fix critical IP checksum corruption

From: Lars Ellenberg <Lars.Ellenberg@linbit.com>

Add a memory barrier to the assembly checksum code - the code was copied
straight from the i386 one, and the patch resyncs the code with the
original.  I'll check if the original code can be included directly (i.e.
"#include") after 2.6.9.

Without this patch, every 2.6 UML release corrupts the checksum of every
UDP fragmented packet with size >= MTU (verified by various people, we all
agree on this issue; nobody reported "Works fine here").  The corrupted
packets are not accepted, thus blocking any kind of communication with
large-sized UDP packets.

In fact, I've even dissected the UML -> host traffic before and after this
patch with Ethereal - and it always reported an incorrect checksum for
fragmented UDP packets before and always correct after applying the patch.

Signed-off-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade_spam@yahoo.it>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] uml: use always a separate io thread for UBD
Paolo \'Blaisorblade\' Giarrusso [Wed, 13 Oct 2004 14:31:21 +0000 (07:31 -0700)]
[PATCH] uml: use always a separate io thread for UBD

Currently, ubd=sync is different from replacing ubd#= with ubd#s=.  This is
against Principle of Least Surprise, so remove this difference.

Also the current ubd=sync behaviour is completely useless: it is to make sure
that when the kernel has synched its I/O to the virtual disk, the host does
not invalidate this with his caching; this causes ReiserFS corruption.

But since actually we call end_request() only after the io_thread has done its
work, we never lie to the block layer.  Using O_SYNC as we do when replacing
ubd#= with ubd#s= is enough.

Signed-off-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade_spam@yahoo.it>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] uml: fix ubd deadlock on SMP
Paolo \'Blaisorblade\' Giarrusso [Wed, 13 Oct 2004 14:31:09 +0000 (07:31 -0700)]
[PATCH] uml: fix ubd deadlock on SMP

From: BlaisorBlade <blaisorblade_spam@yahoo.it>, Chris Wright <chrisw@osdl.org>

Avoid deadlocking onto the request lock in the UBD driver, i.e.  don't lock
the queue spinlock when called from the request function.

In detail:

Rename ubd_finish() to __ubd_finish() and remove ubd_io_lock from it.  Add
wrapper, ubd_finish(), which grabs lock before calling __ubd_finish().  Update
do_ubd_request to use the lock free __ubd_finish() to avoid deadlock.  Also,
apparently prepare_request is called with ubd_io_lock held, so remove locks
there.

Signed-off-by: Chris Wright <chrisw@osdl.org>
Signed-off-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade_spam@yahoo.it>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] uml: mark broken configs
Paolo \'Blaisorblade\' Giarrusso [Wed, 13 Oct 2004 14:30:57 +0000 (07:30 -0700)]
[PATCH] uml: mark broken configs

Some configuration options are known not to compile.  So then make them depend
on CONFIG_BROKEN.

Signed-off-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade_spam@yahoo.it>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] uml: kbuild - add even more cleaning
Paolo \'Blaisorblade\' Giarrusso [Wed, 13 Oct 2004 14:30:46 +0000 (07:30 -0700)]
[PATCH] uml: kbuild - add even more cleaning

Remove one more symlink when doing

make mrproper ARCH=um

Signed-off-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade_spam@yahoo.it>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] uml: update makefile to new kbuild API names
Paolo \'Blaisorblade\' Giarrusso [Wed, 13 Oct 2004 14:30:34 +0000 (07:30 -0700)]
[PATCH] uml: update makefile to new kbuild API names

Drop the usage of check_gcc and host-progs, and use their new names.  A
must-have :-).

Oh, and it will create lots of serious problems - it will give me your root
account!  Yes, you don't see the code in the patch, but it happens!  :-)))

Signed-off-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade_spam@yahoo.it>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] uml: make -j fix
Paolo \'Blaisorblade\' Giarrusso [Wed, 13 Oct 2004 14:30:22 +0000 (07:30 -0700)]
[PATCH] uml: make -j fix

Makes the UML build system work well even under parallel make (tested, so far,
even with -j50).  Please notice that it must be updated for every makefile
change.  Or better, every makefile change must use correct dependencies (and
they are easy to miss).

Signed-off-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade_spam@yahoo.it>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] uml: Single Linking Step for vmlinux
Paolo \'Blaisorblade\' Giarrusso [Wed, 13 Oct 2004 14:30:10 +0000 (07:30 -0700)]
[PATCH] uml: Single Linking Step for vmlinux

Uml-specific patch (which requires a mainline hook, mailed separately).

This patch avoid the linking kludge which leaves kbuild link vmlinux and then
link it with libc inside linux.  This kludge has the big problem of making
kallsyms break, since the kallsyms pass is done on a completely

Signed-off-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade_spam@yahoo.it>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] uml: no extraversion in arch/um/Makefile for mainline
Paolo \'Blaisorblade\' Giarrusso [Wed, 13 Oct 2004 14:29:58 +0000 (07:29 -0700)]
[PATCH] uml: no extraversion in arch/um/Makefile for mainline

Extraversion in arch/um/Makefile is not needed in mainline, but just for
separate patches; also, they should set it in the main Makefile, not elsewhere
(Jeff Garzik has just complained).  Also remove the dependency from version.h
on arch/um/Makefile: it was added because arch/um/Makefile could change the
kernel version number.

Signed-off-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade_spam@yahoo.it>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] uml: force using /bin/bash for building
Paolo \'Blaisorblade\' Giarrusso [Wed, 13 Oct 2004 14:29:46 +0000 (07:29 -0700)]
[PATCH] uml: force using /bin/bash for building

This forces make to use bash rather than whatever /bin/sh is linked to.
Without this, since there are some bash extensions used in the build and when
/bin/sh isn't bash, then the build fails without a clear error message.

Signed-off-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade_spam@yahoo.it>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] uml: Set cflags before including arch Makefile
Paolo \'Blaisorblade\' Giarrusso [Wed, 13 Oct 2004 14:29:34 +0000 (07:29 -0700)]
[PATCH] uml: Set cflags before including arch Makefile

If arch/$(ARCH)/Makefile is included before adding -O2 (and the rest) to
CFLAGS, I must duplicate the addition of it to USER_CFLAGS for UML.  So let's
fix this.  Also, the below code is useless, since if CONFIG_DEBUG_INFO is y,
then CONFIG_FRAME_POINTER is always y.

ifeq ($(CONFIG_DEBUG_INFO),y)
CFLAGS := $(subst -fomit-frame-pointer,,$(CFLAGS))
endif

Signed-off-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade_spam@yahoo.it>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] uml: export more Symbols
Paolo \'Blaisorblade\' Giarrusso [Wed, 13 Oct 2004 14:29:22 +0000 (07:29 -0700)]
[PATCH] uml: export more Symbols

Adds a lot more EXPORT_SYMBOLS calls.

Signed-off-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade_spam@yahoo.it>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] uml: fix an "unused" warnings
Paolo \'Blaisorblade\' Giarrusso [Wed, 13 Oct 2004 14:29:10 +0000 (07:29 -0700)]
[PATCH] uml: fix an "unused" warnings

Fixes some random warnings.  To avoid "defined but not used" for
not_configged_ops, make it be defined only if at least one channel is not
defined.

Signed-off-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade_spam@yahoo.it>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] uml: finish update for 2.6.8 API changes
Paolo \'Blaisorblade\' Giarrusso [Wed, 13 Oct 2004 14:28:58 +0000 (07:28 -0700)]
[PATCH] uml: finish update for 2.6.8 API changes

Add some updates for API changes in 2.6.8 which were not included in the
original UML patch; these fixes were detected by some warnings, so I probably
missed some more ones.

Signed-off-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade_spam@yahoo.it>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] uml: fix warning for unused var
Paolo \'Blaisorblade\' Giarrusso [Wed, 13 Oct 2004 14:28:46 +0000 (07:28 -0700)]
[PATCH] uml: fix warning for unused var

That var is used only when CONFIG_UML_REAL_TIME_CLOCK is on, so #ifdef its
definition.

Signed-off-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade_spam@yahoo.it>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] uml: fix wrong type for rb_entry call
Paolo \'Blaisorblade\' Giarrusso [Wed, 13 Oct 2004 14:28:34 +0000 (07:28 -0700)]
[PATCH] uml: fix wrong type for rb_entry call

With the type-safe rb_entry (based on container_of, I sent it) I discovered
this type error, so I've fixed it.

Signed-off-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade_spam@yahoo.it>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] uml: don't declare cpu_online - fix compilation error
Paolo \'Blaisorblade\' Giarrusso [Wed, 13 Oct 2004 14:28:22 +0000 (07:28 -0700)]
[PATCH] uml: don't declare cpu_online - fix compilation error

Avoid redeclaring again (resulting in a compilation error) cpu_online and
cpu_*_map, which are now declared elsewhere.

Signed-off-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade_spam@yahoo.it>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] SELinux: fix bugs in mprotect hook
James Morris [Wed, 13 Oct 2004 14:28:10 +0000 (07:28 -0700)]
[PATCH] SELinux: fix bugs in mprotect hook

The patch below by Roland McGrath fixes two bugs in the implementation of
the selinux_file_mprotect hook:

  It calls selinux_file_mmap, which has two problems.  First, the stacked
  security module will get both mmap and mprotect callbacks for an
  mprotect call, which is wrong.  Secondly, the vm_flags value contains
  VM_* bits, and these do not match the MAP_* bits of the same name or
  function, so it passes bogus flags and causes every mprotect to be
  treated as if MAP_SHARED were in use.

  The patch shares the common code while not having one function call the
  other, and fixes these two bugs.

Signed-off-by: James Morris <jmorris@redhat.com>
Signed-off-by: Roland McGrath <roland@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] SELinux: retain ptracer SID across fork
Stephen D. Smalley [Wed, 13 Oct 2004 14:27:58 +0000 (07:27 -0700)]
[PATCH] SELinux: retain ptracer SID across fork

This fixes a bug in SELinux to retain the ptracer SID (if any) across fork.
Otherwise, SELinux will always deny attempts by traced children to exec
domain-changing programs even if the policy would have allowed the tracer
to trace the new domains as well.

Signed-off-by: Stephen Smalley <sds@epoch.ncsc.mil>
Signed-off-by: James Morris <jmorris@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] Fix reporting of process start times
Tim Schmielau [Wed, 13 Oct 2004 14:27:49 +0000 (07:27 -0700)]
[PATCH] Fix reporting of process start times

Derive process start times from the posix_clock_monotonic notion of uptime
instead of "jiffies", consistent with the earlier change to /proc/uptime
itself.
(http://linus.bkbits.net:8080/linux-2.5/cset@3ef4851dGg0fxX58R9Zv8SIq9fzNmQ?na%0Av=index.html|src/.|src/fs|src/fs/proc|related/fs/proc/proc_misc.c)

Process start times are reported to userspace in units of 1/USER_HZ since
boot, thus applications as procps need the value of "uptime" to convert
them into absolute time.

Currently "uptime" is derived from an ntp-corrected time base, but process
start time is derived from the free-running "jiffies" counter.  This
results in inaccurate, drifting process start times as seen by the user,
even if the exported number stays constant, because the users notion of
"jiffies" changes in time.

It's John Stultz's patch anyways, which I only messed up a bit, but since
people started trading signed-off lines on lkml:

Signed-off-by: Tim Schmielau <tim@physik3.uni-rostock.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] Fix MTD build error for Lubbock map driver
Nicolas Pitre [Wed, 13 Oct 2004 14:27:37 +0000 (07:27 -0700)]
[PATCH] Fix MTD build error for Lubbock map driver

Without this patch, Lubbock is pretty unusable in current 2.6.9-rc4.  The
same fix already present in the MTD CVS.

Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] auth_domain_lookup fix
Olaf Kirch [Wed, 13 Oct 2004 14:27:25 +0000 (07:27 -0700)]
[PATCH] auth_domain_lookup fix

This patch makes sure that auth_domain_lookup returns NULL when it doesn't
find a matching entry, rather than the last entry in the hash chain.

Signed-off-by: Olaf Kirch <okir@suse.de>
Acked-by: Neil Brown <neilb@cse.unsw.edu.au>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] Fix oops in parkbd
Dmitry Torokhov [Wed, 13 Oct 2004 14:27:13 +0000 (07:27 -0700)]
[PATCH] Fix oops in parkbd

parkbd - zero-fill allocated serio structure to prevent Oops when
registering port.

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] ptep_establish smp race x86 PAE >4G
Andrea Arcangeli [Wed, 13 Oct 2004 14:27:01 +0000 (07:27 -0700)]
[PATCH] ptep_establish smp race x86 PAE >4G

This avoid userspace mm corruption during COWs with threads (i.e.
malloc;fork;clone) on x86 PAE with >4G of ram

Signed-Off-By: Andrea Arcangeli <andrea@novell.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] cyber2000: fix init/exit section confusion
Randy Dunlap [Wed, 13 Oct 2004 14:26:49 +0000 (07:26 -0700)]
[PATCH] cyber2000: fix init/exit section confusion

- cyberpro_free_fb_info() is called by both __devinit & __devexit code,
  so it cannot be __devinit.

- igs_regs[] is used by resume code (indirectly), so it cannot be
  discardable.

This leaves one reference in cyber2000fb that 'make buildcheck' complains
about, but I believe that it's OK, that being ".probe" here:

static struct pci_driver cyberpro_driver =
{
.name = "CyberPro",
.probe = cyberpro_pci_probe,

Signed-off-by: Randy Dunlap <rddunlap@osdl.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] m32r: remove obsolete system calls
Hirokazu Takata [Wed, 13 Oct 2004 14:26:37 +0000 (07:26 -0700)]
[PATCH] m32r: remove obsolete system calls

This patch is for removing obsolete system calls from m32r kernel, such as
old_mmap and old_select.

* arch/m32r/kernel/entry.S:
- Remove an obsolete system call, old_mmap, from the syscall table.

* arch/m32r/kernel/sys_m32r.c:
- Remove obsolete system calls, old_mmap() and old_select().
- do_mmap2() is renamed to sys_mmap2().

* CAUTION (for m32r users):
  The new kernel (applied this patch) does not have a backward
  compatibility. The new kernel and old library pair does not work.

  So, those who want to use the new kernel must use a new version of
  glibc (the GNU C library), which uses the "mmap2(_NR_mmap2)" syscall
  for __mmap() instead of the "old_mmap(__NR_mmap)".

  The new glibc package, libc6_2.3.2.ds1-16.0.3_m32r.deb, is provided
  on the following site, please apt-get/download it and upgrade.

    http://debian.linux-m32r.org/dists/03_cambrian/main/binary-m32r/

Signed-off-by: Hirokazu Takata <takata@linux-m32r.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] m32r: fix syscall table
Hirokazu Takata [Wed, 13 Oct 2004 14:26:25 +0000 (07:26 -0700)]
[PATCH] m32r: fix syscall table

This patch fixes the system call table for m32r.

The latest kernel cannot be linked for m32r, because the following
experimental syscalls doesn't exist in the prepatch kernel of bk-tree.

* include/asm-m32r/unistd.h:
- Remove syscalls from #285(perfctr_info) to #293(keyctl).

* arch/m32r/kernel/entry.S: ditto.

Signed-off-by: Hirokazu Takata <takata@linux-m32r.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] revert writeback threshold changes
Andrew Morton [Wed, 13 Oct 2004 14:26:13 +0000 (07:26 -0700)]
[PATCH] revert writeback threshold changes

The post-2.6.8 recent tweaks to the page writeback thresholding code seems to
be doing the wrong thing for small unmapped_ratios - nathans had a few
problems with it.  The problem it was trying to fix is minor and fairly
theoretical anyway, so back it out to the old code.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] fix oops in fork() cleanup path
John L. Byrne [Wed, 13 Oct 2004 14:26:01 +0000 (07:26 -0700)]
[PATCH] fix oops in fork() cleanup path

It will oops on an error path if the thread being forked is a process with
a NULL mm.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] time interpolator fixes
Christoph Lameter [Wed, 13 Oct 2004 14:25:49 +0000 (07:25 -0700)]
[PATCH] time interpolator fixes

- Remove the setting of CLOCK_REALTIME and CLOCK_MONOTONIC resolution
  according to the interpolator resolution since this causes periodic timer
  signals to fail.  The clocks will still be high-resolution but the
  "resolution" reported reflects the timer intervals possible via
  timer_settime (also more conformant to what the Single Unix Specification
  says).

- Make the IA64 clock_gettime fastcall fall back on negative clock
  numbers instead of returning CLOCK_REALTIME.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years agoMerge http://oss.sgi.com:8090/xfs-linux-2.6
Linus Torvalds [Wed, 13 Oct 2004 00:28:23 +0000 (17:28 -0700)]
Merge http://oss.sgi.com:8090/xfs-linux-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

20 years ago[XFS] fix a freeze/thaw deadlock
Christoph Hellwig [Wed, 13 Oct 2004 23:30:49 +0000 (09:30 +1000)]
[XFS] fix a freeze/thaw deadlock

Signed-off-by: Nathan Scott <nathans@sgi.com>
20 years ago[XFS] Fix regression when running in laptop mode, causes hangs on sync.
Nathan Scott [Wed, 13 Oct 2004 23:10:46 +0000 (09:10 +1000)]
[XFS] Fix regression when running in laptop mode, causes hangs on sync.

SGI Modid: xfs-linux:xfs-kern:19744a
Signed-off-by: Nathan Scott <nathans@sgi.com>
20 years ago[XFS] Fix up write_inode return type to use the right signedness.
Nathan Scott [Wed, 13 Oct 2004 23:07:07 +0000 (09:07 +1000)]
[XFS] Fix up write_inode return type to use the right signedness.

SGI Modid: xfs-linux:xfs-kern:19632a
Signed-off-by: Nathan Scott <nathans@sgi.com>
20 years ago[PATCH] USB: Fix hiddev devfs oops
Andrew Morton [Tue, 12 Oct 2004 08:02:31 +0000 (01:02 -0700)]
[PATCH] USB: Fix hiddev devfs oops

From: Herbert Xu <herbert@gondor.apana.org.au>

There is a long-standing devfs_unregister oops in hid/hiddev.  It's caused
by hid calling hiddev_exit before unregistering itself which in turn calls
hiddev_disconnect.

hiddev_exit removes the directory which contains the hiddev devices.
Therefore it needs to be called after the hiddev devices have been
disconnected.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
20 years ago[PATCH] USB: net2280 updates
David Brownell [Tue, 12 Oct 2004 08:02:17 +0000 (01:02 -0700)]
[PATCH] USB: net2280 updates

Net2280 patches to:

  - Make reset logic ensure endpoint toggle and halt bits only get cleared
    on endpoints other than ep0 to fix an extremely unlikely (but possible)
    state when a setup packet come in after we've checked the reset status
    but before calling ep_reset().

  - Avoid a disconnect hang by exchanging SUSPEND_IMMEDIATELY (intended for
    use when the 8051 is the PCI host) with SUSPEND_REQUEST_INTERRUPT to
    suspend the NET2280.

  - Make rmmod of gadget drivers trigger disconnect; earlier changes to
    reset logic broke this.

Signed-off-by: Alex Sanks <alex@netchip.com>
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
20 years ago[PATCH] USB: Fix oops in usblp driver
Vojtech Pavlik [Tue, 12 Oct 2004 08:02:03 +0000 (01:02 -0700)]
[PATCH] USB: Fix oops in usblp driver

This bug was reported back in July, and I sent out a patch but apparently
it never got to you.  The usblp driver was calling usb_buffer_free() from
usblp_cleanup(), which runs after disconnect() if a user process holds the
device open.  But once the usb_device is gone usb_buffer_free() will
oops.  The patch frees the buffers in usb_disconnect() instead.

Recently Joost Witteveen reported the same oops and found that the
patch solved it for him.  So there shouldn't be problems with accepting
it.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Vojtech Pavlik <vojtech@suse.cz>
Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
20 years ago[PATCH] USB: EHCI SMP fix
David Brownell [Tue, 12 Oct 2004 08:01:51 +0000 (01:01 -0700)]
[PATCH] USB: EHCI SMP fix

This addresses an SMP-only issue with the EHCI driver, where only one CPU
should scan the schedule at a time (scanning is not re-entrant) but either
the IRQ handler or a watchdog timer could end up starting it.  Many thanks
to Olaf Hering for isolating the failure mode, and testing this fix!

Once once CPU starts scanning, any other might as well finish right
away.  This fix just adds a flag to detect that case.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
20 years ago[PATCH] USB: "Lost sync on frames" error in konicawc module
Andrew Morton [Tue, 12 Oct 2004 08:01:36 +0000 (01:01 -0700)]
[PATCH] USB: "Lost sync on frames" error in konicawc module

From: <fgalea@prism.uvsq.fr>

http://bugme.osdl.org/show_bug.cgi?id=3286

The kernel keeps printing "Lost sync on frames" error messages as soon as a
program tries to access the webcam.  No video data can be retrieved from
the webcam.

The following patch seems enough to solve the problem.  (just inverting the
order at which the old and new data blocks are sent to the user).

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
20 years ago[PATCH] USB: corrected digi_acceleport 2.6.9-rc1 fix for hang on disconnect
Al Borchers [Tue, 12 Oct 2004 08:01:24 +0000 (01:01 -0700)]
[PATCH] USB: corrected digi_acceleport 2.6.9-rc1 fix for hang on disconnect

- Fixed hang on disconnect in digi_acceleport USB serial driver.
  See http://bugme.osdl.org/show_bug.cgi?id=2459.  Close after
  disconnect no longer tries to communicate with the device.

Signed-off-by: Al Borchers <alborchers@steinerpoint.com>
Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
20 years ago[PATCH] ppc64: one more explicit cmp instruction sizing
David Woodhouse [Tue, 12 Oct 2004 00:52:30 +0000 (17:52 -0700)]
[PATCH] ppc64: one more explicit cmp instruction sizing

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] megaraid 2.20.4: fix a data corruption bug
Sreenivas Bagalkote [Mon, 11 Oct 2004 01:32:50 +0000 (18:32 -0700)]
[PATCH] megaraid 2.20.4: fix a data corruption bug

Fixes a data corruption issue. Because of a typo in the driver, IO packets
were wrongly shared by the IOCTL path. This caused the whole IO command
to be replaced by an incoming IOCTL command.

20 years ago[PATCH] ACPI: check parameter for NULL
Nick Piggin [Mon, 11 Oct 2004 01:26:06 +0000 (18:26 -0700)]
[PATCH] ACPI: check parameter for NULL

ACPI still explodes on my old PII and stops it booting.

Anyway, it is oopsing in drivers/acpi/scan.c line 207 where element
(which is NULL) gets dereferenced.

The ACPI bios on this thing has always seemed to be pretty broken, but
this at least allows the 'power' button to continue to work (the only
reason why I want ACPI).

20 years agoLinux 2.6.9-rc4 v2.6.9-rc4
Linus Torvalds [Sun, 10 Oct 2004 12:55:28 +0000 (05:55 -0700)]
Linux 2.6.9-rc4

20 years ago[PATCH] find_isa_irq_pin can't be __init
Dave Jones [Sun, 10 Oct 2004 10:48:06 +0000 (03:48 -0700)]
[PATCH] find_isa_irq_pin can't be __init

As spotted by one of our Fedora users, we sometimes
oops during shutdown (http://www.roberthancock.com/kerneloops.png)
because disable_IO_APIC() wants to call find_isa_irq_pin(),
which we threw away during init.

Signed-off-by: Dave Jones <davej@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years agoMerge bk://bk.arm.linux.org.uk/linux-2.6-pcmcia
Linus Torvalds [Sun, 10 Oct 2004 04:04:46 +0000 (21:04 -0700)]
Merge bk://bk.arm.linux.org.uk/linux-2.6-pcmcia
into ppc970.osdl.org:/home/torvalds/v2.6/linux

20 years ago[PCMCIA] Remove two unused variables.
Russell King [Sun, 10 Oct 2004 19:42:40 +0000 (20:42 +0100)]
[PCMCIA] Remove two unused variables.

20 years agoMerge bk://linux-acpi.bkbits.net/26-latest-release
Linus Torvalds [Sun, 10 Oct 2004 03:44:33 +0000 (20:44 -0700)]
Merge bk://linux-acpi.bkbits.net/26-latest-release
into ppc970.osdl.org:/home/torvalds/v2.6/linux

20 years ago[ACPI] If BIOS disabled the LAPIC, believe it by default.
Len Brown [Sun, 10 Oct 2004 09:21:08 +0000 (05:21 -0400)]
[ACPI] If BIOS disabled the LAPIC, believe it by default.
"lapic" is available to force enabling the LAPIC
in the event you know more than your BIOS vendor.
http://bugzilla.kernel.org/show_bug.cgi?id=3238

20 years agoCset exclude: len.brown@intel.com|ChangeSet|20041010081245|01886
Len Brown [Sun, 10 Oct 2004 08:56:59 +0000 (04:56 -0400)]
Cset exclude: len.brown@intel.com|ChangeSet|20041010081245|01886

20 years agoUse "request_resource()" to properly fix up PCI resource clashes.
Linus Torvalds [Sun, 10 Oct 2004 03:21:04 +0000 (20:21 -0700)]
Use "request_resource()" to properly fix up PCI resource clashes.

This is made possible by the previous resource allocation ordering
patch.

Now that we run the pre-existing PCI resource discovery _before_
ACPI resources have been added, we should not "insert" the resources
into any existing tree. If they clash with existing resources, we
should re-allocate them (later, when we have the full resource map).

20 years ago[PATCH] PCI resource allocation re-ordering
Li Shaohua [Sun, 10 Oct 2004 03:15:28 +0000 (20:15 -0700)]
[PATCH] PCI resource allocation re-ordering

This re-orders the PCI and ACPI IO resource assignment as suggested by
Linus.

With this patch, now the sequence of reserving resources is:
 1. PCI claim BAR
 2. ACPI reserve motherboard resources
 3. PNP reserve motherboard resources
 4. PCI allocate resources for uninitialized PCI devices

This way the kernel allocates new PCI resources after it has full
knowledge of the resource state, and at the same time allows ACPI and
PnP to be run _after_ we've filled in our knowledge about pre-allocated
resources.

The way it is done is to make the last phase of the original PCI assign
resources code to be an 'fs_initcall', along with the ACPI and PnP
initializations.

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years agoMerge bk://bart.bkbits.net/ide-2.6
Linus Torvalds [Sun, 10 Oct 2004 02:52:51 +0000 (19:52 -0700)]
Merge bk://bart.bkbits.net/ide-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

20 years ago[ide] pdc202xx_old: kill PDC202XX_DECODE_REGISTER_INFO
Bartlomiej Zolnierkiewicz [Sun, 10 Oct 2004 20:00:26 +0000 (22:00 +0200)]
[ide] pdc202xx_old: kill PDC202XX_DECODE_REGISTER_INFO

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
20 years ago[ide] kill dead TASKFILE_IN_OUT code
Bartlomiej Zolnierkiewicz [Sun, 10 Oct 2004 19:47:22 +0000 (21:47 +0200)]
[ide] kill dead TASKFILE_IN_OUT code

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
20 years ago[ide] cmd64x: kill dead DEBUG_CMD_REGS code
Bartlomiej Zolnierkiewicz [Sun, 10 Oct 2004 19:44:23 +0000 (21:44 +0200)]
[ide] cmd64x: kill dead DEBUG_CMD_REGS code

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
20 years ago[ide] ide-dma blacklist behaviour broken
Bartlomiej Zolnierkiewicz [Sun, 10 Oct 2004 19:37:56 +0000 (21:37 +0200)]
[ide] ide-dma blacklist behaviour broken

From: Jens Axboe <axboe@suse.de>

The blacklist stuff is broken. When set_using_dma() calls into
->ide_dma_check(), it returns __ide_dma_off() for a blacklisted drive.
This of course succeeds, returning success to the caller of ->ide_dma_check().
Not so good... It then uncondtionally calls ->ide_dma_on(), which turns on
DMA for the drive.

This moves the check to __ide_dma_on() so we also catch the buggy
->ide_dma_check() defined by various chipset drivers.

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
20 years agoMerge bk://bk.arm.linux.org.uk/linux-2.6-pcmcia
Linus Torvalds [Sun, 10 Oct 2004 02:49:59 +0000 (19:49 -0700)]
Merge bk://bk.arm.linux.org.uk/linux-2.6-pcmcia
into ppc970.osdl.org:/home/torvalds/v2.6/linux

20 years ago[ACPI] Don't enable LAPIC when the BIOS disabled it.
Len Brown [Sun, 10 Oct 2004 00:12:45 +0000 (20:12 -0400)]
[ACPI] Don't enable LAPIC when the BIOS disabled it.
Doing so apparently breaks every Dell on Earth.
http://bugzilla.kernel.org/show_bug.cgi?id=3238

20 years ago[PATCH] Fix Neomagic configuration dependency
Adrian Bunk [Sat, 9 Oct 2004 09:55:07 +0000 (02:55 -0700)]
[PATCH] Fix Neomagic configuration dependency

FB_NEOMAGIC needs FB_MODE_HELPER (for vesa_modes).

Reported by Michel Angelo da Silva Pereira.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years agoMerge bk://bk.arm.linux.org.uk/linux-2.6-rmk
Linus Torvalds [Sat, 9 Oct 2004 08:36:36 +0000 (01:36 -0700)]
Merge bk://bk.arm.linux.org.uk/linux-2.6-rmk
into ppc970.osdl.org:/home/torvalds/v2.6/linux

20 years ago[ARM PATCH] 2073/3: Hynix h720x architecture support
Sascha Hauer [Sat, 9 Oct 2004 23:05:21 +0000 (00:05 +0100)]
[ARM PATCH] 2073/3: Hynix h720x architecture support

Patch from Sascha Hauer

This patch supports the Hynix developer boards h7201 and h7202 for the
HMS30C7201 and HMS30C7202 CPUs.

Changes to previous patch:
- reorganized file structure. We now have common.c which shares stuff
  common to all h720x processors and cpu-h720[12].c files for the cpu
  specific stuff
- fixed timer handling for timers 1/2
- cleaned up h720x register definitions and splitted in files specific
  to each cpu and one generic part

Signed-off-by: Thomas Gleixner
Signed-off-by: Robert Schwebel
Signed-off-by: Sascha Hauer
20 years ago[PATCH] sparc32: fix warning for changed section attributes
Clemens Buchacher [Sat, 9 Oct 2004 08:05:38 +0000 (01:05 -0700)]
[PATCH] sparc32: fix warning for changed section attributes

This fixes the "Ignoring changed section attributes" warning by commenting
out the attributes appended by gcc.

The previous 'fix' created a section '.text,#alloc' (literally), which I
guess was not intended.

Signed-off-by: Clemens Buchacher <drizzd@aon.at>
Signed-off-by: William Irwin <wli@holomorphy.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] Remove get_cpu_ptr() comment reference
Jonathan Corbet [Sat, 9 Oct 2004 08:05:26 +0000 (01:05 -0700)]
[PATCH] Remove get_cpu_ptr() comment reference

Since get_cpu_ptr() went away, we probably shouldn't tease developers by
telling them to use it in the comments.

Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] alpha: cpu mask fix-ups broke SMP DP264 machines in 2.6.8
Ali Saidi [Sat, 9 Oct 2004 08:05:14 +0000 (01:05 -0700)]
[PATCH] alpha: cpu mask fix-ups broke SMP DP264 machines in 2.6.8

The cpu mask fix-ups in 2.6.8 broke SMP kernels booting on a DP264.
Instead of not setting the DIM for cpus that did not exit, the patch
inadvertently doesn't set the DIM for CPUs that do exist.  Thus no device
interrupts get to the cpu.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] s390: qeth network driver
Thomas Spatzier [Sat, 9 Oct 2004 08:05:02 +0000 (01:05 -0700)]
[PATCH] s390: qeth network driver

qeth network driver changes:
 - Unlock queue in qeth_do_sent_packet if there is no empty buffer
   in packing state.

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] s390: dcss changes
Gerald Schaefer [Sat, 9 Oct 2004 08:04:50 +0000 (01:04 -0700)]
[PATCH] s390: dcss changes

DCSS block device driver changes:
 - Add module/kernel parameter for loading segments.

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] s390: z/VM monitor stream
Gerald Schaefer [Sat, 9 Oct 2004 08:04:38 +0000 (01:04 -0700)]
[PATCH] s390: z/VM monitor stream

z/VM monitor stream changes:
 - Reduce stack usage of appldata_get_mem_data.

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] s390: dasd driver
Horst Hummel [Sat, 9 Oct 2004 08:04:26 +0000 (01:04 -0700)]
[PATCH] s390: dasd driver

dasd driver changes:
 - Free memory returned by read_conf_data.
 - Add warning message if use_diag is specified with a non-CMS
   formatted device.

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] s390: common i/o layer
Cornelia Huck [Sat, 9 Oct 2004 08:04:14 +0000 (01:04 -0700)]
[PATCH] s390: common i/o layer

Common i/o layer changes:
 - Fix error handling in io_subchannel_register.
 - Fix __MAX_SUBCHANNELS limit checking.
 - Clear slow_subchannel structure after kmalloc.
 - Update ssd_info if a different device appears at an already known
   subchannel to get the correct set of chpids.
 - Avoid struct initializers to reduce stack usage of ccwgroup_create,
   readall_cmb and io_subchannel_recog,
 - Setup fields in pmcw in each retry because msch might fail and a stsch
   overwrites them.
 - Prevent irq_exit() in cio_tpi from calling do_softirq by adding a
   local_bh_disable/__local_bh_enable pair.
 - Retry sense id after receiving an unsolicited interrupt.

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] s390: core changes
Martin Schwidefsky [Sat, 9 Oct 2004 08:04:02 +0000 (01:04 -0700)]
[PATCH] s390: core changes

From: Christian Borntrdger <cborntra@de.ibm.com>
From: Martin Schwidefsky <schwidefsky@de.ibm.com>
From: Thomas Spatzier <tspat@de.ibm.com>

s390 core changes:
 - Add default storage key and introduce page_{set,get}_storage_key.
 - Fix access to siginfo in copy_siginfo_from_user32.
 - Regenerate default configuration.

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] therm_adt746x: various fixes
Colin Leroy [Sat, 9 Oct 2004 08:03:50 +0000 (01:03 -0700)]
[PATCH] therm_adt746x: various fixes

This one removes the other occurences of "°C"; fixes displayed fan speed so
that it uses the same scale than other occurences of this parameter instead
of RPM only; fixes the RPM reading of the fan so that it shows zero instead
of 82 when it is effectively stopped.

Signed-off-by: Colin Leroy <colin@colino.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] hugetlb: initialize sb->s_maxbytes
William Lee Irwin III [Sat, 9 Oct 2004 08:03:38 +0000 (01:03 -0700)]
[PATCH] hugetlb: initialize sb->s_maxbytes

hugetblfs appears not to support the creation of files larger than 2GB.
hugetlbfs_vmtruncate() checks against the s_maxbytes member of the super
block and returns EFBIG if the requested file size is too large.

Signed-off-by: Guy Cardwell <gcardwel@motorola.com>
Signed-off-by: William Irwin <wli@holomorphy.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] pm: console driver fixes
Ian Campbell [Sat, 9 Oct 2004 08:03:26 +0000 (01:03 -0700)]
[PATCH] pm: console driver fixes

Fix warnings in kernel/power/console.c by only declaring orig_fgconsole
and orig_kmsg when required by SUSPEND_CONSOLE. Restore kmsg_redirect on
resume.

Signed-off-by: Ian Campbell <icampbell@arcom.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] pc110pad.c request_region() fix
Li Shaohua [Sat, 9 Oct 2004 07:51:19 +0000 (00:51 -0700)]
[PATCH] pc110pad.c request_region() fix

request_region() returns NULL if failed.  The driver gets it wrong.

Signed-off-by: Li Shaohua <shaoh.li@gmail.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] i2o.h fix
Alexander Viro [Sat, 9 Oct 2004 05:51:39 +0000 (22:51 -0700)]
[PATCH] i2o.h fix

i2o.h uses stuff defined in linux/dma-mapping.h but includes
asm/dma-mapping.h instead.  It works by accident on some platforms
(they end up pulling linux/dma-mapping.h from asm-generic/pci-dma-compat.h
before it hits the fan), but breaks on e.g. alpha.

Signed-off-by: Al Viro <viro@parcelfarce.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years agodrm: cleanup header includes into one drm_core.h include
Dave Airlie [Sun, 10 Oct 2004 06:13:54 +0000 (16:13 +1000)]
drm: cleanup header includes into one drm_core.h include

This patch just cleans up the fact that all drm drivers include a
bunch of header files, it places them into one place (drm_core.h)
and uses that.

From: Jon Smirl <jonsmirl@gmail.com>
Signed-off-by: Dave Airlie <airlied@linux.ie>