]> git.hungrycats.org Git - linux/log
linux
22 years ago[PATCH] cifs: annotate NEGOTIATE_{REQ,RESP}
Alexander Viro [Tue, 21 Sep 2004 09:47:01 +0000 (02:47 -0700)]
[PATCH] cifs: annotate NEGOTIATE_{REQ,RESP}

Signed-off-by: Al Viro <viro@parcelfarce.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years agoMerge bk://kernel.bkbits.net/davem/atm-2.6
Linus Torvalds [Tue, 21 Sep 2004 08:39:49 +0000 (01:39 -0700)]
Merge bk://kernel.bkbits.net/davem/atm-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years agoMerge http://lia64.bkbits.net/linux-ia64-release-2.6.9
Linus Torvalds [Tue, 21 Sep 2004 08:18:20 +0000 (01:18 -0700)]
Merge http://lia64.bkbits.net/linux-ia64-release-2.6.9
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years agoMerge agluck-lia64.sc.intel.com:/data/home/aegl/BK/work/sgi
Tony Luck [Tue, 21 Sep 2004 19:48:58 +0000 (19:48 +0000)]
Merge agluck-lia64.sc.intel.com:/data/home/aegl/BK/work/sgi
into agluck-lia64.sc.intel.com:/data/home/aegl/BK/linux-ia64-release-2.6.9

22 years ago[IA64] sn2_defconfig update take 2
Jesse Barnes [Tue, 21 Sep 2004 19:47:47 +0000 (19:47 +0000)]
[IA64] sn2_defconfig update take 2

Please apply this one instead.  It turns on mmtimer and increases the number
of sg entries for the LSI driver.

Signed-off-by: Jesse Barnes <jbarnes@sgi.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
22 years ago[IA64] ia32compat: Disable syscalls sys32_iopl() and sys32_ioperm() on ia64.
Gordon Jin [Tue, 21 Sep 2004 19:41:02 +0000 (19:41 +0000)]
[IA64] ia32compat: Disable syscalls sys32_iopl() and sys32_ioperm() on ia64.

Disable syscalls sys32_iopl() and sys32_ioperm() on ia64.
To emulate these 2 syscalls correctly, we need to guarantee uncached
memory attributes on ia64, which is difficult. The only user of this
interface that we know of is X. So we think it's better to disable it.

Signed-off-by: Gordon Jin <gordon.jin@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
22 years ago[IA64] ia32compat: Put signal restorer code on a gate page
Kevin Tian [Tue, 21 Sep 2004 19:38:16 +0000 (19:38 +0000)]
[IA64] ia32compat: Put signal restorer code on a gate page

When userland doesn't specify sigaction->sa_restorer, we try to put
the restorer code on the stack. But this breaks ia32 binaries with
non-executable stacks. We now put the restorer code on a gate page.

Signed-off-by: Kevin Tian <kevin.tian@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
22 years agoMerge bk://kernel.bkbits.net/davem/net-2.6
Linus Torvalds [Tue, 21 Sep 2004 08:00:30 +0000 (01:00 -0700)]
Merge bk://kernel.bkbits.net/davem/net-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years agoMerge davem@nuts.davemloft.net:/disk1/BK/net-2.6
David S. Miller [Tue, 21 Sep 2004 14:16:19 +0000 (07:16 -0700)]
Merge davem@nuts.davemloft.net:/disk1/BK/net-2.6
into kernel.bkbits.net:/home/davem/net-2.6

22 years ago[ATM]: [he] Make code more readable with list_for_each_entry
Chas Williams [Tue, 21 Sep 2004 07:59:49 +0000 (00:59 -0700)]
[ATM]: [he] Make code more readable with list_for_each_entry

From Domen Puncer <domen@coderock.org>

Signed-off-by: David S. Miller <davem@davemloft.net>
22 years ago[ATM]: [drivers] Use msleep() instead of schedule_timeout()
Chas Williams [Tue, 21 Sep 2004 07:58:34 +0000 (00:58 -0700)]
[ATM]: [drivers] Use msleep() instead of schedule_timeout()

From Nishanth Aravamudan <nacc@us.ibm.com>

Signed-off-by: David S. Miller <davem@davemloft.net>
22 years ago[ATM]: Use __iomem where appropriate.
David S. Miller [Tue, 21 Sep 2004 07:28:56 +0000 (00:28 -0700)]
[ATM]: Use __iomem where appropriate.

