]> git.hungrycats.org Git - linux/log
linux
20 years agoLinux 2.6.8-rc3 v2.6.8-rc3
Linus Torvalds [Tue, 3 Aug 2004 07:11:41 +0000 (00:11 -0700)]
Linux 2.6.8-rc3

20 years ago[PATCH] ppc64: Start the FCU in therm_pm72.c
Benjamin Herrenschmidt [Tue, 3 Aug 2004 03:42:46 +0000 (20:42 -0700)]
[PATCH] ppc64: Start the FCU in therm_pm72.c

Some G5 recent powermacs start with the fan control unit (FCU) disabled,
by the firmware, causing the thermal control driver to break. We have to
enable it before starting the feedback loops that set the fan speeds.
This patch adds the code to start the FCU.

Signed-off-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] ppc32: Fix problem with spurrious edge interrupts on old
Benjamin Herrenschmidt [Mon, 2 Aug 2004 17:50:08 +0000 (10:50 -0700)]
[PATCH] ppc32: Fix problem with spurrious edge interrupts on old

On old powermacs, it's possible that we get a stale edge interrupt when
doing request_irq(), that typically happens with the DBDMA controller
interrupts when the device was used by the firmware for booting.

I just tracked down a nasty memory corruption problem where that was
causing the bmac driver to try to process packets before the driver
internal data structures were properly initialized.

While I agree that the driver should (and will) be made more robust to
such things, Paulus and I decided that it makes little sense to keep
track of an "old" edge interrupt that happens before a driver does
request_irq.  (On those powermacs, those are only the DBDMA interrupts
anyway, and none of the DBDMA users will care).

This patch implements a "startup" handler for the old Apple PIC that
will "ack" pending edge interrupts before unmasking, thus preventing
those stale interrupts to be delivered.

It also "fixes" the ppc32 irq core to call the startup() callback when
available instead of just calling enable().

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] bio_copy_user() cleanups and fixes
Jens Axboe [Mon, 2 Aug 2004 16:29:20 +0000 (09:29 -0700)]
[PATCH] bio_copy_user() cleanups and fixes

blk_rq_map_user() is a bit of a hack currently, since it drops back to
kmalloc() if bio_map_user() fails.  This is unfortunate since it means we
do no real segment or size checking (and the request segment counts contain
crap, already found one bug in a scsi lld).  It's also pretty nasty for >
PAGE_SIZE requests, as we attempt to do higher order page allocations.
Even worse still, ide-cd will drop back to PIO for non-sg/bio requests.
All in all, very suboptimal.

This patch adds bio_copy_user() which simply sets up a bio with kernel
pages and copies data as needed for reads and writes.  It also changes
bio_map_user() to return an error pointer like bio_copy_user(), so we can
return something sane to the user instead of always -ENOMEM.

Signed-off-by: Jens Axboe <axboe@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years agoMerge bk://kernel.bkbits.net/davem/net-2.6
Linus Torvalds [Mon, 2 Aug 2004 12:53:58 +0000 (05:53 -0700)]
Merge bk://kernel.bkbits.net/davem/net-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

20 years ago[PATCH] ppc32: fix e500 SPE saving of context
Kumar Gala [Mon, 2 Aug 2004 12:53:21 +0000 (05:53 -0700)]
[PATCH] ppc32: fix e500 SPE saving of context

Fix the fact that we were not the signal processing engine status and
control register (SPEFSCR) on giveup_spe.  Causes problems when the kernel
tries to read or modify the SPEFSCR.

Signed-off-by: Kumar Gala <kumar.gala@freescale.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[TCP]: BIC tcp congestion calculation timestamp
Stephen Hemminger [Mon, 2 Aug 2004 10:05:45 +0000 (03:05 -0700)]
[TCP]: BIC tcp congestion calculation timestamp

Small change to bictcp based on the BIC 1.1 patches for web100.
Keep track of last time congestion was computed, and recompute
if cwnd changes or every 1/32 of a second.

Also changes the initialization location for the parameters.

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: David S. Miller <davem@redhat.com>
20 years ago[IPSEC]: Move xfrm[46]_tunnel_check_size into xfrm[46]_output.c
Herbert Xu [Mon, 2 Aug 2004 10:04:02 +0000 (03:04 -0700)]
[IPSEC]: Move xfrm[46]_tunnel_check_size into xfrm[46]_output.c

This patch moves xfrm[46]_tunnel_check_size() into xfrm[46]_output.c
where it can be made static since it's only used there.

While moving the icmp.h inclusions over I also discovered that the
tunnel files are missing an inclusion of net/protocol.h.  So I've
added them as well.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@redhat.com>
20 years ago[IPSEC]: Remove unnecessary inet_ecn.h inclusions
Herbert Xu [Mon, 2 Aug 2004 09:58:10 +0000 (02:58 -0700)]
[IPSEC]: Remove unnecessary inet_ecn.h inclusions

This is a couple of clean-ups stemming from the xfrm_output change.

I should've removed the inet_ecn.h inclusions in that change as the
ECN code has been moved to xfrm[46]_output.c.  This patch does exactly
that.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@redhat.com>
20 years ago[IPV6]: Trivial fix for ipv6_addr_hash()
Ralph Loader [Mon, 2 Aug 2004 09:56:51 +0000 (02:56 -0700)]
[IPV6]: Trivial fix for ipv6_addr_hash()

ipv6_addr_hash doesn't do what it's comment says.  The comment was
probably what was intended, not that it'll make much difference in
practice.

Signed-off-by: Ralph Loader <suckfish@ihug.co.nz>
Signed-off-by: Yoshifuji Hideaki <yoshfuji@linux-ipv6.org>
Signed-off-by: David S. Miller <davem@redhat.com>
20 years ago[BRIDGE]: Build fix for gcc-2.95.x
Andrew Morton [Mon, 2 Aug 2004 09:55:00 +0000 (02:55 -0700)]
[BRIDGE]: Build fix for gcc-2.95.x

