]> git.hungrycats.org Git - linux/log
linux
21 years agoLinux 2.6.6 v2.6.6
Linus Torvalds [Sun, 9 May 2004 12:30:37 +0000 (05:30 -0700)]
Linux 2.6.6

21 years agoMark the ACPI CPU throttle and timer IO regions busy.
Linus Torvalds [Sun, 9 May 2004 11:43:07 +0000 (04:43 -0700)]
Mark the ACPI CPU throttle and timer IO regions busy.

This should help some laptops where the generic PCI
code might otherwise believe that this range is unused.
The ACPI IO range is usually not visible as a standard
BAR.

21 years ago[PATCH] Fix x86-64 compilation without iommu for 2.6.6rc3
Andi Kleen [Sun, 9 May 2004 11:25:35 +0000 (04:25 -0700)]
[PATCH] Fix x86-64 compilation without iommu for 2.6.6rc3

Various people hit this in earlier kernels. The x86-64 kernel did not compile
without CONFIG_IOMMU_GART in various configurations. Just add the missing symbol
and export it. Also export iommu_merge while I am at it.

21 years ago[PATCH] Fix machine check handler on x86-64
Andi Kleen [Sun, 9 May 2004 11:25:24 +0000 (04:25 -0700)]
[PATCH] Fix machine check handler on x86-64

This fixes a bug in the new machine check handler on x86-64.

One nasty part was that when you got an MCE during boot up
then it would not always print it on the screen, but still
panic because it attempted to kill the idle task.

This patch does:
 - Always use KERN_EMERG when printing MCEs
 - Always panic and print on screen before killing idle loop
   or init.

21 years agoMerge bk://bk.arm.linux.org.uk/linux-2.6-rmk
Linus Torvalds [Sun, 9 May 2004 11:22:07 +0000 (04:22 -0700)]
Merge bk://bk.arm.linux.org.uk/linux-2.6-rmk
into ppc970.osdl.org:/home/torvalds/v2.6/linux

21 years agoMerge flint.arm.linux.org.uk:/usr/src/bk/linux-2.6-sharp
Russell King [Sun, 9 May 2004 16:57:13 +0000 (17:57 +0100)]
Merge flint.arm.linux.org.uk:/usr/src/bk/linux-2.6-sharp
into flint.arm.linux.org.uk:/usr/src/bk/linux-2.6-rmk

21 years ago[ARM PATCH] 1818/1: lh7a40x #2 (3/7) doc
Marc Singer [Sun, 9 May 2004 16:35:01 +0000 (17:35 +0100)]
[ARM PATCH] 1818/1: lh7a40x #2 (3/7) doc

Patch from Marc Singer

Documentation for the Sharp-LH machines.

21 years ago[ARM PATCH] 1817/1: lh7a40x #2 (2/7) core-include
Marc Singer [Sun, 9 May 2004 16:31:40 +0000 (17:31 +0100)]
[ARM PATCH] 1817/1: lh7a40x #2 (2/7) core-include

Patch from Marc Singer

Include files for this updated lh7a40x patch set.  The changes in this
set from the previous are mostly cosmetic.  The memory macros were
reworked in order to be more similar to the other ARM versions.  The
previous versions produced the same results, but the forms are
slightly different.

21 years ago[ARM PATCH] 1816/1: lh7a40x #2 (1/7) core
Marc Singer [Sun, 9 May 2004 16:27:51 +0000 (17:27 +0100)]
[ARM PATCH] 1816/1: lh7a40x #2 (1/7) core

Patch from Marc Singer

Updated change set for the 2.6.5 kernel *and* for the April 8th arm
patch.  Also included are changes suggested by Russell that merge
several of the files in the mach- directory.  I have also endeavored
to remove all unnecessary whitespace additions.

Note that since I've found the cause of an annoying user-space crash,
I believe that this patch is OK.  The crash appears to have nothing to
do with the system setup.

21 years ago[ARM PATCH] 1847/1: OMAP update 2/2: include files
Tony Lindgren [Sun, 9 May 2004 11:56:38 +0000 (12:56 +0100)]
[ARM PATCH] 1847/1: OMAP update 2/2: include files

Patch from Tony Lindgren

This patch syncs the mainline kernel with the linux-omap tree. The
patch contains following updates:
- Move virtual IO area to 0xfefb0000 from 0xfffb0000 to fix parts of
  IO area  overlapping with ARM Linux reserved memory area
- Add support to OMAP-730, OMAP-5912, and OMAP-1710 processors
- Reorganize board support
- Add OMAP core detection
This patch requires ARM Linux patch 1844/1 be applied to compile
OMAP-730 and OMAP-5912

21 years ago[ARM PATCH] 1846/1: OMAP update 1/2: arch files
Tony Lindgren [Sun, 9 May 2004 11:52:15 +0000 (12:52 +0100)]
[ARM PATCH] 1846/1: OMAP update 1/2: arch files

Patch from Tony Lindgren

This patch syncs the mainline kernel with the linux-omap tree. The
patch contains following updates:
- Move virtual IO area to 0xfefb0000 from 0xfffb0000 to fix parts of
  IO area overlapping with ARM Linux reserved memory area
