]> git.hungrycats.org Git - linux/log
linux
22 years ago[PATCH] gcc-3.5: drivers/atm/he.c
Andrew Morton [Wed, 4 Feb 2004 02:36:59 +0000 (18:36 -0800)]
[PATCH] gcc-3.5: drivers/atm/he.c

drivers/atm/he.c: In function `he_init_one':
drivers/atm/he.c:383: error: invalid lvalue in assignment
drivers/atm/he.c: In function `he_open':
drivers/atm/he.c:2364: error: invalid lvalue in assignment

22 years ago[PATCH] gcc-3.5: drivers/atm/idt77105.c
Andrew Morton [Wed, 4 Feb 2004 02:36:50 +0000 (18:36 -0800)]
[PATCH] gcc-3.5: drivers/atm/idt77105.c

drivers/atm/idt77105.c: In function `idt77105_start':
drivers/atm/idt77105.c:268: error: invalid lvalue in assignment
drivers/atm/idt77105.c: In function `idt77105_stop':
drivers/atm/idt77105.c:346: error: invalid lvalue in assignment

22 years ago[PATCH] gcc-3.5: drivers/atm/eni.c
Andrew Morton [Wed, 4 Feb 2004 02:36:41 +0000 (18:36 -0800)]
[PATCH] gcc-3.5: drivers/atm/eni.c

drivers/atm/eni.c: In function `eni_close':
drivers/atm/eni.c:1878: error: invalid lvalue in assignment
drivers/atm/eni.c: In function `eni_open':
drivers/atm/eni.c:1894: error: invalid lvalue in assignment
drivers/atm/eni.c:1905: error: invalid lvalue in assignment
drivers/atm/eni.c: In function `eni_init_one':
drivers/atm/eni.c:2233: error: invalid lvalue in assignment

22 years ago[PATCH] gcc-3.5: ncpfs
Andrew Morton [Wed, 4 Feb 2004 02:36:32 +0000 (18:36 -0800)]
[PATCH] gcc-3.5: ncpfs

fs/ncpfs/ncplib_kernel.h:164: sorry, unimplemented: inlining failed in call to 'ncp_strnicmp': function body not available

22 years ago[PATCH] gcc-3.5: drivers/atm/fore200e.c
Andrew Morton [Wed, 4 Feb 2004 02:36:23 +0000 (18:36 -0800)]
[PATCH] gcc-3.5: drivers/atm/fore200e.c

drivers/atm/fore200e.c: In function `fore200e_open':
drivers/atm/fore200e.c:1420: error: invalid lvalue in assignment
drivers/atm/fore200e.c: In function `fore200e_register':
drivers/atm/fore200e.c:2485: error: invalid lvalue in assignment

22 years ago[PATCH] gcc-3.5: suni.c
Andrew Morton [Wed, 4 Feb 2004 02:36:14 +0000 (18:36 -0800)]
[PATCH] gcc-3.5: suni.c

drivers/atm/suni.c: In function `suni_start':
drivers/atm/suni.c:233: error: invalid lvalue in assignment

22 years ago[PATCH] gcc-3.5: iphase.c
Andrew Morton [Wed, 4 Feb 2004 02:36:05 +0000 (18:36 -0800)]
[PATCH] gcc-3.5: iphase.c

drivers/atm/iphase.c: In function `open_tx':
drivers/atm/iphase.c:1757: error: invalid lvalue in assignment
drivers/atm/iphase.c: In function `ia_close':
drivers/atm/iphase.c:2674: error: invalid lvalue in assignment
drivers/atm/iphase.c: In function `ia_open':
drivers/atm/iphase.c:2687: error: invalid lvalue in assignment
drivers/atm/iphase.c:2703: error: invalid lvalue in assignment
drivers/atm/iphase.c: In function `ia_init_one':
drivers/atm/iphase.c:3199: error: invalid lvalue in assignment

22 years ago[PATCH] gcc-3.5: intermezzo
Andrew Morton [Wed, 4 Feb 2004 02:35:56 +0000 (18:35 -0800)]
[PATCH] gcc-3.5: intermezzo

