]> git.hungrycats.org Git - linux/log
linux
21 years ago[ARM] Mark source for copy_page const.
Russell King [Fri, 8 Oct 2004 17:53:52 +0000 (18:53 +0100)]
[ARM] Mark source for copy_page const.

21 years ago[ARM] Remove cache type check before flushing ARMv6 cache.
Russell King [Fri, 8 Oct 2004 16:37:05 +0000 (17:37 +0100)]
[ARM] Remove cache type check before flushing ARMv6 cache.

We do not need to check which type of cache we have before
using using the Harvard or von Neumann cache instructions -
the unimplemented instructions are defined to be NOPs.

21 years ago[ARM] Add decompressor support for ARMv6 caches.
Russell King [Fri, 8 Oct 2004 16:30:49 +0000 (17:30 +0100)]
[ARM] Add decompressor support for ARMv6 caches.

21 years agoMerge http://lia64.bkbits.net/linux-ia64-release-2.6.9
Linus Torvalds [Thu, 7 Oct 2004 12:57:28 +0000 (05:57 -0700)]
Merge http://lia64.bkbits.net/linux-ia64-release-2.6.9
into ppc970.osdl.org:/home/torvalds/v2.6/linux

21 years agoMerge bk://kernel.bkbits.net/davem/sparc-2.6
Linus Torvalds [Thu, 7 Oct 2004 07:48:08 +0000 (00:48 -0700)]
Merge bk://kernel.bkbits.net/davem/sparc-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

21 years agoMerge bk://kernel.bkbits.net/davem/net-2.6
Linus Torvalds [Thu, 7 Oct 2004 07:45:31 +0000 (00:45 -0700)]
Merge bk://kernel.bkbits.net/davem/net-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

21 years ago[IA64] Added support for the new syscall sys_waitid()
Arun Sharma [Thu, 7 Oct 2004 06:00:53 +0000 (06:00 +0000)]
[IA64] Added support for the new syscall sys_waitid()

Signed-off-by: Arun Sharma <arun.sharma@intel.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
21 years ago[IA64] sparse annotations and cleanups for ia32 subsystem
Arun Sharma [Thu, 7 Oct 2004 05:57:18 +0000 (05:57 +0000)]
[IA64] sparse annotations and cleanups for ia32 subsystem

+ Add sparse annotations to ia32 subsystem so it checks out cleanly.
+ Add set_fs(KERNEL_DS) in elfcore32.h
+ Use compat_ptr() instead of P()
+ Fix a bug in ia32_sigsuspend() by introducing __ia32_rt_sigsuspend()

Signed-off-by: David Mosberger-Tang <davidm@hpl.hp.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
21 years agoMerge nuts.davemloft.net:/disk1/BK/acme-2.6
David S. Miller [Thu, 7 Oct 2004 05:00:21 +0000 (22:00 -0700)]
Merge nuts.davemloft.net:/disk1/BK/acme-2.6
into nuts.davemloft.net:/disk1/BK/net-2.6

21 years ago[SUNGEM]: Use NETDEV_TX_foo instead of magic constants.
David S. Miller [Thu, 7 Oct 2004 04:10:36 +0000 (21:10 -0700)]
[SUNGEM]: Use NETDEV_TX_foo instead of magic constants.

Signed-off-by: David S. Miller <davem@davemloft.net>
21 years ago[PATCH] Fix ide-cs resource management
Russell King [Thu, 7 Oct 2004 02:06:24 +0000 (19:06 -0700)]
[PATCH] Fix ide-cs resource management

PCMCIA resource management is no longer brain dead, and acts just like
any other bus subsystem.  Therefore, there's no need to play games with
the resource subsystem anymore.

Signed-off-by: Russell King <rmk@arm.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] APIC physical broadcast for i82489DX
Maciej W. Rozycki [Thu, 7 Oct 2004 01:24:23 +0000 (18:24 -0700)]
[PATCH] APIC physical broadcast for i82489DX

The physical broadcast ID is determined incorrectly for the i82489DX,
which uses 8-bit physical addressing (32-bit logical).

Signed-off-by: Maciej W. Rozycki <macro@linux-mips.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] ppc64: update g5_defconfig
Benjamin Herrenschmidt [Thu, 7 Oct 2004 01:21:06 +0000 (18:21 -0700)]
[PATCH] ppc64: update g5_defconfig

This updates the g5_defconfig, among others, it adds irq stacks,
hugetlbfs and cramfs (later is needed for ppl trying to install fedora,
and so often forgotten that I prefer adding it to the defconfig).

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[IA64] fix UP build
David Mosberger [Wed, 6 Oct 2004 17:33:12 +0000 (17:33 +0000)]
[IA64] fix UP build