- Add support to OMAP-730, OMAP-5912, and OMAP-1710 processors
- Reorganize board support
- Add OMAP core detection
This patch requires ARM Linux patch 1844/1 be applied to compile
OMAP-730 and OMAP-5912

21 years ago[ARM PATCH] 1844/1: Allow OMAP-730 and OMAP-5910 to use ARM926 in mm/Kconfig
Tony Lindgren [Sun, 9 May 2004 11:41:55 +0000 (12:41 +0100)]
[ARM PATCH] 1844/1: Allow OMAP-730 and OMAP-5910 to use ARM926 in mm/Kconfig

Patch from Tony Lindgren

Adds OMAP-730 and OMAP-5910 support

21 years ago[PATCH] ISDN Eicon driver: fix idi cleanup deadlock
Armin Schindler [Sun, 9 May 2004 03:28:53 +0000 (20:28 -0700)]
[PATCH] ISDN Eicon driver: fix idi cleanup deadlock

   On IDI module cleanup, the freed card must be removed from list.
   Use list_empty() instead of list_for_each() loop. Thanks Linus.

21 years agoWaste less memory in dentries.
Linus Torvalds [Sat, 8 May 2004 13:38:51 +0000 (06:38 -0700)]
Waste less memory in dentries.

We don't bother aligining them on a cacheline boundary, since
that is totally excessive in some configurations (especially
P4's with 128-byte cachelines).

Instead, we make the minimum inline string size a bit longer,
and re-order a few fields that allow for better packing on
64-bit architectures, for better memory utilization.

21 years agoMerge bk://kernel.bkbits.net/davem/sparc-2.6
Linus Torvalds [Sat, 8 May 2004 11:52:37 +0000 (04:52 -0700)]
Merge bk://kernel.bkbits.net/davem/sparc-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

21 years agoMerge bk://kernel.bkbits.net/davem/net-2.6
Linus Torvalds [Sat, 8 May 2004 11:51:48 +0000 (04:51 -0700)]
Merge bk://kernel.bkbits.net/davem/net-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

21 years ago[PATCH] run populate_rootfs() before initcalls
Andrew Morton [Sat, 8 May 2004 10:25:27 +0000 (03:25 -0700)]
[PATCH] run populate_rootfs() before initcalls

I moved this a little too late - we need to run populate_rootfs() before
running initcalls because some driver initcalls need to open files for
firmware.

The populate_rootfs() call is still coming after init_idle(), so it won't
knock the scheduler over.

21 years ago[SPARC64]: hugetlbpage.c needs linux/module.h
David S. Miller [Sat, 8 May 2004 10:11:42 +0000 (03:11 -0700)]
[SPARC64]: hugetlbpage.c needs linux/module.h

21 years ago[NET]: Undo marking sock_alloc() as static, still exported to modules.
David S. Miller [Sat, 8 May 2004 09:01:11 +0000 (02:01 -0700)]
[NET]: Undo marking sock_alloc() as static, still exported to modules.

21 years ago[TCP]: BIC TCP for Linux 2.6.6
Stephen Hemminger [Sat, 8 May 2004 08:28:54 +0000 (01:28 -0700)]
[TCP]: BIC TCP for Linux 2.6.6

This is a version of Binary Increase Control (BIC) TCP
developed by NCSU.   It is yet another TCP congestion control
algorithm for handling big fat pipes. For normal size congestion
windows it behaves the same as existing TCP Reno, but when window
is large it uses additive increase to ensure fairness and when
window is small it uses binary search increase.

For more details see the BIC TCP web page
 http://www.csc.ncsu.edu/faculty/rhee/export/bitcp/

The original code was for web100 (2.4); this version is pretty
much the same but targeted for 2.6 with less sysctl parameters
and more constants.

I don't have a real high speed long haul network to test, but
when running over 1G links with delays, the performance is more stable
(ie tests are repeatable) and as fast as existing Reno.

21 years ago[SCTP]: Fix multihomed connection failures on 64-bit systems.
Sridhar Samudrala [Sat, 8 May 2004 08:23:01 +0000 (01:23 -0700)]
[SCTP]: Fix multihomed connection failures on 64-bit systems.

Avoid the use of sizeof() and pointer arithmetic to get to the end
of sctp_cookie structure. Instead use the last element peer_init which
is a zero-sized array as the offset.

21 years ago[IPV4]: Use time_after() in override ARP calculation.
David Stevens [Sat, 8 May 2004 08:17:31 +0000 (01:17 -0700)]
[IPV4]: Use time_after() in override ARP calculation.

21 years ago[NET]: Add sock_create_lite()
James Morris [Sat, 8 May 2004 08:05:57 +0000 (01:05 -0700)]
[NET]: Add sock_create_lite()

The purpose of this is to allow sockets created by the kernel in this way
to be passed through the LSM socket creation hooks and be labeled and
mediated in the same manner as other sockets.

This patches addresses a class of potential issues with LSMs, where such
sockets will not be labeled correctly (if at all), or mediated during
creation.  Under SELinux, it fixes a specific bug where RPC sockets
created by the kernel during TCP NFS serving are unlabeled.

21 years ago[NET]: Add sock_create_kern()
James Morris [Sat, 8 May 2004 08:00:33 +0000 (01:00 -0700)]
[NET]: Add sock_create_kern()

Under SELinux, and potentially other LSMs, we need to be able to
distinguish between user sockets and kernel sockets.  For SELinux
specifically, kernel sockets need to be specially labeled during creation,
then bypass access control checks (they are controlled by the kernel
itself and not subject to SELinux mediation).

This addresses a class of potential issues in SELinux where, for example,
a TCP NFS session times out, then the kernel re-establishes an RPC
connection upon further user activity.  We do not want such kernel
created sockets to be labeled with user security contexts.

sock_create() and sock_create_kern() are wrapper functions, which seems
semantically clearer to me than e.g. adding a flag to sock_create().  If
you prefer the latter, then let me know.

The patch also adds an argument to the LSM socket creation functions
indicating whether the socket being created is a kernel socket or not.

21 years agoMerge nuts.davemloft.net:/disk1/BK/network-2.6
David S. Miller [Sat, 8 May 2004 06:06:08 +0000 (23:06 -0700)]
Merge nuts.davemloft.net:/disk1/BK/network-2.6
into nuts.davemloft.net:/disk1/BK/net-2.6

21 years ago[SPARC64]: Use $(CC) in NEW_GCC checks.
Joshua Kwan [Sat, 8 May 2004 06:01:10 +0000 (23:01 -0700)]
[SPARC64]: Use $(CC) in NEW_GCC checks.

21 years ago[SUNZILOG]: Fix DCD/CTS change tests, just like in pmac_zilog.
Benjamin Herrenschmidt [Sat, 8 May 2004 05:57:39 +0000 (22:57 -0700)]
[SUNZILOG]: Fix DCD/CTS change tests, just like in pmac_zilog.

21 years ago[PATCH] fix WARN_ON on XFS module unload
Andrew Morton [Sat, 8 May 2004 03:43:30 +0000 (20:43 -0700)]
[PATCH] fix WARN_ON on XFS module unload

From: Christoph Hellwig <hch@lst.de>

This one is a little funny.  The SGI trees don't show this issue because dmapi
and quota are separate modules so they must be unloaded before xfs_fs_exit can
be called at all.

So let's move the exitcalls for them in mainline first to simulate that
behaviour.

21 years ago[PATCH] Fix CTS handling in pmac-zilog.c
Benjamin Herrenschmidt [Sat, 8 May 2004 03:43:19 +0000 (20:43 -0700)]
[PATCH] Fix CTS handling in pmac-zilog.c

From: Paul Mackerras <paulus@samba.org>

This patch fixes a bug in the pmac-zilog driver where if you enable
CRTSCTS mode, it won't output data when CTS is asserted.  On
powermacs, the CTS input is inverted.  It also fixes a logic bug in
testing for CTS and DCD changes.

21 years ago[PATCH] ISDN Eicon driver: fix empty queue check
Armin Schindler [Sat, 8 May 2004 03:29:42 +0000 (20:29 -0700)]
[PATCH] ISDN Eicon driver: fix empty queue check

   Check for last adapter link is done by next member,
   because entries are not removed yet.

21 years agoAll the Intel LPC bridges have the same PCI quirks.
Linus Torvalds [Sat, 8 May 2004 02:56:23 +0000 (19:56 -0700)]
All the Intel LPC bridges have the same PCI quirks.

They all have 128 bytes of ACPI/TCO IO space pointed to
by config space register 0x40, and 64 bytes of GPIO space
pointed to by 0x58.

Thanks to Jun Nakajima for the full list.

21 years agoMerge bk://bk.arm.linux.org.uk/linux-2.6-rmk
Linus Torvalds [Fri, 7 May 2004 08:11:23 +0000 (01:11 -0700)]
Merge bk://bk.arm.linux.org.uk/linux-2.6-rmk
into ppc970.osdl.org:/home/torvalds/v2.6/linux

21 years ago[SERIAL] Remove unmerged 'clk' subsystem from PL011 driver.
Russell King [Fri, 7 May 2004 23:21:03 +0000 (00:21 +0100)]
[SERIAL] Remove unmerged 'clk' subsystem from PL011 driver.

21 years ago[ARM] Enclose MMC-related code in #ifdef CONFIG_MMC .. #endif
Russell King [Fri, 7 May 2004 23:11:05 +0000 (00:11 +0100)]
[ARM] Enclose MMC-related code in #ifdef CONFIG_MMC .. #endif

21 years ago[ARM] Remove DMA support in Versatile
Russell King [Fri, 7 May 2004 23:04:10 +0000 (00:04 +0100)]
[ARM] Remove DMA support in Versatile

We don't have DMA support for AMBA devices yet.

21 years ago[CRYPTO]: Fix typing in crc32c's chksum_update
Clay Haapala [Fri, 7 May 2004 08:00:20 +0000 (01:00 -0700)]
[CRYPTO]: Fix typing in crc32c's chksum_update

21 years agoMerge http://linux-ntfs.bkbits.net/ntfs-2.6
Linus Torvalds [Fri, 7 May 2004 07:30:24 +0000 (00:30 -0700)]
Merge http://linux-ntfs.bkbits.net/ntfs-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

21 years agoNTFS: 2.1.8 release - If the $LogFile indicates a clean shutdown and a
Anton Altaparmakov [Fri, 7 May 2004 18:55:19 +0000 (19:55 +0100)]
NTFS: 2.1.8 release - If the $LogFile indicates a clean shutdown and a
      read-write (re)mount is requested, empty $LogFile by overwriting it
      with 0xff bytes to ensure that Windows cannot cause data corruption
      by replaying a stale journal after Linux has written to the volume.

21 years agoMerge cantab.net:/home/src/bklinux-2.6
Anton Altaparmakov [Fri, 7 May 2004 17:12:52 +0000 (18:12 +0100)]
Merge cantab.net:/home/src/bklinux-2.6
into cantab.net:/home/src/ntfs-2.6

21 years agoNTFS: Eeek. Forgot to revert the Makefile before checking it in last time...
Anton Altaparmakov [Fri, 7 May 2004 15:26:31 +0000 (16:26 +0100)]
NTFS:  Eeek.  Forgot to revert the Makefile before checking it in last time...

21 years agoNTFS: Read the journal ($LogFile) and determine if the volume has been shutdown cleanly
Anton Altaparmakov [Fri, 7 May 2004 15:18:37 +0000 (16:18 +0100)]
NTFS: Read the journal ($LogFile) and determine if the volume has been shutdown cleanly
      and force a read-only mount if not (fs/ntfs/super.c and fs/ntfs/logfile.c).  This
      is a little bit of a crude check in that we only look at the restart areas and
      not at the actual log records so that there will be a very small number of cases
      where we think that a volume is dirty when in fact it is clean.  This should only
      affect volumes that have not been shutdown cleanly and did not have any pending,
      non-check-pointed i/o.

21 years agox86-64: fix preempt race in exit_thread
Linus Torvalds [Fri, 7 May 2004 02:59:19 +0000 (19:59 -0700)]
x86-64: fix preempt race in exit_thread

This fixes a (very very small) preempt race window when we
invalidate the IO permission bitmap on process exit.

21 years ago[PATCH] Fix IO bitmap invalidate
Stas Sergeev [Fri, 7 May 2004 02:35:35 +0000 (19:35 -0700)]
[PATCH] Fix IO bitmap invalidate

There is a bug where if any process that obtained an IO access
permissions via ioperm() does not explicitly "drop" that permissions,
the IO permissions don't get properly invalidated on process exit.

The cause is that exit_thread() only invalidates the per-thread
io_bitmap pointer, but doesn't invalidate the per-TSS io_bitmap pointer
as well.

As the per-thread pointer is invalidated, __switch_to() doesn't take
care of that one either, so the per-TSS pointer stays valid as long as
some other process does ioperm().

This fixes the problem - it invalidates the per-TSS io_bitmap pointer
and the problem goes away.

21 years ago[PATCH] ide: don't send cacheflush to drives that don't understand it
Arjan van de Ven [Fri, 7 May 2004 02:19:15 +0000 (19:19 -0700)]
[PATCH] ide: don't send cacheflush to drives that don't understand it

21 years ago[PATCH] Suspend IDE disks on shutdown
Bartlomiej Zolnierkiewicz [Fri, 7 May 2004 00:27:25 +0000 (17:27 -0700)]
[PATCH] Suspend IDE disks on shutdown

When Patrick removed ide_notify_reboot() in 2.5.42, he didn't notice
that it meant that IDE no longer had any shutdown() functionality.

So we did the right thing on suspend, but not on shutdown.

ide_notify_reboot() was only doing STANDBY on shutdown (because FLUSH
'doesn't work' in 2.4 too) but it worked okay and we still should do STANDBY
on shutdown because some broken disks flush their caches.

Thus just calls bus->suspend() (FLUSH+STANDBY) at shutdown time.  We can
add some safety delay later - 2.4 doesn't have any.

21 years ago[PATCH] ppc64: Fix nasty typo in PTE freeing code
Benjamin Herrenschmidt [Thu, 6 May 2004 23:52:14 +0000 (16:52 -0700)]
[PATCH] ppc64: Fix nasty typo in PTE freeing code

There is a typo in the PTE freeing code causing us to possibly
overflow the batch structure.

Obvious fix (look at the closing parentheses).

21 years agoMerge cantab.net:/home/src/bklinux-2.6
Anton Altaparmakov [Thu, 6 May 2004 23:44:28 +0000 (00:44 +0100)]
Merge cantab.net:/home/src/bklinux-2.6
into cantab.net:/home/src/ntfs-2.6

21 years ago[PATCH] logips2pp driver update (MX510/310 support), cleanup
Eric Wong [Thu, 6 May 2004 23:41:02 +0000 (16:41 -0700)]
[PATCH] logips2pp driver update (MX510/310 support), cleanup

I've updated the logips2pp driver to detect the MX310 and MX510 mice
and also made it more maintainable by putting everything into one
table instead of having 4 arrays for them (the MX700 support wasn't
added correctly in the last revision).

21 years ago[PATCH] IDE disk cache flush at unopportune momemnts
Arjan van de Ven [Thu, 6 May 2004 23:30:23 +0000 (16:30 -0700)]
[PATCH] IDE disk cache flush at unopportune momemnts

This makes the idedisk_release function only flush the cache on final
release; with the recent 2.6 blocklayer updates release gets called
somewhat frequently, and at times where IO is outstanding to the disk.

This bug didn't trigger before simply because ide_cacheflush_p() always
was a nop.

21 years ago[PATCH] fix value toggle in gconf
Roman Zippel [Thu, 6 May 2004 23:30:12 +0000 (16:30 -0700)]
[PATCH] fix value toggle in gconf

gconf doesn't correctly toggle through the values of a symbol, so use
sym_toggle_tristate_value() instead.

Problem reported by Martin Persenius <martin@persenius.net>

21 years ago[PATCH] mxcsr patch for i386 & x86-64
Nitin A. Kamble [Thu, 6 May 2004 23:26:06 +0000 (16:26 -0700)]
[PATCH] mxcsr patch for i386 & x86-64

This enables proper mxcsr register masking: the magic mask "0xffbf"
is not necessarily correct for all CPU's, and there is an architected
way to discover the proper MXCSR feature bits by examining the fxsave
results.

Please refer to IA32 Software Developer's Manual, Volume 1, Section
11.6.6 for more details.

21 years ago[PATCH] ncpfs data corruption when using large TCP transfers
Petr Vandrovec [Thu, 6 May 2004 03:22:19 +0000 (20:22 -0700)]
[PATCH] ncpfs data corruption when using large TCP transfers

ncpfs was forgetting to update iovec's iov_base field whenever partial
transmission occured. This was causing data corruption during large
(60kB) writes.

The code now also passes copy of iovec to the sock_sendmsg, so it does
not rely on network stack updating (or not updating) passed iovec in
case of success (or failure).

21 years ago[PATCH] b44 driver needs mii
Andrew Morton [Thu, 6 May 2004 01:18:45 +0000 (18:18 -0700)]
[PATCH] b44 driver needs mii

21 years ago[PATCH] bug fix for megaraid memory leak
Paul Wagland [Thu, 6 May 2004 00:50:40 +0000 (17:50 -0700)]
[PATCH] bug fix for megaraid memory leak

I was going through the code looking for bits and pieces to pull across
into the new LSI Logic beta megaraid driver /sys fs code and came across
this one.

LSI Logic have already fixed this issue for the 2.4 driver, and the new
beta driver does not use the /proc filesystem at all, so no problem
there.

The problem is that resources are not freed upon certain error
conditions in the in-kernel megaraid driver, to quote from Lester
Hightower (who originally found the issue):

   "The problem occurs only in the circumstance where one reads one of
    the /proc/megaraid/hba<X>/diskdrives-ch<N> files where the card <X>
    does not have channel <N> on it.  Most people would likely not
    notice this leak in normal operation, but due to the way that we
    monitor our MegaRaid cards in our company (we read these /proc
    entries every 180s) so we found the leak rather quickly, and
    unpleasantly (when your kernel eats all your RAM)."

Anyway, here is the fix, compiled and tested OK for me.

21 years ago[PATCH] ide-disk.c: write cache handling fixes
Bartlomiej Zolnierkiewicz [Thu, 6 May 2004 00:38:16 +0000 (17:38 -0700)]
[PATCH] ide-disk.c: write cache handling fixes

From: Alan Cox <alan@redhat.com>, Arjan van de Ven <arjanv@redhat.com>

 - calculate drive->wcache for non-removable disks too
 - flush the cache before unlocking the door on removable media,
   otherwise you have a small race with the human

21 years ago[PATCH] PPC64 iSeries: replace semaphores with completions
Stephen Rothwell [Thu, 6 May 2004 00:38:06 +0000 (17:38 -0700)]
[PATCH] PPC64 iSeries: replace semaphores with completions

This replaces some usages of sempahores on the stack with completions.

We think we have had at least one bug report that could be caused by the
inherent race in the semaphore usage.

21 years ago[PATCH] bug in bigsmp CPU bringup
Venkatesh Pallipadi [Thu, 6 May 2004 00:36:05 +0000 (17:36 -0700)]
[PATCH] bug in bigsmp CPU bringup

There is an bug in bigsmp sub-architecture, due to which it will not
enable all the CPUs when the BIOS-APICIDs are not 0 to n-1 (where n is
total number of CPUs). Particularly, only 2 CPU comes up on a system
that has 4 CPUs with BIOS APICID as (0, 1, 6, 7).=20

The bug is root caused to check_apicid_present(bit) call in smpboot.c,
when bigsmp is expecting apicid in place of bit.
check_apicid_present(bit) in bigsmp subarchitecture checks the bit with
phys_id_present_map (which is actually map representing all apicids and
not bit).

One solution is to change check_apicid_present(bit) to
check_apicid_present(apicid), in smp_boot_cpus().  But, it can affect
all the other subarchitectures in various subtle ways.  So, here is a
simple alternate fix (Thanks to Martin Bligh), which solves the above
problem.

[ Confirmation from Martin:

     Looks fine, it's exactly the same fix we use for Summit.  Since
     we're using the other method instead of the bitmap, this check
     isn't needed, so we can just bypass it.  This way also has the
     great advantage of being isolated to the bigsmp subarch, so it only
     needs testing there ;-)
 ]

21 years agoMerge http://linux-lksctp.bkbits.net/lksctp-2.5.work
David S. Miller [Wed, 5 May 2004 12:29:02 +0000 (05:29 -0700)]
Merge http://linux-lksctp.bkbits.net/lksctp-2.5.work
into nuts.davemloft.net:/disk1/BK/net-2.6

21 years ago[PATCH] cciss update
Andrew Morton [Wed, 5 May 2004 09:46:18 +0000 (02:46 -0700)]
[PATCH] cciss update

From: <mikem@beardog.cca.cpqcorp.net>

This patch adds support for 2 new controllers.  The first is a PCI-Express
version of the 6400.  The second is actually a SATA controller using the cciss
interface.

21 years ago[PATCH] ISDN Eicon driver: accept capidrv parameters
Armin Schindler [Wed, 5 May 2004 03:53:36 +0000 (20:53 -0700)]
[PATCH] ISDN Eicon driver: accept capidrv parameters

   Accept negative level3cnt value in register_application
   for special b-channel calculation. Necessary to work with
   capidrv.

21 years agoMerge bk://gkernel.bkbits.net/misc-2.6
Linus Torvalds [Wed, 5 May 2004 03:45:09 +0000 (20:45 -0700)]
Merge bk://gkernel.bkbits.net/misc-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

21 years ago[libata sata_sis] support SATA SCRs in PCI cfg space
Jeff Garzik [Wed, 5 May 2004 08:29:20 +0000 (04:29 -0400)]
[libata sata_sis] support SATA SCRs in PCI cfg space

21 years ago[PATCH] sata_vsc initialization fix
Jeremy Higdon [Wed, 5 May 2004 08:28:20 +0000 (04:28 -0400)]
[PATCH] sata_vsc initialization fix

21 years ago[SCTP] Fix accessing Gap Ack blocks array with a -ve index in
Sridhar Samudrala [Wed, 5 May 2004 03:15:28 +0000 (20:15 -0700)]
[SCTP] Fix accessing Gap Ack blocks array with a -ve index in
sctp_outq_sack()

21 years agoMerge bk://linux-acpi.bkbits.net/linux-acpi-release-2.6.6
Linus Torvalds [Wed, 5 May 2004 02:16:42 +0000 (19:16 -0700)]
Merge bk://linux-acpi.bkbits.net/linux-acpi-release-2.6.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

21 years ago[PATCH] fixup for C1 Halt Disconnect problem on nForce2 chipsets
Bartlomiej Zolnierkiewicz [Wed, 5 May 2004 01:33:53 +0000 (18:33 -0700)]
[PATCH] fixup for C1 Halt Disconnect problem on nForce2 chipsets

Based on information provided by "Allen Martin" <AMartin@nvidia.com>:

A hang is caused when the CPU generates a very fast CONNECT/HALT cycle
sequence.  Workaround is to set the SYSTEM_IDLE_TIMEOUT to 80 ns.
This allows the state-machine and timer to return to a proper state within
80 ns of the CONNECT and probe appearing together.  Since the CPU will not
issue another HALT within 80 ns of the initial HALT, the failure condition
is avoided.

21 years agoMerge bk://bk.linux1394.org/ieee1394-2.6
Linus Torvalds [Wed, 5 May 2004 01:26:28 +0000 (18:26 -0700)]
Merge bk://bk.linux1394.org/ieee1394-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

21 years agoMerge http://linux.bkbits.net/linux-2.5
Ben Collins [Wed, 5 May 2004 05:04:39 +0000 (01:04 -0400)]
Merge http://linux.bkbits.net/linux-2.5
into debian.org:/usr/src/kernel/ieee1394-2.6

21 years ago[IEEE1394]: Fix deadlock in killing kernel thread
Ben Collins [Wed, 5 May 2004 04:52:49 +0000 (00:52 -0400)]
[IEEE1394]: Fix deadlock in killing kernel thread

21 years ago[PATCH] allow drivers to claim the lapic NMI watchdog HW
Mikael Pettersson [Wed, 5 May 2004 01:18:02 +0000 (18:18 -0700)]
[PATCH] allow drivers to claim the lapic NMI watchdog HW

Here is an updated lapic NMI ownership tracking patch which
should address the issues that were raised with the first one:

- Simplified the API function names to {reserve,release}_lapic_nmi().

- Rewrote the ownership tracking code to use two individually named
  flags instead of using arithmetic and the sign. The code is now
  simple enough that no "hiding" macros are needed. (Thanks Albert
  for that suggestion.)

21 years ago[PATCH] Fix oops in video_register_device
Gerd Knorr [Wed, 5 May 2004 01:16:54 +0000 (18:16 -0700)]
[PATCH] Fix oops in video_register_device

degerrit@web.de wrote:
   "I caused an oops in unusual circumstances by accidentally "forcing" a
    video device number which was too high or already taken (don't know
    which). I assume this probably shouldn't give an oops (though it was my
     fault), so here's a bugreport..."