fs/intermezzo/dir.c: In function `presto_prep':
fs/intermezzo/intermezzo_fs.h:414: sorry, unimplemented: inlining failed in call to 'presto_is_read_only': function body not available

fs/intermezzo/presto.c: In function `izo_mark_cache':
fs/intermezzo/presto.c:341: error: invalid lvalue in assignment
fs/intermezzo/presto.c:342: error: invalid lvalue in assignment

22 years ago[PATCH] gcc-3.5: drivers/atm/uPD98402.c
Andrew Morton [Wed, 4 Feb 2004 02:35:47 +0000 (18:35 -0800)]
[PATCH] gcc-3.5: drivers/atm/uPD98402.c

drivers/atm/uPD98402.c: In function `uPD98402_start':
drivers/atm/uPD98402.c:214: error: invalid lvalue in assignment

22 years ago[PATCH] gcc-3.5: hfs fixes
Andrew Morton [Wed, 4 Feb 2004 02:35:38 +0000 (18:35 -0800)]
[PATCH] gcc-3.5: hfs fixes

fs/hfs/file_hdr.c: In function `dup_layout':
fs/hfs/file_hdr.c:246: error: invalid lvalue in assignment

22 years ago[PATCH] gcc-3.5: vxfs fixes
Andrew Morton [Wed, 4 Feb 2004 02:35:28 +0000 (18:35 -0800)]
[PATCH] gcc-3.5: vxfs fixes

fs/freevxfs/vxfs.h:33:10: warning: extra tokens at end of #ident directive
fs/freevxfs/vxfs_extern.h:75: sorry, unimplemented: inlining failed in call to 'vxfs_put_page': function body not available

22 years ago[PATCH] gcc-3.5: zatm.c fix
Andrew Morton [Wed, 4 Feb 2004 02:35:18 +0000 (18:35 -0800)]
[PATCH] gcc-3.5: zatm.c fix

drivers/atm/zatm.c: In function `zatm_close':
drivers/atm/zatm.c:1371: error: invalid lvalue in assignment
drivers/atm/zatm.c: In function `zatm_open':
drivers/atm/zatm.c:1386: error: invalid lvalue in assignment
drivers/atm/zatm.c:1398: error: invalid lvalue in assignment
drivers/atm/zatm.c: In function `zatm_module_init':
drivers/atm/zatm.c:1600: error: invalid lvalue in assignment

22 years ago[PATCH] gcc-3.5: fsfilter.h, ntfs.h
Andrew Morton [Wed, 4 Feb 2004 02:35:09 +0000 (18:35 -0800)]
[PATCH] gcc-3.5: fsfilter.h, ntfs.h

From: Tim Cambrant <tim@cambrant.com>

Fix inline decls in fsfilter.h, ntfs.h

22 years ago[PATCH] gcc-3.5: misc.c warning fix
Andrew Morton [Wed, 4 Feb 2004 02:35:00 +0000 (18:35 -0800)]
[PATCH] gcc-3.5: misc.c warning fix

arch/i386/boot/compressed/misc.c:107: warning: conflicting types for built-in function 'puts'

22 years ago[PATCH] gcc-3.5: i810_accel fix
Andrew Morton [Wed, 4 Feb 2004 02:34:51 +0000 (18:34 -0800)]
[PATCH] gcc-3.5: i810_accel fix

drivers/video/i810/i810_accel.c: In function `i810fb_init_ringbuffer':
drivers/video/i810/i810_accel.c:30: sorry, unimplemented: inlining failed in call to 'flush_cache': function body not available

22 years ago[PATCH] gcc-3.5: parport warnings
Andrew Morton [Wed, 4 Feb 2004 02:34:42 +0000 (18:34 -0800)]
[PATCH] gcc-3.5: parport warnings

drivers/pnp/pnpbios/core.c: In function `pnpbios_probe_system':
drivers/pnp/pnpbios/core.c:438: warning: use of cast expressions as lvalues is deprecated

22 years ago[PATCH] gcc-3.5: sound/core/seq/seq_clientmgr.c
Andrew Morton [Wed, 4 Feb 2004 02:34:33 +0000 (18:34 -0800)]
[PATCH] gcc-3.5: sound/core/seq/seq_clientmgr.c

sound/core/seq/seq_clientmgr.c: In function `snd_seq_open':
sound/core/seq/seq_clientmgr.c:331: warning: use of cast expressions as lvalues is deprecated

