]> git.hungrycats.org Git - linux/log
linux
22 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.

22 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

22 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.

22 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).

22 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).

22 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.

22 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>

22 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.

22 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).

22 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

22 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.

22 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

22 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.

22 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 ;-)
 ]

22 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.

22 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.

22 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

22 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

22 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

22 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

22 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.

22 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

22 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

22 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

22 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.)

22 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.

22 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.

22 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

22 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.

22 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.

22 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 ;)

22 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.

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

22 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.

22 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

22 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

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

22 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.

22 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.

22 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

22 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

22 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.

22 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

22 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.

22 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.

22 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.

22 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.

22 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

22 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

22 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

22 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.

22 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

22 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>

22 years ago[PATCH] add_to_page_cache comments
Hugh Dickins [Tue, 4 May 2004 05:19:26 +0000 (22:19 -0700)]
[PATCH] add_to_page_cache comments

Remove two layers of the fossil record from comments on add_to_page_cache:
2.6.6 moves swapcache handling away, and we long ago stopped masking flags.

22 years ago[PATCH] mremap pte_unmap NULL
Hugh Dickins [Tue, 4 May 2004 05:19:15 +0000 (22:19 -0700)]
[PATCH] mremap pte_unmap NULL

Old bug noone seems to have hit, but mremap's pte_unmap dst might be
NULL: would get preempt count wrong even when not DEBUG_HIGHMEM.

22 years ago[PATCH] ppc32: Updated boot fix
Paul Mackerras [Tue, 4 May 2004 00:57:39 +0000 (17:57 -0700)]
[PATCH] ppc32: Updated boot fix

This fixes booting on some PPC32 machines, notably CHRP and powermac
machines.  This is a modified version of Tom Rini's patch that addresses
the concerns I had with it.

The problem was that the linker script was getting included in the list
of things that got put together to make some of the sorts of bootable
images that we produce.  This removes ld.script in cases where it wasn't
appropriate and changes the rules in others so that although we have the
dependency on ld.script, it doesn't get included in the list of things
to link.

22 years ago[PATCH] ppc64: Use slbie, not slbia in hugepage code
David Gibson [Tue, 4 May 2004 00:57:29 +0000 (17:57 -0700)]
[PATCH] ppc64: Use slbie, not slbia in hugepage code

On PPC64, when we prepare segments below 4G for use with hugepages, we
need to flush their entries from the SLB, in case SLB entries
specifying normal pages were already present.

Previously we did that by flushing the entire SLB, the patch below
changes this to individually flush each necessary segment with slbie.
The new version may well be slightly faster, but the real reason for
it is so that this code path doesn't need to be changed to reinstate
any bolted SLB entries, if we add them.  The existing version has
already caused problems (read, crashes) when combined with some
patches that add bolted SLB entries.

22 years ago[PATCH] cancel_delayed_work() fix
Andrew Morton [Tue, 4 May 2004 00:57:17 +0000 (17:57 -0700)]
[PATCH] cancel_delayed_work() fix

cancel_delayed_work() forgets to clear the workqueue's pending flag.  This
makes the workqueue appear to be permanently busy, so any subsequent attempts
to use it will fail.

22 years agoMerge ssh://kernel.bkbits.net/sparc32-2.6
Keith M. Wesolowski [Mon, 3 May 2004 16:25:10 +0000 (09:25 -0700)]
Merge ssh://kernel.bkbits.net/sparc32-2.6
into foobazco.org:/sources/2.5-sparc-todave

22 years agoMerge kernel.bkbits.net:/home/repos/linux-2.5
Keith M. Wesolowski [Mon, 3 May 2004 16:18:57 +0000 (09:18 -0700)]
Merge kernel.bkbits.net:/home/repos/linux-2.5
into kernel.bkbits.net:/home/wesolows/sparc32-2.6

22 years agoMerge foobazco.org:/sources/2.5-bk
Keith M. Wesolowski [Mon, 3 May 2004 16:16:56 +0000 (09:16 -0700)]
Merge foobazco.org:/sources/2.5-bk
into foobazco.org:/sources/2.5-sparc-todave

22 years ago[SPARC32]: Reduce fragmentation in the bitmap allocator
Keith M. Wesolowski [Mon, 3 May 2004 16:11:44 +0000 (09:11 -0700)]
[SPARC32]: Reduce fragmentation in the bitmap allocator

The existing allocator is first-fit with wraparound.  This allows
a large number of small holes to accumulate in the early part of the
region, leading to heavy fragmentation.  This adjusts the algorithm
to rescan the region when smaller sizes are requested, reducing
early fragmentation.