Signed-off-by: David S. Miller <davem@davemloft.net>
22 years ago[ATM]: [drivers] fix warnings related to readl/writel changes
Chas Williams [Tue, 21 Sep 2004 07:25:10 +0000 (00:25 -0700)]
[ATM]: [drivers] fix warnings related to readl/writel changes

Signed-off-by: David S. Miller <davem@davemloft.net>
22 years ago[SPARC64]: Update compat code for sys_waitid changes.
David S. Miller [Tue, 21 Sep 2004 06:44:36 +0000 (23:44 -0700)]
[SPARC64]: Update compat code for sys_waitid changes.

Signed-off-by: David S. Miller <davem@davemloft.net>
22 years ago[IPV4]: Zap CONFIG_IP_ROUTE_TOS
David S. Miller [Tue, 21 Sep 2004 06:35:49 +0000 (23:35 -0700)]
[IPV4]: Zap CONFIG_IP_ROUTE_TOS

These facilities are now available by default.
The config option makes no sense because:
1) It makes no change to the layout of any
   data structure, therefore it has no impact
   upon memory usage of the routing tables.
2) It makes no significant change to code size,
   only a handfull of lookup comparisons are
   protected by the option.
3) It is needed for full RFC1812 compliance anyways.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
22 years ago[IPV4]: Clean up fib_hash.c list handling.
David S. Miller [Tue, 21 Sep 2004 06:29:32 +0000 (23:29 -0700)]
[IPV4]: Clean up fib_hash.c list handling.

1) Use linux/list.h facilities instead of by-hand
   list implementation.

2) Use fib_alias structure, hung off of fib_node,
   to represent routes which all have the same
   destination prefix, yet have different TOS and
   priority values.

Signed-off-by: David S. Miller <davem@davemloft.net>
22 years ago[PATCH] x86-64: waitid fallout
Roland McGrath [Tue, 21 Sep 2004 00:43:51 +0000 (17:43 -0700)]
[PATCH] x86-64: waitid fallout

This patch updates the x86-64's compat code to handle the new argument
to waitid.

Sorry for the oversight.

22 years ago[PATCH] Warn that ipchains and ipfwadm are going away
Rusty Russell [Tue, 21 Sep 2004 00:40:31 +0000 (17:40 -0700)]
[PATCH] Warn that ipchains and ipfwadm are going away

At the recent netfilter workshop in Erlangen, we was decided to remove
the backwards compatibility code for ipchains and ipfwadm.  This will
allow significant cleanup of interfaces, since we had to have a
mid-level interface for the backwards compatibility layer to use.

Start off with a warning for 2.6.9, so any remaining users have a chance
to migrate.  Their firewall scripts might not check return values, and
they might get a nasty surprise when this goes away.

22 years ago[PATCH] Another ip_conntrack seq fix: ip_conntrack_expect
Rusty Russell [Tue, 21 Sep 2004 00:40:19 +0000 (17:40 -0700)]
[PATCH] Another ip_conntrack seq fix: ip_conntrack_expect

/proc/net/ip_conntrack_expect was changed over to seq_file, but a \n
is missing.

22 years agoMerge bk://bk.arm.linux.org.uk/linux-2.6-mmc
Linus Torvalds [Tue, 21 Sep 2004 00:39:08 +0000 (17:39 -0700)]
Merge bk://bk.arm.linux.org.uk/linux-2.6-mmc
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years agoMerge bk://bk.arm.linux.org.uk/linux-2.6-rmk
Linus Torvalds [Tue, 21 Sep 2004 00:37:21 +0000 (17:37 -0700)]
Merge bk://bk.arm.linux.org.uk/linux-2.6-rmk
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years agoMerge bk://are.twiddle.net/axp-2.6/
Linus Torvalds [Tue, 21 Sep 2004 00:15:21 +0000 (17:15 -0700)]
Merge bk://are.twiddle.net/axp-2.6/
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years agoMerge bk://drm.bkbits.net/drm-2.6
Linus Torvalds [Tue, 21 Sep 2004 00:13:10 +0000 (17:13 -0700)]
Merge bk://drm.bkbits.net/drm-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years agoMerge starflyer.(none):/home/airlied/bitkeeper/drm-2.6
Dave Airlie [Wed, 22 Sep 2004 05:25:32 +0000 (15:25 +1000)]
Merge starflyer.(none):/home/airlied/bitkeeper/drm-2.6
into starflyer.(none):/home/airlied/bitkeeper/drm-removecount