Put back a secondary declaration of ipi_base_addr in hardirq.h.  It
really is needed for UP builds and there doesn't seem to be an easy
way to avoid include-hell otherwise.

Signed-off-by: davidm@hpl.hp.com
Signed-off-by: Tony Luck <tony.luck@intel.com>
21 years ago[IA64] Don't hardcode offsets in thread_info
Tony Luck [Wed, 6 Oct 2004 17:18:27 +0000 (17:18 +0000)]
[IA64] Don't hardcode offsets in thread_info

We had hardcoded defines for TI_TASK TI_EXEC_DOMAIN, TI_FLAGS, TI_CPU,
TI_ADDR_LIMIT, TI_PRE_COUNT, TI_RESTART_BLOCK; but only two of these
were ever used.  Remove all from thread_info.h, and generate the two
that we do use (TI_FLAGS and TI_PRE_COUNT) in asm_offsets.c

Patch supplied by Zou Nan hai

Signed-off-by: Tony Luck <tony.luck@intel.com>
21 years ago[PATCH] ppc64: Fix find_udbg_vterm()
Benjamin Herrenschmidt [Wed, 6 Oct 2004 12:29:21 +0000 (05:29 -0700)]
[PATCH] ppc64: Fix find_udbg_vterm()

The find_udbg_vterm() used to initialize the early boot console
on LPAR machines will not work properly on some recent pSeries
because the firmware is playing tricks with the "phandle" values
used to identify firmware nodes. This patch fixes that by using
the full path instead.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[SPARC64]: Missing __user annotations for asm/checksum.h
David S. Miller [Wed, 6 Oct 2004 12:22:07 +0000 (05:22 -0700)]
[SPARC64]: Missing __user annotations for asm/checksum.h

Also, while we are here, s/__inline__/inline/

Signed-off-by: David S. Miller <davem@davemloft.net>
21 years ago[PATCH] PCI Hotplug: Use before NULL check in shpchp_ctrl
Dave Jones [Wed, 6 Oct 2004 11:16:30 +0000 (04:16 -0700)]
[PATCH] PCI Hotplug: Use before NULL check in shpchp_ctrl

More fun found with the coverity checker.

Signed-off-by: Dave Jones <davej@redhat.com>
Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] NX: fix read_implies_exec() related noexec-fs breakage
Ingo Molnar [Wed, 6 Oct 2004 11:16:18 +0000 (04:16 -0700)]
[PATCH] NX: fix read_implies_exec() related noexec-fs breakage

mmap() done from older !pt_gnu_stack binaries on noexec mounted filesystems
could fail due to the extra PROT_EXEC bit.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years agoMerge bk://bk.arm.linux.org.uk/linux-2.6-serial
Linus Torvalds [Wed, 6 Oct 2004 11:14:34 +0000 (04:14 -0700)]
Merge bk://bk.arm.linux.org.uk/linux-2.6-serial
into ppc970.osdl.org:/home/torvalds/v2.6/linux

21 years ago[ARM PATCH] 2127/1: S3C2410 - fix compile error in serial driver
Ben Dooks [Wed, 6 Oct 2004 22:38:04 +0000 (23:38 +0100)]
[ARM PATCH] 2127/1: S3C2410 - fix compile error in serial driver

Patch from Ben Dooks

Fixes compile error in serial driver for S3C2410
until the new serial driver can be finished

Signed-off-by: Ben Dooks
21 years agoMerge bk://bk.arm.linux.org.uk/linux-2.6-rmk
Linus Torvalds [Wed, 6 Oct 2004 11:12:30 +0000 (04:12 -0700)]
Merge bk://bk.arm.linux.org.uk/linux-2.6-rmk
into ppc970.osdl.org:/home/torvalds/v2.6/linux

21 years ago[ARM PATCH] 2133/1: params_phys is not available on PXA and apears to be ARCH_RPM...
Ian Campbell [Wed, 6 Oct 2004 23:04:39 +0000 (00:04 +0100)]
[ARM PATCH] 2133/1: params_phys is not available on PXA and apears to be ARCH_RPM specific anyway

Patch from Ian Campbell

Arecent changeset[0] that changed params into an asm function call
broke the PXA build since PXA does not define PARAMS_PHYS therefore
the params_phys variable is never defined and linking arch/arm/boot/compressed/head.S fails.

The function is defined in include/asm-arm/arch-rpc/uncompress.h
and so I assume it is dependendant on CONFIG_ARCH_RPC. I can't find
any use of it outside this file.

Signed-off-by: Ian Campbell
21 years ago[ARM PATCH] 2130/1: PXA255 Errata #31 fix for sleep.S
Ben Dooks [Wed, 6 Oct 2004 22:53:09 +0000 (23:53 +0100)]
[ARM PATCH] 2130/1: PXA255 Errata #31 fix for sleep.S

Patch from Ben Dooks

