]> git.hungrycats.org Git - linux/log
linux
22 years ago[ACPI] Enter ACPI mode earlier
Len Brown [Fri, 13 Aug 2004 21:11:05 +0000 (17:11 -0400)]
[ACPI] Enter ACPI mode earlier
Fixes two common boot failures due to buggy SMM BIOS code

SMP boot crash if SMI_CMD=ACPI written from CPU1
http://bugzilla.kernel.org/show_bug.cgi?id=2941

laptop crash due to LAPIC timer before SMI_CMD=ACPI
http://bugzilla.kernel.org/show_bug.cgi?id=1269

22 years ago[ACPI] clean out blacklist entries that do nothing
Len Brown [Fri, 13 Aug 2004 13:52:32 +0000 (09:52 -0400)]
[ACPI] clean out blacklist entries that do nothing

22 years ago[ACPI] init wakeup devcies only if ACPI enabled (David Shaohua Li)
Len Brown [Mon, 9 Aug 2004 08:43:20 +0000 (04:43 -0400)]
[ACPI] init wakeup devcies only if ACPI enabled (David Shaohua Li)

22 years ago[ACPI] acpi_bus_register_driver() now return a count
Len Brown [Mon, 9 Aug 2004 08:23:17 +0000 (04:23 -0400)]
[ACPI] acpi_bus_register_driver() now return a count
consistent with pnp_register_driver() and pci_register_driver()

All existing callers of acpi_bus_register_driver() either ignore the
return value or check only for negative (error) return values.

Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
22 years ago[ACPI] acpi for asus update from Karol Kozimor
Len Brown [Mon, 9 Aug 2004 08:11:05 +0000 (04:11 -0400)]
[ACPI] acpi for asus update from Karol Kozimor

support for L4R and M5N, moves some bits for M6N
and restores WLED functionality for M2N
comment and whitespace cleanups
fix get/set typo from /proc patch, delete trailing spaces

22 years ago[ACPI] acpi_system_write_wakeup_device() has the wrong return type
Len Brown [Sat, 7 Aug 2004 21:28:20 +0000 (17:28 -0400)]
[ACPI] acpi_system_write_wakeup_device() has the wrong return type
and is missing the __user attribution from its buffer argument.
This patch shuts up the resulting warnings on x86-64.

From: William Lee Irwin III <wli@holomorphy.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
22 years ago[ACPI] restore PCI Interrupt Link Devices upon resume
Nathan Bryant [Wed, 4 Aug 2004 13:06:43 +0000 (09:06 -0400)]
[ACPI] restore PCI Interrupt Link Devices upon resume

* register as as a sys_device so that we can get resume callbacks and restore
  interrupt routing state.
* add acpi_pci_link_resume(), which will be called when resuming from a suspend
  state that needs IRQ routing to be restored. This fixes issues reported on
  the mailing lists, e.g.:
http://marc.theaimsgroup.com/?l=acpi4linux&m=109142999328643&w=2
* rename setonboot --> initialized
* change to test acpi_noirq in init

We want to initialize everything on S3 resume in case the BIOS points an
interrupt link somewhere we didn't expect. (Doing so avoids "missing interrupt"
or "irq x: nobody cared" problems.) According to Len, past experience has shown
that it's a good idea to initialize only devices that exist or were explicitly
asked for, so we try to initialize only the IRQ's that were previously
initialized at some point before suspend, by checking the "initialized" flag.
This corresponds to links that have PCI devices attached.  Everything else, we
leave alone. Assuming the BIOS does the same thing on resume that it did on
boot, this will leave all the unused links in the same state that they were on
boot.

We are registered as a sysdev in order to do this work fairly early during
resume, before devices are resumed; some devices may not call
pci_device_enable.

Previous "setonboot once" behavior is left in place, to be conservative.

22 years ago[ACPI] BIOS workaround allowing devices to use reserved IO ports
Len Brown [Tue, 3 Aug 2004 19:13:00 +0000 (15:13 -0400)]
[ACPI] BIOS workaround allowing devices to use reserved IO ports
Author: David Shaohua Li
http://bugzilla.kernel.org/show_bug.cgi?id=3049

22 years ago[ACPI] fix build warning (Andrew Morton)
Len Brown [Wed, 28 Jul 2004 11:17:02 +0000 (07:17 -0400)]
[ACPI] fix build warning (Andrew Morton)

22 years ago[ACPI] synchronize_kernel for idle-loop unload (Zwane Mwaikambo)
Len Brown [Wed, 28 Jul 2004 10:46:34 +0000 (06:46 -0400)]
[ACPI] synchronize_kernel for idle-loop unload (Zwane Mwaikambo)
http://bugzilla.kernel.org/show_bug.cgi?id=1716

22 years ago[ACPI] S3 is independent of CONFIG_X86_PAE (David Shaohua Li)
Len Brown [Wed, 28 Jul 2004 10:40:03 +0000 (06:40 -0400)]
[ACPI] S3 is independent of CONFIG_X86_PAE (David Shaohua Li)

22 years ago[ACPI] ACPICA 20040715 from Bob Moore
Len Brown [Fri, 16 Jul 2004 21:37:59 +0000 (17:37 -0400)]
[ACPI] ACPICA 20040715 from Bob Moore