gcc-2.95.c does not support anonymous unions.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: David S. Miller <davem@redhat.com>
20 years agoMerge nuts.davemloft.net:/disk1/BK/network-2.6
David S. Miller [Mon, 2 Aug 2004 09:49:35 +0000 (02:49 -0700)]
Merge nuts.davemloft.net:/disk1/BK/network-2.6
into nuts.davemloft.net:/disk1/BK/net-2.6

20 years ago[PATCH] FAT: kill nls default
Hirofumi Ogawa [Mon, 2 Aug 2004 07:01:50 +0000 (00:01 -0700)]
[PATCH] FAT: kill nls default

Previously, fatfs was using NLS_DEFAULT if users didn't specify the
codepage or iocharset option.  This became cause of trouble (filename
access).

This patch removes the complicated default config in kernel.

Instead of it, by default, fatfs uses builtin nls ("default"), also reports
it and mounts as read-only.  This default will limit the access more or
less.  Note: If peoples want to write on this default, it still can switch
by remount.

Therefore, basically users will need to specify mount options always.
("codepage" for msdos, and "codepage" and "iocharset" for vfat) However, it
can be done simply by script or shell alias or something else in userland.

Thanks to Andries Brouwer for your many advice.

Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] Off-by-one error for SIGXCPU / RLIMIT_CPU checking
Michael Kerrisk [Mon, 2 Aug 2004 03:31:12 +0000 (20:31 -0700)]
[PATCH] Off-by-one error for SIGXCPU / RLIMIT_CPU checking

There is a lonstanding off-by-one error that results from an incorrect
comparison when checking whether a process has consumed CPU time in
excess of its RLIMIT_CPU limits.

This means, for example, that if we use setrlimit() to set the soft CPU
limit (rlim_cur) to 5 seconds and the hard limit (rlim_max) to 10 seconds,
then the process only receives a SIGXCPU signal after consuming 6 seconds
of CPU time, and, if it continues consuming CPU after handling that
signal, only receives SIGKILL after consuming 11 seconds of CPU time.

The fix is trivial.

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] ISDN Eicon driver: use msleep()
Armin Schindler [Mon, 2 Aug 2004 03:30:45 +0000 (20:30 -0700)]
[PATCH] ISDN Eicon driver: use msleep()

Author: Armin Schindler, Nishanth Aravamudan

Use kernel provided msleep() instead of own sleep
implementation.

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] fix cdrom cdda rip single frame dma fall back
Jens Axboe [Mon, 2 Aug 2004 03:16:52 +0000 (20:16 -0700)]
[PATCH] fix cdrom cdda rip single frame dma fall back

There's a stupid error in the fall back logic, it fails to increment the
user pointer so the wave file is corrupt. We should also clear
last_sense just to be sure.

Signed-off-by: Jens Axboe <axboe@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] nsf4 oops fixes
Steve Dickson [Mon, 2 Aug 2004 03:15:19 +0000 (20:15 -0700)]
[PATCH] nsf4 oops fixes

Here are some oops I found in error paths in the mounting pathes while
debugging something else...  I sent it out a while ago, but it didn't seem
to get any traction....

The nfs_fill_super() fix is obvious and in nfs4_fill_super(), the
server->client ptr needs to be set before the cl_idmap check, since
rpc_shutdown_client() needs it when the check fails.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] Remove symbol_is()
Brian Gerst [Mon, 2 Aug 2004 03:15:07 +0000 (20:15 -0700)]
[PATCH] Remove symbol_is()

Remove the unused symbol_is() macro.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] Canonically reference files in Documentation/ code comments part
Adrian Bunk [Mon, 2 Aug 2004 03:14:55 +0000 (20:14 -0700)]
[PATCH] Canonically reference files in Documentation/ code comments part

Below is a patch by Hans Ulrich Niedermann
<linux-kernel@n-dimensional.de> to change all references in comments to
files in Documentation/ to start with Documentation/

Signed-off-by: Adrian Bunk <bunk@fs.tum.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] remove outdated reference to Documentation/arm/SA1100/PCMCIA
Adrian Bunk [Mon, 2 Aug 2004 03:14:39 +0000 (20:14 -0700)]
[PATCH] remove outdated reference to Documentation/arm/SA1100/PCMCIA

This file does not exist in 2.6.

Signed-off-by: Adrian Bunk <bunk@fs.tum.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] HPET copyrights, cleanup
Bjorn Helgaas [Mon, 2 Aug 2004 03:14:28 +0000 (20:14 -0700)]
[PATCH] HPET copyrights, cleanup

This patch
- adds copyright and license info
- changes sense of mmap config option (setting option enables mmap
  instead of disabling it, to avoid the double negative)
- removes an #ifdef CONFIG_IA64 now that acpi_register_gsi()
  is generic.

Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] Documentation fix for NMI watchdog
Andi Kleen [Mon, 2 Aug 2004 03:14:16 +0000 (20:14 -0700)]
[PATCH] Documentation fix for NMI watchdog

Sync nmi_watchdog.txt with reality on x86-64.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] DVB: "errno" undefined
Arnd Bergmann [Mon, 2 Aug 2004 03:14:04 +0000 (20:14 -0700)]
[PATCH] DVB: "errno" undefined

Actually, the problem has its origin in my removal of all in-kernel
syscalls (except execve, which is non-trivial) earlier this year.  This
change was blindly reverted by the maintainer, while at the same time the
local errno variable was removed.  See also
http://linux.bkbits.net:8080/linux-2.5/hist/drivers/media/dvb/frontends/tda=
1004x.c

This patch is the one that was already merged earlier.  I'm now also
removing the definitions for the kernel syscalls on i386 to make it harder
to reintroduce them again.  This was already done for ppc64, the others
should probably follow.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] PPC8xx Maintainer patch
Paul Mackerras [Mon, 2 Aug 2004 03:13:52 +0000 (20:13 -0700)]
[PATCH] PPC8xx Maintainer patch

