]> git.hungrycats.org Git - linux/log
linux
22 years ago[ACPI] ACPICA 20040326 from Bob Moore
Len Brown [Fri, 26 Mar 2004 13:49:28 +0000 (08:49 -0500)]
[ACPI] ACPICA 20040326 from Bob Moore

Implemented support for "wake" GPEs via interaction between
GPEs and the _PRW methods.  Every GPE that is pointed to by
one or more _PRWs is identified as a WAKE GPE and by default
will no longer be enabled at runtime.  Previously, we were
blindly enabling all GPEs with a corresponding _Lxx or _Exx
method - but most of these turn out to be WAKE GPEs anyway.
We believe this has been the cause of thousands of
"spurious" GPEs on some systems.

This new GPE behavior is can be reverted to the original
behavior (enable ALL GPEs at runtime) via a runtime flag.

Fixed a problem where aliased control methods could not
access objects properly.  The proper scope within the
namespace was not initialized (transferred to the target of
the aliased method) before executing the target method.

Fixed a potential race condition on internal object
deletion on the return object in AcpiEvaluateObject.

Integrated a fix for resource descriptors where both
_MEM and _MTP were being extracted instead of just _MEM.
(i.e. bitmask was incorrectly too wide, 0x0F instead of 0x03.)

Added a special case for ACPI_ROOT_OBJECT in AcpiUtGetNodeName,
preventing a fault in some cases.

Updated Notify() values for debug statements in evmisc.c

Return proper status from AcpiUtMutexInitialize,
not just simply AE_OK.

22 years ago[ACPI] proposed fix for non-identity-mapped SCI override
Len Brown [Fri, 26 Mar 2004 12:52:32 +0000 (07:52 -0500)]
[ACPI] proposed fix for non-identity-mapped SCI override
http://bugme.osdl.org/show_bug.cgi?id=2366

22 years ago[ACPI] PCI interrupt link routing (Luming Yu)
Len Brown [Thu, 25 Mar 2004 12:40:31 +0000 (07:40 -0500)]
[ACPI] PCI interrupt link routing (Luming Yu)
use _PRS to determine resource type for _SRS
fixes HP Proliant servers
http://bugzilla.kernel.org/show_bug.cgi?id=1590

22 years ago[ACPI] share i386/kernel/acpi/boot.c with x86_64
Len Brown [Mon, 22 Mar 2004 20:33:54 +0000 (15:33 -0500)]
[ACPI] share i386/kernel/acpi/boot.c with x86_64

22 years ago[ACPI] toshiba_acpi 0.18 from John Belmonte
Len Brown [Mon, 22 Mar 2004 20:18:29 +0000 (15:18 -0500)]
[ACPI] toshiba_acpi 0.18 from John Belmonte
  add missing copyin

22 years ago[ACPI] delete POWER_OF_TWO array (Pavel Machek)
Len Brown [Mon, 22 Mar 2004 14:51:11 +0000 (09:51 -0500)]
[ACPI] delete POWER_OF_TWO array (Pavel Machek)

22 years ago[ACPI] ACPI SCI shall be level/low unless explicit over-ride
Len Brown [Mon, 22 Mar 2004 11:02:16 +0000 (06:02 -0500)]
[ACPI] ACPI SCI shall be level/low unless explicit over-ride
http://bugzilla.kernel.org/show_bug.cgi?id=1622
add "acpi_sci=edge" and "acpi_sci=high" manual over-ride

22 years ago[ACPI] fix interrupts behind yenta cardbus bridge (David Shaohua Li)
Len Brown [Sun, 21 Mar 2004 16:34:35 +0000 (11:34 -0500)]
[ACPI] fix interrupts behind yenta cardbus bridge (David Shaohua Li)
http://bugzilla.kernel.org/show_bug.cgi?id=1564

22 years ago[PATCH] clean up ACPI GSI/IRQ conversions (i386 part)
Bjorn Helgaas [Sat, 20 Mar 2004 20:10:21 +0000 (15:10 -0500)]
[PATCH] clean up ACPI GSI/IRQ conversions (i386 part)

Add "acpi_gsi_to_irq()" as a generic replacement for "acpi_irq_to_vector()".
This converts from an ACPI global system interrupt number to a Linux IRQ.
Also, convert i386-specific terminology to use GSI when appropriate.

22 years ago[ACPI] create disable_acpi()
Len Brown [Sat, 20 Mar 2004 19:23:27 +0000 (14:23 -0500)]
[ACPI] create disable_acpi()

22 years ago[ACPI] numa.c build fix (Luming Yu)
Len Brown [Thu, 18 Mar 2004 17:24:47 +0000 (12:24 -0500)]
[ACPI] numa.c build fix (Luming Yu)
http://bugzilla.kernel.org/show_bug.cgi?id=2131

22 years ago[ACPI] check "maxcpus=N" early -- same as NR_CPUS check.
Len Brown [Tue, 16 Mar 2004 19:44:22 +0000 (14:44 -0500)]
[ACPI] check "maxcpus=N" early -- same as NR_CPUS check.
http://bugzilla.kernel.org/show_bug.cgi?id=2317