Restructured the internal HW GPE interfaces to pass/track
the current state of interrupts (enabled/disabled) in
order to avoid possible deadlock and increase flexibility
of the interfaces.

Implemented a "lexicographical compare" for String and
Buffer objects within the logical operators -- LGreater,
LLess, LGreaterEqual, and LLessEqual -- as per further
clarification to the ACPI specification.  Behavior is
similar to C library "strcmp".

Completed a major reduction in CPU stack use for the
acpi_get_firmware_table external function.  In the 32-bit
non-debug case, the stack use has been reduced from 168
bytes to 32 bytes.

Deployed a new run-time configuration flag,
acpi_gbl_enable_interpeter_slack, whose purpose is to allow
the AML interpreter to forgive certain bad AML constructs.
Default setting is FALSE.

Implemented the first use of acpi_gbl_enable_interpeter_slack
in the Field IO support code.  If enabled, it allows field
access to go beyond the end of a region definition if the
field is within the region length rounded up to the next
access width boundary (a common coding error.)

Renamed OSD_HANDLER to acpi_osd_handler, and
OSD_EXECUTION_CALLBACK to acpi_osd_exec_callback for
consistency with other ACPI symbols.  Also, these symbols
are lowercased by the latest version of the acpisrc tool.

The prototypes for the PCI interfaces in acpiosxf.h
have been updated to rename "register" to simply "reg"
to prevent certain compilers from complaining.

22 years ago[ACPI] Enable run-time CM button/LID events (David Shaohua Li)
Len Brown [Thu, 15 Jul 2004 11:17:42 +0000 (07:17 -0400)]
[ACPI] Enable run-time CM button/LID events (David Shaohua Li)
http://bugzilla.kernel.org/show_bug.cgi?id=1415

22 years ago[ACPI] Create /proc/acpi/wakeup to allow enabling
Len Brown [Wed, 14 Jul 2004 20:39:15 +0000 (16:39 -0400)]
[ACPI] Create /proc/acpi/wakeup to allow enabling
the optional wakeup event sources. (David Shaohua Li)
http://bugzilla.kernel.org/show_bug.cgi?id=1415

22 years ago[ACPI] ACPI bus support for wakeup GPE (David Shaohua Li)
Len Brown [Wed, 14 Jul 2004 20:37:33 +0000 (16:37 -0400)]
[ACPI] ACPI bus support for wakeup GPE (David Shaohua Li)
http://bugzilla.kernel.org/show_bug.cgi?id=1415

22 years ago[ACPI] IOAPIC suspend/resume (David Shaohua Li)
Len Brown [Wed, 14 Jul 2004 20:27:33 +0000 (16:27 -0400)]
[ACPI] IOAPIC suspend/resume (David Shaohua Li)
http://bugzilla.kernel.org/show_bug.cgi?id=3037

22 years ago[ACPI] Tell the BIOS Linux can handle
Len Brown [Wed, 14 Jul 2004 11:47:04 +0000 (07:47 -0400)]
[ACPI] Tell the BIOS Linux can handle
Enhanced Speed Step (EST). (Venkatesh Pallipadi)
http://bugzilla.kernel.org/show_bug.cgi?id=2712

22 years ago[ACPI] add SMP suport to processor driver (Venkatesh Pallipadi)
Len Brown [Wed, 14 Jul 2004 11:39:55 +0000 (07:39 -0400)]
[ACPI] add SMP suport to processor driver (Venkatesh Pallipadi)
http://bugzilla.kernel.org/show_bug.cgi?id=2615

22 years ago[ACPI] save/restore ELCR on suspend/resume (David Shaohua Li)
Len Brown [Wed, 14 Jul 2004 11:35:54 +0000 (07:35 -0400)]
[ACPI] save/restore ELCR on suspend/resume (David Shaohua Li)
http://bugzilla.kernel.org/show_bug.cgi?id=2643

22 years ago[ACPI] /proc/acpi/thermal_zone/THRM/cooling_mode
Len Brown [Wed, 14 Jul 2004 10:47:30 +0000 (06:47 -0400)]
[ACPI] /proc/acpi/thermal_zone/THRM/cooling_mode
Add concept of (mandatory) "critical", when (optional)
"passive" and "active" are not present.  (Zhenyu Z Wang)
http://bugzilla.kernel.org/show_bug.cgi?id=1770

22 years ago[ACPI] fix ability to set thermal trip points (Hugo Haas, Stefan Seyfried)
Len Brown [Tue, 13 Jul 2004 20:34:54 +0000 (16:34 -0400)]
[ACPI] fix ability to set thermal trip points (Hugo Haas, Stefan Seyfried)
eg. # echo -n "100:90:80:70:60:50" > /proc/acpi/thermal_zone/THRM/trip_points
http://bugzilla.kernel.org/show_bug.cgi?id=2588

22 years ago[ACPI] reserve EBDA for Dell BIOS that neglects to. (David Shaohua Li)
Len Brown [Wed, 7 Jul 2004 09:53:29 +0000 (05:53 -0400)]
[ACPI] reserve EBDA for Dell BIOS that neglects to. (David Shaohua Li)
http://bugme.osdl.org/show_bug.cgi?id=2990