22 years ago[PATCH] More 3.4 compilation fixes
Andrew Morton [Wed, 4 Feb 2004 02:34:24 +0000 (18:34 -0800)]
[PATCH] More 3.4 compilation fixes

From: Jan Hubicka <jh@suse.cz>

GCC now converts sprintf (a,"%s",b) to strcpy.  This lose on kernel as
strcpy is not inlined and not present in library, so one gets linker
failure.  It seems to make sense to apply this optimization by hand.

22 years ago[PATCH] Fix inlining failure (all GCCs) in parport
Andrew Morton [Wed, 4 Feb 2004 02:34:15 +0000 (18:34 -0800)]
[PATCH] Fix inlining failure (all GCCs) in parport

From: Jan Hubicka <jh@suse.cz>

GCC never inline extern inline function redefined by new body (because it is
not clear what body one should choose)

parport contains such duplicated functions for apparently no good reasons.
Both copies differ slightly, not sure whether it is intentional or just
garbage.

22 years ago[PATCH] gcc-3.5: _exit fix
Andrew Morton [Wed, 4 Feb 2004 02:34:06 +0000 (18:34 -0800)]
[PATCH] gcc-3.5: _exit fix

include/asm/unistd.h:397: warning: conflicting types for built-in function '_exit'

Just remove the dang thing - nobody uses _exit().

Except for the vmware stub, which breaks.  So I kindly exported do_exit() to
kernel modules, just for vmware...

22 years ago[PATCH] gcc-3.5: keyboard.c fixes
Andrew Morton [Wed, 4 Feb 2004 02:33:57 +0000 (18:33 -0800)]
[PATCH] gcc-3.5: keyboard.c fixes

drivers/char/keyboard.c:205: warning: use of conditional expressions as lvalues is deprecated

22 years ago[PATCH] gcc-3.5: elevator.h fixes
Andrew Morton [Wed, 4 Feb 2004 02:33:48 +0000 (18:33 -0800)]
[PATCH] gcc-3.5: elevator.h fixes

include/linux/elevator.h:106: sorry, unimplemented: inlining failed in call to 'elv_try_last_merge': function body not available

22 years ago[PATCH] gcc-3.5: ide.h fixes
Andrew Morton [Wed, 4 Feb 2004 02:33:39 +0000 (18:33 -0800)]
[PATCH] gcc-3.5: ide.h fixes

include/linux/ide.h:1424: sorry, unimplemented: inlining failed in call to 'SELECT_MASK': function body not available

22 years ago[PATCH] gcc-3.5: reiserfs fixes
Andrew Morton [Wed, 4 Feb 2004 02:33:30 +0000 (18:33 -0800)]
[PATCH] gcc-3.5: reiserfs fixes

include/linux/reiserfs_fs.h:1837: sorry, unimplemented: inlining failed in call to 'decrement_bcount': function body not available

22 years ago[PATCH] gcc-3.5: fix pcm_plugin warnings
Andrew Morton [Wed, 4 Feb 2004 02:33:21 +0000 (18:33 -0800)]
[PATCH] gcc-3.5: fix pcm_plugin warnings

22 years ago[PATCH] gcc-3.5: pcm_misc.c warnings
Andrew Morton [Wed, 4 Feb 2004 02:33:12 +0000 (18:33 -0800)]
[PATCH] gcc-3.5: pcm_misc.c warnings

sound/core/pcm_misc.c:557: warning: use of cast expressions as lvalues is deprecated
sound/core/pcm_misc.c:568: warning: use of cast expressions as lvalues is deprecated
sound/core/pcm_misc.c:569: warning: use of cast expressions as lvalues is deprecated
sound/core/pcm_misc.c:570: warning: use of cast expressions as lvalues is deprecated
sound/core/pcm_misc.c:586: warning: use of cast expressions as lvalues is deprecated
sound/core/pcm_misc.c:596: warning: use of cast expressions as lvalues is deprecated

22 years ago[PATCH] gcc-3.5: binfmt_elf warning fix
Andrew Morton [Wed, 4 Feb 2004 02:33:03 +0000 (18:33 -0800)]
[PATCH] gcc-3.5: binfmt_elf warning fix

fs/binfmt_elf.c:171: warning: use of cast expressions as lvalues is deprecated