22 years agodrm: drop __HAVE_COUNTER macros
Dave Airlie [Tue, 21 Sep 2004 07:39:18 +0000 (17:39 +1000)]
drm: drop __HAVE_COUNTER macros

This removes all the __HAVE_COUNTER macro and replaces them with
the driver setting the values in its register_fns.

Signed-off-by: Dave Airlie <airlied@linux.ie>
22 years agodrm: complete fix for drm_scatter.h
Dave Airlie [Tue, 21 Sep 2004 06:07:23 +0000 (16:07 +1000)]
drm: complete fix for drm_scatter.h

Another issue from the macro conversion.

Signed-off-by: Dave Airlie <airlied@linux.ie>
22 years ago[PATCH] ppc64: Fix __raw_* IO accessors
Benjamin Herrenschmidt [Tue, 21 Sep 2004 00:11:36 +0000 (17:11 -0700)]
[PATCH] ppc64: Fix __raw_* IO accessors

Linus removed the "volatile" statement from the definition of the
__raw_* IO accessors on ppc64, which cause some real bad optisations to
happen in some fbdev's like matroxfb to happen (just imagine that
matroxfb loops reading an IO register waiting for a bit to change).

The __raw_xxxx() functions still want ordered accesses (they avoid the
byteswap, though)

Signed-off-by: Benjamin Herrenschmidt <benh@kenrel.crashing.org>
22 years ago[MMC] Ensure semaphores are initialised before use. Gah.
Russell King [Mon, 20 Sep 2004 22:11:41 +0000 (23:11 +0100)]
[MMC] Ensure semaphores are initialised before use.  Gah.

22 years ago[MMC] PXAMCI: enable use of platform specific data.
Russell King [Mon, 20 Sep 2004 21:44:59 +0000 (22:44 +0100)]
[MMC] PXAMCI: enable use of platform specific data.

This allows platforms to hook in their card detection, power control
and power availability information.

22 years ago[ARM] Prevent state machine leakage in ARM APM emulation.
Russell King [Mon, 20 Sep 2004 19:22:26 +0000 (20:22 +0100)]
[ARM] Prevent state machine leakage in ARM APM emulation.

Don't allow threads which are acking a suspend request to leave
the APM ioctl call.  This prevents the state machine breaking.

22 years ago[ALPHA] Add compile-time assert concerning rt_sigframe layout.
Richard Henderson [Mon, 20 Sep 2004 17:55:21 +0000 (10:55 -0700)]
[ALPHA] Add compile-time assert concerning rt_sigframe layout.

22 years agoCorrect prototypes for sys_wait4 and sys_waitpid.
Richard Henderson [Mon, 20 Sep 2004 17:53:57 +0000 (10:53 -0700)]
Correct prototypes for sys_wait4 and sys_waitpid.

22 years ago[ALPHA] Fix some compiler warnings from gcc 4.
Richard Henderson [Mon, 20 Sep 2004 17:53:02 +0000 (10:53 -0700)]
[ALPHA] Fix some compiler warnings from gcc 4.

22 years ago[MMC] Ensure PXA MMC interrupts are disabled on chip.
Russell King [Mon, 20 Sep 2004 11:21:45 +0000 (12:21 +0100)]
[MMC] Ensure PXA MMC interrupts are disabled on chip.

22 years ago[MMC] Fix mmc_block suspend/resume handling (again).
Russell King [Mon, 20 Sep 2004 11:07:54 +0000 (12:07 +0100)]
[MMC] Fix mmc_block suspend/resume handling (again).

The previous change is not the whole story - the mmc queue
thread may be handling a request.  We must wait for outstanding
requests to complete before allowing the suspend to proceed,
otherwise we may suffer loss of data.

22 years ago[SPARC64]: Fix memset() in sunsu.c and sunzilog.c
David S. Miller [Mon, 20 Sep 2004 06:46:20 +0000 (23:46 -0700)]
[SPARC64]: Fix memset() in sunsu.c and sunzilog.c

sizeof(ptr) --> sizeof(*ptr)

Signed-off-by: David S. Miller <davem@davemloft.net>
22 years ago[SPARC64]: Improve kernel stack backtraces.
David S. Miller [Mon, 20 Sep 2004 06:45:14 +0000 (23:45 -0700)]
[SPARC64]: Improve kernel stack backtraces.

In particular, handle init_task backtraces.

Signed-off-by: David S. Miller <davem@davemloft.net>
22 years agoppc32: merge network card Kconfig duplication
Linus Torvalds [Mon, 20 Sep 2004 04:47:58 +0000 (21:47 -0700)]
ppc32: merge network card Kconfig duplication