22 years ago[SPARC32]: Trivial reformatting patch for arch/sparc/mm/init.c
Keith M. Wesolowski [Mon, 3 May 2004 15:54:53 +0000 (08:54 -0700)]
[SPARC32]: Trivial reformatting patch for arch/sparc/mm/init.c

From Art Haas <ahaas@airmail.net>

22 years ago[SPARC32]: Correct calculation of num_physpages
Keith M. Wesolowski [Mon, 3 May 2004 15:47:03 +0000 (08:47 -0700)]
[SPARC32]: Correct calculation of num_physpages

Previously num_physpages only took into consideration low memory.
Since nr_free_pages returned something much larger, the caches
init would oops.

22 years agoMerge http://linux-lksctp.bkbits.net/lksctp-2.5.work
David S. Miller [Mon, 3 May 2004 12:58:45 +0000 (05:58 -0700)]
Merge http://linux-lksctp.bkbits.net/lksctp-2.5.work
into nuts.davemloft.net:/disk1/BK/net-2.6

22 years ago[SCTP] Rename SCTP_ADDR_REACHABLE as SCTP_ADDR_AVAILABLE to be
Sridhar Samudrala [Mon, 3 May 2004 04:17:48 +0000 (21:17 -0700)]
[SCTP] Rename SCTP_ADDR_REACHABLE as SCTP_ADDR_AVAILABLE to be
consistent with the SCTP sockets API draft.

22 years ago[SCTP] Fix bugs in handling overlapping INIT and peer restart over a
Sridhar Samudrala [Mon, 3 May 2004 04:14:28 +0000 (21:14 -0700)]
[SCTP] Fix bugs in handling overlapping INIT and peer restart over a
multihomed association.

22 years ago[PATCH] SCTP crc table can be static const
Stephen Hemminger [Mon, 3 May 2004 04:11:07 +0000 (21:11 -0700)]
[PATCH] SCTP crc table can be static const

22 years agoMerge intel.com:/home/lenb/src/linux-acpi-test-2.6.5
Len Brown [Sun, 2 May 2004 20:29:41 +0000 (16:29 -0400)]
Merge intel.com:/home/lenb/src/linux-acpi-test-2.6.5
into intel.com:/home/lenb/src/linux-acpi-test-2.6.6

22 years ago[ACPI] export symbols to button module
Len Brown [Sun, 2 May 2004 20:29:06 +0000 (16:29 -0400)]
[ACPI] export symbols to button module

22 years agoMerge intel.com:/home/lenb/bk/linux-2.6.6
Len Brown [Sun, 2 May 2004 16:39:52 +0000 (12:39 -0400)]
Merge intel.com:/home/lenb/bk/linux-2.6.6
into intel.com:/home/lenb/src/linux-acpi-test-2.6.6

22 years agoMerge davem@nuts.davemloft.net:/disk1/BK/net-2.6
David S. Miller [Sun, 2 May 2004 15:34:46 +0000 (08:34 -0700)]
Merge davem@nuts.davemloft.net:/disk1/BK/net-2.6
into kernel.bkbits.net:/home/davem/net-2.6

22 years ago[NET]: Fix MODULE_PARM_DESC typo in dummy driver.
Rusty Russell [Sun, 2 May 2004 15:31:59 +0000 (08:31 -0700)]
[NET]: Fix MODULE_PARM_DESC typo in dummy driver.

22 years agoMerge foobazco.org:/sources/2.5-bk
Keith M. Wesolowski [Sun, 2 May 2004 14:01:20 +0000 (07:01 -0700)]
Merge foobazco.org:/sources/2.5-bk
into foobazco.org:/sources/2.5-sparc-todave

22 years agoMerge nuts.davemloft.net:/disk1/BK/sparcwork-2.6
David S. Miller [Sun, 2 May 2004 11:24:01 +0000 (04:24 -0700)]
Merge nuts.davemloft.net:/disk1/BK/sparcwork-2.6
into nuts.davemloft.net:/disk1/BK/sparc-2.6