22 years ago[PATCH] gcc-3.5: #ident fixes
Andrew Morton [Wed, 4 Feb 2004 02:32:55 +0000 (18:32 -0800)]
[PATCH] gcc-3.5: #ident fixes

arch/i386/kernel/msr.c:1:10: warning: extra tokens at end of #ident directive
arch/i386/kernel/cpuid.c:1:10: warning: extra tokens at end of #ident directive

22 years ago[PATCH] gcc-3.5: fix extern inline decls
Andrew Morton [Wed, 4 Feb 2004 02:32:45 +0000 (18:32 -0800)]
[PATCH] gcc-3.5: fix extern inline decls

include/linux/bio.h:234: sorry, unimplemented: inlining failed in call to 'bio_phys_segments': function body not available

22 years ago[PATCH] string fixes for gcc 3.4
Andrew Morton [Wed, 4 Feb 2004 02:32:36 +0000 (18:32 -0800)]
[PATCH] string fixes for gcc 3.4

From: Andi Kleen <ak@muc.de>

gcc 3.4 optimizes sprintf(foo,"%s",string) into strcpy.  Unfortunately that
isn't seen by the inliner and linux/i386 has no out-of-line strcpy so you
end up with a linker error.

This patch adds out of line copies for most string functions to avoid this.
Actually it doesn't export them to modules yet, that would be the next
step.

BTW In my opinion we shouldn't use inline string functions at all.  The
__builtin_str* in modern gcc are better (I used them very successfully on
x86-64) and for the bigger functions like strrchr,strtok et.al.  it just
doesn't make any sense to inline them or even code them in assembler.

Also fix the bcopy prototype gcc was complaining about.

22 years ago[PATCH] Fix more gcc 3.4 warnings
Andrew Morton [Wed, 4 Feb 2004 02:32:27 +0000 (18:32 -0800)]
[PATCH] Fix more gcc 3.4 warnings

From: Andi Kleen <ak@muc.de>

Just many more warning fixes for a gcc 3.4 snapshot.

It warns for a lot of things now, e.g.  for ?: and ({ ...  }) and casts as
lvalues.  And for functions marked inline in headers, but no body.

Actually there are more warnings, i stopped fixing at some point.  Some of
the warnings seem to be dubious (e.g.  the binfmt_elf.c one, which looks
more like a compiler bug to me)

I also fixed the _exit() prototype to be void because gcc was complaining
about this.

22 years ago[PATCH] sisfb update
Andrew Morton [Wed, 4 Feb 2004 02:32:18 +0000 (18:32 -0800)]
[PATCH] sisfb update

From: Thomas Winischhofer <thomas@winischhofer.net>

sisfb is simply broken in current 2.6.x.  This patch updates sisfb to the
current development version which no less than 11 months ahead of the version
in the kernel.

Updated includes

- many fixes (duh)

- support for new chipsets (661, 741, 760)

- support for new video bridges (301C, 302ELV)

- removal of all offending fp code (as discussed earlier this month)

- a lot of code clean-up (which is the main reason for its size)

22 years ago[PATCH] kbuild: Unmangle include options for gcc
Andrew Morton [Wed, 4 Feb 2004 02:32:08 +0000 (18:32 -0800)]
[PATCH] kbuild: Unmangle include options for gcc

From: Sam Ravnborg <sam@ravnborg.org>

When utilising the make O=...  option the include options for gcc were
mangled even when absolute paths was used.  Also remove duplication of
CPPFLAGS.  They were assigned twice.  [It is still possible for
architectures to modify CPPFLAGS].

This patch allows xconfig to be build with make O=...  xconfig.It will also
help development of external modules with absolute paths for their -I
options.

Note: As a side effect a full recompile of the kernel takes place due to
changes in number of gcc options.

22 years ago[PATCH] ia32 MSI vector handling fix
Andrew Morton [Wed, 4 Feb 2004 02:31:59 +0000 (18:31 -0800)]
[PATCH] ia32 MSI vector handling fix

From: "Nakajima, Jun" <jun.nakajima@intel.com>

To get the vector-based interrupt handling work, we need to give the vector
number to device drivers instead of the IRQ if IRQ < 16.  It was not
happening for SCI, and the patch fixes it.  In many cases, the IRQ for SCI is
9, and the problem was not detected, but one particular machine exposed the
bug.