Fixed by adding a range check for the number passed in by the driver.

21 years ago[PATCH] page_mapping race fix
Andrew Morton [Wed, 5 May 2004 01:16:42 +0000 (18:16 -0700)]
[PATCH] page_mapping race fix

From: Hugh Dickins <hugh@veritas.com>

Remove this development-only debug code - Hugh thinks that its BUG_ON() can
trigger by accident.

21 years agoMerge bk://kernel.bkbits.net/davem/net-2.6
Linus Torvalds [Wed, 5 May 2004 01:15:14 +0000 (18:15 -0700)]
Merge bk://kernel.bkbits.net/davem/net-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

21 years ago[PATCH] ppc32: pmac support update
Benjamin Herrenschmidt [Wed, 5 May 2004 01:14:07 +0000 (18:14 -0700)]
[PATCH] ppc32: pmac support update

This adds some initial support for the latest model of iBook G4 (still
need some work on the clock chip at least and some radeonfb updates that
I'll send later along with other fixes for this driver).

It also removes a useless delay and fixes detection of the airport card
on the "Windtunnel" class desktop G4 machines.

21 years ago[PATCH] ppc32: Add missing [pci_]dma_mapping_error()
Benjamin Herrenschmidt [Wed, 5 May 2004 01:13:57 +0000 (18:13 -0700)]
[PATCH] ppc32: Add missing [pci_]dma_mapping_error()

Those were missing from ppc32, please apply.

21 years ago[PATCH] Fix my address in CREDITS
Benjamin Herrenschmidt [Wed, 5 May 2004 01:13:45 +0000 (18:13 -0700)]
[PATCH] Fix my address in CREDITS

Heh, I moved 6 month ago, time to update CREDITS ;)