Fix Intel Errata #31 for PXA CPUs, where the
state of some external lines can be indeterminate
over sleep if PXBus >=133MHz on suspend

Signed-off-by: Ben Dooks
21 years ago[ARM PATCH] 2129/1: S3C2410 - fix set_irq_type() for EINT0..EINT3
Ben Dooks [Wed, 6 Oct 2004 22:43:19 +0000 (23:43 +0100)]
[ARM PATCH] 2129/1: S3C2410 - fix set_irq_type() for EINT0..EINT3

Patch from Ben Dooks

Fix the set_irq_type() for EINTs 0 through 3

Cleaned up the inital clearing of any pending IRQs

Signed-off-by: Klaus Fetscher
Signed-off-by: Ben Dooks
21 years agoMerge bk://kernel.bkbits.net/acme/sk_buff-2.6
David S. Miller [Wed, 6 Oct 2004 10:00:14 +0000 (03:00 -0700)]
Merge bk://kernel.bkbits.net/acme/sk_buff-2.6
into nuts.davemloft.net:/disk1/BK/acme-2.6

21 years ago[LLC] set mac.raw if tr_source_route is called
Arnaldo Carvalho de Melo [Wed, 6 Oct 2004 15:51:11 +0000 (12:51 -0300)]
[LLC] set mac.raw if tr_source_route is called

Thanks to Thomas Graf for spotting this.

Signed-off-by: Arnaldo Carvalho de Melo <acme@conectiva.com.br>
Signed-off-by: David S. Miller <davem@redhat.com>
21 years ago[SKBUFF] introduce tr_hdr(skb)
Arnaldo Carvalho de Melo [Wed, 6 Oct 2004 12:33:22 +0000 (09:33 -0300)]
[SKBUFF] introduce tr_hdr(skb)

The token ring code in the kernel is bitrotting (no surprise :) ),
it uses skb->data all around... I have an assortment of token ring
cards but no MAU, can anybody send me one, please? I promise to
make ssh work over LLC over Token Ring networks! Duh... :o)

Signed-off-by: Arnaldo Carvalho de Melo <acme@conectiva.com.br>
Signed-off-by: David S. Miller <davem@redhat.com>
21 years ago[SKBUFF] use eth_hdr(skb), skb->mac.raw cases
Arnaldo Carvalho de Melo [Wed, 6 Oct 2004 11:12:55 +0000 (08:12 -0300)]
[SKBUFF] use eth_hdr(skb), skb->mac.raw cases

Signed-off-by: Arnaldo Carvalho de Melo <acme@conectiva.com.br>
Signed-off-by: David S. Miller <davem@redhat.com>
21 years ago[SPARC64]: Add __user annontation to ELF_CORE_COPY_REGS().
David S. Miller [Wed, 6 Oct 2004 09:05:10 +0000 (02:05 -0700)]
[SPARC64]: Add __user annontation to ELF_CORE_COPY_REGS().

Signed-off-by: David S. Miller <davem@davemloft.net>
21 years ago[SPARC64]: Add missing __user annotation to sys_sparc32.c
David S. Miller [Wed, 6 Oct 2004 09:00:11 +0000 (02:00 -0700)]
[SPARC64]: Add missing __user annotation to sys_sparc32.c

Signed-off-by: David S. Miller <davem@davemloft.net>
21 years ago[SPARC64]: Use __iomem in chmc.c
David S. Miller [Wed, 6 Oct 2004 08:57:54 +0000 (01:57 -0700)]
[SPARC64]: Use __iomem in chmc.c

Signed-off-by: David S. Miller <davem@davemloft.net>
21 years ago[SPARC64]: Kill sparse warning in power.c
David S. Miller [Wed, 6 Oct 2004 08:55:05 +0000 (01:55 -0700)]
[SPARC64]: Kill sparse warning in power.c

Signed-off-by: David S. Miller <davem@davemloft.net>
21 years agoMerge bk://kernel.bkbits.net/acme/sk_buff-2.6
David S. Miller [Wed, 6 Oct 2004 04:47:32 +0000 (21:47 -0700)]
Merge bk://kernel.bkbits.net/acme/sk_buff-2.6
into nuts.davemloft.net:/disk1/BK/acme-2.6

21 years agoFix up signed one-bit bitfields in core sound code
Linus Torvalds [Wed, 6 Oct 2004 02:46:49 +0000 (19:46 -0700)]
Fix up signed one-bit bitfields in core sound code

21 years agoMerge nuts.davemloft.net:/disk1/BK/acme-2.6
David S. Miller [Wed, 6 Oct 2004 02:32:49 +0000 (19:32 -0700)]
Merge nuts.davemloft.net:/disk1/BK/acme-2.6
into nuts.davemloft.net:/disk1/BK/net-2.6

