]> git.hungrycats.org Git - linux/log
linux
23 years agoAdd extern for scsi_logging_level so scsi_sysctl.c can compile
James Bottomley [Tue, 26 Aug 2003 12:46:01 +0000 (07:46 -0500)]
Add extern for scsi_logging_level so scsi_sysctl.c can compile

23 years agoFix typo introduced into 53c700 by tag fixup patch
James Bottomley [Tue, 26 Aug 2003 12:44:34 +0000 (07:44 -0500)]
Fix typo introduced into 53c700 by tag fixup patch

23 years ago[PATCH] fix Kernel Panic in scsi_host_dev_release
Mike Anderson [Tue, 26 Aug 2003 05:54:36 +0000 (00:54 -0500)]
[PATCH] fix Kernel Panic in scsi_host_dev_release

If a driver calls scsi_register, but then has a problem in there
detect where they need to call scsi_unregister the parent pointer of
the struct device may never be set.

 drivers/scsi/hosts.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletion(-)

23 years ago[PATCH] check whether a disk got writeable in sd_open
Christoph Hellwig [Mon, 25 Aug 2003 13:48:27 +0000 (08:48 -0500)]
[PATCH] check whether a disk got writeable in sd_open

This is the 2.5 version of a 2.4 patch posted to the list long
ago, the aacraid thread reminded me of it.

The problem is that certain highend arrays allow to mark a r/o
volume writeable on the fly so we have to call check_disk_change
for write-protected devices in sd_open, too.

23 years ago[PATCH] kill some dead code in sym2
Christoph Hellwig [Mon, 25 Aug 2003 13:47:29 +0000 (08:47 -0500)]
[PATCH] kill some dead code in sym2

No need to keep around the non-dma mapping code in 2.6

23 years ago[PATCH] kill an unused variable in sym2
Christoph Hellwig [Mon, 25 Aug 2003 13:46:15 +0000 (08:46 -0500)]
[PATCH] kill an unused variable in sym2

23 years ago[PATCH] give scsi_allocate_request a gfp_mask
Christoph Hellwig [Mon, 25 Aug 2003 13:44:51 +0000 (08:44 -0500)]
[PATCH] give scsi_allocate_request a gfp_mask

most callers really want GFP_KERNEL, not GFP_ATOMIC.

23 years ago[PATCH] fixup some tagged queuing mess
Christoph Hellwig [Mon, 25 Aug 2003 13:43:20 +0000 (08:43 -0500)]
[PATCH] fixup some tagged queuing mess

This is a followup to Doug's comments and older work.  It kills
sdev->tagged_queue which wasn't ever set in 2.5/2.6 except through
obscure and broken ioctls (!).  As a reason of that tagged queing
didn't work for a lot of drivers, so this does change behaviour.
Be careful..

James, can you review the code in 53c700.c?  Calling scsi_activate_tcq
in ->queuecommand rather than ->slave_configure looks rather strange to
me..

23 years ago[PATCH] serialize bus scanning
Christoph Hellwig [Mon, 25 Aug 2003 12:32:54 +0000 (07:32 -0500)]
[PATCH] serialize bus scanning

Synchronize all scanning activity, this fixes long-standing races
vs /proc/scsi/scsi and sysfs addition and deletion of devices.

Note that this does not serialize removing, the lists will get
their own locking soon.

23 years ago[PATCH] add a missing extern to scsi_priv.h
Christoph Hellwig [Mon, 25 Aug 2003 12:15:20 +0000 (07:15 -0500)]
[PATCH] add a missing extern to scsi_priv.h

scsi_scan_host_selected was the only prototype without 'extern'

23 years ago[PATCH] don't export proc_scsi
Christoph Hellwig [Mon, 25 Aug 2003 12:07:16 +0000 (07:07 -0500)]
[PATCH] don't export proc_scsi

proc_mkdir can also take absolute pathes, so we can avoid the export.

23 years ago[PATCH] make /proc/scsi/scsi/ support optional
Christoph Hellwig [Mon, 25 Aug 2003 10:09:42 +0000 (05:09 -0500)]
[PATCH] make /proc/scsi/scsi/ support optional

There's no more essential functionality in it so allow the
embedded folks to configure it out.

23 years ago[PATCH] make scsi logging level a sysctl
Christoph Hellwig [Mon, 25 Aug 2003 10:06:04 +0000 (05:06 -0500)]
[PATCH] make scsi logging level a sysctl