22 years ago[ACPI] reserve IOPORTS for ACPI (David Shaohua Li)
Len Brown [Wed, 23 Jun 2004 21:43:06 +0000 (17:43 -0400)]
[ACPI] reserve IOPORTS for ACPI (David Shaohua Li)
http://bugzilla.kernel.org/show_bug.cgi?id=2641

22 years ago[ACPI] enable GPE for ECDT (David Shaohua Li)
Len Brown [Wed, 23 Jun 2004 20:53:45 +0000 (16:53 -0400)]
[ACPI] enable GPE for ECDT (David Shaohua Li)

22 years ago[ACPI] enable Embedded Controller (EC)'s
Len Brown [Wed, 23 Jun 2004 13:01:29 +0000 (09:01 -0400)]
[ACPI] enable Embedded Controller (EC)'s
General Purpose Event (GPE) from David Shaohua Li

22 years agoMerge intel.com:/home/lenb/src/linux-acpi-test-2.6.7
Len Brown [Tue, 22 Jun 2004 21:23:32 +0000 (17:23 -0400)]
Merge intel.com:/home/lenb/src/linux-acpi-test-2.6.7
into intel.com:/home/lenb/bk/linux-acpi-test-2.6.7

22 years ago[ACPI] fix return-from-sleep PM/ACPI state conversion bug (David Shaohua Li)
Len Brown [Tue, 22 Jun 2004 21:22:23 +0000 (17:22 -0400)]
[ACPI] fix return-from-sleep PM/ACPI state conversion bug (David Shaohua Li)

22 years agomerge ACPICA
Len Brown [Tue, 22 Jun 2004 12:27:51 +0000 (08:27 -0400)]
merge ACPICA

22 years ago[ACPI] update EC GPE handler to new ACPICA handler type
Len Brown [Tue, 22 Jun 2004 11:56:16 +0000 (07:56 -0400)]
[ACPI] update EC GPE handler to new ACPICA handler type

22 years ago[ACPI] ACPICA 20040615 from Bob Moore
Len Brown [Tue, 22 Jun 2004 09:48:26 +0000 (05:48 -0400)]
[ACPI] ACPICA 20040615 from Bob Moore

Implemented support for Buffer and String objects (as
per ACPI 2.0) for the following ASL operators: LEqual,
LGreater, LLess, LGreaterEqual, and LLessEqual.

22 years ago[ACPI] ACPICA 20040527 from Bob Moore
Len Brown [Tue, 22 Jun 2004 09:42:17 +0000 (05:42 -0400)]
[ACPI] ACPICA 20040527 from Bob Moore

Completed a new design and implementation for EBDA
(Extended BIOS Data Area) support in the RSDP scan code.
The original code improperly scanned for the EBDA by simply
scanning from memory location 0 to 0x400.  The correct
method is to first obtain the EBDA pointer from within
the BIOS data area, then scan 1K of memory starting at the
EBDA pointer.  There appear to be few if any machines that
place the RSDP in the EBDA, however.
http://bugme.osdl.org/show_bug.cgi?id=2415

Integrated a fix for a possible fault during evaluation
of BufferField arguments.  Obsolete code that was causing
the problem was removed. (Asus laptop boot crash)
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=121760

Found and fixed a problem in the Field Support Code
where data could be corrupted on a bit field read that
starts on an aligned boundary but does not end on an
aligned boundary.  Merged the read/write "datum length"
calculation code into a common procedure.

22 years ago[ACPI] ACPICA 20040514 from Bob Moore
Len Brown [Tue, 22 Jun 2004 09:15:18 +0000 (05:15 -0400)]
[ACPI] ACPICA 20040514 from Bob Moore

Fixed a problem where hardware GPE enable bits sometimes
not set properly during and after GPE method execution.
Result of ACPICA 20040427 changes.

Removed extra "clear all GPEs" when sleeping/waking.

Removed acpi_ht_enable_gpe and acpi_hw_disable_gpe, replaced
by the single acpi_hw_write_gpe_enable_reg. Changed a couple
of calls to the functions above to the new acpi_ev* calls
as appropriate.

ACPI_OS_NAME was removed from the OS-specific headers.
The default name is now "Microsoft Windows NT" for maximum
compatibility. However this can be changed by modifying
the acconfig.h file.  Fixes EHCI probe issue:
http://bugme.osdl.org/show_bug.cgi?id=1762

Allow a single invocation of acpi_install_notify_handler
for a handler that traps both types of notifies (System,
Device). Use ACPI_ALL_NOTIFY flag.

Run _INI methods on ThermalZone objects. This is against
the ACPI specification, but there is apparently ASL code
in the field that has these _INI methods, and apparently
"other" AML interpreters execute them.

Performed a full 16/32/64 bit lint that resulted in some
small changes.

22 years agoMerge intel.com:/home/lenb/src/linux-acpi-test-2.6.7
Len Brown [Mon, 21 Jun 2004 16:59:09 +0000 (12:59 -0400)]
Merge intel.com:/home/lenb/src/linux-acpi-test-2.6.7
into intel.com:/home/lenb/bk/linux-acpi-test-2.6.7

22 years ago[ACPI] re-factor previous mpparse IRQ override fix (Linus Torvalds)
Len Brown [Mon, 21 Jun 2004 16:53:04 +0000 (12:53 -0400)]
[ACPI] re-factor previous mpparse IRQ override fix (Linus Torvalds)
Reflect that only the dstirq depends on the dstapic.