When the BIOS enumerates physical processors before logical,
maxcpus=N/2 will now effectively disable HT.

This can be verified by boot messages warning that HT is off:
eg. "maxcpus=2" on a 2xHT system:

Total of 2 processors activated (11141.12 BogoMIPS).
WARNING: No sibling found for CPU 0.
WARNING: No sibling found for CPU 1.

22 years ago[ACPI] add boot parameters "acpi_osi=" and "acpi_serialize"
Len Brown [Fri, 12 Mar 2004 23:14:53 +0000 (18:14 -0500)]
[ACPI] add boot parameters "acpi_osi=" and "acpi_serialize"
  acpi_osi= will disable the _OSI method -- which by default
tells the BIOS to behave as if Windows is the OS.
  acpi_serialize is for debugging AE_ALREADY_EXISTS failures

22 years ago[ACPI] ACPICA 20040311 from Bob Moore
Len Brown [Fri, 12 Mar 2004 19:35:17 +0000 (14:35 -0500)]
[ACPI] ACPICA 20040311 from Bob Moore

Fixed a problem where errors occurring during the parse phase of control
method execution did not abort cleanly.  For example, objects created
and installed in the namespace were not deleted.  This caused all
subsequent invocations of the method to return the AE_ALREADY_EXISTS
exception.

Implemented a mechanism to force a control method to "Serialized"
execution if the method attempts to create namespace objects.
(The root of the AE_ALREADY_EXISTS problem.)

Implemented support for the predefined _OSI "internal" control method.
Initial supported strings are "Linux", "Windows 2000", "Windows 2001",
and "Windows 2001.1", and can be easily upgraded for new strings as
necessary.  This feature allows Linux to execute
the fully tested, "Windows" code path through the ASL code

Global Lock Support:  Now allows multiple acquires and releases with any
internal thread.  Removed concept of "owning thread" for this special
mutex.

Fixed two functions that were inappropriately declaring large objects on
the CPU stack: ps_parse_loop() and ns_evaluate_relative().
Reduces the stack usage during method execution considerably.

Fixed a problem in the ACPI 2.0 FACS descriptor (actbl2.h) where the
S4Bios_f field was incorrectly defined as UINT32 instead of UINT32_BIT.

Fixed a problem where acpi_ev_gpe_detect() would fault
if there were no GPEs defined on the machine.

Implemented two runtime options:  One to force all control method
execution to "Serialized" to mimic Windows behavior, another to disable
_OSI support if it causes problems on a given machine.

22 years ago[ACPI] SMP poweroff (David Shaohua Li)
Len Brown [Fri, 12 Mar 2004 19:03:06 +0000 (14:03 -0500)]
[ACPI] SMP poweroff (David Shaohua Li)
http://bugzilla.kernel.org/show_bug.cgi?id=1141

22 years agomerge 2.6.3 into 2.6.4
Len Brown [Wed, 10 Mar 2004 18:58:32 +0000 (13:58 -0500)]
merge 2.6.3 into 2.6.4

22 years ago[ACPI] fix printk and build warning from previous csets
Len Brown [Wed, 10 Mar 2004 18:39:46 +0000 (13:39 -0500)]
[ACPI] fix printk and build warning from previous csets

22 years agoDelete (void)func() casts considered cruft in Linux style.
Len Brown [Wed, 10 Mar 2004 18:36:09 +0000 (13:36 -0500)]
Delete (void)func() casts considered cruft in Linux style.

GCC's inability to warn when return values are ignored has conditioned
Linux programmers into thinking that this is actually normal.

delete some #define's -- suggested by Matt Wilcox

22 years agoMerge intel.com:/home/lenb/bk/linux-2.6.4
Len Brown [Wed, 10 Mar 2004 18:22:12 +0000 (13:22 -0500)]
Merge intel.com:/home/lenb/bk/linux-2.6.4
into intel.com:/home/lenb/src/linux-acpi-test-2.6.4

22 years agoLinux 2.6.4 v2.6.4
Linus Torvalds [Wed, 10 Mar 2004 10:52:41 +0000 (02:52 -0800)]
Linux 2.6.4

22 years ago[PATCH] Fix lockup accessing config space on G5
Benjamin Herrenschmidt [Wed, 10 Mar 2004 10:07:03 +0000 (02:07 -0800)]
[PATCH] Fix lockup accessing config space on G5

This patch fixes the code that workaround lockups when accessing
the config space of devices on K2 when they are shut down. The
code was there but in the wrong place ;) And a typo prevented the
ohci1394 version of it from working.

22 years agoMerge bk://gkernel.bkbits.net/net-drivers-2.5
Linus Torvalds [Wed, 10 Mar 2004 09:57:59 +0000 (01:57 -0800)]
Merge bk://gkernel.bkbits.net/net-drivers-2.5
into ppc970.osdl.org:/home/torvalds/v2.5/linux