The logging level is now controlled by a
/proc/sys/dev/scsi/logging_level sysctl instead of /proc/scsi/scsi.
The format is the same as the logging_level module parameter.

23 years ago[PATCH] make scsi_priv.h includable standalone
Christoph Hellwig [Mon, 25 Aug 2003 07:39:35 +0000 (02:39 -0500)]
[PATCH] make scsi_priv.h includable standalone

23 years ago[PATCH] dc395x [6/6] - use pci resource len
Jamie Lenehan [Mon, 25 Aug 2003 07:33:47 +0000 (02:33 -0500)]
[PATCH] dc395x [6/6] - use pci resource len

Instead of hard coding the number of io ports (to the wrong value no
less) use the pci_resource_length to determine the number.

23 years ago[PATCH] dc395x [5/6] - check for device
Jamie Lenehan [Mon, 25 Aug 2003 07:32:19 +0000 (02:32 -0500)]
[PATCH] dc395x [5/6] - check for device

After searching for a device to free, only free it if it was found.

23 years ago[PATCH] dc395x [4/6] - cleanup adapter uninit
Jamie Lenehan [Mon, 25 Aug 2003 07:31:04 +0000 (02:31 -0500)]
[PATCH] dc395x [4/6] - cleanup adapter uninit

Clean up the initialization sequence for the adapter. Makes it easier
to follow.

23 years ago[PATCH] dc395x [3/6] - cleanup adapter init
Jamie Lenehan [Mon, 25 Aug 2003 07:29:55 +0000 (02:29 -0500)]
[PATCH] dc395x [3/6] - cleanup adapter init

Cleanup of the adapter initialization sequence. Now it's clear what
is going on and what has been done at any point. It also keeps the
initialization of various things together and not spread out over a
bunch of different functions. This then made it possible to ensure
that appropriate the resources were correctly released in the event
of failure.

23 years ago[PATCH] dc395x [2/6] - cleanup devices
Jamie Lenehan [Mon, 25 Aug 2003 07:28:34 +0000 (02:28 -0500)]
[PATCH] dc395x [2/6] - cleanup devices

This cleans up the device management. It makes the init and cleanup
seperate functions that basically do the opposite type things in
reverse order. Makes it clear which functions remove a device and
which ones free a device (or devices.)

23 years ago[PATCH] dc395x [1/6] - make functions static
Jamie Lenehan [Mon, 25 Aug 2003 07:27:39 +0000 (02:27 -0500)]
[PATCH] dc395x [1/6] - make functions static

I forgot to make some of the new functions added during the list
cleanups static. This patch just declares those new functions static.

23 years ago[PATCH] sym2 hotplug fix
Anton Blanchard [Mon, 25 Aug 2003 07:20:16 +0000 (02:20 -0500)]
[PATCH] sym2 hotplug fix

When testing sym2 hotplug I found a few places where we need to use
__devinit, not __init.

23 years ago[PATCH] advansys build with ADVANSYS_DEBUG defined
Randy Dunlap [Mon, 25 Aug 2003 07:15:51 +0000 (02:15 -0500)]
[PATCH] advansys build with ADVANSYS_DEBUG defined

This patch enables the advansys driver to build when
ADVANSYS_DEBUG is #defined.

patch_name: scsi_advan_260t3.patch
patch_version: 2003-08-10.22:37:15
author: Randy.Dunlap <rddunlap@osdl.org>
description: enable compile with ADVANSYS_DEBUG #defined
product: Linux
product_versions: 260-test3
URL: _
maintainer: unknown
diffstat: =
 drivers/scsi/advansys.c |   13 +++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

23 years ago[PATCH] imm driver needs scsi_unregister()
Randy Dunlap [Mon, 25 Aug 2003 07:08:46 +0000 (02:08 -0500)]
[PATCH] imm driver needs scsi_unregister()

Same as the ppa driver, keeping them in sync.

patch_name: scsi_imm_unreg.patch
patch_version: 2003-08-19.21:14:54
author: Randy.Dunlap <rddunlap@osdl.org>
description: scsi imm driver needs to call scsi_unregister();
product: Linux
product_versions: 260-test3
diffstat: =
 drivers/scsi/imm.c |    1 +
 1 files changed, 1 insertion(+)

23 years ago[PATCH] GFDL issue in Documentation/DocBook/scsidrivers.tmpl
Douglas Gilbert [Mon, 25 Aug 2003 06:52:53 +0000 (01:52 -0500)]
[PATCH] GFDL issue in Documentation/DocBook/scsidrivers.tmpl

