]> git.hungrycats.org Git - linux/log
linux
21 years agoLinux 2.6.2 aka "Feisty Dunnart" v2.6.2
Linus Torvalds [Tue, 3 Feb 2004 11:36:36 +0000 (03:36 -0800)]
Linux 2.6.2 aka "Feisty Dunnart"

See http://www.cse.unsw.edu.au/~gernot/persona/hobbies/dunnart.html
for more information about Dunnarts, in case you've never heard of
them before. Courtesy of Gernot Heiser.

21 years agoWarn loudly if somebody passes a negative value as
Linus Torvalds [Tue, 3 Feb 2004 05:17:29 +0000 (21:17 -0800)]
Warn loudly if somebody passes a negative value as
the size to "vsnprintf()".

That's a pretty clear case of overflow.

21 years ago[NETFILTER]: Fix NAT leak with fragmented packets, missing conntrack put in ip_copy_m...
Jozsef Kadlecsik [Tue, 3 Feb 2004 02:26:40 +0000 (18:26 -0800)]
[NETFILTER]: Fix NAT leak with fragmented packets, missing conntrack put in ip_copy_metadata().

21 years agoMerge bk://kernel.bkbits.net/davem/sparc-2.6
Linus Torvalds [Tue, 3 Feb 2004 01:41:18 +0000 (17:41 -0800)]
Merge bk://kernel.bkbits.net/davem/sparc-2.6
into home.osdl.org:/home/torvalds/v2.5/linux

21 years agoMerge bk://kernel.bkbits.net/davem/tg3-2.6
Linus Torvalds [Tue, 3 Feb 2004 01:38:14 +0000 (17:38 -0800)]
Merge bk://kernel.bkbits.net/davem/tg3-2.6
into home.osdl.org:/home/torvalds/v2.5/linux

21 years agoMerge davem@nuts.davemloft.net:/disk1/davem/BK/tg3-2.6
David S. Miller [Tue, 3 Feb 2004 01:31:16 +0000 (17:31 -0800)]
Merge davem@nuts.davemloft.net:/disk1/davem/BK/tg3-2.6
into kernel.bkbits.net:/home/davem/tg3-2.6

21 years ago[TG3]: Bump version and reldate.
David S. Miller [Tue, 3 Feb 2004 01:26:50 +0000 (17:26 -0800)]
[TG3]: Bump version and reldate.

21 years ago[ACPI] proposed fix for AML parameter passing from Bob Moore
Len Brown [Mon, 2 Feb 2004 12:24:16 +0000 (07:24 -0500)]
[ACPI] proposed fix for AML parameter passing from Bob Moore
  http://bugzilla.kernel.org/show_bug.cgi?id=1766

21 years agoMerge davem@nuts.davemloft.net:/disk1/davem/BK/tg3-2.6
David S. Miller [Mon, 2 Feb 2004 08:08:23 +0000 (00:08 -0800)]
Merge davem@nuts.davemloft.net:/disk1/davem/BK/tg3-2.6
into kernel.bkbits.net:/home/davem/tg3-2.6

21 years ago[TG3]: Only fetch NVRAM_CMD reg if TG3_FLAG_NVRAM.
Grant Grundler [Mon, 2 Feb 2004 02:30:47 +0000 (18:30 -0800)]
[TG3]: Only fetch NVRAM_CMD reg if TG3_FLAG_NVRAM.

21 years ago[SPARC32]: Kill spurious newline in dmesg output
Keith M. Wesolowski [Mon, 2 Feb 2004 02:19:47 +0000 (18:19 -0800)]
[SPARC32]: Kill spurious newline in dmesg output

21 years ago[SPARC32]: Copy full soft PMD in vmalloc fault handler.
Keith M. Wesolowski [Mon, 2 Feb 2004 02:18:07 +0000 (18:18 -0800)]
[SPARC32]: Copy full soft PMD in vmalloc fault handler.

sparc_do_fault assumes that pmd_val(*pmd) = pmd_val(*pmd_k) will
duplicate a PMD entry.  With large soft-PMDs this doesn't work.

21 years ago[SPARC32]: Align pkmap properly.
Keith M. Wesolowski [Mon, 2 Feb 2004 02:16:08 +0000 (18:16 -0800)]
[SPARC32]: Align pkmap properly.

Align the pkmap area on a 4MB region so that a single
large pagetable can be used.  Fixes random killing of
processes which used high memory.

21 years ago[PATCH] fix/improve modular IDE
Bartlomiej Zolnierkiewicz [Sun, 1 Feb 2004 10:17:14 +0000 (02:17 -0800)]
[PATCH] fix/improve modular IDE

This has been in -mm since 2.6.1-mm5

 - IDE can be used as module again (compiles and works),
   this fixes bugzilla bugs #576 and #1700
 - separate module for probing is no longer required
 - generic/default host driver is available as ide_generic module

This contains the build fixes by Adrian Bunk and Andrew Morton.

21 years ago[COMPAT]: Fix TUNSETIFF ioctl compat, it takes an ifreq ptr not an int.
David S. Miller [Sun, 1 Feb 2004 08:17:10 +0000 (00:17 -0800)]
[COMPAT]: Fix TUNSETIFF ioctl compat, it takes an ifreq ptr not an int.
Thanks to Eric Brower for spotting this.