Tom is looking after PPC8xx and the PPC boot code.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] Fix modular anscd
Christoph Hellwig [Mon, 2 Aug 2004 03:13:41 +0000 (20:13 -0700)]
[PATCH] Fix modular anscd

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] modular swim3
Christoph Hellwig [Mon, 2 Aug 2004 03:13:29 +0000 (20:13 -0700)]
[PATCH] modular swim3

ACKed by the pmac folks a while ago.  Also moves the Kconfig entry to where
it belongs.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] fdomain_cs ISA fix
Alan Cox [Mon, 2 Aug 2004 03:13:18 +0000 (20:13 -0700)]
[PATCH] fdomain_cs ISA fix

Revert the recent fdomain_cs config dependency "fix" and fix the linkage
error with ifdeffery instead.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] MAINTAINERS update
Maciej W. Rozycki [Mon, 2 Aug 2004 03:13:08 +0000 (20:13 -0700)]
[PATCH] MAINTAINERS update

Maciej has moved.

Signed-off-by: Maciej W. Rozycki <macro@linux-mips.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] rename CONFIG_PCI_USE_VECTOR to CONFIG_PCI_MSI
Bjorn Helgaas [Mon, 2 Aug 2004 03:12:56 +0000 (20:12 -0700)]
[PATCH] rename CONFIG_PCI_USE_VECTOR to CONFIG_PCI_MSI

The "vector" terminology is architecture-dependent.  The PCI MSI interface
actually deals with Linux IRQ numbers (i.e., things you can pass to
request_irq()), and we shouldn't confuse things by calling them "vectors" just
because we're using MSI rather than an IOSAPIC.

Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] MSI: MSI/MSI-X API updates
Roland Dreier [Mon, 2 Aug 2004 03:12:44 +0000 (20:12 -0700)]
[PATCH] MSI: MSI/MSI-X API updates

Second half of MSI rewrite: fix the API and update documentation.  Split
enabling MSI and MSI-X to separate pci_enable_msi()/pci_disable_msi() and
pci_enable_msix()/pci_disable_msix() functions.  free_irq() no longer has
the side effect of freeing interrupt vectors (so a device driver can do
multiple request_irq()/free_irq() cycles on the same MSI/MSI_X vector).

From: Tom L. Nguyen <tom.l.nguyen@intel.com>
Signed-off-by: Roland Dreier <roland@topspin.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] MSI: stop using dev->bus->ops directly in msi.c
Roland Dreier [Mon, 2 Aug 2004 03:12:32 +0000 (20:12 -0700)]
[PATCH] MSI: stop using dev->bus->ops directly in msi.c

First half of the MSI rewrite: pure cleanup.  Use proper
pci_read_config_xxx() and pci_write_config_xxx() functions instead of
accessing raw dev->bus->ops.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] quieten down per-zone memory stats
Jesse Barnes [Mon, 2 Aug 2004 03:12:21 +0000 (20:12 -0700)]
[PATCH] quieten down per-zone memory stats

On a system with a lot of nodes, 4 lines of output per node is a lot to
have to sit through as the system comes up, especially if you're on the
other end of a slow serial link.  The information is valuable though, so
keep it around for the system logger.  This patch makes the printks for the
memory stats use KERN_DEBUG instead of the default loglevel.

Signed-off-by: Jesse Barnes <jbarnes@sgi.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] Fix menuconfig partial inability to show help texts.
Alexey Dobriyan [Mon, 2 Aug 2004 03:12:09 +0000 (20:12 -0700)]
[PATCH] Fix menuconfig partial inability to show help texts.

Fix menuconfig inability to show help texts when there is menu item with
letter "H" highlighted on the screen.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] oom-killer: call show_free_areas
Andrew Morton [Mon, 2 Aug 2004 03:11:57 +0000 (20:11 -0700)]
[PATCH] oom-killer: call show_free_areas

Change the oom-killer so that it spits a sysrq-m output into the logs, and
shows the gfp_mask of the failing allocation attempt.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] ppc32: support for MPC8555 CPU and board
Kumar Gala [Mon, 2 Aug 2004 03:11:45 +0000 (20:11 -0700)]
[PATCH] ppc32: support for MPC8555 CPU and board

The following patch adds completes the CPU support for the MPC8555 PowerPC.
 Additionally, it adds support for the MPC8555 CDS reference board.  This
is another PowerPC in the Freescale MPC85xx family.

* Add support for MPC8555 CPU and reference board

Signed-off-by: Kumar Gala <kumar.gala@freescale.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] ppc32: Support for MPC8560 CPU and boards
Kumar Gala [Mon, 2 Aug 2004 03:11:33 +0000 (20:11 -0700)]
[PATCH] ppc32: Support for MPC8560 CPU and boards

The following patch adds completes the CPU support for the MPC8560 PowerPC.
 Additionally, it adds support for the MPC8560 ADS reference board and
fixes up some build issues with the SBC8560 board.

Signed-off-by: Kumar Gala <kumar.gala@freescale.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] ppc64: remove #include processor.h from div64.S
David Gibson [Mon, 2 Aug 2004 03:11:20 +0000 (20:11 -0700)]
[PATCH] ppc64: remove #include processor.h from div64.S

This patch removes a redundant #include of processor.h from
arch/ppc64/boot/div64.S.  I came across this because, at least with the
binutils versions I have currently installed, the 32-bit assembler used for
the bootstrap code objects to the // comments that recently went into
processor.h.

Signed-off-by: David Gibson <dwg@au.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] ppc64: improve SLB reload
Paul Mackerras [Mon, 2 Aug 2004 03:11:09 +0000 (20:11 -0700)]
[PATCH] ppc64: improve SLB reload