22 years ago[PATCH] Compatibility fixes for different card versions
Javier Achirica [Mon, 20 Sep 2004 10:14:46 +0000 (06:14 -0400)]
[PATCH] Compatibility fixes for different card versions

22 years ago[PATCH] r8169: default on disabling PCIDAC
François Romieu [Mon, 20 Sep 2004 10:05:51 +0000 (06:05 -0400)]
[PATCH] r8169: default on disabling PCIDAC

Default to disabling PCI DAC as this option appears unsafe on amd64
(original suggestion by Hans-Frieder Vogt <hfvogt@arcor.de>).

The driver will typically report PCI System error when something goes
wrong. The relevant interrupt is not masked any more and the driver
can thus be disabled.

Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
22 years ago[MMC] Fix suspend/resume buglet.
Russell King [Sun, 19 Sep 2004 19:56:22 +0000 (20:56 +0100)]
[MMC] Fix suspend/resume buglet.

Block wants the queue spinlock and interrupts disabled for
blk_stop_queue() and blk_start_queue().

22 years agoMerge bk://bk.arm.linux.org.uk/linux-2.6-rmk
Linus Torvalds [Sat, 18 Sep 2004 13:30:01 +0000 (06:30 -0700)]
Merge bk://bk.arm.linux.org.uk/linux-2.6-rmk
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years agoMerge bk://bk.arm.linux.org.uk/linux-2.6-mmc
Linus Torvalds [Sat, 18 Sep 2004 13:27:03 +0000 (06:27 -0700)]
Merge bk://bk.arm.linux.org.uk/linux-2.6-mmc
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years ago[MMC] Add v2.x and v3.x CID parsing.
Russell King [Sat, 18 Sep 2004 18:47:23 +0000 (19:47 +0100)]
[MMC] Add v2.x and v3.x CID parsing.

22 years ago[MMC] Clean up MMC card CID/CSD decoding, stage 1.
Russell King [Sat, 18 Sep 2004 17:32:07 +0000 (18:32 +0100)]
[MMC] Clean up MMC card CID/CSD decoding, stage 1.

Now that the raw CSD and CID information are available in mmc_card,
there's little point not passing the mmc_card structure into the
decode functions themselves.

This will be necessary, since there's several different formats of
CID decode, and the format appears to depend on data in the CSD.

If we are unable to decode the CID or CSD, we can mark the card bad
and refuse to bind it to any drivers.  Users can then retrieve the
raw undecoded CID and CSD from sysfs for debugging purposes.

22 years ago[MMC] Export raw MMC card CID and CSD registers via device model.
Russell King [Sat, 18 Sep 2004 17:06:51 +0000 (18:06 +0100)]
[MMC] Export raw MMC card CID and CSD registers via device model.

22 years ago[MMC] Save MMC card raw CSD structure.
Russell King [Sat, 18 Sep 2004 16:38:44 +0000 (17:38 +0100)]
[MMC] Save MMC card raw CSD structure.

22 years ago[MMC] Use raw CID rather than decoded CID
Russell King [Sat, 18 Sep 2004 11:50:57 +0000 (12:50 +0100)]
[MMC] Use raw CID rather than decoded CID

Save the raw CID information, and use this to match cards
with their corresponding mmc_card structure.  Different
protocol revisions have different CID formats.

22 years agousb: add host controller __iomem annotations
Linus Torvalds [Sat, 18 Sep 2004 05:17:07 +0000 (22:17 -0700)]
usb: add host controller __iomem annotations

22 years ago[PATCH] fix missing unlock_page in mm/rmap.c
Nick Piggin [Sat, 18 Sep 2004 02:35:55 +0000 (19:35 -0700)]
[PATCH] fix missing unlock_page in mm/rmap.c

A required unlock_page will be missed in a very rare (but possible) race
condition. Acked by Hugh, who says:

It'll be hard to hit because of the additional page_mapped test above,
with truncate unmapping ptes from mms before it advances to removing
pages from cache; but nothing to prevent it happening.

Signed-off-by: Nick Piggin <nickpiggin@yahoo.com.au>
Signed-off-by: Hugh Dickins <hugh@veritas.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years agoMerge davem@nuts.davemloft.net:/disk1/BK/net-2.6
David S. Miller [Fri, 17 Sep 2004 23:38:27 +0000 (16:38 -0700)]
Merge davem@nuts.davemloft.net:/disk1/BK/net-2.6
into kernel.bkbits.net:/home/davem/net-2.6