21 years ago[PATCH] ppc/ppc64: Cleanup PPC970 CPU initialization
Benjamin Herrenschmidt [Wed, 5 May 2004 01:13:33 +0000 (18:13 -0700)]
[PATCH] ppc/ppc64: Cleanup PPC970 CPU initialization

This cleans up the code used to initialize the 970 CPU.

More specifically, it adds support for the 970FX, makes sure we don't
touch registers we aren't supposed to when running in LPAR mode, and
stop blindly zeroing out HID4 and HID5, we just clear the bits we really
want clear in there and leave the rest to the firmware.

21 years ago[NET]: Update netpoll credits.
Ingo Molnar [Tue, 4 May 2004 13:21:57 +0000 (06:21 -0700)]
[NET]: Update netpoll credits.

21 years agoMerge ssh://linux-ntfs@bkbits.net/ntfs-2.6
Anton Altaparmakov [Tue, 4 May 2004 12:38:01 +0000 (13:38 +0100)]
Merge ssh://linux-ntfs@bkbits.net/ntfs-2.6
into cantab.net:/home/src/ntfs-2.6

21 years ago[PATCH] fix queues_count accounting in mqueue_delete_inode()
Chris Wright [Tue, 4 May 2004 11:48:34 +0000 (04:48 -0700)]
[PATCH] fix queues_count accounting in mqueue_delete_inode()