Rewrite/cleanup of the SLB management code.  This removes nearly all the
SLB related code from arch/ppc64/kernel/stab.c and puts a rewritten version
in arch/ppc64/mm, where it better belongs.  The main SLB miss path is in
assembler and the other routines have been cleaned up and streamlined.

Notable changes:

- Ugly bitfields no longer used for generating SLB entries.

- slb_allocate() (the main SLB miss routine) is now in assembler, and all
  the data it uses is stored in the PACA.

- The mm context is now copied into the PACA at context switch time, to
  avoid looking up the thread struct on SLB miss.

- An SLB miss will now never (directly) result in a call to
  do_page_fault.  If we get a miss on a totally bogus address the handler
  will now put in an SLB referencing VSID 0.  This will never have any
  pages, so we'll get the (fatal) page fault shortly afterwards.  This
  simplifies the SLB entry and exit paths.

- The round-robin pointer in the PACA now references the last-used
  instead of next-to-use SLB slot, which simplifies the asm for updating it
  slightly.

- Unify do_slb_bolted with the general SLB miss path.  There is now one
  SLB miss handler, in assembler, and called with only the low-level
  exception prolog (EXCEPTION_PROLOG_[PI]SERIES rather than
  EXCEPTION_PROLOG_COMMON) and minimal extra save/restore logic.

- Streamlines the exception entry/exit path of the SLB miss handler to
  shave a few cycles off.  The most significant change is that the RI bit
  is left off throughout the whole handler, which avoids an extra mtmsrd to
  turn it back off on the exit path.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] ppc64: Fix cpu_up race
Srivatsa Vaddagiri [Mon, 2 Aug 2004 03:10:56 +0000 (20:10 -0700)]
[PATCH] ppc64: Fix cpu_up race

Patch below fixes a cpu_up race in PPC64.

Signed-off-by: Srivatsa Vaddagiri <vatsa@in.ibm.com>
Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] ppc64: fix hotplug irq migration code
Anton Blanchard [Mon, 2 Aug 2004 03:10:45 +0000 (20:10 -0700)]
[PATCH] ppc64: fix hotplug irq migration code

In migrate_irqs_away we werent converting a virtual irq to a real one.  We
ended up passing the wrong irq numbers to the hypervisor and migration of
affinitised irqs on cpu hot unplug didnt work.

Also clarify the rtas_stop_self printk.

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] ppc64: fix RAS irq handlers
David Gibson [Mon, 2 Aug 2004 03:10:34 +0000 (20:10 -0700)]
[PATCH] ppc64: fix RAS irq handlers

Both arch/ppc64/kernel/ras.c and arch/ppc64/kernel/rtasd.c have a spinlock
variable declared static called "log_lock".  Since the code in these files
interact quit a lot, having two different locks with identical names is
manifestly confusing.  This patch renames both locks to something a little
clearer.  In the case of ras.c it also renames the buffer protected by the
lock to a more usefullly greppable name.

Signed-off-by: David Gibson <dwg@au.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] ppc64: ISA device tree node refcount fix
Paul Mackerras [Mon, 2 Aug 2004 03:10:22 +0000 (20:10 -0700)]
[PATCH] ppc64: ISA device tree node refcount fix

Moves a misplaced of_node_put().  In the existing code, the node in
question is used just after its refcount is decremented.

Signed-off-by: John Rose <johnrose@austin.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] ppc64: struct pci_controller cleanup
John Rose [Mon, 2 Aug 2004 03:10:10 +0000 (20:10 -0700)]
[PATCH] ppc64: struct pci_controller cleanup

The patch below removes the unused member "pci_io_offset" from struct
pci_controller.  If there are no problems, please apply.

Signed-off-by: John Rose <johnrose@austin.ibm.com>
Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] ppc64: fix off-by-one in mem_init()
Dave Hansen [Mon, 2 Aug 2004 03:09:59 +0000 (20:09 -0700)]
[PATCH] ppc64: fix off-by-one in mem_init()

lmb_end_of_DRAM() returns the address of the end of RAM, not the starting
address of the last page.  We've been accessing mem_map[] out of bounds for
quite a while.  But, it's just a read, so it's probably never caused a real
problem.

But, during my port of CONFIG_NONLINEAR to ppc64, I have a check to make
sure that all __va() calls are given with valid physical addresses.  This
code tripped that check.

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] ppc64: __make_room() warning fix
Dave Hansen [Mon, 2 Aug 2004 03:09:48 +0000 (20:09 -0700)]
[PATCH] ppc64: __make_room() warning fix

arch/ppc64/kernel/prom.c: In function `__make_room':
arch/ppc64/kernel/prom.c:1415: warning: unused variable `offset'

Signed-off-by: Dave Hansen <haveblue@us.ibm.com>
Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] Fix BSD accounting cross-platform compatibility
Tim Schmielau [Mon, 2 Aug 2004 03:09:36 +0000 (20:09 -0700)]
[PATCH] Fix BSD accounting cross-platform compatibility

BSD accounting cross-platform compatibility is a new feature of 2.6.8 and
thus not crucial, but it'd be nice not to have kernels writing wrong file
formats out in the wild.

The endianness detection logic I wanted to suppose for userspace turned out
to be bogus.  So just do it the simple way and store endianness info
together with the version number.

Signed-off-by: Tim Schmielau <tim@physik3.uni-rostock.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] sched: use for_each_cpu
Anton Blanchard [Mon, 2 Aug 2004 03:09:24 +0000 (20:09 -0700)]
[PATCH] sched: use for_each_cpu

The per cpu schedule counters need to be summed up over all possible cpus.
When testing hotplug cpu remove I saw the sum of the online cpu count for
nr_uninterruptible go negative which made the load average go nuts.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] ppc32: Workaround new MPC745x CPU erratas
Benjamin Herrenschmidt [Sun, 1 Aug 2004 13:43:47 +0000 (06:43 -0700)]
[PATCH] ppc32: Workaround new MPC745x CPU erratas