22 years ago[PATCH] lock_cpu_hotplug only if CONFIG_CPU_HOTPLUG
Andrew Morton [Wed, 4 Feb 2004 02:31:50 +0000 (18:31 -0800)]
[PATCH] lock_cpu_hotplug only if CONFIG_CPU_HOTPLUG

From: Rusty Russell <rusty@rustcorp.com.au>

The cpucontrol mutex is not required when no cpus can go up and down.
Andrew wrote a wrapper for it to avoid #ifdefs, this expands that to only
be defined for CONFIG_HOTPLUG_CPU, and uses it everywhere.

The only downside is that the cpucontrol lock was overloaded by my recent
patch to net/core/flow.c to protect it from reentrance, so this
reintroduces the local flow_flush_sem.  This code isn't speed critical, so
taking two locks when CONFIG_HOTPLUG_CPU=y is not really an issue.

22 years ago[PATCH] VT locking fixes
Andrew Morton [Wed, 4 Feb 2004 02:31:40 +0000 (18:31 -0800)]
[PATCH] VT locking fixes

From: Benjamin Herrenschmidt <benh@kernel.crashing.org>

- Make sure that all console operations are approriately protected under
  console_sem.

- Adds checks to make sure that people are taking console_sem when it is
  expected to be held.

22 years ago[PATCH] quiet down SMP boot messages
Andrew Morton [Wed, 4 Feb 2004 02:31:31 +0000 (18:31 -0800)]
[PATCH] quiet down SMP boot messages

From: Jes Sorensen <jes@trained-monkey.org>

I'd like to propose the following for 2.6.1-mm/2.6.2. On systems with a
large number of CPUs the number of printk's flowing by for each CPU
booting starts becoming a real console hog.

The following patch eliminates a couple of them (already sent a patch to
David for the ia64 specific ones) as well as changes the
"Building zonelist : X" in "Built Y zonelists". IMHO it doesn't make any
sense to print for each zonelist since it's run in a for loop running
from 0 to Y-1 anyway.

The patch nukes a few new printk's that were introduced with the
scheduler changes to the NUMA code in -mm3, if these are still needed
then I won't fight for that part of the patch.

22 years ago[PATCH] Allow PCI BARs that start at 0
Andrew Morton [Wed, 4 Feb 2004 02:31:19 +0000 (18:31 -0800)]
[PATCH] Allow PCI BARs that start at 0

From: Anton Blanchard <anton@samba.org>

We have IO BARs on ppc64 machines that begin at address 0. The current
pci probe code will ignore anything that starts at 0. Remove these checks.

22 years ago[PATCH] Remove useless argument from __ste_allocate()
Andrew Morton [Wed, 4 Feb 2004 02:31:09 +0000 (18:31 -0800)]
[PATCH] Remove useless argument from __ste_allocate()

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

In the current ppc64 code the function __ste_allocate() in
arch/ppc64/mm/stab.c takes a context parameter which is never used.  This
patch removes it.

22 years ago[PATCH] Make PPC601_SYNC_FIX depend on pmac||prep
Andrew Morton [Wed, 4 Feb 2004 02:30:59 +0000 (18:30 -0800)]
[PATCH] Make PPC601_SYNC_FIX depend on pmac||prep

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

The following has been approved by Paul, FWIW.

The following patch makes PPC601_SYNC_FIX depend on PPC_PMAC || PPC_PREP.
It used to depend on ALL_PPC I believe, but this was (at least
semi-intentionally I gather) backed out.  The last time this was discussed,
the only platforms old enough to have a 601 to support were pmacs and
preps, so it makes some sense to only ask for these machines.

22 years ago[PATCH] Fixes / Enhancements for PPC_GEN550
Andrew Morton [Wed, 4 Feb 2004 02:30:50 +0000 (18:30 -0800)]
[PATCH] Fixes / Enhancements for PPC_GEN550

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

Various fixes for the PPC_GEN550 backend.

- Move PPC_GEN550 bool into a more appropriate spot.

- Add PPC_GEN550 support to the MCPN765 platform.

- Allow for SERIAL_TEXT_DEBUG on PPC_GEN550.

- Add missing headers to arch/ppc/syslib/gen550_dbg.c

- Clean-up the KGDB interface such that we allow for a kgdb_map_scc call,
  but do not require one.

- Add gen550 prototypes to <asm/kgdb.h>