22 years agoMerge intel.com:/home/lenb/src/linux-acpi-test-2.6.7
Len Brown [Mon, 21 Jun 2004 11:22:34 +0000 (07:22 -0400)]
Merge intel.com:/home/lenb/src/linux-acpi-test-2.6.7
into intel.com:/home/lenb/bk/linux-acpi-test-2.6.7

22 years ago[ACPI] fix double timer interrupt mapping (Hans-Frieder Vogt)
Len Brown [Mon, 21 Jun 2004 11:20:51 +0000 (07:20 -0400)]
[ACPI] fix double timer interrupt mapping (Hans-Frieder Vogt)
caused by errant fix for OSDL 2835

22 years agoMerge intel.com:/home/lenb/src/linux-acpi-test-2.6.7
Len Brown [Thu, 17 Jun 2004 21:56:40 +0000 (17:56 -0400)]
Merge intel.com:/home/lenb/src/linux-acpi-test-2.6.7
into intel.com:/home/lenb/bk/linux-acpi-test-2.6.7

22 years agoMerge intel.com:/home/lenb/src/linux-acpi-test-2.6.6
Len Brown [Thu, 17 Jun 2004 21:40:30 +0000 (17:40 -0400)]
Merge intel.com:/home/lenb/src/linux-acpi-test-2.6.6
into intel.com:/home/lenb/src/linux-acpi-test-2.6.7

22 years ago[ACPI] handle SCI override to nth IOAPIC
Len Brown [Thu, 17 Jun 2004 20:18:19 +0000 (16:18 -0400)]
[ACPI] handle SCI override to nth IOAPIC
http://bugzilla.kernel.org/show_bug.cgi?id=2835

22 years ago[ACPI] avoid spurious interrupts on VIA
Len Brown [Thu, 17 Jun 2004 19:21:03 +0000 (15:21 -0400)]
[ACPI] avoid spurious interrupts on VIA
http://bugzilla.kernel.org/show_bug.cgi?id=2243

22 years ago[ACPI] fix passive cooling mode indicator (Luming Yu)
Len Brown [Thu, 17 Jun 2004 19:00:08 +0000 (15:00 -0400)]
[ACPI] fix passive cooling mode indicator (Luming Yu)
http://bugzilla.kernel.org/show_bug.cgi?id=1770

22 years ago[ACPI] PCI bus numbering workaround for ServerWorks
Len Brown [Thu, 17 Jun 2004 12:31:52 +0000 (08:31 -0400)]
[ACPI] PCI bus numbering workaround for ServerWorks
from David Shaohua Li
http://bugzilla.kernel.org/show_bug.cgi?id=1662

22 years agoMerge intel.com:/home/lenb/bk/foo/linux-acpi-test-2.6.7
Len Brown [Wed, 16 Jun 2004 22:53:12 +0000 (18:53 -0400)]
Merge intel.com:/home/lenb/bk/foo/linux-acpi-test-2.6.7
into intel.com:/home/lenb/bk/linux-acpi-test-2.6.7

22 years agoMerge intel.com:/home/lenb/src/linux-acpi-test-2.6.7-mpparse
Len Brown [Wed, 16 Jun 2004 22:15:36 +0000 (18:15 -0400)]
Merge intel.com:/home/lenb/src/linux-acpi-test-2.6.7-mpparse
into intel.com:/home/lenb/bk/linux-acpi-test-2.6.7

22 years agoMerge intel.com:/home/lenb/src/linux-acpi-test-2.6.7
Len Brown [Wed, 16 Jun 2004 21:42:44 +0000 (17:42 -0400)]
Merge intel.com:/home/lenb/src/linux-acpi-test-2.6.7
into intel.com:/home/lenb/bk/linux-acpi-test-2.6.7

22 years agoMerge intel.com:/home/lenb/src/linux-acpi-test-2.6.6
Len Brown [Wed, 16 Jun 2004 21:30:00 +0000 (17:30 -0400)]
Merge intel.com:/home/lenb/src/linux-acpi-test-2.6.6
into intel.com:/home/lenb/src/linux-acpi-test-2.6.7

22 years ago[ACPI] Fix a lockup which Sid Boyce <sboyce@blueyonder.co.uk>
Len Brown [Wed, 16 Jun 2004 21:26:33 +0000 (17:26 -0400)]
[ACPI] Fix a lockup which Sid Boyce <sboyce@blueyonder.co.uk>
discovered with IOAPIC disabled.

The problem was that drivers/serial/8250_acpi.c found COM1 in the ACPI
namespace and called acpi_register_gsi() to set up its IRQ.  ACPI tells us
that the COM1 IRQ is edge triggered, active high, but acpi_register_gsi()
was ignoring the edge_level argument, so it blindly set the COM1 IRQ to be
level-triggered.

Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Signed-off-by: Andrew Morton <akpm@osdl.org
22 years ago[ACPI] delete "__init" from x86_64 version of mp_find_ioapic()
Len Brown [Wed, 16 Jun 2004 21:23:50 +0000 (17:23 -0400)]
[ACPI] delete "__init" from x86_64 version of mp_find_ioapic()
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Andrew Morton <akpm@osdl.or
22 years ago[ACPI] mp_find_ioapic() oops from mp_register_gsi() on device resume
Len Brown [Wed, 16 Jun 2004 21:19:49 +0000 (17:19 -0400)]
[ACPI] mp_find_ioapic() oops from mp_register_gsi() on device resume
Signed-off-by: Andrew Morton <akpm@osdl.org>
22 years ago[ACPI] *** Warning: "acpi_register_gsi" [drivers/serial/8250_acpi.ko] undefined!
Len Brown [Wed, 16 Jun 2004 21:15:58 +0000 (17:15 -0400)]
[ACPI] *** Warning: "acpi_register_gsi" [drivers/serial/8250_acpi.ko] undefined!