The latest versions of Motorola erratas for the MPC745x CPUs (and 744x)
adds a couple of nasty ones for which we really want workarounds in the
kernel. One is to disable the BTIC branch target cache on some revs
(too bad for performances...) and the other one is to force cacheable
memory pages to always be marked as SMP coherent even on UP systems (I
didn't measure significant perfs impact with this one).

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years agoMerge bk://kernel.bkbits.net/davem/tg3-2.6
Linus Torvalds [Sun, 1 Aug 2004 12:14:25 +0000 (05:14 -0700)]
Merge bk://kernel.bkbits.net/davem/tg3-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

20 years ago[NETFILTER]: Fix compilation of ip_nat_snmp_basic.c
Harald Welte [Sun, 1 Aug 2004 12:13:24 +0000 (05:13 -0700)]
[NETFILTER]: Fix compilation of ip_nat_snmp_basic.c

Please sumbit before 2.6.8-final, this just moves some code in order to
make gcc happy.

Thanks!

Signed-off-by: Adrian Bunk <bunk@fs.tum.de>
Signed-off-by: Harald Welte <laforge@netfilter.org>
Signed-off-by: David S. Miller <davem@redhat.com>
20 years ago[NET]: Update NET_SCH_NETEM Kconfig help text.
Adrian Bunk [Sun, 1 Aug 2004 12:10:04 +0000 (05:10 -0700)]
[NET]: Update NET_SCH_NETEM Kconfig help text.

Signed-off-by: Adrian Bunk <bunk@fs.tum.de>
Signed-off-by: David S. Miller <davem@redhat.com>
20 years agoMerge conflicts.
David S. Miller [Sun, 1 Aug 2004 11:46:07 +0000 (04:46 -0700)]
Merge conflicts.

20 years agoMerge bk://gkernel.bkbits.net/net-drivers-2.6
Linus Torvalds [Sun, 1 Aug 2004 11:40:22 +0000 (04:40 -0700)]
Merge bk://gkernel.bkbits.net/net-drivers-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

20 years ago[PATCH] ethtool_get_regs copy right number of bytes to user
Chris Wright [Sun, 1 Aug 2004 10:57:26 +0000 (06:57 -0400)]
[PATCH] ethtool_get_regs copy right number of bytes to user

If regs.len is smaller than reglen it's possible to copy more bytes out
than the user asked for.

Signed-off-by: Chris Wright <chrisw@osdl.org>
20 years agoMerge bk://kernel.bkbits.net/davem/net-2.6
Linus Torvalds [Sun, 1 Aug 2004 03:44:04 +0000 (20:44 -0700)]
Merge bk://kernel.bkbits.net/davem/net-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

20 years ago[CRYPTO]: Add i586 optimized AES
James Morris [Sat, 31 Jul 2004 16:49:12 +0000 (09:49 -0700)]
[CRYPTO]: Add i586 optimized AES

Below is an updated version of patch from Fruhwirth which integrates the
Gladman AES code into the crypto API.

I've tried to ensure that this is done as simply as possible: the user
gets the asm version by default if it's suitable.

I've also now added the alternate GPL licensing provided by Brian Gladman,
and licensed the code as GPL.

Signed-off-by: James Morris <jmorris@redhat.com>
Signed-off-by: David S. Miller <davem@redhat.com>
20 years ago[IPSEC]: Fix UDP decap code.
Bert Hubert [Sat, 31 Jul 2004 16:41:30 +0000 (09:41 -0700)]
[IPSEC]: Fix UDP decap code.

The missing break causes the packet to be tested against
both encapsulation types, one will always fail.

Signed-off-by: bert hubert <ahu@ds9a.nl>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@redhat.com>
20 years ago[PF_KEY]: spirange should be in host byte order.
Herbert Xu [Sat, 31 Jul 2004 16:39:29 +0000 (09:39 -0700)]
[PF_KEY]: spirange should be in host byte order.

I'm looking through the xfrm_alloc_spi stuff and noticed that the
netlink alloc_spi function takes the range in host order while the
PFKEY alloc_spi function takes them in network order.

First I thought that I stuffed up since I was the one who changed
the code in the netlink interface to take them in host order :)

But reading RFC 2367 seems to indicate otherwise.  It says that all
fields are host order unless specified otherwise.  And the spirange
fields are not specified to be network order at all.

Looking at the existing PFKEY users:

User Space
----------
Openswan - Doesn't use PFKEY for this.
Racoon - Puts zeros in there so it doesn't care.  However its test-pfkey
 program stores things in host order.
ISAKMPD - Stores things in host order.

So the conclusion is that we can and should change our PFKEY
implementation to use host order for these fields.

This patch does exactly that.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@redhat.com>
20 years ago[IPSEC]: xfrm_alloc_spi always succeeds on non-trivial range
Herbert Xu [Sat, 31 Jul 2004 16:33:16 +0000 (09:33 -0700)]
[IPSEC]: xfrm_alloc_spi always succeeds on non-trivial range

xfrm_alloc_spi will always succeed if minspi < maxspi, even if
minspi + 1 == maxspi.  If the range is already occupied this
will obviously lead to breakage.

Of course this is very unlikely to occur in reality due to the
size of the range.  Although with IPCOMP it might actually happen
on a very large server.

The fix is obivous.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@redhat.com>
20 years ago[IPSEC]: Remove redundant check in xfrm_state_add()
Herbert Xu [Sat, 31 Jul 2004 16:30:00 +0000 (09:30 -0700)]
[IPSEC]: Remove redundant check in xfrm_state_add()

This is the patch referred to in the netlink_get_spi thread.

I was actually wrong about the reason for this patch though.  Firstly
it's the SPI check that is redundant and not the find_acq() call.
And it's redundant because of the find_acq() patch, not because
of the fact that this is in xfrm_state_add().