22 years ago[ARM] i8042 is available on many footbridge hosts, not just ARCH_EBSA285
Russell King [Fri, 17 Sep 2004 21:47:08 +0000 (22:47 +0100)]
[ARM] i8042 is available on many footbridge hosts, not just ARCH_EBSA285

22 years ago[IPV4]: Size fib_info_devhash[] correctly.
Herbert Xu [Fri, 17 Sep 2004 16:20:35 +0000 (09:20 -0700)]
[IPV4]: Size fib_info_devhash[] correctly.

There is a thinko in the allocation for the devindex hash.  We're
only giving it 8 elements when it should be 1<<8 elements.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
22 years ago[IPV4]: Fix BUG triggered in fib_sync_down()
David S. Miller [Fri, 17 Sep 2004 16:17:16 +0000 (09:17 -0700)]
[IPV4]: Fix BUG triggered in fib_sync_down()

If you modload then unload a network device,
without creating any ipv4 routes, it is possible
for the laddr hash to be not allocated yet
in fib_semantics.

Signed-off-by: David S. Miller <davem@davemloft.net>
22 years ago[XFRM] make xfrm_lookup() fully af-independent.
David S. Miller [Fri, 17 Sep 2004 08:17:53 +0000 (01:17 -0700)]
[XFRM] make xfrm_lookup() fully af-independent.

Simplified from 2 patches by Hideaki YOSHIFUJI
<yoshfuji@linux-ipv6.org>

Signed-off-by: David S. Miller <davem@davemloft.net>
22 years ago[PATCH] fix driver name in eth1394 as returned by ETHTOOL_GDRVINFO
Andrew Morton [Fri, 17 Sep 2004 08:07:11 +0000 (04:07 -0400)]
[PATCH] fix driver name in eth1394 as returned by ETHTOOL_GDRVINFO

From: Thierry Vignaud <tvignaud@mandrakesoft.com>

The GDRVINFO command of the ETHTOOL ioctl returns a bogus driver name.

Signed-off-by: Andrew Morton <akpm@osdl.org>
22 years agofb: add __iomem annotations to cfbfillrect
Linus Torvalds [Fri, 17 Sep 2004 07:27:00 +0000 (00:27 -0700)]
fb: add __iomem annotations to cfbfillrect

22 years agofb: add __iomem annotations to cfbcopyarea
Linus Torvalds [Fri, 17 Sep 2004 06:54:21 +0000 (23:54 -0700)]
fb: add __iomem annotations to cfbcopyarea

22 years agosym53c8xx_2: remove unnecessary IO pointer casts
Linus Torvalds [Fri, 17 Sep 2004 06:52:54 +0000 (23:52 -0700)]
sym53c8xx_2: remove unnecessary IO pointer casts

They just meant that the __iomem annotation couldn't shine
through.

22 years agoDo __iomem annotations on VGA state handling
Linus Torvalds [Fri, 17 Sep 2004 06:36:24 +0000 (23:36 -0700)]
Do __iomem annotations on VGA state handling

22 years agoppc64: Need to define HPAGE_SHIFT even when HUGETLB_PAGE not configured.
Linus Torvalds [Fri, 17 Sep 2004 06:20:32 +0000 (23:20 -0700)]
ppc64: Need to define HPAGE_SHIFT even when HUGETLB_PAGE not configured.

Required for the recent removal of LARGE_PAGE_SHIFT.

22 years ago[PATCH] __iomem fixups for atiixp soundcards
Trond Myklebust [Fri, 17 Sep 2004 06:00:30 +0000 (23:00 -0700)]
[PATCH] __iomem fixups for atiixp soundcards

Signed-off-by: Trond Myklebust <trond.myklebust@fys.uio.no>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years agoMerge bk://kernel.bkbits.net/davem/net-2.6
Linus Torvalds [Fri, 17 Sep 2004 05:45:23 +0000 (22:45 -0700)]
Merge bk://kernel.bkbits.net/davem/net-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years agoMerge bk://kernel.bkbits.net/davem/sparc-2.6
Linus Torvalds [Fri, 17 Sep 2004 05:44:11 +0000 (22:44 -0700)]
Merge bk://kernel.bkbits.net/davem/sparc-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years agoremove i2o_core.c
Linus Torvalds [Fri, 17 Sep 2004 05:31:05 +0000 (22:31 -0700)]
remove i2o_core.c