21 years agoMerge bk://linux-dj.bkbits.net/agpgart
Linus Torvalds [Wed, 6 Oct 2004 02:22:32 +0000 (19:22 -0700)]
Merge bk://linux-dj.bkbits.net/agpgart
into ppc970.osdl.org:/home/torvalds/v2.6/linux

21 years ago[AGPGART] Really add Intel i915 AGPGART Support.
Dave Jones [Wed, 6 Oct 2004 08:03:45 +0000 (04:03 -0400)]
[AGPGART] Really add Intel i915 AGPGART Support.

Whoops. Missing entry in the PCI ID tables.

Spotted and fixed by someone at SuSE.
Fished out of SuSE's kernel tree by Christoph Hellwig
Signed-off-by: Dave Jones <davej@redhat.com>
21 years ago[AGPGART] Fix sign extension bug in amd64 gart driver.
Dave Jones [Wed, 6 Oct 2004 07:56:49 +0000 (03:56 -0400)]
[AGPGART] Fix sign extension bug in amd64 gart driver.

From Terrence Ripperda at NVidia.

Signed-off-by: Dave Jones <davej@redhat.com>
21 years agoMerge bk://kernel.bkbits.net/acme/sk_buff-2.6
David S. Miller [Wed, 6 Oct 2004 02:22:09 +0000 (19:22 -0700)]
Merge bk://kernel.bkbits.net/acme/sk_buff-2.6
into nuts.davemloft.net:/disk1/BK/acme-2.6

21 years ago[IPV6]: Set skb->dev in ip6_pkt_discard_out.
Dave Craig [Wed, 6 Oct 2004 02:10:12 +0000 (19:10 -0700)]
[IPV6]: Set skb->dev in ip6_pkt_discard_out.

Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
21 years agoRemove rest of legacy arch/m32r/drivers directory
Linus Torvalds [Wed, 6 Oct 2004 01:23:13 +0000 (18:23 -0700)]
Remove rest of legacy arch/m32r/drivers directory

21 years ago[PATCH] uml: makefile whitespace fix
Paolo \'Blaisorblade\' Giarrusso [Wed, 6 Oct 2004 01:16:50 +0000 (18:16 -0700)]
[PATCH] uml: makefile whitespace fix

Change the spacing for this command to fix alignment on output.

Signed-off-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade_spam@yahoo.it>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] uml: makefile fix for .lds scripts.
Paolo \'Blaisorblade\' Giarrusso [Wed, 6 Oct 2004 01:16:39 +0000 (18:16 -0700)]
[PATCH] uml: makefile fix for .lds scripts.

Remove uml.lds and dyn.lds from extra-y; this was a relict from the recent
past.

Signed-off-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade_spam@yahoo.it>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] m32r: remove arch/m32r/drivers
Hirokazu Takata [Wed, 6 Oct 2004 01:16:25 +0000 (18:16 -0700)]
[PATCH] m32r: remove arch/m32r/drivers

Remove obsolete m32r-specific driver files, which are no longer used.

Signed-off-by: Hirokazu Takata <takata@linux-m32r.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] m32r: remove unused arch/m32r/m32700ut/m32r-flash.c
Hirokazu Takata [Wed, 6 Oct 2004 01:16:13 +0000 (18:16 -0700)]
[PATCH] m32r: remove unused arch/m32r/m32700ut/m32r-flash.c

Signed-off-by: Hirokazu Takata <takata@linux-m32r.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] m32r: remove unused arch/m32r/kernel/io_m32102.c
Hirokazu Takata [Wed, 6 Oct 2004 01:16:01 +0000 (18:16 -0700)]
[PATCH] m32r: remove unused arch/m32r/kernel/io_m32102.c

Signed-off-by: Hirokazu Takata <takata@linux-m32r.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] m32r: remove arch/m32r/drivers/cs_internal.h
Christoph Hellwig [Wed, 6 Oct 2004 01:15:49 +0000 (18:15 -0700)]
[PATCH] m32r: remove arch/m32r/drivers/cs_internal.h

completely unused wrapper

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] m32r: remove arch/m32r/drivers/m5.[ch]
Christoph Hellwig [Wed, 6 Oct 2004 01:15:37 +0000 (18:15 -0700)]
[PATCH] m32r: remove arch/m32r/drivers/m5.[ch]

this is a 2.4ish block driver that doesn't have the slightest chance to
actually build.  It's also not connected to the build at all.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] m32r: update ioremap routine
Hirokazu Takata [Wed, 6 Oct 2004 01:15:24 +0000 (18:15 -0700)]
[PATCH] m32r: update ioremap routine

Here is a patch to update ioremap*.c for m32r, taken from "Add __iomem
modifier to the return value type of __ioremap() for much stricter
type-checking."