[Switch GFDL to GPL]

23 years ago[PATCH] IOMMU overflow handling fix for MPT fusion
Andi Kleen [Mon, 25 Aug 2003 06:50:05 +0000 (01:50 -0500)]
[PATCH] IOMMU overflow handling fix for MPT fusion

Currently mpt fusion does not handle IOMMU overflow (pci_map_sg returning 0)
very gracefully. It gets not reported to the upper layers. This patch fixes this.

As a related note the fusion driver tends to trigger the NMI watchdog as soon
as it goes into any error recovery, because it busy waits for seconds with
interrupts disabled (seems to be still true with the new error handling in 2.6).
This is a big inconvenient because it leads to a forced oops.

I tried to work around it by exporting touch_nmi_watchdog and using it in
the delays, but Linus was opposed to this approach. It would be nice
if someone could fix this. Afaik in 2.6 the error recovery should mostly
run in process context, so it should be possible to use schedule_timeout()
with interrupts on for the delays.

At least on x86-64 the NMI watchdog runs by default and even on i386 it is a
very useful debugging tool.

23 years ago[PATCH] vx_entry.c: remove release timer
Vinay K. Nallamothu [Fri, 22 Aug 2003 22:23:23 +0000 (15:23 -0700)]
[PATCH] vx_entry.c: remove release timer

sound/pcmcia/vx/vx_entry.c:

This patch removes the PCMCIA timer release functionality which is no
longer required. Without this the module does not compile.

23 years agoInput: typo in device matching.
Linus Torvalds [Fri, 22 Aug 2003 22:16:32 +0000 (15:16 -0700)]
Input: typo in device matching.

Too much cut-and-paste, noticed by Dmitry Torokhov <dtor_core@ameritech.net>

23 years agoPPC32: Update some of the example configs
Paul Mackerras [Sun, 24 Aug 2003 05:33:49 +0000 (15:33 +1000)]
PPC32: Update some of the example configs

23 years agoMerge samba.org:/home/paulus/kernel/linux-2.5
Paul Mackerras [Sun, 24 Aug 2003 03:59:25 +0000 (13:59 +1000)]
Merge samba.org:/home/paulus/kernel/linux-2.5
into samba.org:/home/paulus/kernel/for-linus-ppc

23 years agoPPC32: Declare cpu_online_map and cpu_possible_map as cpumask_t.
Paul Mackerras [Sat, 23 Aug 2003 22:58:19 +0000 (08:58 +1000)]
PPC32: Declare cpu_online_map and cpu_possible_map as cpumask_t.

23 years agoPPC32: Add the fadvise64_64 system call.
Paul Mackerras [Sat, 23 Aug 2003 22:15:37 +0000 (08:15 +1000)]
PPC32: Add the fadvise64_64 system call.

On PPC32 we reorder the arguments so they fit into 6 registers.  Glibc will
need a two-line stub to change them from the standard order to the ordering
used by the system call: (fd, advice, offset, len).

23 years agoMerge samba.org:/home/paulus/kernel/linux-2.5
Paul Mackerras [Sat, 23 Aug 2003 20:09:40 +0000 (06:09 +1000)]
Merge samba.org:/home/paulus/kernel/linux-2.5
into samba.org:/home/paulus/kernel/for-linus-ppc

23 years agoPPC32: Define MCA_bus__is_a_macro. From Christoph Hellwig.
Paul Mackerras [Sat, 23 Aug 2003 08:26:30 +0000 (18:26 +1000)]
PPC32: Define MCA_bus__is_a_macro.  From Christoph Hellwig.

23 years agoMerge samba.org:/stuff/paulus/kernel/linux-2.5
Paul Mackerras [Sat, 23 Aug 2003 04:36:05 +0000 (14:36 +1000)]
Merge samba.org:/stuff/paulus/kernel/linux-2.5
into samba.org:/stuff/paulus/kernel/for-linus-ppc

23 years agoMerge bk://stop.crashing.org/linux-2.6-misc
Paul Mackerras [Fri, 22 Aug 2003 19:54:45 +0000 (05:54 +1000)]
Merge bk://stop.crashing.org/linux-2.6-misc
into samba.org:/stuff/paulus/kernel/for-linus-ppc