22 years ago[PATCH] pcnet32.c oops
Don Fry [Wed, 10 Mar 2004 15:32:25 +0000 (10:32 -0500)]
[PATCH] pcnet32.c oops

When adding an additional device, a variable which has been removed
is accessed.  Adding the first device or a 4-port card works.
Adding a second device was not done in PCI hot plug testing.  Now
tested on IA32.

22 years agoMake bad_page() print out the page address.
Linus Torvalds [Wed, 10 Mar 2004 09:11:46 +0000 (01:11 -0800)]
Make bad_page() print out the page address.

The bug turned out to be memory corruption by DMA, and
the corrupted address made it that much more obvious.

22 years ago[PATCH] Proper OHCI unlink fix.
David Brownell [Wed, 10 Mar 2004 08:42:49 +0000 (00:42 -0800)]
[PATCH] Proper OHCI unlink fix.

Getting some blood sugar made the real fix for that become
obvious! This replaces the preceding TEMPORARY hack.

Only unlink EDs that aren't already being unlinked!

Duh.

22 years ago[PATCH] USB: fix OHCI list corruption
David Brownell [Wed, 10 Mar 2004 07:31:03 +0000 (23:31 -0800)]
[PATCH] USB: fix OHCI list corruption

Fix some OHCI TD list corruption issues:

    - Don't rewrite HC registers holding ED pointers until the HC
      had a good chance to finish using them.

    - Don't ever modify ed->hwTailP

Adds text describing the different ED states.

Adds TEMPORARY hack that may make a "rm_list becomes circular" bug
continuable.

22 years agoRevert 8259 timer ack workaround
Linus Torvalds [Wed, 10 Mar 2004 07:12:33 +0000 (23:12 -0800)]
Revert 8259 timer ack workaround

This patch was trying to work around buggy SMM bios but causes problems
by not deasserting NMI irq line (reported by Thomas Schlicht) for some
integrated local apic.

This patch was written originally as an optimization (with the side
effect to fix those bugged bios) but was never applied to 2.4 tree.

The rational was: fix your bios instead.

Cset exclude: akpm@osdl.org|ChangeSet|20040219045328|16041

22 years ago[PATCH] tty oops fix
Andrew Morton [Wed, 10 Mar 2004 02:15:22 +0000 (18:15 -0800)]
[PATCH] tty oops fix

From: William Lee Irwin III <wli@holomorphy.com>

Remember to invalidate the task->tty of threads, otherwise prod_pid_stat()
later stumbles over the dangling pointers and crashes.

22 years agoMake bad_page() print out information about who triggered it.
Linus Torvalds [Wed, 10 Mar 2004 01:32:40 +0000 (17:32 -0800)]
Make bad_page() print out information about who triggered it.

The condition still seems to happen on ppc64.

22 years agoRemove 'const' from min/max, to avoid gcc warning about double usage.
Linus Torvalds [Wed, 10 Mar 2004 00:45:53 +0000 (16:45 -0800)]
Remove 'const' from min/max, to avoid gcc warning about double usage.

22 years ago[PATCH] ncpfs fails to correctly retry requests on timeout
Petr Vandrovec [Tue, 9 Mar 2004 23:58:42 +0000 (15:58 -0800)]
[PATCH] ncpfs fails to correctly retry requests on timeout

sock_sendmsg() modifies iovec passed to it - it sets all length members of
iovec array to zero on success transmission (and even on failed if it
fails after iovec copy, but...) and advances pointers to point at the end
of buffers used. This has an unfortunate effect that ncpfs's retry on
failure does not work for IPX/UDP connections - kernel refused to do anything
because length from iovec was 0 while length passed to sock_sendmsg() was
correct.

This simple fix gets rid of a problem by creating temporary iovec copy, which can
sock_sendmsg destroy if it has such wish.

22 years ago[PATCH] bttv input update
Gerd Knorr [Tue, 9 Mar 2004 23:58:32 +0000 (15:58 -0800)]
[PATCH] bttv input update

This adds infrared remote support for a few more bt878-based TV cards.

22 years ago[PATCH] set request fastfail bit correctly
Jens Axboe [Tue, 9 Mar 2004 23:58:22 +0000 (15:58 -0800)]
[PATCH] set request fastfail bit correctly

From Mike Christie <michaelc@cs.wisc.edu>

The first three bio and request flags are no longer identical.  The bio
barrier and rw flags are getting set in __make_request and get_request
respectively, and failfast is getting left out.

This sets the request's failfast flag in __make_request when the bio's
flag is set.

22 years ago[PATCH] ppc64 POWER3 segment table fix
Anton Blanchard [Tue, 9 Mar 2004 23:58:13 +0000 (15:58 -0800)]
[PATCH] ppc64 POWER3 segment table fix

The ppc64 fix last week (enforcing permissions on the kernel when
accessing userspace pages) uncovered a bug on POWER3/RS64. We werent
zeroing the segment table entry before overwriting it and it was possible
for the ks bit to be set on a kernel segment.

The VSID mask was also changed to match reality (we only use 13 bits).