Signed-off-by: Andrew Morton <akpm@osdl.org>
22 years agoMerge intel.com:/home/lenb/bk/linux-2.6.7
Len Brown [Wed, 16 Jun 2004 20:36:09 +0000 (16:36 -0400)]
Merge intel.com:/home/lenb/bk/linux-2.6.7
into intel.com:/home/lenb/src/linux-acpi-test-2.6.7

22 years agoLinux 2.6.7 v2.6.7
Linus Torvalds [Tue, 15 Jun 2004 15:17:47 +0000 (08:17 -0700)]
Linux 2.6.7

22 years agoMerge davem@nuts.davemloft.net:/disk1/BK/sparc-2.6
David S. Miller [Tue, 15 Jun 2004 15:04:05 +0000 (08:04 -0700)]
Merge davem@nuts.davemloft.net:/disk1/BK/sparc-2.6
into kernel.bkbits.net:/home/davem/sparc-2.6

22 years ago[PATCH] insert_resource fix
John Rose [Tue, 15 Jun 2004 13:19:55 +0000 (06:19 -0700)]
[PATCH] insert_resource fix

I noticed that insert_resource() incorrectly handles the case of an
existing parent resource with the same ending address as a newly added
child.  This results in incorrect nesting, like the following:

# cat /proc/ioports
<snip>
002f0000-002fffff : PCI Bus #48
  00200000-002fffff : /pci@800000020000003
</snip>

Signed-off-by: John Rose <johnrose@austin.ibm.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] ide: check no. of sectors for in/out commands in ide_diag_taskfile()
Bartlomiej Zolnierkiewicz [Tue, 15 Jun 2004 13:19:44 +0000 (06:19 -0700)]
[PATCH] ide: check no. of sectors for in/out commands in ide_diag_taskfile()

Make sure that number of sectors != 0 for in/out command before sending
it to drive.  Remove no longer needed checks from flagged_* PIO handlers.

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@elka.pw.edu.pl>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] ide: kill task_[un]map_rq()
Bartlomiej Zolnierkiewicz [Tue, 15 Jun 2004 13:19:32 +0000 (06:19 -0700)]
[PATCH] ide: kill task_[un]map_rq()

PIO handlers under CONFIG_IDE_TASKFILE_IO=n are never used for bio
based requests (rq->bio is always NULL) so we can use rq->buffer
directly instead of calling ide_[un]map_buffer().

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@elka.pw.edu.pl>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] ide: tiny task_mulout_intr() (CONFIG_IDE_TASKFILE_IO=n) cleanup
Bartlomiej Zolnierkiewicz [Tue, 15 Jun 2004 13:19:21 +0000 (06:19 -0700)]
[PATCH] ide: tiny task_mulout_intr() (CONFIG_IDE_TASKFILE_IO=n) cleanup

- merge status checking code for rq->current_nr_sectors
  and !rq->current_nr_sectors cases
- remove !rq->bio check as it is always true

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@elka.pw.edu.pl>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] ide: cleanup taskfile PIO handlers (CONFIG_IDE_TASKFILE_IO=n)
Bartlomiej Zolnierkiewicz [Tue, 15 Jun 2004 13:19:10 +0000 (06:19 -0700)]
[PATCH] ide: cleanup taskfile PIO handlers (CONFIG_IDE_TASKFILE_IO=n)

These handlers are nowadays used only for REQ_DRIVE_TASKFILE
requests (rq->bio is always NULL) which aren't retried et all so
remove code 'rewinding' rq->current_nr_sectors and some FIXMEs.

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@elka.pw.edu.pl>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] ide: fix REQ_DRIVE_* requests error handling in ide-scsi
Bartlomiej Zolnierkiewicz [Tue, 15 Jun 2004 13:18:59 +0000 (06:18 -0700)]
[PATCH] ide: fix REQ_DRIVE_* requests error handling in ide-scsi

If REQ_DRIVE_* request fails ide_end_drive_cmd() should be called
for it not ->end_request().  This was broken by 2.6.5, fix it.

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@elka.pw.edu.pl>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] ide: fix ide-cd to not retry REQ_DRIVE_TASKFILE requests
Bartlomiej Zolnierkiewicz [Tue, 15 Jun 2004 13:18:48 +0000 (06:18 -0700)]
[PATCH] ide: fix ide-cd to not retry REQ_DRIVE_TASKFILE requests

'cat /proc/ide/hdx/identify' generates REQ_DRIVE_TASKFILE request
(for WIN_PIDENTIFY command) even for devices controlled by ide-cd.
All other drivers don't try to retry such requests.