23 years agoMerge bk://stop.crashing.org/linux-2.6-8260
Paul Mackerras [Fri, 22 Aug 2003 19:42:10 +0000 (05:42 +1000)]
Merge bk://stop.crashing.org/linux-2.6-8260
into samba.org:/stuff/paulus/kernel/for-linus-ppc

23 years agoMerge samba.org:/stuff/paulus/kernel/linux-2.5
Paul Mackerras [Fri, 22 Aug 2003 18:33:59 +0000 (04:33 +1000)]
Merge samba.org:/stuff/paulus/kernel/linux-2.5
into samba.org:/stuff/paulus/kernel/for-linus-ppc

23 years ago[PATCH] Fix cdrom error handling in 2.6
Erik Andersen [Fri, 22 Aug 2003 11:29:33 +0000 (04:29 -0700)]
[PATCH] Fix cdrom error handling in 2.6

In both 2.4 and in 2.6, error handling for bad cdrom media is
wrong.  And it is my fault I'm afraid, since I botched an earlier
fix for the problem by putting the fix in the wrong spot.

My kids have a "Jumpstart Toddlers" cd they have long since
completely killed, which makes a great test disc.  Without this
fix, the best time projection I can get for completing a dd type
sector copy is about 2 years...  Most of that is spent thrashing
about in kernel space trying to re-read sectors we already know
are not correctable....  After the fix, I was able to rip a copy
the CD (or rather muddle through it getting lots of EIO errors)
in about 15 minutes.

Attached is the fix for 2.6.x,

23 years agoLinux 2.6.0-test4 v2.6.0-test4
Linus Torvalds [Fri, 22 Aug 2003 09:38:56 +0000 (02:38 -0700)]
Linux 2.6.0-test4

23 years agoMerge samba.org:/stuff/paulus/kernel/linux-2.5
Paul Mackerras [Fri, 22 Aug 2003 06:44:16 +0000 (16:44 +1000)]
Merge samba.org:/stuff/paulus/kernel/linux-2.5
into samba.org:/stuff/paulus/kernel/for-linus-ppc

23 years agoMake USB storage select SCSI support automatically, instead
Linus Torvalds [Fri, 22 Aug 2003 05:01:57 +0000 (22:01 -0700)]
Make USB storage select SCSI support automatically, instead
of requiring users to select SCSI in order to see it.

23 years agoMerge http://nfsclient.bkbits.net/linux-2.5
Trond Myklebust [Fri, 22 Aug 2003 04:05:41 +0000 (21:05 -0700)]
Merge http://nfsclient.bkbits.net/linux-2.5
into fys.uio.no:/home/linux/bitkeeper/nfsclient-2.5

23 years agoVT requires INPUT support: make it be automatically included.
Linus Torvalds [Fri, 22 Aug 2003 02:52:24 +0000 (19:52 -0700)]
VT requires INPUT support: make it be automatically included.

From Christoph Hellwig

23 years ago[PATCH] /proc/kallsyms problem
Rusty Russell [Fri, 22 Aug 2003 02:46:47 +0000 (19:46 -0700)]
[PATCH] /proc/kallsyms problem

From David Mosberger:

> We definitely are seeing some strange crashes in get_ksymbol_core().
> I think the reason is the lack of iterator initialization.

Yes, looks good: reset the iterator at allocation.

23 years ago[PATCH] sedlbauer_cs.c: remove release timer
Christoph Hellwig [Fri, 22 Aug 2003 01:16:24 +0000 (18:16 -0700)]
[PATCH] sedlbauer_cs.c: remove release timer

Remove the PCMCIA release timer that got missed in earlier patch.  This
is required for successful compilation of the driver.

23 years agoMerge http://nfsclient.bkbits.net/linux-2.5
Trond Myklebust [Thu, 21 Aug 2003 17:09:04 +0000 (10:09 -0700)]
Merge http://nfsclient.bkbits.net/linux-2.5
into fys.uio.no:/home/linux/bitkeeper/nfsclient-2.5

23 years agoFix compiler warning about using a wrong type as the argument for
Trond Myklebust [Thu, 21 Aug 2003 17:05:15 +0000 (10:05 -0700)]
Fix compiler warning about using a wrong type as the argument for
nfsroot_mount().

23 years agoFix problem with open(O_EXCL) not creating hashed dentries.
Trond Myklebust [Thu, 21 Aug 2003 17:03:36 +0000 (10:03 -0700)]
Fix problem with open(O_EXCL) not creating hashed dentries.
Problem analysis and fix provided by Andries Brouwer.
Cleanup of nfs_lookup() by me...