* arch/m32r/mm/ioremap.c: ditto.
- Add __iomem modifier to the return value type of __ioremap()
  for much stricter type-checking.

* arch/m32r/mm/ioremap-nommu.c: ditto.

* include/asm-m32r/io.h:
- Modified for much stricter type-checking.
- Change __inline__ to inline.

Signed-off-by: Hirokazu Takata <takata@linux-m32r.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] x86_64: fix tss off by one
Andi Kleen [Wed, 6 Oct 2004 01:15:12 +0000 (18:15 -0700)]
[PATCH] x86_64: fix tss off by one

From: "Siddha, Suresh B" <suresh.b.siddha@intel.com>

Fix off by one in TSS limit.

Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] x86_64: add newline before MCE
Andi Kleen [Wed, 6 Oct 2004 01:14:59 +0000 (18:14 -0700)]
[PATCH] x86_64: add newline before MCE

(cosmetic) print newline before MCEs

Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] Disable SW irqbalance/irqaffinity for E7520/E7320/E7525 - change TARGET_CPUS...
Suresh B. Siddha [Wed, 6 Oct 2004 01:14:47 +0000 (18:14 -0700)]
[PATCH] Disable SW irqbalance/irqaffinity for E7520/E7320/E7525 - change TARGET_CPUS on x86_64

Set TARGET_CPUS on x86_64 to cpu_online_map.  This brings the code inline
with x86 mach-default.  Fix MSI_TARGET_CPU code which will break with this
target_cpus change.

Signed-off-by: Suresh Siddha <suresh.b.siddha@intel.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] x86_64: make in_gate_vma() safer
Andi Kleen [Wed, 6 Oct 2004 01:14:35 +0000 (18:14 -0700)]
[PATCH] x86_64: make in_gate_vma() safer

x86-64 in_gate_vma would take a read lock on the VMA when the passed
address was inside the 32bit vsyscall page.

This would be called by get_user_pages, which already holds the mmap_sem.

Unfortunately some callers of get_user_pages hold the mmap_sem for writing,
which could in theory cause a deadlock.

I think it can currently not happen because the only users who hold it for
write before calling gup() are coredump and AIO in the ring setup, and both
should not ever access the vsyscall page.

But not taking the semaphore is safer and avoid this here.

Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] x86_64: don't corrupt interrupt flag on timer resume
Andi Kleen [Wed, 6 Oct 2004 01:14:23 +0000 (18:14 -0700)]
[PATCH] x86_64: don't corrupt interrupt flag on timer resume

Don't corrupt interrupt flag in time resume

Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] x86_64: avoid a deadlock during panic
Andi Kleen [Wed, 6 Oct 2004 01:14:13 +0000 (18:14 -0700)]
[PATCH] x86_64: avoid a deadlock during panic

Avoid a deadlock during panic.  Don't take the smp_call_function lock in
smp_send_stop()

Also fix the documentation to conform to Linux standards.

Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] x86_64: fix circular dependency with UNORDERED_IO
Andi Kleen [Wed, 6 Oct 2004 01:14:04 +0000 (18:14 -0700)]
[PATCH] x86_64: fix circular dependency with UNORDERED_IO

Fix a circular dependency

Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] x86_64: remove CONFIG_FRAME_POINTER
Andi Kleen [Wed, 6 Oct 2004 01:13:54 +0000 (18:13 -0700)]
[PATCH] x86_64: remove CONFIG_FRAME_POINTER

CONFIG_FRAME_POINTER has never worked on x86-64 because it never passed
-fno-omit-frame-pointer to the compiler, and that is the only way to get a
frame pointer on x86-64.

It also causes complications with profiling. Drop it.

Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] x86_64: fix profile_pc
Andi Kleen [Wed, 6 Oct 2004 01:13:42 +0000 (18:13 -0700)]
[PATCH] x86_64: fix profile_pc

This fixes profile_pc to work properly on x86-64 and not crash.

It does now a simple backtrace to the caller of the spin lock without
requiring a frame pointer for this.

Frame pointer support has been dropped because it never worked.

There is still a small race window, but the only way to avoid it would be
to rewrite kernel/spinlock.c in assembler again.  The race will account a
profile tick the the parent of the spinlock caller.

Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] x86_64: fix oops with multiple MCEs
Andi Kleen [Wed, 6 Oct 2004 01:13:30 +0000 (18:13 -0700)]
[PATCH] x86_64: fix oops with multiple MCEs

Fix oops when multiple MCE entries are logged.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] x86_64: fix HPET_HACK_ENABLE_DANGEROUS
Andi Kleen [Wed, 6 Oct 2004 01:13:18 +0000 (18:13 -0700)]
[PATCH] x86_64: fix HPET_HACK_ENABLE_DANGEROUS

From: <mg@iceni.pl>