22 years agoMerge bk://are.twiddle.net/axp-2.6
Linus Torvalds [Tue, 9 Mar 2004 23:44:05 +0000 (15:44 -0800)]
Merge bk://are.twiddle.net/axp-2.6
into ppc970.osdl.org:/home/torvalds/v2.5/linux

22 years ago[ALPHA] Add stat64 syscalls.
Richard Henderson [Tue, 9 Mar 2004 13:05:04 +0000 (05:05 -0800)]
[ALPHA] Add stat64 syscalls.

22 years ago[PATCH] ppc64: Let OF initialize all displays in the system
Benjamin Herrenschmidt [Tue, 9 Mar 2004 12:14:48 +0000 (04:14 -0800)]
[PATCH] ppc64: Let OF initialize all displays in the system

This patch reworks the early boot calls to OF to initialize displays.

All present displays are now initialized in reverse order so the
OF console stays on the first one. Initializing them all is necessary
for dual head configurations as we need OF driver to properly setup
the secondary TMDS of the video card, XFree isn't able to do that
currently

22 years ago[PATCH] ppc64: Fix occasional crash at boot in OF interface
Benjamin Herrenschmidt [Tue, 9 Mar 2004 12:14:38 +0000 (04:14 -0800)]
[PATCH] ppc64: Fix occasional crash at boot in OF interface

The assembly code used to callback into Open Firmware client
interface in 32 bits mode used to backup the stack pointer in
the SPRG2 register.

That upsets Apple's implementation of Open Firmware significantly
and maybe others, causing them to crash in _some_ operations,
apparently the trigger is to cause a segment or hash table
fault, typically happens when letting that code initialize the
second display.

This patch fixes it, along with other cleanups of that asm code,
it did unnecessary register restores and backing up the stack
pointer is actually useless anyway.

22 years ago[PATCH] Fix PCI<->OF matching on G5 AGP bus
Benjamin Herrenschmidt [Tue, 9 Mar 2004 10:55:34 +0000 (02:55 -0800)]
[PATCH] Fix PCI<->OF matching on G5 AGP bus

Strangely, I though I fixed that a long time ago, but it was still
broken in the current tree...

Drivers like radeonfb fail to find the OF device matching a given PCI
device on the G5 AGP bus because of some bus renumbering tricks.  This
patch fixes the problem by fixing the bus numbers in the OF node.  This
corrects radeonfb and other drivers looking for EDID / PLL datas in the
OF node.

22 years agoMerge bk://kernel.bkbits.net/davem/net-2.6
Linus Torvalds [Tue, 9 Mar 2004 09:03:55 +0000 (01:03 -0800)]
Merge bk://kernel.bkbits.net/davem/net-2.6
into ppc970.osdl.org:/home/torvalds/v2.5/linux

22 years agoMake sure to include syscalls.h to get proper prototypes.
Linus Torvalds [Tue, 9 Mar 2004 09:03:28 +0000 (01:03 -0800)]
Make sure to include syscalls.h to get proper prototypes.

Especially with REGPARM these things actually matter.

22 years agoLinux 2.6.4-rc3 v2.6.4-rc3
Linus Torvalds [Tue, 9 Mar 2004 07:55:49 +0000 (23:55 -0800)]
Linux 2.6.4-rc3

22 years ago[PATCH] pmac_zilog 2/2 : Fix various bugs
Benjamin Herrenschmidt [Tue, 9 Mar 2004 07:47:33 +0000 (23:47 -0800)]
[PATCH] pmac_zilog 2/2 : Fix various bugs

This fixes possible lockups in pmac_zilog when beeing flooded with
incoming data (not that other serial drivers share the same race, I told
Russel about it already).  It also fixes some SCC initialization
problems, add some PM callback, and fix the irda setup code.

22 years ago[PATCH] pmac_zillog 1/2 : Cosmetic only, change "up" to "uap" to avoid collision
Benjamin Herrenschmidt [Tue, 9 Mar 2004 07:47:23 +0000 (23:47 -0800)]
[PATCH] pmac_zillog 1/2 : Cosmetic only, change "up" to "uap" to avoid collision

This does cosmetic changes the pmac_zilog, changing the use of "up" as
an identifier in favor "uap" to avoid collision with semaphores, use
proper debug macros, and a few other cosmetic bits.

22 years ago[PATCH] Print function names during do_initcall debugging
Andrew Morton [Tue, 9 Mar 2004 07:47:12 +0000 (23:47 -0800)]
[PATCH] Print function names during do_initcall debugging

From Jan-Benedict Glaw <jbglaw@lug-owl.de>

22 years ago[IPV6]: Do not report {multi,any}cast in inet6_dump_ifaddr().
Olaf Kirch [Tue, 9 Mar 2004 07:26:52 +0000 (23:26 -0800)]
[IPV6]: Do not report {multi,any}cast in inet6_dump_ifaddr().