Now that find_acq() only returns SAs with SPIs, we don't need to
check this in xfrm_state_add() anymore.

We do still need the call though to clean up leftover larval states.

Another side-effect of the change is that we can move the existence
check above find_acq() since find_acq() will never return any SAs
matching the SPI we're trying to add (It doesn't need to because if
an SA with a matching SPI existed, it would've been returned by
state_lookup() already).

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@redhat.com>
20 years ago[IPSEC]: Fix SPI generation by netlink_get_spi()
Herbert Xu [Sat, 31 Jul 2004 16:28:27 +0000 (09:28 -0700)]
[IPSEC]: Fix SPI generation by netlink_get_spi()

The issue is that two successive calls to netlink_get_spi is returning
the same SA.  Since netlink_get_spi is meant to be a creation operation
this is incorrect.

The netlink_get_spi operation is modelled off the PFKEY SADB_GETSPI
command which is specified in RFC 2367.  The purpose of SADB_GETSPI
is to create a new larval SA that can then be filled in by SADB_UPDATE.

Its semantics does not allow two SADB_GETSPI calls to return the same
SA, even if there is no SADB_UPDATE call in between.

The reason the second netlink_get_spi is returning the same SA is
because in find_acq(), the code is looking at all larval states as
opposed to only larval states with an SPI of zero.

Since the only other caller of find_acq() -- xfrm_state_add() intentionally
ignores all return values with a non-zero SPI, it is safe to not look at
SAs with non-zero SPIs at all in find_acq().

The following patch does exactly that.

In fact, the find_acq() call in xfrm_state_add() is a remnant from
the days when we had xfrm_state_replace() instead of xfrm_state_add()
and xfrm_state_update().  It can now be safely removed.

I'll post a separate patch for that.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@redhat.com>
20 years agoMerge http://linux-mh.bkbits.net/bluetooth-2.6
David S. Miller [Sat, 31 Jul 2004 16:24:50 +0000 (09:24 -0700)]
Merge http://linux-mh.bkbits.net/bluetooth-2.6
into nuts.davemloft.net:/disk1/BK/net-2.6

20 years ago[Bluetooth] Fix resetting to default filters
Marcel Holtmann [Sat, 31 Jul 2004 20:32:50 +0000 (22:32 +0200)]
[Bluetooth] Fix resetting to default filters

The problem is that after a successful connection between the Windows
Bluetooth stack and the Linux Bluez stack, no packets from the device
ever reach the PC running Windows XP Service Pack 2. That is, a ping
from the PC never receives a response, and a ping from BlueZ never
reaches the PC. Linux packet statistics show that the PC packets are
received, but all return traffic seems to be routed over the loopback
interface.

Immediately after creating the BNEP connection with BlueZ, the Windows
Bluetooth stack sends a BNEP_FILTER_NET_TYPE_SET_MSG with an effective
length of zero. BlueZ interprets this message to mean that no filter
ranges should be allowed. The code zeros the first entry in the filter
list, which is than interpreted as meaning that no ranges of acceptable
packets are available. This interpretation is wrong and leads to all
packets being rejected by BNEP.

The Bluetooth BNEP specification clearly states the following:

The length (in octets) of this message is 4+4*N, where N is the number
of disjoint ranges of Networking protocol types that form the complete
set. Note that N=0 (empty set) denotes a reset to default filters (if
any) supported by the remote device.

Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
20 years agoMerge nuts.davemloft.net:/disk1/BK/network-2.6
David S. Miller [Sat, 31 Jul 2004 16:20:16 +0000 (09:20 -0700)]
Merge nuts.davemloft.net:/disk1/BK/network-2.6
into nuts.davemloft.net:/disk1/BK/net-2.6

20 years ago[Bluetooth] Send HCI_Reset for ISSC USB dongles
Marcel Holtmann [Sat, 31 Jul 2004 14:59:54 +0000 (16:59 +0200)]
[Bluetooth] Send HCI_Reset for ISSC USB dongles

For the USB dongles from ISSC the first command must be a HCI_Reset,
because otherwise the inquiry procedures won't work.

Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
20 years agoMerge bk://cifs.bkbits.net/linux-2.5cifs
Linus Torvalds [Sat, 31 Jul 2004 11:35:19 +0000 (04:35 -0700)]
Merge bk://cifs.bkbits.net/linux-2.5cifs
into ppc970.osdl.org:/home/torvalds/v2.6/linux

20 years ago[PATCH] PATCH: Fix HPT366 crash and support HPT372N
Alan Cox [Sat, 31 Jul 2004 11:34:32 +0000 (04:34 -0700)]
[PATCH] PATCH: Fix HPT366 crash and support HPT372N

On a board containing the HPT372N IDE controller the 2.6.x series kernels will
misbehave. If the HPT372N is set up with the newer PCI identifier it is
ignored. If it is set up with the HPT372 identifier then the kernel crashes
on boot.

This patch is a forward port of my 2.4 driver fixes that have been in 2.4
for a year but somehow escaped 2.6. Ronny Buchmann caught a couple
of merge details I missed and those are fixed in this diff too.

As well as adding 372N support this also fixes the unknown revision case
to avoid crashes should any future 37x variants with weird class_rev's appear

Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years agoMerge bk://linux.bkbits.net/linux-2.5
Steve French [Sat, 31 Jul 2004 10:12:18 +0000 (03:12 -0700)]
Merge bk://linux.bkbits.net/linux-2.5
into hostme.bitkeeper.com:/repos/c/cifs/linux-2.5cifs

20 years ago[CIFS] Update readme and todo lists for cifs vfs
Steve French [Sat, 31 Jul 2004 20:54:08 +0000 (15:54 -0500)]
[CIFS] Update readme and todo lists for cifs vfs