Acked by Jens.

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@elka.pw.edu.pl>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] ide: remove ALTERNATE_STATE_DIAGRAM_MULTI_OUT from ide-taskfile.c
Bartlomiej Zolnierkiewicz [Tue, 15 Jun 2004 13:18:37 +0000 (06:18 -0700)]
[PATCH] ide: remove ALTERNATE_STATE_DIAGRAM_MULTI_OUT from ide-taskfile.c

First introduced in 2.4.19/2.5.3 as ALTSTAT_SCREW_UP, never used.

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@elka.pw.edu.pl>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] ide: ide-pnp update
Bartlomiej Zolnierkiewicz [Tue, 15 Jun 2004 13:18:26 +0000 (06:18 -0700)]
[PATCH] ide: ide-pnp update

- do not unregister ide-pnp driver while detaching random
  IDE device from random IDE device driver if IDE is modular
  (somebody added this in 2.3.51)
- clear 'hw_regs_t hw' allocated from stack
- mark idepnp_init() with __init
- use ide_std_init_ports() instead of ide_setup_ports()

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@elka.pw.edu.pl>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] ide: ide-proc fix for m68k
Bartlomiej Zolnierkiewicz [Tue, 15 Jun 2004 13:18:15 +0000 (06:18 -0700)]
[PATCH] ide: ide-proc fix for m68k

From: Geert Uytterhoeven <geert@linux-m68k.org>

The IDE sparse fixups cause 2 warnings (unused variables `val' and
`reg') on m68k and APUS.  However, the reason why this code was
commented out is gone.  So just remove the special case.

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@elka.pw.edu.pl>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] ide: kill some useless headers for PCI drivers
Bartlomiej Zolnierkiewicz [Tue, 15 Jun 2004 13:18:03 +0000 (06:18 -0700)]
[PATCH] ide: kill some useless headers for PCI drivers

They are only included from these drivers.

While at it:
- remove redundant ide_pci_device_t tables
- add DECLARE_CS_DEV() (cs5520)
- remove duplicate DISPLAY_SC1200_TIMINGS define (sc1200)
- remove unused SIIMAGE_BUFFERED_TASKFILE, SII_DEBUG
  and siiprintk() defines + add DECLARE_SII_DEV() (siimage)
- remove unused SLC90E66_DEBUG_DRIVE_INFO define (slc90e66)

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@elka.pw.edu.pl>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] ide: PCI hotplugging fixes
Bartlomiej Zolnierkiewicz [Tue, 15 Jun 2004 13:17:51 +0000 (06:17 -0700)]
[PATCH] ide: PCI hotplugging fixes

Extracted from the Debian kernel package
(original patch is from Herbert Xu).

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@elka.pw.edu.pl>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[SPARC]: Report si_addr in SIGINFO more accurately.
David S. Miller [Tue, 15 Jun 2004 13:05:46 +0000 (06:05 -0700)]
[SPARC]: Report si_addr in SIGINFO more accurately.

22 years agoMerge http://linux-watchdog.bkbits.net/linux-2.6-watchdog
Linus Torvalds [Tue, 15 Jun 2004 12:05:37 +0000 (05:05 -0700)]
Merge http://linux-watchdog.bkbits.net/linux-2.6-watchdog
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years agoMerge bk://bk.arm.linux.org.uk/linux-2.6-serial
Linus Torvalds [Tue, 15 Jun 2004 11:58:30 +0000 (04:58 -0700)]
Merge bk://bk.arm.linux.org.uk/linux-2.6-serial
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years ago[SERIAL] Fix missing __devexit_p
Russell King [Tue, 15 Jun 2004 18:54:59 +0000 (19:54 +0100)]
[SERIAL] Fix missing __devexit_p

Thanks to Ivan Kokshaysky for spotting this.

22 years agoMerge bk://bk.arm.linux.org.uk/linux-2.6-pcmcia
Linus Torvalds [Tue, 15 Jun 2004 11:55:48 +0000 (04:55 -0700)]
Merge bk://bk.arm.linux.org.uk/linux-2.6-pcmcia
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years ago[PCMCIA] Add TI1620 device IDs and tell yenta about it.
Russell King [Tue, 15 Jun 2004 16:10:47 +0000 (17:10 +0100)]
[PCMCIA] Add TI1620 device IDs and tell yenta about it.

22 years agoMerge bk://cifs.bkbits.net/linux-2.5cifs
Linus Torvalds [Tue, 15 Jun 2004 11:49:34 +0000 (04:49 -0700)]
Merge bk://cifs.bkbits.net/linux-2.5cifs
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years agoMerge bk://cifs.bkbits.net/linux-2.5cifs
Steve French [Tue, 15 Jun 2004 10:42:31 +0000 (05:42 -0500)]
Merge bk://cifs.bkbits.net/linux-2.5cifs
into stevef95.austin.ibm.com:/home/stevef/linux-2.5cifs

22 years agoFix i_size corruption in case of overlapped readdir changing cached file size and...
Steve French [Tue, 15 Jun 2004 09:53:23 +0000 (04:53 -0500)]
Fix i_size corruption in case of overlapped readdir changing cached file size and local cached write extending file