During mqueue_get_inode(), it's possible that kmalloc() of the
info->messages array will fail.  This failure mode will cause the
queues_count to be (incorrectly) decremented twice.  This patch uses
info->messages on mqueue_delete_inode() to determine whether the
mqueue was every truly created, and hence proper accounting is needed
on destruction.

21 years agoMerge bk://kernel.bkbits.net/davem/sparc-2.6
Linus Torvalds [Tue, 4 May 2004 11:16:59 +0000 (04:16 -0700)]
Merge bk://kernel.bkbits.net/davem/sparc-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

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

21 years ago[SERIAL] Remove unused variable.
Russell King [Wed, 5 May 2004 01:17:47 +0000 (02:17 +0100)]
[SERIAL] Remove unused variable.

21 years ago[SERIAL] default to serial console when possible
Bjorn Helgaas [Tue, 4 May 2004 18:56:47 +0000 (19:56 +0100)]
[SERIAL] default to serial console when possible

Patch from Bjorn Helgaas

This adds efi_uart_console_only() so we can default to using a serial
console if the EFI console path only contains UARTs.

21 years ago[SERIAL] 8250_hcdp needs irq sharing
Alex Williamson [Tue, 4 May 2004 17:18:13 +0000 (18:18 +0100)]
[SERIAL] 8250_hcdp needs irq sharing