The following patch fixes compilation of time.c with
HPET_HACK_ENABLE_DANGEROUS turned on.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] ppc64: remove redundant #ifdef CONFIG_ALTIVEC
David Gibson [Wed, 6 Oct 2004 01:13:06 +0000 (18:13 -0700)]
[PATCH] ppc64: remove redundant #ifdef CONFIG_ALTIVEC

arch/ppc64/kernel/process.c has an #ifdef CONFIG_ALTIVEC within an #ifdef
CONFIG_ALTIVEC.  This patch removes the inner one.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] ppc64: squash EEH warnings
David Gibson [Wed, 6 Oct 2004 01:12:54 +0000 (18:12 -0700)]
[PATCH] ppc64: squash EEH warnings

A slightly non-ideal version of the recent patch which fixed EEH being a
no-op went in.  The srcsave variable in eeh_memcpy_to_io() is now never
referenced on non-pSeries machines, and so spews hundreds of warnings.  The
variable doesn't actually accomplish anything, so this patch gets rid of
it.

Signed-off-by: David Gibson <dwg@au1.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] ppc32: fix several warnings
Matt Porter [Wed, 6 Oct 2004 01:12:42 +0000 (18:12 -0700)]
[PATCH] ppc32: fix several warnings

Fixes some annoying warnings due to unitialized variables.

Signed-off-by: Matt Porter <mporter@kernel.crashing.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] ppc32: add U-Boot support to Ocotea/440GX port
Matt Porter [Wed, 6 Oct 2004 01:12:30 +0000 (18:12 -0700)]
[PATCH] ppc32: add U-Boot support to Ocotea/440GX port

Adds support for booting the same Ocotea kernel from either the default
PIBS f/w or U-Boot.

Signed-off-by: Matt Porter <mporter@kernel.crashing.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] ppc32: sync ppcboot.h with U-Boot
Matt Porter [Wed, 6 Oct 2004 01:12:17 +0000 (18:12 -0700)]
[PATCH] ppc32: sync ppcboot.h with U-Boot

This puts us back in sync with current U-Boot CVS tree board info
definition.  Please apply.

Signed-off-by: Matt Porter <mporter@kernel.crashing.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] ppc32: export "indirect" DCR helpers
Eugene Surovegin [Wed, 6 Oct 2004 01:12:05 +0000 (18:12 -0700)]
[PATCH] ppc32: export "indirect" DCR helpers

this trivial patch adds missing exports for "indirect" DCR helpers -
__mtdcr & __mfcdr.

Signed-off-by: Eugene Surovegin <ebs@ebshome.net>
Signed-off-by: Matt Porter <mporter@kernel.crashing.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] ppc32: fix PFC1_EPS and PFC1_EPS_SHIFT for IBM440GX
Gerhard Jaeger [Wed, 6 Oct 2004 01:11:53 +0000 (18:11 -0700)]
[PATCH] ppc32: fix PFC1_EPS and PFC1_EPS_SHIFT for IBM440GX

While writing some BSP code for a 440GX custom board, I noticed, that the
DCRN_SDR_PFC1_EPS and DCRN_SDR_PFC1_EPS_SHIFT definitions are wrong and
therefore the functions ibm440gx_get_eth_grp() and ibm440gx_set_eth_grp()
won't work correctly.

Signed-off-by: Matt Porter <mporter@kernel.crashing.org>
Signed-off-by: Gerhard Jaeger <gjaeger@sysgo.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] remove get_cpu_ptr()
Andrew Morton [Wed, 6 Oct 2004 01:11:41 +0000 (18:11 -0700)]
[PATCH] remove get_cpu_ptr()

Ingo points out that it's unusable anyway, because with some configs the
get_cpu() is evaluated and with others it is not.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] amd64 iomem initial annotations
Alexander Viro [Wed, 6 Oct 2004 00:56:53 +0000 (17:56 -0700)]
[PATCH] amd64 iomem initial annotations

Signed-off-by: Al Viro <viro@parcelfarce.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] trivial usb endianness annotations
Alexander Viro [Wed, 6 Oct 2004 00:56:41 +0000 (17:56 -0700)]
[PATCH] trivial usb endianness annotations

trivial endianness annotations in drivers/usb (apply after ohci and isd200
fixes).

Note: drivers/usb is nearly endian-clean at that point; there are several
very dubious places in there (in particular, rtl8150, pegasus and usbnet
are almost certainly broken in mii-related code on big-endian hosts); I'm
leaving them alone for now.

Signed-off-by: Al Viro <viro@parcelfarce.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] isd200 bugfix for 64bit boxen
Alexander Viro [Wed, 6 Oct 2004 00:56:27 +0000 (17:56 -0700)]
[PATCH] isd200 bugfix for 64bit boxen

unsigned long is not a good type to use in declaration of structure we feed
to hardware...