Signed-off-by: Steve French (sfrench@us.ibm.com)
20 years ago[PATCH] slab memory shrinking balancing fix
Andrew Morton [Sat, 31 Jul 2004 07:47:41 +0000 (00:47 -0700)]
[PATCH] slab memory shrinking balancing fix

The logic in shrink_slab tries to balance the proportion of slab which it
scans against the proportion of pagecache which the caller scanned.  Problem
is that with a large number of highmem LRU pages and a small number of lowmem
LRU pages, the amount of pagecache scanning appears to be very small, so we
don't push slab hard enough.

The patch changes things so that for, say, a GFP_KERNEL allocation attempt we
only consider ZONE_NORMAL and ZONE_DMA when calculating "what proportion of
the LRU did the caller just scan".

This will have the effect of shrinking slab harder in response to GFP_KERNEL
allocations than for GFP_HIGHMEM allocations.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] ppc32: fix compilation with binutils-2.15
Tom Rini [Sat, 31 Jul 2004 07:06:38 +0000 (00:06 -0700)]
[PATCH] ppc32: fix compilation with binutils-2.15

Currently, ppc32 will not always compile with binutils-2.15.  The issue
is that binutils has become even more strict about which opcodes can be
used with which CPU flags.  The problem is that we have a number of
cases where we compile with altivec instructions (with runtime checks to
make sure we can actually run them) in code that's not altivec specific.

The fix for this is to always pass in -maltivec on CONFIG_6xx.  To do
this cleanly, we split our AFLAGS definition up into
aflags-$(CONFIG_FOO).

Signed-off-by: Tom Rini <trini@kernel.crashing.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years agoMerge bk://linux-sam.bkbits.net/kbuild
Linus Torvalds [Sat, 31 Jul 2004 02:49:53 +0000 (19:49 -0700)]
Merge bk://linux-sam.bkbits.net/kbuild
into ppc970.osdl.org:/home/torvalds/v2.6/linux

20 years agoMerge bk://linux.bkbits.net/linux-2.5
Steve French [Sat, 31 Jul 2004 01:11:43 +0000 (18:11 -0700)]
Merge bk://linux.bkbits.net/linux-2.5
into hostme.bitkeeper.com:/repos/c/cifs/linux-2.5cifs

20 years ago[CIFS] remove sparse pointer warning
Steve French [Fri, 30 Jul 2004 16:10:05 +0000 (11:10 -0500)]
[CIFS] remove sparse pointer warning

Signed-off-by: Steve French (sfrench@us.ibm.com)
20 years ago[PATCH] sparse: misc cleanups
Alexander Viro [Fri, 30 Jul 2004 15:49:36 +0000 (08:49 -0700)]
[PATCH] sparse: misc cleanups

all sorts of minor stuff - basically, all chunks are independent here,
but IMO that one is not worth splitting.  Contains:
* pmac_cpufreq.c: declaration in the middle of a block.
* sys_ia32.c: couple of trivial annotations.
* ipmi_si_intf.c: should be using asm/irq.h instead of linux/irq.h
* synclink_cs.c: assignment-in-conditional with nobody ever looking
at the variable we are assigning to afterwards; variable removed.
* sbni.c: s/__volatile/__volatile__
* matroxfb_base.h: got rid of ((u32 *)p)++
* asm-ppc/checksum.h and asm-sparc64/floppy.h: NULL noise removal
* amd64 compat.h: missing L in long constant.
* mtd-abi.h: annotated ioctl structure
* sysctl.c: corrected annotations in extern

Signed-off-by: Al Viro <viro@parcelfarce.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] signed char portability fix
Alexander Viro [Fri, 30 Jul 2004 15:49:25 +0000 (08:49 -0700)]
[PATCH] signed char portability fix

code using atm_cirange fields assumes that they are signed; make that
explicit by s/char/signed char/.

Signed-off-by: Al Viro <viro@parcelfarce.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] size_t portability fixes
Alexander Viro [Fri, 30 Jul 2004 15:49:13 +0000 (08:49 -0700)]
[PATCH] size_t portability fixes

more size_t fixes (%d -> %zd)

Signed-off-by: Al Viro <viro@parcelfarce.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] sparse: more in drivers/net
Alexander Viro [Fri, 30 Jul 2004 15:49:02 +0000 (08:49 -0700)]
[PATCH] sparse: more in drivers/net

drivers/net BROKEN_ON_SMP annotations and NULL noise removals.

Signed-off-by: Al Viro <viro@parcelfarce.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] sparse: more in isdn
Alexander Viro [Fri, 30 Jul 2004 15:48:50 +0000 (08:48 -0700)]
[PATCH] sparse: more in isdn

annotations and NULL noise removals in drivres/isdn (more BROKEN_ON_SMP
stuff)

Signed-off-by: Al Viro <viro@parcelfarce.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] ARM initial annotations
Alexander Viro [Fri, 30 Jul 2004 15:48:39 +0000 (08:48 -0700)]
[PATCH] ARM initial annotations

Usual set of initial annotations for a platform.

Signed-off-by: Al Viro <viro@parcelfarce.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] #if abuses
Alexander Viro [Fri, 30 Jul 2004 15:48:27 +0000 (08:48 -0700)]
[PATCH] #if abuses

Signed-off-by: Al Viro <viro@parcelfarce.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] NULL noise removal in skfp
Alexander Viro [Fri, 30 Jul 2004 15:48:16 +0000 (08:48 -0700)]
[PATCH] NULL noise removal in skfp