Patch from Alex Williamson

Here's a trivial patch that makes 8250_hcdp setup the correct flags
when IRQ sharing is enabled for serial ports.

The HCDP table tells us if the device is a PCI UART.  We can use this
to set the shared interrupt flag as well as program the interrupt with
the correct polarity/trigger (should get rid of "changing vector <x>
from IO-SAPIC-edge to IO-SAPIC-level" messages at bootup).  This also
allows non-PCI UARTs to be left un-shareable, which is likely much
more safe (edge triggered).

The bit that I'm keying on is still part of the older 1.0a HCDP spec,
so should be implemented (it was on all the boxes I tested).  If
there's firmware out there that doesn't set this bit or the interrupt
supported flag, the HCDP UART may run in polling mode, but should
still be functional.

21 years ago[SERIAL] Add support for SBS Tech. Inc. PMC-OCTPRO and P-OCTAL cards.
Slawomir Kolodynski [Tue, 4 May 2004 16:09:30 +0000 (17:09 +0100)]
[SERIAL] Add support for SBS Tech. Inc. PMC-OCTPRO and P-OCTAL cards.

Patch from Slawomir Kolodynski

21 years agoMerge bk://bk.arm.linux.org.uk/linux-2.6-pcmcia
Linus Torvalds [Tue, 4 May 2004 11:14:04 +0000 (04:14 -0700)]
Merge bk://bk.arm.linux.org.uk/linux-2.6-pcmcia
into ppc970.osdl.org:/home/torvalds/v2.6/linux

21 years ago[PCMCIA] add EnE specific initialization to fix HDSP
Daniel Ritz [Tue, 4 May 2004 22:31:38 +0000 (23:31 +0100)]
[PCMCIA] add EnE specific initialization to fix HDSP

Patch from Daniel Ritz.

This patch clears an almost undocumented EnE specific test register
that makes sound on RME Hammerfall DSP Carbus work...should even work
after suspend.

21 years agoMerge bk://bk.arm.linux.org.uk/linux-2.6-rmk
Linus Torvalds [Tue, 4 May 2004 11:11:43 +0000 (04:11 -0700)]
Merge bk://bk.arm.linux.org.uk/linux-2.6-rmk
into ppc970.osdl.org:/home/torvalds/v2.6/linux

21 years ago[ARM] Update mach-types file again.
Russell King [Tue, 4 May 2004 18:49:24 +0000 (19:49 +0100)]
[ARM] Update mach-types file again.

21 years ago[ARM] Fix potential oops and kill unused variable warning in sa1111.c
Russell King [Tue, 4 May 2004 18:33:57 +0000 (19:33 +0100)]
[ARM] Fix potential oops and kill unused variable warning in sa1111.c

This fixes a potential oops/use after free bug, and removes an unused
variable warning.

21 years ago[PATCH] report size of printk buffer
Andrew Morton [Tue, 4 May 2004 11:10:36 +0000 (04:10 -0700)]
[PATCH] report size of printk buffer

From: <Andries.Brouwer@cwi.nl>

In the old days the printk log buffer had a constant size, and dmesg asked
for the 4096, later 8192, later 16384 bytes in there.  These days the
printk log buffer has variable size, and it is not easy for dmesg to do the
right thing, especially when doing a "read and clear".  The patch below
adds a syslog subfuntion that reports the buffer size.

21 years ago[PATCH] fix memleak in sys_mq_timedsend
Chris Wright [Tue, 4 May 2004 11:10:25 +0000 (04:10 -0700)]
[PATCH] fix memleak in sys_mq_timedsend

Move error handling to capture all three possible error conditions on
sending to a full queue.  Without this fix any unprivileged user can
leak arbitrary amounts of kernel memory.

21 years agoMerge cantab.net:/home/src/bklinux-2.6
Anton Altaparmakov [Tue, 4 May 2004 10:59:13 +0000 (11:59 +0100)]
Merge cantab.net:/home/src/bklinux-2.6
into cantab.net:/home/src/ntfs-2.6

21 years agoMerge bk://kernel.bkbits.net/wesolows/sparc32-2.6
David S. Miller [Tue, 4 May 2004 09:00:16 +0000 (02:00 -0700)]
Merge bk://kernel.bkbits.net/wesolows/sparc32-2.6
into nuts.davemloft.net:/disk1/BK/sparc-2.6

21 years agoMerge http://jfs.bkbits.net/linux-2.5
Linus Torvalds [Tue, 4 May 2004 06:32:15 +0000 (23:32 -0700)]
Merge http://jfs.bkbits.net/linux-2.5
into ppc970.osdl.org:/home/torvalds/v2.6/linux

21 years agoMerge jfs@jfs.bkbits.net:linux-2.5
Dave Kleikamp [Tue, 4 May 2004 09:56:21 +0000 (04:56 -0500)]
Merge jfs@jfs.bkbits.net:linux-2.5
into austin.ibm.com:/shaggy/bk/jfs-2.5

21 years agoJFS: [CHECKER] get rid of txAbortCommit
Dave Kleikamp [Tue, 4 May 2004 09:26:19 +0000 (04:26 -0500)]
JFS: [CHECKER] get rid of txAbortCommit

txAbortCommit is broken and fixing it makes it equivalent to txAbort,
so get rid of it and use txAbort instead.

21 years agoJFS: [CHECKER] Memory leak in jfs_link
Dave Kleikamp [Tue, 4 May 2004 09:20:12 +0000 (04:20 -0500)]
JFS: [CHECKER] Memory leak in jfs_link

21 years agoBe more careful about waking up rwsem waiters
Linus Torvalds [Tue, 4 May 2004 05:30:47 +0000 (22:30 -0700)]
Be more careful about waking up rwsem waiters

Get a reference count on the the sleeper, so that
it can't possibly go away before we've sent it the
wakeup event.

Noted by Nick Piggin <nickpiggin@yahoo.com.au>
         David Howells <dhowells@redhat.com>