Signed-off-by: Al Viro <viro@parcelfarce.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] ohci bugfix for big-endian 64bit boxen
Alexander Viro [Wed, 6 Oct 2004 00:56:15 +0000 (17:56 -0700)]
[PATCH] ohci bugfix for big-endian 64bit boxen

->dma can be a 64bit variable on 64bit boxen; its value will fit into 32 bits
just fine (due to dma mask).  However, cpu_to_le32p(&...) will break if we
are on a 64bit big-endian; we'll end up up passing it the address of upper
32 bits and get 0 instead of correct value.  Fix is trivial...

Signed-off-by: Al Viro <viro@parcelfarce.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] hfsplus endianness bugfix
Alexander Viro [Wed, 6 Oct 2004 00:56:03 +0000 (17:56 -0700)]
[PATCH] hfsplus endianness bugfix

hfs_bnode_read_u8() always returns 0 on little-endian (cut'n'paste bug -
function is almost exact copy of its u16 counterpart, but be16_to_cpu()
should've been removed here).

Signed-off-by: Al Viro <viro@parcelfarce.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] hfsplus endianness annotations
Alexander Viro [Wed, 6 Oct 2004 00:55:51 +0000 (17:55 -0700)]
[PATCH] hfsplus endianness annotations

Signed-off-by: Al Viro <viro@parcelfarce.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] hfs endianness annotations
Alexander Viro [Wed, 6 Oct 2004 00:55:39 +0000 (17:55 -0700)]
[PATCH] hfs endianness annotations

Signed-off-by: Al Viro <viro@parcelfarce.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] umem iomem and (partial) endianness annotations
Alexander Viro [Wed, 6 Oct 2004 00:55:26 +0000 (17:55 -0700)]
[PATCH] umem iomem and (partial) endianness annotations

Signed-off-by: Al Viro <viro@parcelfarce.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] cpqarray iomem annotations
Alexander Viro [Wed, 6 Oct 2004 00:55:14 +0000 (17:55 -0700)]
[PATCH] cpqarray iomem annotations

Signed-off-by: Al Viro <viro@parcelfarce.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] cciss endianness and iomem annotations
Alexander Viro [Wed, 6 Oct 2004 00:55:02 +0000 (17:55 -0700)]
[PATCH] cciss endianness and iomem annotations

Signed-off-by: Al Viro <viro@parcelfarce.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] i2o_config __user annotations
Alexander Viro [Wed, 6 Oct 2004 00:54:50 +0000 (17:54 -0700)]
[PATCH] i2o_config __user annotations

Signed-off-by: Al Viro <viro@parcelfarce.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] ufs endianness bugfixes
Alexander Viro [Wed, 6 Oct 2004 00:54:38 +0000 (17:54 -0700)]
[PATCH] ufs endianness bugfixes

missing conversions from on-disk to host-endian in a couple of places...

Signed-off-by: Al Viro <viro@parcelfarce.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] ufs endianness annotations
Alexander Viro [Wed, 6 Oct 2004 00:54:26 +0000 (17:54 -0700)]
[PATCH] ufs endianness annotations

Signed-off-by: Al Viro <viro@parcelfarce.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] isofs endianness annotations
Alexander Viro [Wed, 6 Oct 2004 00:54:14 +0000 (17:54 -0700)]
[PATCH] isofs endianness annotations

Signed-off-by: Al Viro <viro@parcelfarce.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] ncpfs (7/7): misc fixes and cleanups
Alexander Viro [Wed, 6 Oct 2004 00:54:02 +0000 (17:54 -0700)]
[PATCH] ncpfs (7/7): misc fixes and cleanups

* remaining endiannes cleanups
* don't mess with setting finfo.i.dataStreamSize when creating the root
  directory inode; that field is ignored when populating in-core directory
  inodes.
* missing cpu_to_le16() in ncp_search_for_fileset() (for big-endian clients
  server sees 0xff7f instead of intended 0x7fff).

Signed-off-by: Al Viro <viro@parcelfarce.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] ncpfs (6/7): trivial endianness annotations
Alexander Viro [Wed, 6 Oct 2004 00:53:50 +0000 (17:53 -0700)]
[PATCH] ncpfs (6/7): trivial endianness annotations

100% straightforward annotations - from gcc POV no code had been changed.

Signed-off-by: Al Viro <viro@parcelfarce.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] ncpfs (5/7): le16 handling in marshalling
Alexander Viro [Wed, 6 Oct 2004 00:53:38 +0000 (17:53 -0700)]
[PATCH] ncpfs (5/7): le16 handling in marshalling

New helper: ncp_reply_le16() (decode 16bit little-endian).

ConvertToNWfromDWORD() cleaned up and fixed (it used to have one too many
le16_to_cpu() in arithmetics, on top of ugly tricks with memcpy() et.al.).
ncp_reply_word() has no callers left; removed.