It is unused and obsolete.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] sparc32: vmalloc address fix
William Lee Irwin III [Fri, 17 Sep 2004 05:17:54 +0000 (22:17 -0700)]
[PATCH] sparc32: vmalloc address fix

Resolves the framebuffer errors on some older sparc32s (we triggered it on
a SparcStation 2).

Signed-off-by: William Irwin <wli@holomorphy.com>
Signed-off-by: Tom 'spot' Callaway <tcallawa@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] remove sh64 smplock.h
Andrew Morton [Fri, 17 Sep 2004 05:17:43 +0000 (22:17 -0700)]
[PATCH] remove sh64 smplock.h

It is unused and obsolete.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] Fix write() return values for reiserfs.
Robin Holt [Fri, 17 Sep 2004 05:17:28 +0000 (22:17 -0700)]
[PATCH] Fix write() return values for reiserfs.

This patch fixes the direct I/O return value for reiserfs writes to be
ssize_t instead of int.

Signed-off-by: Robin Holt <holt@sgi.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] Fix write() return values for tmpfs.
Robin Holt [Fri, 17 Sep 2004 05:17:17 +0000 (22:17 -0700)]
[PATCH] Fix write() return values for tmpfs.

This patch makes the return from the write() syscall actually an ssize_t
instead of an int.

Signed-off-by: Robin Holt <holt@sgi.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] tune vmalloc size
Ingo Molnar [Fri, 17 Sep 2004 05:17:02 +0000 (22:17 -0700)]
[PATCH] tune vmalloc size

There are a few devices that use lots of ioremap space.  vmalloc space is a
showstopper problem for them.

this patch adds the vmalloc=<size> boot parameter to override
__VMALLOC_RESERVE.  The default is 128mb right now - e.g.  vmalloc=256m
doubles the size.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Arjan van de Ven <arjanv@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] bio_alloc() cleanup
Andrew Morton [Fri, 17 Sep 2004 05:16:50 +0000 (22:16 -0700)]
[PATCH] bio_alloc() cleanup

de-spaghettify this function.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] Add MTD map driver for Intel IXP2000 NPU
Deepak Saxena [Fri, 17 Sep 2004 05:16:36 +0000 (22:16 -0700)]
[PATCH] Add MTD map driver for Intel IXP2000 NPU

The following patch adds the MTD map driver for Intel's IXP2000 NPU.  The
driver is already in MTD CVS and I've gotten the OK from David to push it
upstream.

Missing Kconfig bits from Lennert Buytenhek <buytenh@wantstofly.org>

Signed-off-by: Deepak Saxena <dsaxena@plexity.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] Update IXP4xx MTD driver from CVS MTD
Deepak Saxena [Fri, 17 Sep 2004 05:16:21 +0000 (22:16 -0700)]
[PATCH] Update IXP4xx MTD driver from CVS MTD

The following patch updates the IXP4xx MTD driver with a compile fix from
the CVS repository.  David has given me the OK to push this upstream.

Signed-off-by: Deepak Saxena <dsaxena@plexity.net>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] Document ARM pci=firmware option
Deepak Saxena [Fri, 17 Sep 2004 05:16:07 +0000 (22:16 -0700)]
[PATCH] Document ARM pci=firmware option

Added a new pci= command line option specific to ARM systems in
-rc2 and it should be added to kernel-parameters.txt.

Signed-off-by: Deepak Saxena <dsaxena@plexity.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] time interpolators logic fix
Christoph Lameter [Fri, 17 Sep 2004 05:15:53 +0000 (22:15 -0700)]
[PATCH] time interpolators logic fix

Report the resolution of the time source correctly for time interpolators
with a frequency over 1 Ghz.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] mips: fixed do_signal in arch/mips/kernel/signal.c
Yoichi Yuasa [Fri, 17 Sep 2004 05:15:40 +0000 (22:15 -0700)]
[PATCH] mips: fixed do_signal in arch/mips/kernel/signal.c

The change of get_signal_to_deliver() is followed.

Signed-off-by: Yoichi Yuasa <yuasa@hh.iij4u.or.jp>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] ide: remove obsolete CONFIG_BLK_DEV_ADMA
Raphael Zimmerer [Fri, 17 Sep 2004 05:15:26 +0000 (22:15 -0700)]
[PATCH] ide: remove obsolete CONFIG_BLK_DEV_ADMA