22 years ago[IPV4/IPV6]: Add missing kmalloc failure checks.
Krishna Kumar [Tue, 9 Mar 2004 07:24:55 +0000 (23:24 -0800)]
[IPV4/IPV6]: Add missing kmalloc failure checks.

22 years ago[IRDA]: Move last of irsyms.c to irmod.c
Jean Tourrilhes [Tue, 9 Mar 2004 05:40:15 +0000 (21:40 -0800)]
[IRDA]: Move last of irsyms.c to irmod.c

Original patch from Stephen Hemminger

Move last bits of code out of irsyms and onto irmod.c where
initialization happens.

Move irda_debug parameter out of irsyms.c into irmod.c
and make it a new style module parameter.

22 years ago[IRDA]: Move irda_param related exports out of irsyms.
Stephen Hemminger [Tue, 9 Mar 2004 05:37:29 +0000 (21:37 -0800)]
[IRDA]: Move irda_param related exports out of irsyms.

22 years ago[IRDA]: Move qos related exports out of irsyms.
Stephen Hemminger [Tue, 9 Mar 2004 05:36:57 +0000 (21:36 -0800)]
[IRDA]: Move qos related exports out of irsyms.

22 years ago[IRDA]: Make irda_get_mtt et al. inline and not defines for better type checking.
Stephen Hemminger [Tue, 9 Mar 2004 05:36:28 +0000 (21:36 -0800)]
[IRDA]: Make irda_get_mtt et al. inline and not defines for better type checking.

irda_device_setup can now be static, only called from alloc_irdadev.

22 years ago[IRDA]: More irlap exports out of irsyms.
Stephen Hemminger [Tue, 9 Mar 2004 05:35:32 +0000 (21:35 -0800)]
[IRDA]: More irlap exports out of irsyms.

22 years ago[IRDA]: Make irda_start_timer inline rather than exporting.
Stephen Hemminger [Tue, 9 Mar 2004 05:35:04 +0000 (21:35 -0800)]
[IRDA]: Make irda_start_timer inline rather than exporting.

22 years ago[IRDA]: Move crc16 exports out of irsyms.
Stephen Hemminger [Tue, 9 Mar 2004 05:34:28 +0000 (21:34 -0800)]
[IRDA]: Move crc16 exports out of irsyms.

Also, make type __u16 rather than unsigned short to
match input parameter.

22 years ago[IRDA]: Move async_wrap function exports out of irsyms.
Stephen Hemminger [Tue, 9 Mar 2004 05:33:26 +0000 (21:33 -0800)]
[IRDA]: Move async_wrap function exports out of irsyms.

22 years ago[IRDA]: Move irlmp routines out of irsyms.
Stephen Hemminger [Tue, 9 Mar 2004 05:32:46 +0000 (21:32 -0800)]
[IRDA]: Move irlmp routines out of irsyms.

Also, make get_{saddr,daddr} inline and rename
lmp_reasons to irlmp_reasons.

22 years ago[IRDA]: Move iriap routines out of irsyms, rename missing to irias_missing.
Stephen Hemminger [Tue, 9 Mar 2004 05:32:00 +0000 (21:32 -0800)]
[IRDA]: Move iriap routines out of irsyms, rename missing to irias_missing.

22 years ago[IRDA]: Move irttp exports out of irsyms.
Stephen Hemminger [Tue, 9 Mar 2004 05:31:15 +0000 (21:31 -0800)]
[IRDA]: Move irttp exports out of irsyms.

22 years ago[IRDA]: Move hashbin exports out of irsyms and into irqueue.
Stephen Hemminger [Tue, 9 Mar 2004 05:30:46 +0000 (21:30 -0800)]
[IRDA]: Move hashbin exports out of irsyms and into irqueue.

22 years ago[IRDA]: Flush irtty symbols that were exported but never used.
Jean Tourrilhes [Tue, 9 Mar 2004 05:30:09 +0000 (21:30 -0800)]
[IRDA]: Flush irtty symbols that were exported but never used.

22 years ago[IRDA]: Move proc_irda export out of irsyms.c into irproc.c
Stephen Hemminger [Tue, 9 Mar 2004 05:25:54 +0000 (21:25 -0800)]
[IRDA]: Move proc_irda export out of irsyms.c into irproc.c

22 years ago[PATCH] R128 DRI limits checking.
Dave Jones [Tue, 9 Mar 2004 01:09:21 +0000 (17:09 -0800)]
[PATCH] R128 DRI limits checking.

This got fixed in 2.4, but somehow got missed in 2.6.

22 years agoMerge intel.com:/home/lenb/bk/linux-2.6.4
Len Brown [Mon, 8 Mar 2004 18:40:35 +0000 (13:40 -0500)]
Merge intel.com:/home/lenb/bk/linux-2.6.4
into intel.com:/home/lenb/src/linux-acpi-test-2.6.4

22 years agoMerge.
Richard Henderson [Mon, 8 Mar 2004 16:23:58 +0000 (08:23 -0800)]
Merge.

22 years ago[PATCH] Clean up hotplug slab some more
Rusty Russell [Mon, 8 Mar 2004 14:49:26 +0000 (06:49 -0800)]
[PATCH] Clean up hotplug slab some more