21 years agoMerge nuts.davemloft.net:/disk1/davem/BK/sparcwork-2.6
David S. Miller [Sun, 1 Feb 2004 07:34:08 +0000 (23:34 -0800)]
Merge nuts.davemloft.net:/disk1/davem/BK/sparcwork-2.6
into nuts.davemloft.net:/disk1/davem/BK/sparc-2.6

21 years ago[PATCH] fix issues with loading PCI IDE drivers as modules
Bartlomiej Zolnierkiewicz [Sun, 1 Feb 2004 04:50:52 +0000 (20:50 -0800)]
[PATCH] fix issues with loading PCI IDE drivers as modules

From: Davin McCall <davmac@ozonline.com.au>

Set hwif->chipset to ide_forced if it was forced by kernel parameters.

Set hwif->chipset to ide_generic for hwifs controlled by generic IDE
code, so they wont be taken by setup_pci.c:ide_match_hwif().

Patch also fixes /proc/ide/ideX/model to report "generic" instead of
"(none)" for default hwifs.

This has been in -mm since 2.6.1-mm1.

21 years ago[PATCH] fix the build for NR_CPUS > 4*BITS_PER_LONG
Andrew Morton [Sun, 1 Feb 2004 04:49:23 +0000 (20:49 -0800)]
[PATCH] fix the build for NR_CPUS > 4*BITS_PER_LONG

You can't just cast cpumasks.  It doesn't compile if NR_CPUS is greater than
4 * BITS_PER_LONG.

21 years agoIEEE1394(r1116): Make sure to unregister addr space when a driver is removed.
Ben Collins [Sun, 1 Feb 2004 03:58:02 +0000 (22:58 -0500)]
IEEE1394(r1116): Make sure to unregister addr space when a driver is removed.

21 years agoIEEE1394(r1112): Adds a "ieee1394_guid" attribute to the scsi device for sbp2.
Ben Collins [Sun, 1 Feb 2004 03:56:12 +0000 (22:56 -0500)]
IEEE1394(r1112): Adds a "ieee1394_guid" attribute to the scsi device for sbp2.

21 years agoMerge bk://gkernel.bkbits.net/net-drivers-2.5
Linus Torvalds [Sat, 31 Jan 2004 11:09:56 +0000 (03:09 -0800)]
Merge bk://gkernel.bkbits.net/net-drivers-2.5
into home.osdl.org:/home/torvalds/v2.5/linux

21 years agoMerge nuts.davemloft.net:/disk1/davem/BK/sparcwork-2.6
David S. Miller [Sat, 31 Jan 2004 08:53:45 +0000 (00:53 -0800)]
Merge nuts.davemloft.net:/disk1/davem/BK/sparcwork-2.6
into nuts.davemloft.net:/disk1/davem/BK/sparc-2.6

21 years agoMake EHCI have a 20ms power-on to power-good timeout.
Linus Torvalds [Sat, 31 Jan 2004 05:33:13 +0000 (21:33 -0800)]
Make EHCI have a 20ms power-on to power-good timeout.

This should fix some picky USB devices.

21 years ago[PATCH] ppc32: MBX MAC address fix
Andrew Morton [Sat, 31 Jan 2004 04:22:51 +0000 (20:22 -0800)]
[PATCH] ppc32: MBX MAC address fix

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

On the MBX the kernel made an assumption about where the MAC address would
be in the VPD (Vital Product Data).  However, the documentation for the
firmware (EPPC-Bug) describes the format of the VPD and makes no
guarrantees about the location of any VPD record.  It does however describe
the format of each record type and the MAC address record will be of type
'08' and of size 6.  This changes the code so that instead of assuming a
position, it searches for the record, which I assume is also what EPPC-Bug
does.

21 years agoUpgrade x86 defconfig to something less ancient.
Linus Torvalds [Sat, 31 Jan 2004 03:46:20 +0000 (19:46 -0800)]
Upgrade x86 defconfig to something less ancient.

21 years ago[PATCH] RAID-6: x86-64 crash workaround
Andrew Morton [Sat, 31 Jan 2004 02:06:29 +0000 (18:06 -0800)]
[PATCH] RAID-6: x86-64 crash workaround

From: "H. Peter Anvin" <hpa@zytor.com>

Apparently, on x86-64, the stack isn't always aligned properly (16 bytes)
in the kernel at the moment.  This causes the RAID-6 code to crash the
system.  This patch is a workaround for that; the right thing is to muck
with the assembly entrypoints to enforce proper stack alignment.  However,
that's not anything I feel comfortable doing in an evening, especially
since I don't have a machine on which I can test the resulting kernels.

21 years ago[PATCH] s390: sclp bug fixes.
Andrew Morton [Sat, 31 Jan 2004 02:05:21 +0000 (18:05 -0800)]
[PATCH] s390: sclp bug fixes.

From: Martin Schwidefsky <schwidefsky@de.ibm.com>

SCLP console/tty fixes:

- Fix incorrect state change of SCLP_RUNNING flag in interrupt handler

- Suppress emission of empty buffers to prevent stack overflow