In drivers/ide/Kconfig there's a hidden config-item named BLK_DEV_ADMA.
Nowhere in the sources are any references to this item, so this option
simply is obsolete.

This patch removes the according item from drivers/ide/Kconfig.

Signed-off-by: Raphael Zimmerer <killekulla@rdrz.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] uml: update defconfig
Jeff Dike [Fri, 17 Sep 2004 05:15:12 +0000 (22:15 -0700)]
[PATCH] uml: update defconfig

Signed-off-by: Jeff Dike <jdike@addtoit.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] uml: code cleanup
Jeff Dike [Fri, 17 Sep 2004 05:14:58 +0000 (22:14 -0700)]
[PATCH] uml: code cleanup

Here's another batch of "obviously harmless" changes:
comments
unsigned long -> __u32 changes for some data that needs to be 32 bits
cleanups
removal of an unused declaration
rearrangement of includes

Signed-off-by: Jeff Dike <jdike@addtoit.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] uml: remove useless ioctls
Jeff Dike [Fri, 17 Sep 2004 05:14:45 +0000 (22:14 -0700)]
[PATCH] uml: remove useless ioctls

The UML block driver had some useless ioctls in it somehow.  This gets rid of
them.

Signed-off-by: Jeff Dike <jdike@addtoit.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] uml: network driver fixes
Jeff Dike [Fri, 17 Sep 2004 05:14:33 +0000 (22:14 -0700)]
[PATCH] uml: network driver fixes

This is from Gerd Knorr.  It fixes a network hang caused by the host side of
an interface being full when the UML interface is brought up, preventing any
SIGIOs from happening.  It also implements an ioctl needed for ethtool.

Signed-off-by: Jeff Dike <jdike@addtoit.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] uml: mconsole fixes and cleanups
Jeff Dike [Fri, 17 Sep 2004 05:14:19 +0000 (22:14 -0700)]
[PATCH] uml: mconsole fixes and cleanups

This patch
makes a couple of functions static
tidies code a bit
sends a response on shutdown before the shutdown happens

Signed-off-by: Jeff Dike <jdike@addtoit.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] uml: more EINTR protection
Jeff Dike [Fri, 17 Sep 2004 05:14:08 +0000 (22:14 -0700)]
[PATCH] uml: more EINTR protection

This adds retrying on EINTR to a couple more places.

Signed-off-by: Jeff Dike <jdike@addtoit.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] uml: get rid of the arch EXTRAVERSION
Jeff Dike [Fri, 17 Sep 2004 05:13:53 +0000 (22:13 -0700)]
[PATCH] uml: get rid of the arch EXTRAVERSION

I thought this was gone already.  It was only intended for my own patch
numbering, and never intended for any other trees.

Signed-off-by: Jeff Dike <jdike@addtoit.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] uml: clean up terminal state handling
Jeff Dike [Fri, 17 Sep 2004 05:13:41 +0000 (22:13 -0700)]
[PATCH] uml: clean up terminal state handling

This patch cleans up UML's handling of terminal state with better error
handling, interface cleanup, and some code tidying.

Signed-off-by: Jeff Dike <jdike@addtoit.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] uml: restrict tlb flushing
Jeff Dike [Fri, 17 Sep 2004 05:13:30 +0000 (22:13 -0700)]
[PATCH] uml: restrict tlb flushing

One of UML's tlb flushing routines was ignoring the address range passed in by
its callers.  This patch fixes that.

Signed-off-by: Jeff Dike <jdike@addtoit.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] uml: export memmove
Jeff Dike [Fri, 17 Sep 2004 05:13:18 +0000 (22:13 -0700)]
[PATCH] uml: export memmove

Signed-off-by: Jeff Dike <jdike@addtoit.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] uml: comment UML's signal handling
Jeff Dike [Fri, 17 Sep 2004 05:13:02 +0000 (22:13 -0700)]
[PATCH] uml: comment UML's signal handling

This adds a couple of comments so that people don't get confused into making
misguided fixes, and I don't get confused into applying them.

Signed-off-by: Jeff Dike <jdike@addtoit.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] uml: copy_user fixes
Jeff Dike [Fri, 17 Sep 2004 05:12:48 +0000 (22:12 -0700)]
[PATCH] uml: copy_user fixes

This patch fixes some copy_user bugs:

- kernelspace page faults that happen on behalf of a process are now
  correctly handled

- add copy_user treatment so a fault handler which looks at the faulting
  instruction

- added a note to do the same with the ldt stuff some day