22 years agoMerge bk://bk.arm.linux.org.uk/linux-2.6-serial
Linus Torvalds [Sun, 2 May 2004 07:36:29 +0000 (00:36 -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 the calculation of the number of UARTs
Russell King [Sun, 2 May 2004 21:47:52 +0000 (22:47 +0100)]
[SERIAL] Fix the calculation of the number of UARTs

The calculation ended up believing we had one less UART than we
really had.  Fix it.

22 years agoBe more careful about semaphore contention memory ordering.
Linus Torvalds [Sun, 2 May 2004 06:06:12 +0000 (23:06 -0700)]
Be more careful about semaphore contention memory ordering.

Don't touch the wakee stack after marking it runnable.

22 years agoMake types of big integers in bitops.h explicit.
Linus Torvalds [Sun, 2 May 2004 06:04:40 +0000 (23:04 -0700)]
Make types of big integers in bitops.h explicit.

"sparse" warns about implicit type conversions that may cause
surprising results. Did you know that large decimal types have
different type conversions from large hexadecimals?

22 years ago[PATCH] FAT: remove symbols exports from msdosfs/vfat
Hirofumi Ogawa [Sun, 2 May 2004 04:26:25 +0000 (21:26 -0700)]
[PATCH] FAT: remove symbols exports from msdosfs/vfat

From Christoph Hellwig <hch@lst.de>

If we're ever going to ressurect umsdos it should be a stackable
filesystem..

22 years ago[PATCH] FAT: small cleanup
Hirofumi Ogawa [Sun, 2 May 2004 04:26:13 +0000 (21:26 -0700)]
[PATCH] FAT: small cleanup

22 years ago[PATCH] FAT: simple error handling cleanup
Hirofumi Ogawa [Sun, 2 May 2004 04:26:03 +0000 (21:26 -0700)]
[PATCH] FAT: simple error handling cleanup

From: RenĂ© Scharfe <l.s.r@web.de>

the following patch converts the error handling paths in VFAT fs to use
goto, making it more consistent with other filesystem code. Shrinks the
resulting binary by 144 bytes in my build.

22 years ago[PATCH] FAT: Fix nfsv2 support
Hirofumi Ogawa [Sun, 2 May 2004 04:25:52 +0000 (21:25 -0700)]
[PATCH] FAT: Fix nfsv2 support

The ->dentry_to_fh() can use the 20 bytes in the case of NFSv2, but
fat_dentry_to_fh() requires 24 bytes by my patch.

So nfsd reply the EOPNOTSUPP to nfs client, then nfs client convert
the unknown error to -EIO.

This patch fixes the problem by pushing the handle data into 20 bytes.

22 years agoMerge bk://cifs.bkbits.net/linux-2.5cifs
Linus Torvalds [Sun, 2 May 2004 04:16:13 +0000 (21:16 -0700)]
Merge bk://cifs.bkbits.net/linux-2.5cifs
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years agodo not refresh mode (e.g. in revalidate) to windows servers
Steve French [Sun, 2 May 2004 06:13:48 +0000 (01:13 -0500)]
do not refresh mode (e.g. in revalidate) to windows servers

22 years agoreduce excessive stack space usage in smb password hashing
Steve French [Sun, 2 May 2004 03:53:52 +0000 (22:53 -0500)]
reduce excessive stack space usage in smb password hashing

22 years agoeven if O_CREAT specified do not reset mode when file not actually created
Steve French [Sat, 1 May 2004 17:12:12 +0000 (12:12 -0500)]
even if O_CREAT specified do not reset mode when file not actually created

22 years agofix ppc64 build problem due to missing header
Steve French [Sat, 1 May 2004 22:33:19 +0000 (17:33 -0500)]
fix ppc64 build problem due to missing header

22 years ago[PATCH] mcdx.c insanity removal
Alexander Viro [Sat, 1 May 2004 12:53:15 +0000 (05:53 -0700)]
[PATCH] mcdx.c insanity removal

The mcdx.c author had pulled off something absolutely amazing - he had
declared several unsigned variables (ISA port numbers) as void *, using
explicit cast to unsigned in almost all places that used them.
Exception: printk.  There he proudly used them as pointers - with %3p in
format.  That cute trick allowed him to avoid using %03x, which
apparently scared him for some reason.

Switched to use of unsigned, killed casts, replaced %3p with %03x in
formats.  BTW, the code had been that way since the initial merge back
in 1.3.7...

22 years ago[PATCH] ppc64: fix incorrect signal handler argument
Paul Mackerras [Sat, 1 May 2004 12:10:20 +0000 (05:10 -0700)]
[PATCH] ppc64: fix incorrect signal handler argument

This fixes a bug in the ppc64 signal delivery code where the signal
number argument to a signal handler can get corrupted before the handler
is called.  The specific scenario is that a process is in a blocking
system call when two signals get generated for it, both of which have
handlers.

The signal code will stack up two signal frames on the process stack
(assuming the mask for the first signal delivered doesn't block the
second signal) and return to userspace to run the handler for the second
signal.  On return from that handler the first handler gets run with an
incorrect signal number argument because we end up with regs->result
still having a negative value (left over from when the system call was
interrupted) when it should be zero.  This patch sets it to zero when we
set up the signal frame (in three places; for 64-bit processes, and for
32-bit processes for RT and non-RT signals).

The way we handle signal delivery and signal handler return using the
regs->result field in ppc64 is more complicated than it needs to be.  In
ppc32 I have already simplified it and eliminated use of the
regs->result field.  I am going to do the same in the ppc64 code, but I
think this patch should go in for now to fix the bug.

The patch also fixes a couple of places where we were unnecessarily and
incorrectly truncating the regs->result value to 32 bits
(sys32_sigreturn and sys32_rt_sigreturn return a long value, as all
syscalls do, and if regs->result is negative we need those syscalls to
return a negative value).

Thanks to Maneesh Soni for identifying the specific circumstances
under which this bug shows up.

22 years agoMerge bk://kernel.bkbits.net/davem/net-2.6
Linus Torvalds [Sat, 1 May 2004 12:01:49 +0000 (05:01 -0700)]
Merge bk://kernel.bkbits.net/davem/net-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years agoMerge davem@nuts.davemloft.net:/disk1/BK/net-2.6
David S. Miller [Sat, 1 May 2004 10:42:39 +0000 (03:42 -0700)]
Merge davem@nuts.davemloft.net:/disk1/BK/net-2.6
into kernel.bkbits.net:/home/davem/net-2.6

22 years ago[IPV4/IPV6]: Fix listing of listening sockets.
Herbert Xu [Sat, 1 May 2004 10:39:13 +0000 (03:39 -0700)]
[IPV4/IPV6]: Fix listing of listening sockets.

There is a bug in listening_get_first() which used by /proc/net/tcp*
where it wasn't looping through all the sockets in each hash chain.
This problem doesn't show up unless the first socket in a chain doesn't
match the family that is being looked up.

The following patch fixes this by getting rid of listening_get_first()
altogether.

22 years ago[PATCH] add missing #include
Denis Vlasenko [Sat, 1 May 2004 10:32:45 +0000 (03:32 -0700)]
[PATCH] add missing #include

There's a subtle problem with "inline" usage in <linux/string.h>:

 <linux/string.h>:
        this pulls in __constant_c_and_count_memset()

 <linux/mm.h>:
        this pulls <compiler.h>, re-defining
        inline == __inline__ __attribute__((always_inline)).

 But by now it is too late! The compiler has already seen the bare
 "inline" in string.h, and hasn't inlined it.

Result:

# grep __constant System.map
c0144670 t __constant_c_and_count_memset
c0145c60 t __constant_c_and_count_memset
... many more copies of this function ...

Fixed by including <compiler.h> early enough.

22 years agoMerge bk://linux.bkbits.net/linux-2.5
Steve French [Sat, 1 May 2004 08:01:22 +0000 (01:01 -0700)]
Merge bk://linux.bkbits.net/linux-2.5
into hostme.bitkeeper.com:/repos/c/cifs/linux-2.5cifs

22 years agoMerge bk://are.twiddle.net/axp-2.6/
Linus Torvalds [Sat, 1 May 2004 05:51:38 +0000 (22:51 -0700)]
Merge bk://are.twiddle.net/axp-2.6/
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years ago[ALPHA] Add message queue syscalls.
Richard Henderson [Sat, 1 May 2004 04:02:13 +0000 (21:02 -0700)]
[ALPHA] Add message queue syscalls.

22 years agoMerge nuts.davemloft.net:/disk1/BK/network-2.6
David S. Miller [Sat, 1 May 2004 02:23:45 +0000 (19:23 -0700)]
Merge nuts.davemloft.net:/disk1/BK/network-2.6
into nuts.davemloft.net:/disk1/BK/net-2.6

22 years ago[PATCH] serverworks.c: fix DMA for OSB4
Bartlomiej Zolnierkiewicz [Sat, 1 May 2004 02:11:44 +0000 (19:11 -0700)]
[PATCH] serverworks.c: fix DMA for OSB4

From: Patrick Wildi <patrick@wildi.com>

On OSB4 the hwif->ultra_mask is set to not support UDMA.
Unfortunately in that case svwks_config_drive_xfer_rate()
falls through to the end of the function, instead of trying
other DMA modes.

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