- PPC_GEN550 backend code doesn't depend on 8250_SERIAL.

22 years ago[PATCH] sn2: set iommu bounce limit
Andrew Morton [Wed, 4 Feb 2004 02:30:41 +0000 (18:30 -0800)]
[PATCH] sn2: set iommu bounce limit

From: Jes Sorensen <jes@trained-monkey.org>

The following patch sets the IOMMU bounce limit on the SN2 which is require
to avoid some ISA checks in ll_rw_blk.c causing a BUG_ON().

22 years ago[PATCH] Eicon isdn driver flush_scheduled_work() fix
Andrew Morton [Wed, 4 Feb 2004 02:30:32 +0000 (18:30 -0800)]
[PATCH] Eicon isdn driver flush_scheduled_work() fix

From: Armin <armin@melware.de>

flush_scheduled_work() may not be called from irq-context and it is not
necessary for the diva_os_cancel_soft_isr() function anyway.

22 years ago[PATCH] Fix race in sched_exit()
Andrew Morton [Wed, 4 Feb 2004 02:30:23 +0000 (18:30 -0800)]
[PATCH] Fix race in sched_exit()

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

Fix a race on sleep_avg in sched_exit().

The symptom I saw on 64-bit s390 has been a fixpoint divide exception
because sleep_avg had a value > NS_MAX_SLEEP_AVG.  I tracked it down and
the problem is sched_exit which recalculates the parents sleep average
without taking the runqueue lock.  schedule() subtracts run_time from
sleep_avg of the previous process.  This can turn out negative and is
corrected shortly after the subtraction but that is already too late.
sched_exit() already read the negative value an miscalculated the parents
sleep_avg -> bang.

I fixed this by adding task_rq_lock/task_rq_unlock to sched_exit().

22 years agoLinux 2.6.2 aka "Feisty Dunnart" v2.6.2
Linus Torvalds [Tue, 3 Feb 2004 11:36:36 +0000 (03:36 -0800)]
Linux 2.6.2 aka "Feisty Dunnart"

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

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

That's a pretty clear case of overflow.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

This has been in -mm since 2.6.1-mm5

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

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

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

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

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

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

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

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

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

This has been in -mm since 2.6.1-mm1.

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

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

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

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

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

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

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

This should fix some picky USB devices.

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

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

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

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

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

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

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

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

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

SCLP console/tty fixes:

- Fix incorrect state change of SCLP_RUNNING flag in interrupt handler

- Suppress emission of empty buffers to prevent stack overflow

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

- Prevent sclp_tty_write_string from waiting in interrupt (during flush)

- Fix deadlock after TIOCSCLPSNL ioctl

- Fix sclp_tty_chars_in_buffer calculation

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

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

s390 inline assembly bug-fixes:

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

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

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

- Use c-implemtation for ffz and __ffs.

- Use generic c-implemtation for ffs and fls.

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

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

s390 general update:

- Add archhelp for "make image".

- 32-bit execve fix.

- Export some symbols: sys_ioctl, put_files_struct & ccw_device_work.

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

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

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

These are some trivial cleanups to the hugepage ppc64 support

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

From: Anton Blanchard <anton@samba.org>

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

From: Anton Blanchard <anton@samba.org>

The current SLB handling code has a number of problems:

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

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

- The SLB prefault code doesnt work properly

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

- feature nop out some segment table only code

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

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

- use the optimised POWER4 mtcrf where possible

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

From: Anton Blanchard <anton@samba.org>

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

From: Anton Blanchard <anton@samba.org>

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

From: Anton Blanchard <anton@samba.org>

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

From: Anton Blanchard <anton@samba.org>

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

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

From: Anton Blanchard <anton@samba.org>

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

From: Anton Blanchard <anton@samba.org>

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

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

From: Anton Blanchard <anton@samba.org>

- nop out proc_device_tree_add_node if CONFIG_PROC_DEVICETREE=n

- stubs for procfs-related functions when CONFIG_PROC_DEVICETREE=n

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

From: Anton Blanchard <anton@samba.org>

Add lparcfg_write() for changing SPLPAR system parameters

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

From: Anton Blanchard <anton@samba.org>

add missing include guards, from Nathan Lynch

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

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

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

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

* Clear the Xmac fifo before stopping the port

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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