Signed-off-by: Jeff Dike <jdike@addtoit.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] uml: fix call to sys_clone
Jeff Dike [Fri, 17 Sep 2004 05:12:33 +0000 (22:12 -0700)]
[PATCH] uml: fix call to sys_clone

This patch changes the calling convention of clone on i386 to match that of
the host by leaving the fourth argument unused.

Signed-off-by: Jeff Dike <jdike@addtoit.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] uml: iomem fix
Jeff Dike [Fri, 17 Sep 2004 05:12:22 +0000 (22:12 -0700)]
[PATCH] uml: iomem fix

This patch rounds up the size of a file used for iomem emulation up to the
nearest page.  This makes mmap work much better on the last page of the
file.

Signed-off-by: Jeff Dike <jdike@addtoit.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] uml: eliminate signal order delivery dependency
Jeff Dike [Fri, 17 Sep 2004 05:12:07 +0000 (22:12 -0700)]
[PATCH] uml: eliminate signal order delivery dependency

On 2.4 hosts signals are delivered in numeric order when there are multiple
pending at a given time.  UML developed a subtle dependency on this
ordering, which broke on 2.6 hosts and the separate process and thread
signal queues.

This patch eliminates that dependency.

Signed-off-by: Jeff Dike <jdike@addtoit.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] uml: let page faults always be delivered immediately
Jeff Dike [Fri, 17 Sep 2004 05:11:55 +0000 (22:11 -0700)]
[PATCH] uml: let page faults always be delivered immediately

This allows page faults to be delivered when they happen.  Without this, it
can happen that a page fault will occur when SIGSEGV is disabled, and the
host will then just kill UML because it can't invoke the handler.

Signed-off-by: Jeff Dike <jdike@addtoit.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] uml: cleaning up
Jeff Dike [Fri, 17 Sep 2004 05:11:41 +0000 (22:11 -0700)]
[PATCH] uml: cleaning up

This patch is a whole lot of "obviously won't break anything" changes,
including
renaming the UML console functions more consistently
notes to myself
code movement
making some functions static
error path cleanup
printk fixes

Signed-off-by: Jeff Dike <jdike@addtoit.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] uml: convert the real-time clock to gettimeofday from rdtsc
Jeff Dike [Fri, 17 Sep 2004 05:11:29 +0000 (22:11 -0700)]
[PATCH] uml: convert the real-time clock to gettimeofday from rdtsc

There are a whole bunch of reasons to use gettimeofday rather than rdtsc,
so this patch does just that.

Signed-off-by: Jeff Dike <jdike@addtoit.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] uml: enable the timer *after* the timer handler
Jeff Dike [Fri, 17 Sep 2004 05:10:46 +0000 (22:10 -0700)]
[PATCH] uml: enable the timer *after* the timer handler

Otherwise, we'll sometimes get timer interrupts that we can't handle.

Signed-off-by: Jeff Dike <jdike@addtoit.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] uml: fix a signal race
Jeff Dike [Fri, 17 Sep 2004 05:10:32 +0000 (22:10 -0700)]
[PATCH] uml: fix a signal race

This patch saves and restores UML's idea of user mode across an interrupt.
Without this, an interrupt arriving at the wrong time can cause UML to lose
track of whether an interrupted handler is handing a userspace interrupt.

From: Ingo Molnar
Signed-off-by: Jeff Dike <jdike@addtoit.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] uml: finish the signals across a reboot fix
Jeff Dike [Fri, 17 Sep 2004 05:10:21 +0000 (22:10 -0700)]
[PATCH] uml: finish the signals across a reboot fix

Due to me not refreshing this patch earlier, the last reboot signals patch was
missing the actual fix.

Signed-off-by: Jeff Dike <jdike@addtoit.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] uml: finish conversion to sigjmp_buf/siglongjmp
Jeff Dike [Fri, 17 Sep 2004 05:10:06 +0000 (22:10 -0700)]
[PATCH] uml: finish conversion to sigjmp_buf/siglongjmp

UML needs to use siglongjmp instead of longjmp everywhere.  This patch fixes
the remaining longjmp/jmp_buf occurrences.

Signed-off-by: Jeff Dike <jdike@addtoit.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] uml: update handle_IRQ_event
Jeff Dike [Fri, 17 Sep 2004 05:09:54 +0000 (22:09 -0700)]
[PATCH] uml: update handle_IRQ_event

A small update to make UML's handle_IRQ_event look like the i386 version.

Signed-off-by: Jeff Dike <jdike@addtoit.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>