Signed-off-by: Al Viro <viro@parcelfarce.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] ncpfs (4/7): be16 handling in marshalling
Alexander Viro [Wed, 6 Oct 2004 00:53:26 +0000 (17:53 -0700)]
[PATCH] ncpfs (4/7): be16 handling in marshalling

New marshalling helpers - ncp_add_be16() and ncp_reply_be16().

Encode and decode a big-endian 16bit field resp.

A bunch of places in ncplib_kernel.c switched to usign these.

Signed-off-by: Al Viro <viro@parcelfarce.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] ncpfs (3/7): be32 handling in marshalling
Alexander Viro [Wed, 6 Oct 2004 00:53:14 +0000 (17:53 -0700)]
[PATCH] ncpfs (3/7): be32 handling in marshalling

New helper in marshalling code: ncp_add_be32()

Takes host-endian argument, converts to big-endian and stores into packet
we are building.

A bunch of places in ncplib_kernel.c converted to using it.

Signed-off-by: Al Viro <viro@parcelfarce.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] ncpfs (2/7): date handling cleanup
Alexander Viro [Wed, 6 Oct 2004 00:53:02 +0000 (17:53 -0700)]
[PATCH] ncpfs (2/7): date handling cleanup

trivial cleanup: endianness conversions pulled into ncp_date_dos2unix() and
ncp_date_unix2dos() from their callers.

Signed-off-by: Al Viro <viro@parcelfarce.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] ncpfs (1/7): constants sanitized
Alexander Viro [Wed, 6 Oct 2004 00:52:50 +0000 (17:52 -0700)]
[PATCH] ncpfs (1/7): constants sanitized

That's the beginning of ncpfs endianness cleanup.
* converted fixed-endian constants to little-endian (i.e. replaced
htons(0xCDAB) with cpu_to_le16(0xABCD), etc.).  These guys _are_ little-endian
and make much more sense that way, even aside of annotation issues.

Signed-off-by: Al Viro <viro@parcelfarce.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] quota endianness annotations
Alexander Viro [Wed, 6 Oct 2004 00:52:38 +0000 (17:52 -0700)]
[PATCH] quota endianness annotations

Signed-off-by: Al Viro <viro@parcelfarce.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] fs/partitions endianness annotations
Alexander Viro [Wed, 6 Oct 2004 00:52:26 +0000 (17:52 -0700)]
[PATCH] fs/partitions endianness annotations

Signed-off-by: Al Viro <viro@parcelfarce.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] udf endianness annotation fix
Alexander Viro [Wed, 6 Oct 2004 00:52:14 +0000 (17:52 -0700)]
[PATCH] udf endianness annotation fix

udf/balloc.c::find_next_one_bit() had been confused about types...

Signed-off-by: Al Viro <viro@parcelfarce.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] hton* and ntoh* endianness annotations
Alexander Viro [Wed, 6 Oct 2004 00:52:02 +0000 (17:52 -0700)]
[PATCH] hton* and ntoh* endianness annotations

Signed-off-by: Al Viro <viro@parcelfarce.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] romfs endianness annotations
Alexander Viro [Wed, 6 Oct 2004 00:51:50 +0000 (17:51 -0700)]
[PATCH] romfs endianness annotations

Signed-off-by: Al Viro <viro@parcelfarce.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] arcnet iomem annotations
Alexander Viro [Wed, 6 Oct 2004 00:51:38 +0000 (17:51 -0700)]
[PATCH] arcnet iomem annotations

Signed-off-by: Al Viro <viro@parcelfarce.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] more NULL noise removal in drivers/scsi
Alexander Viro [Wed, 6 Oct 2004 00:51:26 +0000 (17:51 -0700)]
[PATCH] more NULL noise removal in drivers/scsi

trivial junk that had been hanging arond in my tree for months now...

Signed-off-by: Al Viro <viro@parcelfarce.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] more new struct initializers
Alexander Viro [Wed, 6 Oct 2004 00:51:14 +0000 (17:51 -0700)]
[PATCH] more new struct initializers

Signed-off-by: Al Viro <viro@parcelfarce.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] sx8 iomem and endianness annotations + endianness bugfix
Alexander Viro [Wed, 6 Oct 2004 00:51:01 +0000 (17:51 -0700)]
[PATCH] sx8 iomem and endianness annotations + endianness bugfix

fixed bug: le32_to_cpu(desc->size_hi) is broken on big-endian, since
->size_hi is 16bit.

Signed-off-by: Al Viro <viro@parcelfarce.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] DAC960 iomem annotations
Alexander Viro [Wed, 6 Oct 2004 00:50:49 +0000 (17:50 -0700)]
[PATCH] DAC960 iomem annotations

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