This is a cleaner fix for the previous bogon fix.

22 years agoFix bogon in slab hotplug cleanup from Rusty.
Linus Torvalds [Mon, 8 Mar 2004 14:20:06 +0000 (06:20 -0800)]
Fix bogon in slab hotplug cleanup from Rusty.

22 years ago[PATCH] minor slab cleanups for hotplug CPUs
Rusty Russell [Mon, 8 Mar 2004 14:06:22 +0000 (06:06 -0800)]
[PATCH] minor slab cleanups for hotplug CPUs

- Move free_block prototype, and ac_entry and ac_data functions up in file.

- Use list_for_each_entry in cpuup_callback.

- Remove unneccessary g_cpucache_up in cpuup_callback.

- Make reap_timer_func take CPU number as data, and check if that is
  offline before rescheduing (noop without CONFIG_HOTPLUG_CPU).

22 years ago[PATCH] remove sparc64's num_possible_cpus()
Rusty Russell [Mon, 8 Mar 2004 14:06:12 +0000 (06:06 -0800)]
[PATCH] remove sparc64's num_possible_cpus()

Levent Serinol <levent.serinol@mynet.com> found that the hotplug cpu
patch broke Sparc64.  I introduced a num_possible_cpus(), which
Sparc64 already has.  Remove the Sparc64 one.

I also removed Sparc64's cpu_online() macro: it's in linux/cpumask.h
already.

22 years ago[PATCH] minor cleanups for hotplug CPUs
Rusty Russell [Mon, 8 Mar 2004 14:06:03 +0000 (06:06 -0800)]
[PATCH] minor cleanups for hotplug CPUs

Note that without CONFIG_HOTPLUG_CPU, online cpus == possible cpus, so
substitutions are a noop.

- Changes show_stat to print out stats for every possible cpu, not
  just online CPUs.

- Allocate mem in stat_open on possible, not online_cpus.

- Add conventient macros to cpu.h: especially cpu_is_offline() for
  testing if a cpu is still online.

- Add a num_possible_cpus() similar to num_online_cpus(), and define
  cpu_possible_mask for UP.

- Allow printk on down cpus once system is running.

- Mask cpumask with possible, not online cpus, for sys_getaffinity().

22 years ago[PATCH] introduce __drain_pages() to take a CPU number
Rusty Russell [Mon, 8 Mar 2004 14:05:53 +0000 (06:05 -0800)]
[PATCH] introduce __drain_pages() to take a CPU number

Extracts core of drain_pages() for hotcpu use.  Trivial.

Hotplug CPU needs to drain pages on a downed CPU (usually it's the
current cpu).  Introduce "__drain_pages", make the CPU an argument,
and expose it if CONFIG_HOTPLUG_CPU as well as CONFIG_PM.

22 years agoMerge bk://kernel.bkbits.net/jgarzik/via-crypto-2.5
Linus Torvalds [Mon, 8 Mar 2004 13:26:26 +0000 (05:26 -0800)]
Merge bk://kernel.bkbits.net/jgarzik/via-crypto-2.5
into ppc970.osdl.org:/home/torvalds/v2.5/linux

22 years agoMerge redhat.com:/spare/repo/linux-2.5
Jeff Garzik [Mon, 8 Mar 2004 18:52:07 +0000 (13:52 -0500)]
Merge redhat.com:/spare/repo/linux-2.5
into redhat.com:/spare/repo/via-crypto-2.5

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

22 years ago[libata sata_promise] provide proper SCSI completion function
Jeff Garzik [Mon, 8 Mar 2004 17:33:25 +0000 (12:33 -0500)]
[libata sata_promise] provide proper SCSI completion function

Promise driver uses a custom error handling function, so we need
the fix that was applied to the libata core:  the SCSI error
handling thread requires that we complete commands using a special
completion function, since the normal one doesn't work inside
the error handling thread.

22 years ago[libata ata_piix] Make sure annoying BIOSen don't disable our interrupts
Jeff Garzik [Mon, 8 Mar 2004 17:23:20 +0000 (12:23 -0500)]
[libata ata_piix] Make sure annoying BIOSen don't disable our interrupts

22 years ago[libata] Include linux/suspend.h
Jeff Garzik [Mon, 8 Mar 2004 17:06:54 +0000 (12:06 -0500)]
[libata] Include linux/suspend.h

22 years ago[PATCH] sata vs suspend-to-ram
Arjan van de Ven [Mon, 8 Mar 2004 16:56:57 +0000 (11:56 -0500)]
[PATCH] sata vs suspend-to-ram

The following patch is a very crude one to at least not make sata block
suspend-to-ram entirely. Probably you want more powermanagement handling as
well... but it's a start

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

22 years ago[PATCH] pcnet32 transmit hang fix
Don Fry [Mon, 8 Mar 2004 16:23:53 +0000 (11:23 -0500)]
[PATCH] pcnet32 transmit hang fix