Signed-off-by: Al Viro <viro@parcelfarce.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] sparse: drivers/char/*
Alexander Viro [Fri, 30 Jul 2004 15:48:04 +0000 (08:48 -0700)]
[PATCH] sparse: drivers/char/*

the rest of BROKEN_ON_SMP drivers in drivers/char sparsified.

Signed-off-by: Al Viro <viro@parcelfarce.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] sparse: stallion
Alexander Viro [Fri, 30 Jul 2004 15:47:52 +0000 (08:47 -0700)]
[PATCH] sparse: stallion

stallion annotated, cleaned up, a bunch of useless verify_area()
removed.

Signed-off-by: Al Viro <viro@parcelfarce.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] sparse: istallion
Alexander Viro [Fri, 30 Jul 2004 15:47:40 +0000 (08:47 -0700)]
[PATCH] sparse: istallion

istallion annotated, cleaned up, a bunch of useless verify_area()
removed.

Signed-off-by: Al Viro <viro@parcelfarce.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] sparse: ftape
Alexander Viro [Fri, 30 Jul 2004 15:47:29 +0000 (08:47 -0700)]
[PATCH] sparse: ftape

ftape got annotations and NULL noise removals.
Propagated the dependency on alpha/i386/amd64 to Kconfig (it's already
enforced by #error)

Signed-off-by: Al Viro <viro@parcelfarce.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] annotations in drivers/video
Alexander Viro [Fri, 30 Jul 2004 15:47:17 +0000 (08:47 -0700)]
[PATCH] annotations in drivers/video

Signed-off-by: Al Viro <viro@parcelfarce.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] inline fixes in net/*
Alexander Viro [Fri, 30 Jul 2004 15:47:05 +0000 (08:47 -0700)]
[PATCH] inline fixes in net/*

* in ipv6/route.c: made ipv6_advmss() inlined again (and moved it up)
* in sunrpc/xprt.c: inlining fix: moved do_xprt_reserve() up

Signed-off-by: Al Viro <viro@parcelfarce.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years agoMerge bk://linux-dj.bkbits.net/agpgart
Linus Torvalds [Fri, 30 Jul 2004 12:07:42 +0000 (05:07 -0700)]
Merge bk://linux-dj.bkbits.net/agpgart
into ppc970.osdl.org:/home/torvalds/v2.6/linux

20 years agoMerge http://lia64.bkbits.net/to-base-2.6
Linus Torvalds [Fri, 30 Jul 2004 12:06:41 +0000 (05:06 -0700)]
Merge http://lia64.bkbits.net/to-base-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

20 years agobte_error.c:
Robin Holt [Fri, 30 Jul 2004 21:11:13 +0000 (21:11 +0000)]
bte_error.c:
bte.c:
  After working with the chip designer some more, we have determined one
  more hardware register we were supposed to write to ensure the SHUB
  chip was ready for future transfers.  This patch fixes that.  This also
  allowed us to eliminate a udelay which was working around the problem.

  During retesting, we uncovered a race condition where transfer status
  was changed by a different cpu after we were expecting one value which
  cascaded to additional problems.  This patch uses a local variable to
  also eliminate that race.

Signed-off-by: Robin Holt <holt@sgi.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
20 years agosn_console.c:
Pat Gefre [Fri, 30 Jul 2004 20:26:30 +0000 (20:26 +0000)]
sn_console.c:
  move sn_debug_printf to only compile for DEBUG
  early printk needs to handle missing carriage returns
Signed-off-by: Pat Gefre <pfg@sgi.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
20 years ago[NET]: Kill NET_FASTROUTE, does nothing and suffers from major bitrot.
David S. Miller [Fri, 30 Jul 2004 07:23:29 +0000 (00:23 -0700)]
[NET]: Kill NET_FASTROUTE, does nothing and suffers from major bitrot.

Based up suggestion/changes from Jeff Garzik.

Signed-off-by: David S. Miller <davem@redhat.com>
20 years ago[SPARC64]: Update defconfig.
David S. Miller [Fri, 30 Jul 2004 06:50:04 +0000 (23:50 -0700)]
[SPARC64]: Update defconfig.

20 years agoMerge nuts.davemloft.net:/disk1/BK/sparcwork-2.6
David S. Miller [Fri, 30 Jul 2004 06:17:34 +0000 (23:17 -0700)]
Merge nuts.davemloft.net:/disk1/BK/sparcwork-2.6
into nuts.davemloft.net:/disk1/BK/sparc-2.6

20 years agoMerge nuts.davemloft.net:/disk1/BK/network-2.6
David S. Miller [Fri, 30 Jul 2004 06:00:42 +0000 (23:00 -0700)]
Merge nuts.davemloft.net:/disk1/BK/network-2.6
into nuts.davemloft.net:/disk1/BK/net-2.6

20 years agoMerge bk://cifs.bkbits.net/linux-2.5cifs
Linus Torvalds [Thu, 29 Jul 2004 16:04:58 +0000 (09:04 -0700)]
Merge bk://cifs.bkbits.net/linux-2.5cifs
into ppc970.osdl.org:/home/torvalds/v2.6/linux

20 years ago[PATCH] cmap annotations
Alexander Viro [Thu, 29 Jul 2004 15:48:53 +0000 (08:48 -0700)]
[PATCH] cmap annotations

fb_set_cmap() and fb_copy_cmap() split into kernel and userland versions.
fb_cmap, fb_image and fb_cursor split and annotated.
fixed bug in sbuslib.c that used to call "userland" version of fb_set_cmap()
when kernel one was need (RGB data was already copied into kernel space).

Signed-off-by: Al Viro <viro@parcelfarce.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] fb_cursor() fixes
Alexander Viro [Thu, 29 Jul 2004 15:48:40 +0000 (08:48 -0700)]
[PATCH] fb_cursor() fixes

Massive leaks fixed in fb_cursor().

Signed-off-by: Al Viro <viro@parcelfarce.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] console_font_op annotated
Alexander Viro [Thu, 29 Jul 2004 15:48:29 +0000 (08:48 -0700)]
[PATCH] console_font_op annotated

->vc_font switched to console_font (from console_font_op, of all things!)
console_font_op annotated (->data is finally makred __user).

Signed-off-by: Al Viro <viro@parcelfarce.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>