- Fix off by one error in sclp_write (used to return # of chars written + 1)

- Prevent sclp_tty_write_string from waiting in interrupt (during flush)

- Fix deadlock after TIOCSCLPSNL ioctl

- Fix sclp_tty_chars_in_buffer calculation

21 years ago[PATCH] s390: inline assembly constraints.
Andrew Morton [Sat, 31 Jan 2004 02:04:17 +0000 (18:04 -0800)]
[PATCH] s390: inline assembly constraints.

From: Martin Schwidefsky <schwidefsky@de.ibm.com>

s390 inline assembly bug-fixes:

- Add memory barriers to spinlocks, atomic variable functions and to
  test_and_{set,clear,change}_bit.

- Add "=m" and "m" contraints to tell gcc that the content of a variable
  is in fact used.

- Replace "+m" constraints by "=m" on the output and "m" on the input list.

- Use c-implemtation for ffz and __ffs.

- Use generic c-implemtation for ffs and fls.

21 years ago[PATCH] s390: general update.
Andrew Morton [Sat, 31 Jan 2004 02:03:17 +0000 (18:03 -0800)]
[PATCH] s390: general update.

From: Martin Schwidefsky <schwidefsky@de.ibm.com>

s390 general update:

- Add archhelp for "make image".

- 32-bit execve fix.

- Export some symbols: sys_ioctl, put_files_struct & ccw_device_work.

- Minor cleanups in arch/s390/mm/init.c & drivers/s390/net/ctctty.c.

21 years ago[PATCH] Trivial cleanups to hugepage support
Andrew Morton [Sat, 31 Jan 2004 02:02:26 +0000 (18:02 -0800)]
[PATCH] Trivial cleanups to hugepage support

From: David Gibson <david@gibson.dropbear.id.au>

These are some trivial cleanups to the hugepage ppc64 support

21 years ago[PATCH] ppc64: use CONFIG_MAGIC_SYSRQ around xmon sysrq code
Andrew Morton [Sat, 31 Jan 2004 02:01:33 +0000 (18:01 -0800)]
[PATCH] ppc64: use CONFIG_MAGIC_SYSRQ around xmon sysrq code

From: Anton Blanchard <anton@samba.org>

21 years ago[PATCH] ppc64: SLB rewrite
Andrew Morton [Sat, 31 Jan 2004 02:00:40 +0000 (18:00 -0800)]
[PATCH] ppc64: SLB rewrite

From: Anton Blanchard <anton@samba.org>

The current SLB handling code has a number of problems:

- We loop trying to find an empty SLB entry before deciding to cast one
  out.  On large working sets this really hurts since the SLB is always full
  and we end up looping through all 64 entries unnecessarily.

- During castout we currently invalidate the entry we are replacing.  This
  is to avoid a nasty race where the entry is in the ERAT but not the SLB and
  another cpu does a tlbie that removes the ERAT at a critical point.  If
  this race is fixed the SLB can be removed.

- The SLB prefault code doesnt work properly

The following patch addresses all the above concerns and adds some more
optimisations:

- feature nop out some segment table only code

- slb invalidate the kernel segment on context switch (avoids us having to
  slb invalidate at each cast out)

- optimise flush on context switch, the lazy tlb stuff avoids it being
  called when going from userspace to kernel thread, but it gets called when
  going to kernel thread to userspace.  In many cases we are returning to the
  same userspace task, we now check for this and avoid the flush

- use the optimised POWER4 mtcrf where possible

21 years ago[PATCH] ppc64: fix && vs & bugs in lparcfg, from Julie DeWandel
Andrew Morton [Sat, 31 Jan 2004 01:59:52 +0000 (17:59 -0800)]
[PATCH] ppc64: fix && vs & bugs in lparcfg, from Julie DeWandel

From: Anton Blanchard <anton@samba.org>

21 years ago[PATCH] ppc64: export memchr and csum_partial
Andrew Morton [Sat, 31 Jan 2004 01:59:07 +0000 (17:59 -0800)]
[PATCH] ppc64: export memchr and csum_partial

From: Anton Blanchard <anton@samba.org>

21 years ago[PATCH] ppc64: add/remove config.h
Andrew Morton [Sat, 31 Jan 2004 01:58:34 +0000 (17:58 -0800)]
[PATCH] ppc64: add/remove config.h

From: Anton Blanchard <anton@samba.org>

21 years ago[PATCH] ppc64: Use preferred_console to select a reasonable default console
Andrew Morton [Sat, 31 Jan 2004 01:57:58 +0000 (17:57 -0800)]
[PATCH] ppc64: Use preferred_console to select a reasonable default console

From: Anton Blanchard <anton@samba.org>

Lets make a decent attempt to find out where your console is.  The new
preferred_console stuff is pretty nice.

21 years ago[PATCH] ppc64: defconfig update
Andrew Morton [Sat, 31 Jan 2004 01:57:29 +0000 (17:57 -0800)]
[PATCH] ppc64: defconfig update

From: Anton Blanchard <anton@samba.org>

21 years ago[PATCH] ppc64: missing set_fs(KERNEL_DS) in ppc32_timer_create, from Marcus Meissner
Andrew Morton [Sat, 31 Jan 2004 01:57:06 +0000 (17:57 -0800)]
[PATCH] ppc64: missing set_fs(KERNEL_DS) in ppc32_timer_create, from Marcus Meissner

From: Anton Blanchard <anton@samba.org>

Small obvious fix to ppc32_timer_create.  Since sys_timer_create access
structures we pass on the stack, we need set_fs(KERNEL_DS).

21 years ago[PATCH] ppc64: fixes for compile with CONFIG_PROC_DEVICETREE=n, from Nathan Lynch
Andrew Morton [Sat, 31 Jan 2004 01:56:46 +0000 (17:56 -0800)]
[PATCH] ppc64: fixes for compile with CONFIG_PROC_DEVICETREE=n, from Nathan Lynch

From: Anton Blanchard <anton@samba.org>

- nop out proc_device_tree_add_node if CONFIG_PROC_DEVICETREE=n

- stubs for procfs-related functions when CONFIG_PROC_DEVICETREE=n

21 years ago[PATCH] ppc64: lparcfg_write
Andrew Morton [Sat, 31 Jan 2004 01:56:28 +0000 (17:56 -0800)]
[PATCH] ppc64: lparcfg_write

From: Anton Blanchard <anton@samba.org>

Add lparcfg_write() for changing SPLPAR system parameters

21 years ago[PATCH] ppc64: add missing include guards, from Nathan Lynch
Andrew Morton [Sat, 31 Jan 2004 01:56:15 +0000 (17:56 -0800)]
[PATCH] ppc64: add missing include guards, from Nathan Lynch

From: Anton Blanchard <anton@samba.org>

add missing include guards, from Nathan Lynch

21 years ago[PATCH] ppc32: watchdog definition fixes
Andrew Morton [Sat, 31 Jan 2004 01:56:03 +0000 (17:56 -0800)]
[PATCH] ppc32: watchdog definition fixes

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

Correct the defines for MC146818 RTCs, reg c is interrupts, reg d is not
watchdog (it's valid time & nvram).

21 years ago[PATCH] sk98lin: Reset Xmac when stopping the port
Mirko Lindner [Fri, 30 Jan 2004 20:11:03 +0000 (15:11 -0500)]
[PATCH] sk98lin: Reset Xmac when stopping the port

* Clear the Xmac fifo before stopping the port

21 years agoLinux 2.6.2-rc3 v2.6.2-rc3
Linus Torvalds [Fri, 30 Jan 2004 09:30:07 +0000 (01:30 -0800)]
Linux 2.6.2-rc3

21 years agoMerge http://xfs.org:8090/xfs-linux-2.6
Linus Torvalds [Fri, 30 Jan 2004 09:23:53 +0000 (01:23 -0800)]
Merge http://xfs.org:8090/xfs-linux-2.6
into home.osdl.org:/home/torvalds/v2.5/linux

21 years ago[XFS] Sync up some missing header updates from local XFS tree.
Nathan Scott [Sat, 31 Jan 2004 03:43:00 +0000 (14:43 +1100)]
[XFS] Sync up some missing header updates from local XFS tree.

21 years ago[XFS] Remove no-longer-needed debug symbol exports.
Nathan Scott [Sat, 31 Jan 2004 02:04:45 +0000 (13:04 +1100)]
[XFS] Remove no-longer-needed debug symbol exports.

21 years ago[XFS] Plug a pagebuf race that got bigger with the recent cleanup
Christoph Hellwig [Sat, 31 Jan 2004 01:36:57 +0000 (12:36 +1100)]
[XFS] Plug a pagebuf race that got bigger with the recent cleanup

SGI Modid: xfs-linux:xfs-kern:165722a

21 years ago[XFS] Stop using sleep_on
Christoph Hellwig [Sat, 31 Jan 2004 01:33:34 +0000 (12:33 +1100)]
[XFS] Stop using sleep_on

SGI Modid: xfs-linux:xfs-kern:165673a

21 years ago[XFS] Don't fail pagebuf allocations
Christoph Hellwig [Sat, 31 Jan 2004 01:29:35 +0000 (12:29 +1100)]
[XFS] Don't fail pagebuf allocations

SGI Modid: xfs-linux:xfs-kern:165648a

21 years ago[XFS] Add the security extended attributes namespace.
Nathan Scott [Sat, 31 Jan 2004 01:25:16 +0000 (12:25 +1100)]
[XFS] Add the security extended attributes namespace.

SGI Modid: xfs-linux:xfs-kern:165638a

21 years ago[XFS] Revert botched merge where KM_NOFS check was unintentionally dropped.
Nathan Scott [Sat, 31 Jan 2004 01:21:20 +0000 (12:21 +1100)]
[XFS] Revert botched merge where KM_NOFS check was unintentionally dropped.

SGI Modid: xfs-linux:xfs-kern:165631a

21 years ago[XFS] Simplify pagebuf_rele / pagebuf_free
Christoph Hellwig [Sat, 31 Jan 2004 01:17:49 +0000 (12:17 +1100)]
[XFS] Simplify pagebuf_rele / pagebuf_free

SGI Modid: xfs-linux:xfs-kern:165500a

21 years ago[XFS] Small ktrace fixes
Christoph Hellwig [Sat, 31 Jan 2004 01:13:08 +0000 (12:13 +1100)]
[XFS] Small ktrace fixes

SGI Modid: xfs-linux:xfs-kern:164115a

21 years ago[XFS] Move bits around to better manage common code. No functional change.
Russell Cattelan [Sat, 31 Jan 2004 01:07:59 +0000 (12:07 +1100)]
[XFS] Move bits around to better manage common code.  No functional change.

21 years ago[XFS] Fix a warning from some gcc variants after recent flags botch.
Nathan Scott [Fri, 30 Jan 2004 23:54:04 +0000 (10:54 +1100)]
[XFS] Fix a warning from some gcc variants after recent flags botch.

SGI Modid: xfs-linux:xfs-kern:165646a

21 years ago[XFS] Christoph has signed over copyrights
Russell Cattelan [Fri, 30 Jan 2004 22:47:51 +0000 (09:47 +1100)]
[XFS] Christoph has signed over copyrights

SGI Modid: xfs-linux:xfs-kern:165037a

21 years ago[PATCH] PC300 update
Marcelo Tosatti [Fri, 30 Jan 2004 04:13:47 +0000 (20:13 -0800)]
[PATCH] PC300 update

This forward ports a few important fixes from the 2.4 driver.  This
changes have been well tested.

Changelog:
 - Update maintainer email address
 - Mark pci_device_id list with __devinitdata.
 - Set correct protocol type on packet receive (this caused the kernel to
   drop all packets received)
 - Add #ifdef DEBUG around debug printk()
 - ioctl: Add missing size checks before
   copying data from userspace.

21 years ago[SPARC64]: Fix wakeup races in power.c, with help from Andrew Morton.
David S. Miller [Fri, 30 Jan 2004 03:21:01 +0000 (19:21 -0800)]
[SPARC64]: Fix wakeup races in power.c, with help from Andrew Morton.

21 years agoMerge bk://bk.arm.linux.org.uk/linux-2.6-rmk
Linus Torvalds [Fri, 30 Jan 2004 00:43:00 +0000 (16:43 -0800)]
Merge bk://bk.arm.linux.org.uk/linux-2.6-rmk
into home.osdl.org:/home/torvalds/v2.5/linux

21 years ago[ARM] Remove FP work-arounds.
Russell King [Fri, 30 Jan 2004 16:25:58 +0000 (16:25 +0000)]
[ARM] Remove FP work-arounds.

We used to have code to allow binaries linked against glibc to run,
when glibc itself contained some FP instructions (for PCS stack
frames for functions like printf and scanf) thereby allowing FP
emulators like nwfpe to be built as modules.

This has proved to be unreliable with later compilers, so support
for this was dropped a while ago.  Since no one complained, we can
finally remove the dead code.

(NB. a klibc based module-init-tools shouldn't suffer from this
problem.)

21 years ago[ARM] Add comments for newish functions in cacheflush.h
Russell King [Fri, 30 Jan 2004 15:51:00 +0000 (15:51 +0000)]
[ARM] Add comments for newish functions in cacheflush.h

21 years ago[ARM] Fix bitops pointer qualifiers.
Russell King [Fri, 30 Jan 2004 15:27:03 +0000 (15:27 +0000)]
[ARM] Fix bitops pointer qualifiers.

According to x86, the pointers for bitops are supposed to be
qualified with volatile.  Make ARM bitops reflect this.

21 years ago[ARM] Eliminate tsk->used_math
Russell King [Fri, 30 Jan 2004 14:49:14 +0000 (14:49 +0000)]
[ARM] Eliminate tsk->used_math

Remove usage of tsk->used_math on ARM, moving the status to an array
of co-processor usage.  (ARM can have up to 15 co-processors
providing various extra facilities such as SIMD, VFP or FP.)

21 years agoFix sha256 padding block initializer to be static.
Linus Torvalds [Fri, 30 Jan 2004 00:41:00 +0000 (16:41 -0800)]
Fix sha256 padding block initializer to be static.

Jakub points out that having an automatic array is not only
bad for performance (and stack usage), gcc has also historically
had lots of bugs here, and gcc-3.2.3 seems to miscompile it
otherwise.

21 years ago[PATCH] dvb subsystem and saa7146 v4l fixes
Michael Hunold [Fri, 30 Jan 2004 00:24:38 +0000 (16:24 -0800)]
[PATCH] dvb subsystem and saa7146 v4l fixes

This fixes some issues in the dvb subsystem and some nasty things in the
v4l saa7146 driver.

[DVB]
 - dvb-core: aquire -> acquire spelling fix
 - nxt600 frontend: don't send zero-byte messages when probing the PLL
   type
 - Kconfig: add a note that says that the CI of the budget-CI card is
   not actually supported by the budget-CI driver
 - ttusb-dec: Check for presence of crc32 function.  Make unknown types
   of packet less likely to cause packet loss.

[V4L]
 - saa7146: use kernel mint_t()/max_t() instead of homebrewn stuff
 - saa7146: disable video clipping before capturing for sure to prevent
   black pictures
 - saa7146: make sure to disable the right video dma upon device close
 - saa7146: don't free resources if disabling an already disabled video
   overlay

21 years ago[PATCH] Validate ACPI CPU frequency values
Dominik Brodowski [Fri, 30 Jan 2004 00:24:26 +0000 (16:24 -0800)]
[PATCH] Validate ACPI CPU frequency values

This is a simple fix for some of the problems with bad ACPI frequency values:

  Abort if the frequency field in _PSS is zero, as we're having a
  completely broken ACPI table then.

A more complete overhaul of the acpi-cpufreq driver (where the cause of
the problem lies) is in the latest acpi-test tree, but that's definitely
something to be delayed for 2.6.3 -- and the same is true for the
yet-to-be-written do_div64 conversion.

21 years ago[PATCH] [APM] Is this the correct way to fix suspend bug introduced
Michael Schierl [Thu, 29 Jan 2004 14:08:53 +0000 (06:08 -0800)]
[PATCH] [APM] Is this the correct way to fix suspend bug introduced

This fixes my APM problems (without them my laptop, Acer TravelMate
210TEV (Celeron 700, 128 MB RAM), hangs after resuming from APM since
2.6.0-test4).

Modified based on comments from Pavel Machek <pavel@suse.cz>, who
has acked the updated patch.

21 years ago[PATCH] PCI: fix compiler warning in probe.c cause by PPC patch.
Greg Kroah-Hartman [Thu, 29 Jan 2004 09:13:27 +0000 (01:13 -0800)]
[PATCH] PCI: fix compiler warning in probe.c cause by PPC patch.

21 years ago[PATCH] PCI: pci.ids update
Kieran Morrissey [Thu, 29 Jan 2004 09:13:13 +0000 (01:13 -0800)]
[PATCH] PCI: pci.ids update

- Replaces pci.ids with a snapshot from pciids.sf.net from 14 Jan 2004

21 years ago[PATCH] PCI: name length change
Kieran Morrissey [Thu, 29 Jan 2004 09:12:59 +0000 (01:12 -0800)]
[PATCH] PCI: name length change

- Changes gen-devlist.c to truncate long device names rather than reject
  the database
- Changes PCI_NAME_SIZE to 96 (and PCI_NAME_HALF to 43) to allow all
  current pci.ids names to fit
- Modifies gen-devlist.c to truncate at 89 characters rather than 79 -
  allows for two digit instance numbers to be added to the name as well
  while staying within the 96 characters allocated. No names in the
  current pci.ids are any longer than this.
- Modifies names.c to no longer limit device name length when displaying
  both vendor and device name; the truncation is done by gen-devlist.c.

21 years ago[PATCH] PCI: Allow pci hotplug drivers to initialize individual devices.
John Rose [Thu, 29 Jan 2004 08:54:22 +0000 (00:54 -0800)]
[PATCH] PCI: Allow pci hotplug drivers to initialize individual devices.

This lets the PPC pci hotplug driver initialize single devices, not just
entire slots.

21 years ago[PATCH] PCI hotplug: pcihp_zt5550.c ioremap/iounmap audit
Leann Ogasawara [Thu, 29 Jan 2004 08:19:53 +0000 (00:19 -0800)]
[PATCH] PCI hotplug: pcihp_zt5550.c ioremap/iounmap audit

insert missing iounmap()

21 years ago[PATCH] PCI: fix probing for some mips systems
Ralf Bächle [Thu, 29 Jan 2004 07:38:38 +0000 (23:38 -0800)]
[PATCH] PCI: fix probing for some mips systems

21 years ago[PATCH] PCI Hotplug: add unlimited PHP slot name lengths support
Linda Xie [Thu, 29 Jan 2004 07:35:19 +0000 (23:35 -0800)]
[PATCH] PCI Hotplug: add unlimited PHP slot name lengths support

21 years ago[PATCH] PCI Hotplug: add address file and fix acpiphp bugs
Takayoshi Kochi [Thu, 29 Jan 2004 07:34:56 +0000 (23:34 -0800)]
[PATCH] PCI Hotplug: add address file and fix acpiphp bugs

This is the pending patch that adds 'address' file to show
PCI-address and a few other minor fixes.
As 2.6.0 is out, I'm resending the patch.
Would you mind taking this?

> > > Thanks.  I had a little time to try your patch today.  Sorry
> > > to report that it isn't working for me.
> > >
> > > I first powered off (successfully the 1st time) a populated slot
> > > and removed and reinserted the card into the same slot.  The slot
> > > powered back up but I was then unable to power it off.  I believe
> > > the following instruction that still exists in power_off_slot()
> > > may be preventing the slot from being powered off more than once.
> > >     func->flags &= (~FUNC_EXISTS);
> > >
> > > I then tried to insert an adapter in an un-populated slot.  For
> > > some reason (which I don't understand yet) there was an enabling
> > > error which I believe caused enable_device() to exit via a path
> > > that bypassed the instruction that sets the FUNC_EXISTS flag.
> > > I was then unable to power off the slot which I believe was due
> > > to the FUNC_EXISTS flag not being set.
> > >
> > > I didn't have time to definitely confirmed the above theories.
> > > I'll take a closer look at this tomorrow unless you are able
> > > to diagnose using my vague clues :)
> >
> > It turns out that both of the above mentioned problems happened
> > because the call to acpiphp_configure_slot() from enable_device()
> > failed after inserting the card.  When this happens enable_device()
> > exits without setting the FUNC_EXISTS flag for any of the slot
> > functions.  Subsequent attempts to power off the same slot fail
> > when power_off_slot() is unable to locate a function with both
> > FUNC_HAS_EJ0 and FUNC_EXISTS flags set.
> >
> > The patch works okay when using a card that allows
> > acpiphp_configure_slot() to succeed but I believe it should
> > be improved to allow the slot to be powered off following
> > device enablement errors.
>
> Thanks for testing and comments.
> I really appreciate it.
>
> This problem turned out to be somewhat fragile state
> transition:
>
> a lifecycle of a slot is (if there's no error)
>
>   function             state
> ----------------------------------------------------
> 0                      nothing
> 1  power_on_slot()  -> SLOT_POWERDON
> 2  enable_device()  -> SLOT_POWEREDON + SLOT_ENABLED
> 3  disable_device() -> SLOT_POWEREDON
> 4  power_off_slot() -> nothing
>
> but if any error occur during enable_device(), slot will remain
> SLOT_POWERDON, but some functions on the card may not have
> FUNC_EXISTS flags, which will eventually prevents powering
> off in power_off_slot(), state transition from 1 to 4 directly.
> I.e, the FUNC_EXISTS flag introduced more states to
> complicate things.
>
> The FUNC_EXISTS flag was introduced after some discussion
> between me and Irene Zubarev, but it has no more meaning
> than that the function has corresponding 'pci_dev' structure.
> So I eliminated the usage of FUNC_EXISTS and the result is
> the patches attached to this mail (for both 2.4 and 2.6.
> I think Greg already applied the 2.4 'cleanup' patch to his tree,
> but it's not in Marcelo's release so I'm re-attaching to
> this mail for anyone interested in this topic.  It's identical
> to the one I posted earlier).
> These patches don't include Gary's patch in his post last week,
> so please apply separately.
>
> Please note that current acpiphp driver cannot handle a
> PCI card that has a PCI-to-PCI bridge on it (support
> for such cards is incomplete).  But if it's treated as
> an error, it should be recoverable anyway.

21 years ago[PATCH] PCI Hotplug: Trivial warning fix
Martin Hicks [Thu, 29 Jan 2004 07:34:24 +0000 (23:34 -0800)]
[PATCH] PCI Hotplug: Trivial warning fix

This just gets rid of a stupid compile warning.

21 years ago[PATCH] PCI: fix pci_get_slot() bug
Matthew Wilcox [Thu, 29 Jan 2004 06:46:48 +0000 (22:46 -0800)]
[PATCH] PCI: fix pci_get_slot() bug

On Wed, Dec 17, 2003 at 04:24:44PM -0800, Greg KH wrote:
> I've applied the pci portions of this patch to my trees and will send it
> on after 2.6.0 is out.

James Bottomley found a bug in it; could you also apply:

21 years ago[PATCH] PCI: add .owner field to the config sysfs file to be "correct"
Greg Kroah-Hartman [Thu, 29 Jan 2004 06:45:26 +0000 (22:45 -0800)]
[PATCH] PCI: add .owner field to the config sysfs file to be "correct"

This is in case others copy this code (which has already happened...)

21 years ago[PATCH] PCI: add pci_get_slot() function
Matthew Wilcox [Thu, 29 Jan 2004 06:32:13 +0000 (22:32 -0800)]
[PATCH] PCI: add pci_get_slot() function

tg3.c has a bug where it can find the wrong 5704 peer on a machine with
PCI domains.  The problem is that pci_find_slot() can't distinguish
whether it has the correct domain or not.

This patch fixes that problem by introducing pci_get_slot().

21 years ago[PATCH] PCI: add pci_bus sysfs class
Matthew Dobson [Thu, 29 Jan 2004 06:28:51 +0000 (22:28 -0800)]
[PATCH] PCI: add pci_bus sysfs class

This is needed to show pci bus topology to userspace properly.

21 years ago[PATCH] PCI Hotplug: Better reporting of PCI frequency / bus mode problems for acpi...
Matthew Wilcox [Thu, 29 Jan 2004 06:26:41 +0000 (22:26 -0800)]
[PATCH] PCI Hotplug: Better reporting of PCI frequency / bus mode problems for acpi driver

When plugging a 33MHz card into a bus that's running at 66MHz, I'd like
to see a better error message than:

acpiphp_glue: notify_handler: unknown event type 0x5 for \_SB_.SBA0.PCI4.S2F0

The following patch would give us:

Device \_SB_.SBA0.PCI4.S2F0 cannot be configured due to a frequency mismatch

which I think is clearer.

21 years ago[PATCH] PCI Hotplug: Fixup pcihp_skeleton.c
Rolf Eike Beer [Thu, 29 Jan 2004 06:26:28 +0000 (22:26 -0800)]
[PATCH] PCI Hotplug: Fixup pcihp_skeleton.c

The functions are not named *_skel_*, so it seems useful not to call them with
this.

21 years ago[PATCH] Prevent PCI driver registration failure oopsing
Russell King [Thu, 29 Jan 2004 06:26:16 +0000 (22:26 -0800)]
[PATCH] Prevent PCI driver registration failure oopsing

Greg,

As discussed about six or so months ago, we agreed to hold off this
patch until fairly late, due to its ability to catch duplicate PCI
driver names.  Please note that I haven't attempted to reproduce the
problem with recent kernels, and that all ARM kernel patches released
since then have had this patch in.

I'm guessing this will actually be 2.6.1 material since it probably
doesn't show for PCI drivers which are part of the kernel tree.

If pci_register_driver fails, the register the PCI driver structure
will not be registered with the driver model.  pci_register_driver
returns with negative value, and we then attempt to unregister the
driver structure.  This leads to an oops in the driver model.

The driver model does not return the number of devices it successfully
bound the driver to, and neither does pci_register_driver() return
this information.

Therefore, all of the code below is redundant.

(There's a little redundancy left in drivers/pci/pci-driver.c but it
is harmless unlike this block.)

21 years ago[SPARC64]: Remove interruptible_sleep_on() usage, with help from Tom Callaway.
David S. Miller [Thu, 29 Jan 2004 03:46:52 +0000 (19:46 -0800)]
[SPARC64]: Remove interruptible_sleep_on() usage, with help from Tom Callaway.

21 years agoMerge cheetah.(none):/home/davem/src/BK/sparcwork-2.6
David S. Miller [Thu, 29 Jan 2004 02:57:39 +0000 (18:57 -0800)]
Merge cheetah.(none):/home/davem/src/BK/sparcwork-2.6
into cheetah.(none):/home/davem/src/BK/sparc-2.6

21 years agoMerge http://lia64.bkbits.net/to-linus-2.5
Linus Torvalds [Wed, 28 Jan 2004 13:43:08 +0000 (05:43 -0800)]
Merge http://lia64.bkbits.net/to-linus-2.5
into home.osdl.org:/home/torvalds/v2.5/linux

21 years ago[PATCH] cpufreq: fix cpufreq_update_policy
Andrew Morton [Wed, 28 Jan 2004 07:54:55 +0000 (23:54 -0800)]
[PATCH] cpufreq: fix cpufreq_update_policy

From: Dominik Brodowski <linux@dominikbrodowski.de>

This brown paper bag patch is needed to assure cpufreq_update_policy works
correctly.

Please apply, else the next ACPI patch will cause trouble with thermal
management [it needs cpufreq_update_policy to work properly].

Fix a horribly wrong memcpy instruction in cpufreq_update_policy which
caused it to oops.

21 years ago[PATCH] pmdisk.c needs utsname.h
Andrew Morton [Wed, 28 Jan 2004 07:54:38 +0000 (23:54 -0800)]
[PATCH] pmdisk.c needs utsname.h

From: Torsten Duwe <duwe@suse.de>

pmdisk.c uses struct new_utsname, so give it the header.

21 years ago[PATCH] Fix kernel_flag again
Andrew Morton [Wed, 28 Jan 2004 07:54:26 +0000 (23:54 -0800)]
[PATCH] Fix kernel_flag again

From: Christoph Hellwig <hch@lst.de>

Put kernel_flag back to where it used to be, near its comment and its
EXPORT_SYMBOL.

21 years ago[PATCH] Fix two warnings on x86-64
Andrew Morton [Wed, 28 Jan 2004 07:54:15 +0000 (23:54 -0800)]
[PATCH] Fix two warnings on x86-64

From: Andi Kleen <ak@muc.de>

Just fix two warnings on x86-64 that were recently introduced (one by me
and the other by the sort extable changes)

21 years ago[SUNSAB]: Fixup sunsab_receive_chars for when serial console isn't open (no tty)
Ben Collins [Wed, 28 Jan 2004 06:12:06 +0000 (01:12 -0500)]
[SUNSAB]: Fixup sunsab_receive_chars for when serial console isn't open (no tty)

21 years ago[ARM PATCH] 1749/1: Remove warnings in csumpartialcopygeneric.S
Dirk Behme [Tue, 27 Jan 2004 22:11:07 +0000 (22:11 +0000)]
[ARM PATCH] 1749/1: Remove warnings in csumpartialcopygeneric.S

Patch from Dirk Behme

Remove the following warnings from csumpartialcopygeneric.S:

arch/arm/lib/csumpartialcopygeneric.S: Assembler messages:
arch/arm/lib/csumpartialcopygeneric.S:142: Warning: shift of 0 ignored.
arch/arm/lib/csumpartialcopygeneric.S:216: Warning: shift of 0 ignored.
arch/arm/lib/csumpartialcopygeneric.S:268: Warning: shift of 0 ignored.
arch/arm/lib/csumpartialcopygeneric.S:322: Warning: shift of 0 ignored.
arch/arm/lib/csumpartialcopygeneric.S:328: Warning: shift of 0 ignored.

This new patch is reviewed by Nicolas Pitre.

21 years ago[ARM PATCH] 1748/1: SA Cerfcube update (base+pcmica)
Frank Becker [Tue, 27 Jan 2004 22:07:35 +0000 (22:07 +0000)]
[ARM PATCH] 1748/1: SA Cerfcube update (base+pcmica)

Patch from Frank Becker

Resubmit with updates according to review notes from 1701/1.

21 years ago[ARM PATCH] 1747/1: MIssing export for cpufreq
Frank Becker [Tue, 27 Jan 2004 22:04:31 +0000 (22:04 +0000)]
[ARM PATCH] 1747/1: MIssing export for cpufreq

Patch from Frank Becker

cpufreq compiled as module complains:

*** Warning: "sa11x0_getspeed" [drivers/cpufreq/cpufreq_userspace.ko] undefined!

21 years ago[ARM PATCH] 1744/1: SA Cerfboard/cube update (flash)
Frank Becker [Tue, 27 Jan 2004 22:01:27 +0000 (22:01 +0000)]
[ARM PATCH] 1744/1: SA Cerfboard/cube update (flash)

Patch from Frank Becker

Minor updates to cerf flash partitioning.

21 years ago[SPARC64]: Add _end and _start to list of sections
Ben Collins [Tue, 27 Jan 2004 16:25:15 +0000 (11:25 -0500)]
[SPARC64]: Add _end and _start to list of sections

21 years ago[SPARC64]: Changes to accomodate booting from non-phys_base memory
Ben Collins [Tue, 27 Jan 2004 16:23:02 +0000 (11:23 -0500)]
[SPARC64]: Changes to accomodate booting from non-phys_base memory

21 years agoia64: Implement exception-table sorting for real.
David Mosberger [Tue, 27 Jan 2004 13:23:19 +0000 (05:23 -0800)]
ia64: Implement exception-table sorting for real.

21 years agohead.S:
Ben Collins [Tue, 27 Jan 2004 11:25:47 +0000 (06:25 -0500)]
head.S:
  Add comment for HdrS ver 0x201