23 years ago[PATCH] h8300 support fix (2/2)
Yoshinori Sato [Thu, 21 Aug 2003 15:56:22 +0000 (08:56 -0700)]
[PATCH] h8300 support fix (2/2)

o inline assembler funcs cleanup
o machine depend header cleanup
o interrupt management fix

23 years ago[PATCH] h8300 support fix (1/2)
Yoshinori Sato [Thu, 21 Aug 2003 15:56:04 +0000 (08:56 -0700)]
[PATCH] h8300 support fix (1/2)

o build script update
o interrupt management fix
o mtd support fix
o signal handling fix

23 years agoMerge http://klibc.bkbits.net/early_userspace
Linus Torvalds [Thu, 21 Aug 2003 15:54:21 +0000 (08:54 -0700)]
Merge http://klibc.bkbits.net/early_userspace
into home.osdl.org:/home/torvalds/v2.5/linux

23 years agoMerge bk://cifs.bkbits.net/linux-2.5cifs
Linus Torvalds [Thu, 21 Aug 2003 15:51:07 +0000 (08:51 -0700)]
Merge bk://cifs.bkbits.net/linux-2.5cifs
into home.osdl.org:/home/torvalds/v2.5/linux

23 years agoThe Intel Instruction set manual is wrong on how to test for
Linus Torvalds [Thu, 21 Aug 2003 15:50:34 +0000 (08:50 -0700)]
The Intel Instruction set manual is wrong on how to test for
a valid SEP bit. The errata has it right: you have to have at
least model 3, stepping 3. Not "model >= 3 or stepping >= 3".

Fix the test accordingly.

23 years agoMerge camp4.serpentine.com:/export/bos/bk/pristine/linux-2.5
Bryan O'Sullivan [Thu, 21 Aug 2003 15:08:10 +0000 (08:08 -0700)]
Merge camp4.serpentine.com:/export/bos/bk/pristine/linux-2.5
into camp4.serpentine.com:/export/bos/bk/linux-early

23 years agoDocumentation for initramfs, klibc, and early userspace.
Bryan O'Sullivan [Thu, 21 Aug 2003 14:56:56 +0000 (07:56 -0700)]
Documentation for initramfs, klibc, and early userspace.

23 years agoAdd missing CIFS VFS entry to maintainers list
Steve French [Thu, 21 Aug 2003 14:00:57 +0000 (07:00 -0700)]
Add missing CIFS VFS entry to maintainers list

23 years agoMerge http://nfsclient.bkbits.net/linux-2.5
Trond Myklebust [Thu, 21 Aug 2003 11:45:26 +0000 (04:45 -0700)]
Merge http://nfsclient.bkbits.net/linux-2.5
into fys.uio.no:/home/linux/bitkeeper/nfsclient-2.5

23 years agoFix a problem whereby READDIRPLUS was causing lookups to result in
Trond Myklebust [Thu, 21 Aug 2003 11:43:45 +0000 (04:43 -0700)]
Fix a problem whereby READDIRPLUS was causing lookups to result in
ESTALE errors.

23 years agoA request cannot be used as part of the RTO estimation if it gets
Trond Myklebust [Thu, 21 Aug 2003 11:42:05 +0000 (04:42 -0700)]
A request cannot be used as part of the RTO estimation if it gets
resent since you don't know whether the server is replying to the
first or the second transmission. However we're currently setting
the cutoff point to be the timeout of the first transmission.

This patch moves the cutoff point to the actual start of the
retransmission.

23 years agoIncrease the minimum RTO timer value to 1/10 second. This is more
Trond Myklebust [Thu, 21 Aug 2003 11:33:03 +0000 (04:33 -0700)]
Increase the minimum RTO timer value to 1/10 second. This is more
in line with what is done for TCP.

Signedness corrections when updating RTT.

Be conservative when calculating RTO. Round up the residues.

23 years agoBack out some congestion control changes that were causing trouble,
Trond Myklebust [Thu, 21 Aug 2003 11:29:14 +0000 (04:29 -0700)]
Back out some congestion control changes that were causing trouble,
among other things, for the "soft" mount option.

23 years agoIf an RPC request has to be resent due to a timeout, it turns out
Trond Myklebust [Thu, 21 Aug 2003 11:27:54 +0000 (04:27 -0700)]
If an RPC request has to be resent due to a timeout, it turns out
that call_encode() may cause rq_rcv_buf to be reset despite the fact
that a reply might be delivered at any moment by a softirq.