22 years ago[PATCH] x86-64: Fix use of uninitialized memory in ioremap
Andi Kleen [Tue, 15 Jun 2004 01:01:58 +0000 (18:01 -0700)]
[PATCH] x86-64: Fix use of uninitialized memory in ioremap

From: "Siddha, Suresh B" <suresh.b.siddha@intel.com>
From: "Kamble, Nitin A" <nitin.a.kamble@intel.com>

Fix use of uninitialized memory in x86-64 ioremap

This caused BUGs at bootup for some people.

22 years agofix fealist struct (xattr support part 3)
Steve French [Mon, 14 Jun 2004 17:08:09 +0000 (12:08 -0500)]
fix fealist struct (xattr support part 3)

Signed-off-by: Steve French (sfrench@us.ibm.com)
22 years ago[PATCH] __user annotation for selinux_shm_shmat
Chris Wright [Mon, 14 Jun 2004 16:04:02 +0000 (09:04 -0700)]
[PATCH] __user annotation for selinux_shm_shmat

Add proper __user annotation to selinux_shm_shmat.

From: Mika Kukkonen <mika@osdl.org>
Signed-off-by: Chris Wright <chrisw@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] __user annotation for dummy_shm_shmat
Chris Wright [Mon, 14 Jun 2004 16:03:51 +0000 (09:03 -0700)]
[PATCH] __user annotation for dummy_shm_shmat

Add proper __user annotation to dummy_shm_shmat.

Signed-off-by: Chris Wright <chrisw@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] __user annotation for shm_shmat hook declaration
Chris Wright [Mon, 14 Jun 2004 16:03:40 +0000 (09:03 -0700)]
[PATCH] __user annotation for shm_shmat hook declaration

Add proper __user annotation for shm_shmat hook in security.h.

From: Mika Kukkonen <mika@osdl.org>
Signed-off-by: Chris Wright <chrisw@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] stat nlink resolution fix
Chris Wedgwood [Mon, 14 Jun 2004 16:01:29 +0000 (09:01 -0700)]
[PATCH] stat nlink resolution fix

Some filesystems can get overflows when their link-count exceeds
65534.  This patch increases the kernels internal resolution for this
and also has a check for the old-system call paths to return and error
(-EOVERFLOW) as required (as suggested by Al Viro).

Signed-off-by: Chris Wedgwood <cw@f00f.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years agoRevert wakeup-affinity fixes
Linus Torvalds [Mon, 14 Jun 2004 15:33:16 +0000 (08:33 -0700)]
Revert wakeup-affinity fixes

This patch results in too much idle time under certain
loads, and while that is being looked into we're better
off just reverting the change.

Cset exclude: nickpiggin@yahoo.com.au[torvalds]|ChangeSet|20040605175839|02419

22 years agoMerge bk://kernel.bkbits.net/davem/net-2.6
Linus Torvalds [Mon, 14 Jun 2004 15:29:37 +0000 (08:29 -0700)]
Merge bk://kernel.bkbits.net/davem/net-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years agoMerge bk://kernel.bkbits.net/davem/sparc-2.6
Linus Torvalds [Mon, 14 Jun 2004 15:28:00 +0000 (08:28 -0700)]
Merge bk://kernel.bkbits.net/davem/sparc-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years agoMerge davem@nuts.davemloft.net:/disk1/BK/sparc-2.6
David S. Miller [Mon, 14 Jun 2004 11:00:40 +0000 (04:00 -0700)]
Merge davem@nuts.davemloft.net:/disk1/BK/sparc-2.6
into kernel.bkbits.net:/home/davem/sparc-2.6

22 years ago[NETFILTER]: Prevent orphan expectations.
Harald Welte [Mon, 14 Jun 2004 10:30:31 +0000 (03:30 -0700)]
[NETFILTER]: Prevent orphan expectations.

This patch fixes orphaned expectations, which can occur when helpers create
expectations for unconfirmed conntracks and the packet is dropped before
the conntrack is confirmed.

Signed-off-by: Phil Oester <kernel@linuxace.com>
Signed-off-by: Harald Welte <laforge@netfilter.org>
Signed-off-by: David S. Miller <davem@redhat.com>
22 years ago[NETFILTER]: Don't assign new helper after NAT when there are already expectations...
Harald Welte [Mon, 14 Jun 2004 10:28:58 +0000 (03:28 -0700)]
[NETFILTER]: Don't assign new helper after NAT when there are already expectations present.

Tracked down by Raivis Bucis <raivis@mt.lv>

This patch fixes an oops while listing /proc/net/ip_conntrack.

When a helper sets up expectations based on the first packet (tftp),
NAT can still change the packet and cause conntrack to look for a new helper
based on the new tuple. When no helper is found, expectant->helper will be
NULL, which leads to an oops in print_expect().