The pcnet32 driver will hang after a few frames (<30) with the 79C971
(and probably the 79C972 though I don't have the hardware to prove it).
By interrupting slightly more frequently the hang will not occur.

22 years ago[PATCH] Fix hp100 EISA probing
Marc Zyngier [Mon, 8 Mar 2004 16:23:45 +0000 (11:23 -0500)]
[PATCH] Fix hp100 EISA probing

>>>>> "Pawel" == Pawel Sokolowski <falcon@muflon.linux.pl> writes:

Pawel> This machine has RAM BIOS booted from floppy. I ran it and EISA
Pawel> configure utility to check this once more. Card is enabled and not
Pawel> locked. I added eisa_bus.enable_dev=2 parameter but it didn't help much.
Pawel> I'm getting:

Pawel> EISA: Probing bus 0 at eisa0
Pawel> EISA: Mainboard HWPC061 detected.
Pawel> EISA: slot 2 : HWP1940 detected (forced enabled).
Pawel> EISA: Detected 1 card.

Pawel> I added this final entry you mailed but nothing changed. Still - module
Pawel> loads and unloads cleanly and without any warnings on 2.6.4-rc1. But
Pawel> does nothing - not a single line in logs/dmesg after it's loaded. Card
Pawel> does not work after modprobe, I can't get interface up.

Ok, found it.

It really looks like the new EISA probing code in hp100 never got
tested, since a precious offset has disappeared during the rewriting
process.

Please note that you still need to enable the device by hand, since
your BIOS (or maybe the EISA CFG file, since I'm seeing the exact same
problem on a Compaq machine here) doesn't properly enable the card.

Here is what I'm getting on my test system :

EISA: Probing bus 0 at 0000:00:0f.0
EISA: Mainboard CPQ0541 detected.
EISA: slot 1 : DEC4250 detected.
EISA: slot 2 : UNB0048 detected.
EISA: slot 3 : HWP1940 detected (forced enabled).
hp100: Using (slow) programmed i/o mode.
hp100: at 0x3c38, IRQ 3, EISA bus, 128k SRAM (rx/tx 75%).
hp100: Adapter is attached to 10Mb/s network (10baseT).
EISA: slot 4 : NVL0701 detected.

22 years ago[PATCH] make module code use stop_machine.c
Rusty Russell [Mon, 8 Mar 2004 09:12:54 +0000 (01:12 -0800)]
[PATCH] make module code use stop_machine.c

Now we've moved the bogolock code out to stop_machine.c and
generalized it a little, use it in module.c and delete the duplicate
code there.

22 years ago[PATCH] stop_machine_run: Move Bogolock Code Out of module.c
Rusty Russell [Mon, 8 Mar 2004 09:12:45 +0000 (01:12 -0800)]
[PATCH] stop_machine_run: Move Bogolock Code Out of module.c

The "bogolock" code was introduced in module.c, as a way of freezing
the machine when we wanted to remove a module.  This patch moves it
out to stop_machine.c and stop_machine.h.

Since the code changes affinity and proirity, it's impolite to hijack
the current context, so we use a kthread.  This means we have to pass
the function rather than implement "stop_machine()" and
"restart_machine()".

22 years agoMerge intel.com:/home/lenb/bk/linux-2.6.4
Len Brown [Mon, 8 Mar 2004 08:36:15 +0000 (03:36 -0500)]
Merge intel.com:/home/lenb/bk/linux-2.6.4
into intel.com:/home/lenb/src/linux-acpi-test-2.6.4

22 years agoMerge bk://kernel.bkbits.net/davem/sparc-2.6
Linus Torvalds [Mon, 8 Mar 2004 08:07:55 +0000 (00:07 -0800)]
Merge bk://kernel.bkbits.net/davem/sparc-2.6
into ppc970.osdl.org:/home/torvalds/v2.5/linux

22 years agoMerge bk://kernel.bkbits.net/davem/net-2.6
Linus Torvalds [Mon, 8 Mar 2004 07:49:20 +0000 (23:49 -0800)]
Merge bk://kernel.bkbits.net/davem/net-2.6
into ppc970.osdl.org:/home/torvalds/v2.5/linux

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

22 years agoMerge http://jfs.bkbits.net/linux-2.5
Linus Torvalds [Mon, 8 Mar 2004 07:29:40 +0000 (23:29 -0800)]
Merge http://jfs.bkbits.net/linux-2.5
into ppc970.osdl.org:/home/torvalds/v2.5/linux

22 years agoMerge jfs@jfs.bkbits.net:linux-2.5
Dave Kleikamp [Mon, 8 Mar 2004 10:54:41 +0000 (04:54 -0600)]
Merge jfs@jfs.bkbits.net:linux-2.5
into austin.ibm.com:/shaggy/bk/jfs-2.5

22 years agoJFS: Add lots of missing statics and remove dead code
Dave Kleikamp [Mon, 8 Mar 2004 09:55:54 +0000 (03:55 -0600)]
JFS: Add lots of missing statics and remove dead code

Submitted by Christoph Hellwig

22 years agoJFS: Avoid incrementing i_count on file create
Dave Kleikamp [Mon, 8 Mar 2004 08:40:34 +0000 (02:40 -0600)]
JFS: Avoid incrementing i_count on file create

Committing a transaction creating a file required insuring that the
inode stayed in cache until the journal was written to.  i_count was
being incremented until the transaction was complete.

However, incrementing i_count caused fcntl(S_SETLEASE) to fail.  I
reworked the transaction code so that the inode does not have to
stay in-memory while the transaction is being committed.

Thanks to Steve French for figuring out why setlease was failing.

22 years agoJFS: warn users of inaccessible file names
Dave Kleikamp [Mon, 8 Mar 2004 07:24:03 +0000 (01:24 -0600)]
JFS: warn users of inaccessible file names

When no iocharset is specified, the default action is to trivially
map each byte into the low order of the 16-bit unicode character.
If an existing name exists that has a non-zero high order byte, the
file will be inaccessible without remounting with iocharset set to
a charset that supports the character.

This patch will cause a warning to be issued to the syslog (no more
than five times) suggesting that the volume be mounted with
iocharset=utf8 in order to access the file.

22 years ago[ALPHA] Fix gcc 3.4 build problems.
Richard Henderson [Mon, 8 Mar 2004 06:58:28 +0000 (22:58 -0800)]
[ALPHA] Fix gcc 3.4 build problems.

22 years ago[PATCH] gcc-3.5 io_apic.c build fix
Andrew Morton [Mon, 8 Mar 2004 06:42:46 +0000 (22:42 -0800)]
[PATCH] gcc-3.5 io_apic.c build fix

From: Valdis.Kletnieks@vt.edu

The send_IPI_self() in smp.c was fixed but the one in io_apic.c was not.

22 years ago[PATCH] vma corruption fix
Andrew Morton [Mon, 8 Mar 2004 06:42:37 +0000 (22:42 -0800)]
[PATCH] vma corruption fix

From: Hugh Dickins <hugh@veritas.com>

Fixes bugzilla #2219

fork's dup_mmap leaves child mm_rb as copied from parent mm while doing all
the copy_page_ranges, and then calls build_mmap_rb without holding
page_table_lock.

try_to_unmap_one's find_vma (holding page_table_lock not mmap_sem) coming
on another cpu may cause mm mayhem.  It may leave the child's mmap_cache
pointing to a vma of the parent mm.

When the parent exits and the child faults, quite what happens rather
depends on what junk then inhabits vm_page_prot, which gets set in the page
table, with page_add_rmap adding the ptep, but junk pte likely to fail the
tests for page_remove_rmap.

Eventually the child exits, the page table is freed and try_to_unmap_one
oopses on null ptep_to_mm (but in a kernel with rss limiting, usually
page_referenced hits the null ptep_to_mm first).

This took me days and days to unravel!  Big thanks to Matthieu for
reporting it with a good test case.

22 years ago[PATCH] update filemap_flush() comments
Andrew Morton [Mon, 8 Mar 2004 06:42:27 +0000 (22:42 -0800)]
[PATCH] update filemap_flush() comments

It provides a best-effort, minimum-latency "get all the writeout
underway" function.

22 years agoJFS: setting xattr should update ctime
Dave Kleikamp [Mon, 8 Mar 2004 06:37:12 +0000 (00:37 -0600)]
JFS: setting xattr should update ctime

22 years ago[ALPHA] Fix compressed bootp.
Richard Henderson [Mon, 8 Mar 2004 05:23:07 +0000 (21:23 -0800)]
[ALPHA] Fix compressed bootp.
From Jay.Estabrook@hp.com.

The bootstrap decompressor uses some libraries built for the kernel,
which include lib/lib.a and thus vsprintf.o, whose "vsnprintf"
contains an unresolved reference to "printk".

This is caused by Linus' changes to "vsnprintf" which will now issue a
(printk) warning message under certain conditions.

22 years agoAdd missing QUEUE_FLAG_REENTER bit from Jens'
Linus Torvalds [Mon, 8 Mar 2004 04:59:06 +0000 (20:59 -0800)]
Add missing QUEUE_FLAG_REENTER bit from Jens'
blk_start_queue() fix.

22 years ago[PATCH] fix CONFIG_PDC202XX_FORCE/BURST for modular pdc202xx new/old drivers
Bartlomiej Zolnierkiewicz [Mon, 8 Mar 2004 04:49:53 +0000 (20:49 -0800)]
[PATCH] fix CONFIG_PDC202XX_FORCE/BURST for modular pdc202xx new/old drivers

From: Jakub Bogusz <qboosh@pld-linux.org>

22 years agoMerge bk://kernel.bkbits.net/davem/tg3-2.6
Linus Torvalds [Mon, 8 Mar 2004 04:48:00 +0000 (20:48 -0800)]
Merge bk://kernel.bkbits.net/davem/tg3-2.6
into ppc970.osdl.org:/home/torvalds/v2.5/linux