This typically results in 'NFS: server cheating in read reply'
error messages.

Solve by adding rq_private_buf, which is updated atomically from
rq_rcv_buf.

23 years agoVarious RPC client fixes:
Trond Myklebust [Thu, 21 Aug 2003 11:23:34 +0000 (04:23 -0700)]
Various RPC client fixes:

   - Ensure that we reset req->rq_received before resending if the
     server has sent us a garbage reply.

   - Whenever we grab the xprt_lock_write "semaphore" ensure that we
     reset req->rq_bytes_sent.

   - When resending a TCP request, do not interrupt in the
     middle of transmission even if we do get a reply from the server.

   - Protect the call to rpc_calc_rto() against modification while
     we are calculating

23 years agoMerge http://lia64.bkbits.net/to-linus-2.5
Linus Torvalds [Thu, 21 Aug 2003 10:40:41 +0000 (03:40 -0700)]
Merge http://lia64.bkbits.net/to-linus-2.5
into home.osdl.org:/home/torvalds/v2.5/linux

23 years ago[PATCH] Fix APIC ID handling
William Lee Irwin III [Thu, 21 Aug 2003 10:06:22 +0000 (03:06 -0700)]
[PATCH] Fix APIC ID handling

Fix APIC ID lookup.  In the bios_cpu_apicid[] case, it would walk off
the end of bios_cpu_apicid[] and attempt to send APIC INIT messages to
garbage without this patch, and in the NUMA-Q case, it would attempt to
send NMI wakeups to destinations in the broadcast cluster (which is
harmless, but very poor form) without this patch.

23 years ago[PATCH] OProfile: don't assume MSRs stay the same across CPU models
John Levon [Thu, 21 Aug 2003 09:57:28 +0000 (02:57 -0700)]
[PATCH] OProfile: don't assume MSRs stay the same across CPU models

The MSRs might change between CPU models, error out if we haven't met
the CPU before. From Venkatesh Pallipadi

23 years ago[PATCH] OProfile: add a useful statistic
John Levon [Thu, 21 Aug 2003 09:57:19 +0000 (02:57 -0700)]
[PATCH] OProfile: add a useful statistic

Add a stat counting the (relatively common) case where a PC value is logged
but there is no (longer) any executable mapping covering that address.

23 years ago[PATCH] OProfile: export kernel pointer size in oprofilefs
John Levon [Thu, 21 Aug 2003 09:57:11 +0000 (02:57 -0700)]
[PATCH] OProfile: export kernel pointer size in oprofilefs

Tell user-space how big kernel pointers are, as preferable to sniffing /proc/kcore.
Improve the oprofilefs_ulong_to_user() prototype.

23 years ago[PATCH] OProfile: reduce allocations of MSR structs
John Levon [Thu, 21 Aug 2003 09:57:03 +0000 (02:57 -0700)]
[PATCH] OProfile: reduce allocations of MSR structs

Andi Kleen pointed out the MSRs array was a massive bloat source. Reduce
it somewhat by only allocating the amount actually needed for the CPU type.

Untested on Pentium IV - I don't have a machine.

23 years agoMerge bk://kernel.bkbits.net/davem/net-2.5
Linus Torvalds [Thu, 21 Aug 2003 09:39:23 +0000 (02:39 -0700)]
Merge bk://kernel.bkbits.net/davem/net-2.5
into home.osdl.org:/home/torvalds/v2.5/linux

23 years agoia64: perfmon update.
David Mosberger [Thu, 21 Aug 2003 08:46:04 +0000 (01:46 -0700)]
ia64: perfmon update.

Here is a ChangeLog for the patch:

        - The perfmon core will invoke the sampling module handler
          routine once for each overflowed PMD. When multiple PMDs
          overflow at the same time (with the same PMU interrupt),
          then up to 64 distinct calls can happen. A common timestamp
          parameter allows the module to identify this kind of
          entries.

        - Changed the module ovfl_ctrl arguments to simplify the reset
          field. Now it is a simple boolean.

        - Updated perfmon.h to convert the "set" field to ushort from
          uint.  Other structure updates to get better layout.

        - Update perfmon_default_smpl.h to reflect the change in
          overflow processing mentioned above.

        - Cleanup some state checking code to use switch-case instead
          of if-then with macros. Make the code more readable and
          easier to optmize for gcc. Thanks to David for the
          suggestion.

        - Added extra safety checks on pfm_context_load() to verify
          that the task actually exists.

        - The default sampling format module now supports the
          fmt_restart_active callbacks. Patch from David.