Only assign a new helper in ip_conntrack_alter_reply() if there are no
expectations.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: Harald Welte <laforge@netfilter.org>
Signed-off-by: David S. Miller <davem@redhat.com>
22 years ago[NETFILTER]: Missing skb->len check in ip_conntrack_proto_tcp.c:tcp_packet().
Harald Welte [Mon, 14 Jun 2004 10:25:21 +0000 (03:25 -0700)]
[NETFILTER]: Missing skb->len check in ip_conntrack_proto_tcp.c:tcp_packet().

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: Harald Welte <laforge@netfilter.org>
Signed-off-by: David S. Miller <davem@redhat.com>
22 years ago[IPV6] IPSEC: fix double kfree_skb() in error path. (reported by Ken-ichirou MATSUZAW...
Hideaki Yoshifuji [Mon, 14 Jun 2004 10:09:47 +0000 (03:09 -0700)]
[IPV6] IPSEC: fix double kfree_skb() in error path. (reported by Ken-ichirou MATSUZAWA <chamas@h4.dion.ne.jp>)

Signed-off-by: Yoshifuji Hideaki <yoshfuji@linux-ipv6.org>
Signed-off-by: David S. Miller <davem@redhat.com>
22 years agoMerge bk://bk.arm.linux.org.uk/linux-2.6-rmk
Linus Torvalds [Mon, 14 Jun 2004 09:21:46 +0000 (02:21 -0700)]
Merge bk://bk.arm.linux.org.uk/linux-2.6-rmk
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years ago[ARM] Resurect EBSA110 machine class.
Russell King [Tue, 15 Jun 2004 01:06:07 +0000 (02:06 +0100)]
[ARM] Resurect EBSA110 machine class.

This fixes build errors in EBSA110, and updates the default
configuration.

22 years agoMerge bk://linux-dj.bkbits.net/cpufreq
Linus Torvalds [Mon, 14 Jun 2004 06:22:09 +0000 (23:22 -0700)]
Merge bk://linux-dj.bkbits.net/cpufreq
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years agoMerge http://jfs.bkbits.net/linux-2.5
Linus Torvalds [Mon, 14 Jun 2004 06:17:58 +0000 (23:17 -0700)]
Merge http://jfs.bkbits.net/linux-2.5
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years ago[PATCH] ppc64: fix out_be64
Andrew Morton [Mon, 14 Jun 2004 06:16:49 +0000 (23:16 -0700)]
[PATCH] ppc64: fix out_be64

From: Benjamin Herrenschmidt <benh@kernel.crashing.org>

Patch fixes out_be64 implementation on ppc64 along with a glich in out_be32
(inconsistent) use of barrier.

Signed-off-by: Roland Dreier <roland@topspin.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
22 years ago[PATCH] Sparse fix to mm/vmscan.c
Randy Dunlap [Mon, 14 Jun 2004 06:16:38 +0000 (23:16 -0700)]
[PATCH] Sparse fix to mm/vmscan.c

Nick changed shrink_cache() to void, but one call was missed.

From: Mika Kukkonen <mika@osdl.org>
Signed-off-by: Randy Dunlap <rddunlap@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] Fix nfs writepage behaviour
Andrew Morton [Mon, 14 Jun 2004 06:16:27 +0000 (23:16 -0700)]
[PATCH] Fix nfs writepage behaviour

From: Nick Piggin <nickpiggin@yahoo.com.au>

nfs_writepage() refuses to write back mapped pages at all on the page
reclaim path, causing systems to get locked up when there's a lot of dirty
mmapped data around.  The patch changes NFS so that it will start I/O
against these pages.

The code as it stands is designed to defer writeout to pdflush which can do
larger, more efficient I/Os.  But there shouldn't be much traffic by this
path, and going slow is better than not going at all.

Patch originally from Trond.

Signed-off-by: Trond Myklebust <trond.myklebust@fys.uio.no>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] Fix x86-64 VIA systems with IOMMU debug
Andi Kleen [Mon, 14 Jun 2004 06:06:51 +0000 (23:06 -0700)]
[PATCH] Fix x86-64 VIA systems with IOMMU debug

VIA chipsets are broken and don't work with IOMMU enabled. For some mysterious
reason (the IOMMU logic is actually in the CPU) they manage to corrupt all
data going through the aperture to PCI devices.

There was a workaround previously that enabled the slower softmmu when VIA is
detected on the normal IOMMU path (when there is more than 3GB of memory). But
CONFIG_IOMMU_DEBUG took a short cut that was not handled, which ended up with
VIA systems not booting when this option is enabled.

This patch enables the workaround with CONFIG_IOMMU_DEBUG/iommu=force too

22 years agoMerge bk://kernel.bkbits.net/davem/tg3-2.6
Linus Torvalds [Mon, 14 Jun 2004 06:04:26 +0000 (23:04 -0700)]
Merge bk://kernel.bkbits.net/davem/tg3-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years agoMerge bk://linux.bkbits.net/linux-2.5
Steve French [Mon, 14 Jun 2004 03:17:12 +0000 (20:17 -0700)]
Merge bk://linux.bkbits.net/linux-2.5
into hostme.bitkeeper.com:/repos/c/cifs/linux-2.5cifs

22 years agoMerge delerium.codemonkey.org.uk:/mnt/data/src/bk/bk-linus
Dave Jones [Sun, 13 Jun 2004 23:12:36 +0000 (00:12 +0100)]
Merge delerium.codemonkey.org.uk:/mnt/data/src/bk/bk-linus
into delerium.codemonkey.org.uk:/mnt/data/src/bk/cpufreq

22 years agofix listxattr error path
Steve French [Sun, 13 Jun 2004 20:07:58 +0000 (15:07 -0500)]
fix listxattr error path

Signed-off-by: Steve French (sfrench@us.ibm.com)