23 years agoPPC32: Add Magic SysRq support to the MPC8260 platforms.
Tom Rini [Thu, 21 Aug 2003 08:26:49 +0000 (01:26 -0700)]
PPC32: Add Magic SysRq support to the MPC8260 platforms.
From Wade Farnsworth <wfarnsworth@mvista.com>.

23 years agoMerge bk://kernel.bkbits.net//home/mochel/linux-2.5-power
Linus Torvalds [Thu, 21 Aug 2003 08:14:26 +0000 (01:14 -0700)]
Merge bk://kernel.bkbits.net//home/mochel/linux-2.5-power
into home.osdl.org:/home/torvalds/v2.5/linux

23 years agoMerge bk://cifs.bkbits.net/linux-2.5cifs
Linus Torvalds [Thu, 21 Aug 2003 08:13:11 +0000 (01:13 -0700)]
Merge bk://cifs.bkbits.net/linux-2.5cifs
into home.osdl.org:/home/torvalds/v2.5/linux

23 years agoremove spurious logging of message on "create if file does not exist" case (without...
Steve French [Thu, 21 Aug 2003 09:44:51 +0000 (02:44 -0700)]
remove spurious logging of message on "create if file does not exist" case (without O_EXCL) when file exists

23 years agoPPC32: A number of minor KGDB fixes and tweaks.
Tom Rini [Thu, 21 Aug 2003 08:10:44 +0000 (01:10 -0700)]
PPC32: A number of minor KGDB fixes and tweaks.

23 years ago[NET]: Make sure interval member of struct tc_estimator is signed.
Michel Dänzer [Thu, 21 Aug 2003 08:09:09 +0000 (01:09 -0700)]
[NET]: Make sure interval member of struct tc_estimator is signed.

23 years agoretry socket write on EAGAIN. Fix oops in write when tcp session dead.
Steve French [Thu, 21 Aug 2003 08:08:44 +0000 (01:08 -0700)]
retry socket write on EAGAIN.  Fix oops in write when tcp session dead.

23 years agoPPC32: Fix a warning in the 'mktree' boot util.
Tom Rini [Thu, 21 Aug 2003 08:00:49 +0000 (01:00 -0700)]
PPC32: Fix a warning in the 'mktree' boot util.

23 years ago[IPV6]: Fix dangling multicast device references.
David S. Miller [Thu, 21 Aug 2003 07:50:53 +0000 (00:50 -0700)]
[IPV6]: Fix dangling multicast device references.

When addrconf_ifdown() calls ipv6_mc_destroy_dev(), it has NULL'd
out dev->ip6_ptr, which means all in6_dev_get() calls will fail.
So pass an explicit idev into ipv6_dev_mc_dec() in this case so
that we don't leak the all-nodes multicast address reference to the
idev.

23 years ago[cpufreq] Update resume method.
Patrick Mochel [Thu, 21 Aug 2003 07:19:31 +0000 (00:19 -0700)]
[cpufreq] Update resume method.

From Dominik Brodowski.

- Can simplify, since the policy is already known, and we only need to kick
  the CPU.

- Make sure we set the right method in the sysdev driver.

23 years ago[apm] Fix calls to device_{suspend,resume}
Patrick Mochel [Thu, 21 Aug 2003 07:15:20 +0000 (00:15 -0700)]
[apm] Fix calls to device_{suspend,resume}

23 years ago[power] Fix typo.
Patrick Mochel [Thu, 21 Aug 2003 07:12:23 +0000 (00:12 -0700)]
[power] Fix typo.

23 years agoMerge samba.org:/stuff/paulus/kernel/linux-2.5
Paul Mackerras [Thu, 21 Aug 2003 06:53:35 +0000 (16:53 +1000)]
Merge samba.org:/stuff/paulus/kernel/linux-2.5
into samba.org:/stuff/paulus/kernel/for-linus-ppc

23 years agoMerge bk://kernel.bkbits.net/davem/net-2.5
Linus Torvalds [Thu, 21 Aug 2003 05:56:09 +0000 (22:56 -0700)]
Merge bk://kernel.bkbits.net/davem/net-2.5
into home.osdl.org:/home/torvalds/v2.5/linux

23 years ago[power] Update documentation.
Patrick Mochel [Thu, 21 Aug 2003 05:49:17 +0000 (22:49 -0700)]
[power] Update documentation.

23 years ago[power] Fix locking in device_{suspend,resume}
Patrick Mochel [Thu, 21 Aug 2003 05:48:57 +0000 (22:48 -0700)]
[power] Fix locking in device_{suspend,resume}

We don't need to protect against multiple suspend calls, since subsequent
ones will happen on an empty (or at worst - short) list.

23 years agoMerge osdl.org:/home/mochel/src/kernel/linux-2.5-virgin
Patrick Mochel [Thu, 21 Aug 2003 05:27:06 +0000 (22:27 -0700)]
Merge osdl.org:/home/mochel/src/kernel/linux-2.5-virgin
into osdl.org:/home/mochel/src/kernel/linux-2.5-power

23 years agoMerge tiger.hpl.hp.com:/data1/bk/vanilla/linux-2.5
David Mosberger [Thu, 21 Aug 2003 05:24:49 +0000 (22:24 -0700)]
Merge tiger.hpl.hp.com:/data1/bk/vanilla/linux-2.5
into tiger.hpl.hp.com:/data1/bk/lia64/to-linus-2.5

23 years ago[acpi] Make a dummy mp_congig_ioapic_for_sci() function.
Patrick Mochel [Thu, 21 Aug 2003 05:02:33 +0000 (22:02 -0700)]
[acpi] Make a dummy mp_congig_ioapic_for_sci() function.

23 years agoMerge http://linux-sound.bkbits.net/linux-sound
Linus Torvalds [Thu, 21 Aug 2003 04:58:51 +0000 (21:58 -0700)]
Merge http://linux-sound.bkbits.net/linux-sound
into home.osdl.org:/home/torvalds/v2.5/linux

23 years ago[power] Make swsusp-only mm functions available when CONFIG_PM=y
Patrick Mochel [Thu, 21 Aug 2003 04:57:54 +0000 (21:57 -0700)]
[power] Make swsusp-only mm functions available when CONFIG_PM=y

Calls were moved to the PM core, so they must be compiled in to use them.

23 years ago[dmi] Ugh, fixup broken merge once and for all.
Patrick Mochel [Thu, 21 Aug 2003 04:56:44 +0000 (21:56 -0700)]
[dmi] Ugh, fixup broken merge once and for all.

- Didn't realize that mount_root_failed_msg() had been removed, so it was
  accidentally merged back in. It's gone again now, as well as the entire
  (unused) dmi_dump_system() function.

23 years ago[PATCH] remove cramfs maintainership
Jörn Engel [Thu, 21 Aug 2003 04:51:48 +0000 (21:51 -0700)]
[PATCH] remove cramfs maintainership

Dan hasn't been maintaining cramfs for some time.

Mark it orphan until somebody else takes it up.

23 years ago[power] Make sure MTRR uses right methods in sysdev_driver.
Patrick Mochel [Thu, 21 Aug 2003 04:48:21 +0000 (21:48 -0700)]
[power] Make sure MTRR uses right methods in sysdev_driver.

23 years ago[power] Fixup device suspend/resume function names.
Patrick Mochel [Thu, 21 Aug 2003 04:47:37 +0000 (21:47 -0700)]
[power] Fixup device suspend/resume function names.

- Revert names of functions back to device_{suspend,resume} since at least
  APM are still using them.

23 years agoMerge bk://kernel.bkbits.net/gregkh/linux/pci-2.6
Linus Torvalds [Thu, 21 Aug 2003 04:16:06 +0000 (21:16 -0700)]
Merge bk://kernel.bkbits.net/gregkh/linux/pci-2.6
into home.osdl.org:/home/torvalds/v2.5/linux

23 years agoHand Merge
Patrick Mochel [Thu, 21 Aug 2003 04:15:47 +0000 (21:15 -0700)]
Hand Merge

23 years ago[PATCH] keep cramfs silent, when it ought to be
Jörn Engel [Thu, 21 Aug 2003 04:15:42 +0000 (21:15 -0700)]
[PATCH] keep cramfs silent, when it ought to be

This removes the pointless cramfs message when booting with cramfs
compiled in but not as the root filesystem.

23 years agoMerge osdl.org:/home/mochel/src/kernel/linux-2.5-virgin
Patrick Mochel [Thu, 21 Aug 2003 04:01:44 +0000 (21:01 -0700)]
Merge osdl.org:/home/mochel/src/kernel/linux-2.5-virgin
into osdl.org:/home/mochel/src/kernel/linux-2.5-power