]> git.hungrycats.org Git - linux/log
linux
23 years ago[PATCH] shmdt() speedup
Andrew Morton [Sun, 20 Apr 2003 07:28:04 +0000 (00:28 -0700)]
[PATCH] shmdt() speedup

From: William Lee Irwin III <wli@holomorphy.com>

Micro-optimize sys_shmdt(). There are methods of exploiting knowledge
of the vma's being searched to restrict the search space. These are:

(1) shm mappings always start their lives at file offset 0, so only
vma's above shmaddr need be considered. find_vma() can be used
to seek to the proper position in mm->mmap in O(lg(n)) time.

(2) The search is for a vma which could be a fragment of a broken-up
shm mapping, which would have been created starting at shmaddr
with vm_pgoff 0 and then continued no further into userspace
than shmaddr + size. So after having found an initial vma, find
the size of the shm segment it maps to calculate an upper bound
to the virtualspace that needs to be searched.

(3) mremap() would have caused the original checks to miss vma's mapping
the shm segment if shmaddr were the original address at which
the shm segments were attached. This does no better and no worse
than the original code in that situation.

(4) If the chain of references in vma->vm_file->f_dentry->d_inode->i_size
is not guaranteed by refcounting and/or the shm code then this is
oopsable; AFAICT an inode is always allocated.

23 years ago[PATCH] AIO mmap fix
Andrew Morton [Sun, 20 Apr 2003 07:27:57 +0000 (00:27 -0700)]
[PATCH] AIO mmap fix

From: Badari Pulavarty <pbadari@us.ibm.com>

Here is a small bug fix for AIO. get_user_pages() takes number
of pages to map as argument. (not in bytes)

23 years ago[PATCH] quotactl(): sync all quotas
Andrew Morton [Sun, 20 Apr 2003 07:27:50 +0000 (00:27 -0700)]
[PATCH] quotactl(): sync all quotas

From: Jan Kara <jack@suse.cz>

  I'm resending a patch which implements quotactl(2) call for syncing
all devices. Particulary it allows the caller not to specify the device
for syncing and in that case quotas on all the devices are written.
The patch is rather trivial (mostly moving the code).

23 years ago[PATCH] ATI Mach64 build fix
Andrew Morton [Sun, 20 Apr 2003 07:27:44 +0000 (00:27 -0700)]
[PATCH] ATI Mach64 build fix

From: Geert Uytterhoeven <geert@linux-m68k.org>

Atyfb: Add missing parts of reversal of Mobility changes, allowing ATI Mach64
GX support to compile again.

23 years ago[PATCH] hugetlb math overflow fix
Andrew Morton [Sun, 20 Apr 2003 07:27:37 +0000 (00:27 -0700)]
[PATCH] hugetlb math overflow fix

From: William Lee Irwin III <wli@holomorphy.com>

And this one fixes an overflow when there is more than 4GB of hugetlb.

23 years ago[PATCH] follow_hugetlb_page fix
Andrew Morton [Sun, 20 Apr 2003 07:27:30 +0000 (00:27 -0700)]
[PATCH] follow_hugetlb_page fix

From: William Lee Irwin III <wli@holomorphy.com>

follow_hugetlb_page() drops out of the loop prematurely and fails to take the
appropriate refcounts if its starting address was not hugepage-aligned.

It looked a bit unclean too, so I rewrote it.  This fixes a bug, and more
importantly, makes the thing readable by something other than a compiler
(e.g.  programmers).

23 years ago[PATCH] Clean up various buffer-head dependencies
Andrew Morton [Sun, 20 Apr 2003 07:27:23 +0000 (00:27 -0700)]
[PATCH] Clean up various buffer-head dependencies

From: William Lee Irwin III <wli@holomorphy.com>

Remove page_has_buffers() from various functions, document the dependencies
on buffer_head.h from other files besides filemap.c, and s/this file/core VM/
in filemap.c

23 years ago[PATCH] Move __set_page_dirty_buffers to fs/buffer.c
Andrew Morton [Sun, 20 Apr 2003 07:27:14 +0000 (00:27 -0700)]
[PATCH] Move __set_page_dirty_buffers to fs/buffer.c

From: William Lee Irwin III <wli@holomorphy.com>

Move __set_page_dirty_buffers() to fs/buffer.c, as per the FIXME.

23 years ago[PATCH] Turn on NUMA rebalancing
Andrew Morton [Sun, 20 Apr 2003 07:27:09 +0000 (00:27 -0700)]
[PATCH] Turn on NUMA rebalancing

From: "Martin J. Bligh" <mbligh@aracnet.com>

I'd forgotten that I'd set this to only fire every 20s in the past, because
it would rebalance too agressively.  That seems to be fixed now, so we should
turn it back on.

23 years ago[PATCH] Make PCI scanning order the same as 2.4
Andrew Morton [Sun, 20 Apr 2003 07:27:02 +0000 (00:27 -0700)]
[PATCH] Make PCI scanning order the same as 2.4

From: Chuck Ebbert <76306.1226@compuserve.com>

2.4 builds its global PCI device list in breadth-first order.

2.5 is doing the scan that way but defers the construction of the global list
until later and then does it depth-first.  This causes devices to found in
different order by drivers.  The below fixed that problem for me.

Russell King has acked this change.

23 years ago[PATCH] keyboard.c Fix SAK in raw mode
Andrew Morton [Sun, 20 Apr 2003 07:26:55 +0000 (00:26 -0700)]
[PATCH] keyboard.c Fix SAK in raw mode

From: Chris Heath <chris@heathens.co.nz>

Trivial fix to get the SAK key working in raw and medium raw modes.  Patch is
against kernel 2.5.67.

23 years ago[PATCH] Minor fix for driver/serial/core.c
Andrew Morton [Sun, 20 Apr 2003 07:26:49 +0000 (00:26 -0700)]
[PATCH] Minor fix for driver/serial/core.c

From: Jean Tourrilhes <jt@bougret.hpl.hp.com>

The following command will do nothing at all on 2.5.X :
setserial /dev/ttyS0 uart none

23 years ago[PATCH] detect_lost_tick locking fixes
Andrew Morton [Sun, 20 Apr 2003 07:26:42 +0000 (00:26 -0700)]
[PATCH] detect_lost_tick locking fixes

From: john stultz <johnstul@us.ibm.com>

This patch fixes a race in the timer_interrupt code caused by
detect_lost_tick().  Since we're doing lost-tick compensation outside
timer->mark_offset, time can pass between time-source reads which can cause
gettimeofday inconsistencies.

Additionally detect_lost_tick() was broken for the PIT case, since the whole
point of detect_lost_tick() is to interpolate between two time sources to
find inconsistencies.  Additionally this could cause xtime_lock seq_lock
reader starvation which has been causing machine hangs for SMP boxes that use
the PIT as a time source.

This patch fixes the described race by removing detect_lost_tick() and
instead implementing the lost tick detection code inside mark_offset().

Some of the divs and mods being added here might concern folks, but by not
calling timer->get_offset() in detect_lost_tick() we eliminate much of the
same math.  I did some simple cycle counting and the new code comes out on
average equivalent or faster.

23 years ago[PATCH] get_offset_pit and do_timer_overflow vs IRQ locking
Andrew Morton [Sun, 20 Apr 2003 07:26:34 +0000 (00:26 -0700)]
[PATCH] get_offset_pit and do_timer_overflow vs IRQ locking

From: john stultz <johnstul@us.ibm.com>, Alexander Atanasov <alex@ssi.bg>

We want to make sure we update jiffies_p and count_p atomically.  So I'm
inserting the spin_unlock_irqrestore() after we update count_p, rather then
just before.

23 years ago[PATCH] Fix jiffies_to_time[spec | val] and converse to use
Andrew Morton [Sun, 20 Apr 2003 07:26:28 +0000 (00:26 -0700)]
[PATCH] Fix jiffies_to_time[spec | val] and converse to use

From: george anzinger <george@mvista.com>

In the current system (2.5.67) time_spec to jiffies, time_val to
jiffies and the converse (jiffies to time_val and jiffies to
time_spec) all use 1/HZ as the measure of a jiffie.  Because of the
inability of the PIT to actually generate an accurate 1/HZ interrupt,
the wall clock is updated with a more accurate value (999848
nanoseconds per jiffie for HZ = 1000).  This causes a 1/HZ
interpretation of jiffies based timing to run faster than the wall
clock, thus causing sleeps and timers to expire short of the requested
time.  Try, for example:

time sleep 60

This patch changes the conversion routines to use the same value as
the wall clock update code to do the conversions.

The actual math is almost all done at compile time.  The run time
conversions require little if any more execution time.

This patch must be applied after the patch I posted earlier today
which fixed the CLOCK_MONOTONIC resolution issue.

23 years ago[PATCH] Fix POSIX timers to give CLOCK_MONOTONIC full
Andrew Morton [Sun, 20 Apr 2003 07:26:21 +0000 (00:26 -0700)]
[PATCH] Fix POSIX timers to give CLOCK_MONOTONIC full

The POSIX CLOCK_MONOTONIC currently has only 1/HZ resolution.  Further, it is
tied to jiffies (i.e.  is a restatment of jiffies) rather than "xtime" or the
gettimeofday() clock.

This patch changes CLOCK_MONOTONIC to be a restatment of gettimeofday() plus
an offset to remove any clock setting activity from CLOCK_MONOTONIC.  An
offset is kept that represents the difference between CLOCK_MONOTONIC and
gettimeofday().  This offset is updated when ever the gettimeofday() clock is
set to back the clock setting change out of CLOCK_MONOTONIC (which by the
standard, can not be set).

With this change CLOCK_REALTIME (a direct restatement of gettimeofday()),
CLOCK_MONOTONIC and gettimeofday() will all tick at the same time and with
the same rate.  And all will be affected by NTP adjustments (save those which
actually set the time).

23 years ago[PATCH] Fix and clean up DCACHE_REFERENCED usage
Andrew Morton [Sun, 20 Apr 2003 07:26:14 +0000 (00:26 -0700)]
[PATCH] Fix and clean up DCACHE_REFERENCED usage

From: Maneesh Soni <maneesh@in.ibm.com>

This patch changes the way DCACHE_REFERENCED flag is used. It
got messed up in dcache_rcu iterations. I hope this will be ok now.

The flag was meant to be advisory flag which is used while
prune_dcache() so as not to free dentries which have recently
entered d_lru list. At first pass in prune_dcache the dentries
marked DCACHE_REFERENCED are left with the flag reset. and they
are freed in the next pass.

So, now we mark the dentry as DCACHE_REFERENCED when it is first
entering the d_lru list in dput() and resetthe flag in prune_dcache().
If the flag remains reset in the next call to prune_dcache(), the
dentry is then freed.

Also I don't think any file system have to use this flag as it is taken
care by the dcache layer. The patch removes such code from a few of file
systems. Moreover these filesystems were anyway doing worng thing as they
were changing the flag out of dcache_lock.

Changes:
o dput() marks dentry DCACHE_REFERENCED when it is added to the dentry_unused
  list
o no need to set the flag in dget, dget_locked, d_lookup as these guys anyway
  increments the ref count.
o check the ref count in prune_dcache and use DCACHE_REFERENCED flag just for
  two stage aging.
o remove code for setting DACACHE_REFERENCED from reiserfs, fat, xfs and
  exportfs.

23 years ago[PATCH] dentry_stat accounting fix
Andrew Morton [Sun, 20 Apr 2003 07:26:07 +0000 (00:26 -0700)]
[PATCH] dentry_stat accounting fix

From: Maneesh Soni <maneesh@in.ibm.com>

This patch the corrects the dentry_stat.nr_unused calculation.

In select_parent() and shrink_dcache_anon() we were not doing any adjustments
to the nr_unused count after manipulating the dentry_unused list.  Now the
nr_unused count is decremented if the dentry is on dentry_unused list and is
removed from there.

Further in the same routines, we have to adjust the nr_unused count again if
the dentry is moved to the end of d_lru list for pruning.

23 years ago[PATCH] dmfe: don't free skb with local interrupts disabled
Andrew Morton [Sun, 20 Apr 2003 07:26:00 +0000 (00:26 -0700)]
[PATCH] dmfe: don't free skb with local interrupts disabled

dev_kfree_skb() can end up calling local_bh_enable() which goes BUG if local
interrupts are disabled.  Apparently it can deadlock.

So move the skb freeing outside the lock in the dmfe driver.  It will
decrease the lock hold time as well.

23 years ago[PATCH] Fix nc98 partition parser link error
Andrew Morton [Sun, 20 Apr 2003 07:25:54 +0000 (00:25 -0700)]
[PATCH] Fix nc98 partition parser link error

Fix this:

fs/partitions/nec98.c:169: undefined reference to `parse_bsd'

23 years ago[PATCH] 3c574_cs fixes
Andrew Morton [Sun, 20 Apr 2003 07:25:47 +0000 (00:25 -0700)]
[PATCH] 3c574_cs fixes

- It was doing spin_lock_irqsave()/spin_unlock()

- Can't free the skb inside local_irq_save(): kfree_skb ends up running
  local_bh_enable(), which enables interrupts.

23 years agoLinux 2.5.68 v2.5.68
Linus Torvalds [Sat, 19 Apr 2003 12:39:11 +0000 (05:39 -0700)]
Linux 2.5.68

23 years ago[PATCH] IEEE-1394/Firewire updates
Ben Collins [Sat, 19 Apr 2003 12:34:28 +0000 (05:34 -0700)]
[PATCH] IEEE-1394/Firewire updates

- Cleaned up hostinfo usage in all drivers and created a central API to
  handle them all.
- Fixup some spinlock mis-usage.
- Remove devfs_handle mis-usage.
- Cleaned up some heavy handed spinlocking to use mutexes instead.
- Add function to send PHY config packets and use to to settle
  IRM/cycle-master/root descrepancies.

23 years agoMerge bk://bk.arm.linux.org.uk/linux-2.5-serial
Linus Torvalds [Sat, 19 Apr 2003 09:24:09 +0000 (02:24 -0700)]
Merge bk://bk.arm.linux.org.uk/linux-2.5-serial
into home.transmeta.com:/home/torvalds/v2.5/linux

23 years ago[PATCH] s/to long/too long/
Andries E. Brouwer [Sat, 19 Apr 2003 09:21:35 +0000 (02:21 -0700)]
[PATCH] s/to long/too long/

23 years ago[PATCH] correct error message for failed clone ns
Andries E. Brouwer [Sat, 19 Apr 2003 09:21:25 +0000 (02:21 -0700)]
[PATCH] correct error message for failed clone ns

If copy_namespace() returns -EPERM, copy_process() will
return a confusing -ENOMEM. Fix it thus.

23 years ago[PATCH] fix slab corruption in namespace.c
Andries E. Brouwer [Sat, 19 Apr 2003 09:21:17 +0000 (02:21 -0700)]
[PATCH] fix slab corruption in namespace.c

new_ns = kmalloc(sizeof(struct namespace *), GFP_KERNEL);
thing wasn't a very good idea.

The rest are whitespace cleanups.

23 years ago[PATCH] struct loop_info64 with __u64
Andries E. Brouwer [Fri, 18 Apr 2003 10:18:49 +0000 (03:18 -0700)]
[PATCH] struct loop_info64 with __u64

(i) Replace in struct loop_info the dev_t field by __kernel_old_dev_t,
where this type is defined in <asm/posix_types.h>, so that problems
with a differently sized dev_t in userspace are avoided.

(ii) Introduce a new loop_info64, with __u64 device, inode and offset
fields.

23 years ago[PATCH] gconfig: bug #540
Romain Liévin [Fri, 18 Apr 2003 10:02:51 +0000 (03:02 -0700)]
[PATCH] gconfig: bug #540

This replaces checkboxes by radiobuttons whereever necessary (menu
choices).  It partially fixes the #540 bug report.

23 years agoMerge bk://kernel.bkbits.net/davem/sparc-2.5
Linus Torvalds [Fri, 18 Apr 2003 10:02:10 +0000 (03:02 -0700)]
Merge bk://kernel.bkbits.net/davem/sparc-2.5
into home.transmeta.com:/home/torvalds/v2.5/linux

23 years ago[BRIDGE]: Ethernet bridge driver device mangling cleanup
Stephen Hemminger [Fri, 18 Apr 2003 04:28:56 +0000 (21:28 -0700)]
[BRIDGE]: Ethernet bridge driver device mangling cleanup

Second try at the bridge driver module handling cleanup...

1) Eliminate keeping a seperate bridge_list and use a bit on
   the priv_flags structure.  This is equivalent to how the VLAN
   code works. Makes code cleaner and correctly handles cases like
   creating a bridge with the same name as an existing ether device etc.

2) Don't do own module ref counting that is inhernently racy.
   Instead set owner field and cleanup debris on unload.

3) Do last state cleanup in destructor

4) Change of bridge state (dev_open/stop) should use write_lock

5) Make sure timer is not running when cleared.

6) Use "const char *" where possible

23 years ago[BRIDGE]: Fix race in br_fdb_get_entries.
Stephen Hemminger [Fri, 18 Apr 2003 04:27:24 +0000 (21:27 -0700)]
[BRIDGE]: Fix race in br_fdb_get_entries.

23 years ago[SPARC64]: Missed rusage/rlimit/wait4 compat conversions.
David S. Miller [Fri, 18 Apr 2003 04:20:24 +0000 (21:20 -0700)]
[SPARC64]: Missed rusage/rlimit/wait4 compat conversions.

23 years ago[SPARC64]: Remove LVM ioctls.
Andries E. Brouwer [Fri, 18 Apr 2003 03:46:21 +0000 (20:46 -0700)]
[SPARC64]: Remove LVM ioctls.

23 years ago[DECNET]: DECnet routing fixes etc.
Steven Whitehouse [Fri, 18 Apr 2003 03:43:09 +0000 (20:43 -0700)]
[DECNET]: DECnet routing fixes etc.
o As requested, macros in dn_fib.h changed to decnet specific names
o Two bugs fixed (only in 2.5 decnet stack) relating to bind and connection
  states.
o Numerous style changes: using C99 initialisers and inline rather
  than __inline__
o Use struct flowi as routing key (for forthcoming flow cache)
o Add metrics to routing table
o Many routing table bug fixes
o New wait code to improve efficiency
o We use real device MTUs now rather than saying "hmm... looks like ethernet
  must be 1500" as we used to (still one or two places to fix, but its
  mostly correct in this patch)
o Tidy up in af_decnet.c:dn_sendmsg() in preparation for zerocopy
o Updates to rtnetlink code to return more information
o Removed ioctl() for decnet fib. It never did anything and rtnetlink is
  a far better interface anyway.
o Converted /proc/decnet_neigh to seq_file (other /proc files to follow)
o DECnet route cache now uses RCU like the ipv4 route cache
o Misc bug fixes wherever I found them
o SO_BINDTODEVICE works for outgoing connections

23 years ago[VLAN]: Cleaner module interface.
Stephen Hemminger [Fri, 18 Apr 2003 03:40:06 +0000 (20:40 -0700)]
[VLAN]: Cleaner module interface.

23 years agoMerge nuts.ninka.net:/home/davem/src/BK/network-2.5
David S. Miller [Fri, 18 Apr 2003 03:34:48 +0000 (20:34 -0700)]
Merge nuts.ninka.net:/home/davem/src/BK/network-2.5
into nuts.ninka.net:/home/davem/src/BK/net-2.5

23 years ago[PATCH] devfs: make devfs_generate_path static
Christoph Hellwig [Fri, 18 Apr 2003 02:20:39 +0000 (19:20 -0700)]
[PATCH] devfs: make devfs_generate_path static

There's just one caller in fs/devfs/base.c left.

23 years ago[PATCH] devfs: cleanup partition handling interaction
Christoph Hellwig [Fri, 18 Apr 2003 02:20:20 +0000 (19:20 -0700)]
[PATCH] devfs: cleanup partition handling interaction

Always pass around the pathnames for the devfs entries / directories
instead of the devfs_handle_ts.  Cleanes up the code massivly.

23 years ago[PATCH] devfs: sanitize devfs_register_tape prototype
Christoph Hellwig [Fri, 18 Apr 2003 02:19:55 +0000 (19:19 -0700)]
[PATCH] devfs: sanitize devfs_register_tape prototype

Pass in the path directly instead of getting it from a devfs_handle_t.

23 years ago[PATCH] devfs: cleanup devfs use in scsi
Christoph Hellwig [Fri, 18 Apr 2003 02:19:42 +0000 (19:19 -0700)]
[PATCH] devfs: cleanup devfs use in scsi

Store the path of it's devfs directory in struct scsi_device.  Use
it in the devfs_register calls instead of the devfs_handle_t
which will go away soon.

23 years ago[PATCH] devfs: cleanup devfs use in ide
Christoph Hellwig [Fri, 18 Apr 2003 02:19:31 +0000 (19:19 -0700)]
[PATCH] devfs: cleanup devfs use in ide

Store the path of it's devfs directory in ide_drive_t.  Use
it in the devfs_register calls instead of the devfs_handle_t
which will go away soon.

23 years ago[PATCH] devfs: minor miscdev changes
Christoph Hellwig [Fri, 18 Apr 2003 02:19:22 +0000 (19:19 -0700)]
[PATCH] devfs: minor miscdev changes

Make sure the first argument to devfs_register is zero.

23 years ago[PATCH] devfs: fix compilation
Christoph Hellwig [Fri, 18 Apr 2003 02:19:14 +0000 (19:19 -0700)]
[PATCH] devfs: fix compilation

As several people found out while I was asleep I sent you
a bogus patch version and devfs didn't compile in your
tree since then.  Fix it.

23 years ago[PATCH] remove unnecessary FIXME
Andrew Morton [Thu, 17 Apr 2003 15:29:03 +0000 (08:29 -0700)]
[PATCH] remove unnecessary FIXME

Supporting PAGE_CACHE_SIZE != PAGE_SIZE is a "won't fix" for 2.6.  (Bill
Irwin)

23 years agoCleanups: remove unused label and fix crappy counting code that
Linus Torvalds [Thu, 17 Apr 2003 15:28:12 +0000 (08:28 -0700)]
Cleanups: remove unused label and fix crappy counting code that
didn't work.

23 years ago[PATCH] Fix scsi build on !CONFIG_GENERIC_ISA_DMA
Matt Porter [Thu, 17 Apr 2003 15:02:50 +0000 (08:02 -0700)]
[PATCH] Fix scsi build on !CONFIG_GENERIC_ISA_DMA

This allows the SCSI subsystem to build on systems where
CONFIG_GENERIC_ISA_DMA is not set.

23 years agoMerge redhat.com:/garz/repo/linus-2.5
Jeff Garzik [Thu, 17 Apr 2003 16:48:45 +0000 (12:48 -0400)]
Merge redhat.com:/garz/repo/linus-2.5
into redhat.com:/garz/repo/misc-2.5

23 years ago[ia32] use __builtin_memcpy compiler intrinsic for small memcpy's
Jeff Garzik [Thu, 17 Apr 2003 16:38:57 +0000 (12:38 -0400)]
[ia32] use __builtin_memcpy compiler intrinsic for small memcpy's

23 years ago[NET]: Actually apply Yoshfuji's fl6_{src,dst} patch.
David S. Miller [Thu, 17 Apr 2003 11:57:09 +0000 (04:57 -0700)]
[NET]: Actually apply Yoshfuji's fl6_{src,dst} patch.

23 years agoMerge bk://bk.arm.linux.org.uk/linux-2.5-pcmcia
Linus Torvalds [Thu, 17 Apr 2003 10:08:13 +0000 (03:08 -0700)]
Merge bk://bk.arm.linux.org.uk/linux-2.5-pcmcia
into home.transmeta.com:/home/torvalds/v2.5/linux

23 years ago[PCMCIA] Fix non-PCI PCMCIA bridge oops
Russell King [Fri, 18 Apr 2003 01:53:22 +0000 (02:53 +0100)]
[PCMCIA] Fix non-PCI PCMCIA bridge oops

Only call pci_remove_behind_bridge() if we have a PCI-based bridge
controller.

23 years agoMerge bk://bk.arm.linux.org.uk/linux-2.5-rmk
Linus Torvalds [Thu, 17 Apr 2003 10:02:19 +0000 (03:02 -0700)]
Merge bk://bk.arm.linux.org.uk/linux-2.5-rmk
into home.transmeta.com:/home/torvalds/v2.5/linux

23 years ago[ARM] Fix Kconfig breakage in arch/arm/mach-iop3xx/Kconfig
Russell King [Thu, 17 Apr 2003 23:26:15 +0000 (00:26 +0100)]
[ARM] Fix Kconfig breakage in arch/arm/mach-iop3xx/Kconfig

When a "depends" statement against all configuration options of a choice,
which causes all options of that choice to be disabled, it sends Kconfig
into an infinite loop.  Move the "depends" clause to the choice statement
instead.

23 years ago[ARM PATCH] 1506/1: Add iq80321 MTD mapping
Eli Carter [Thu, 17 Apr 2003 22:59:27 +0000 (23:59 +0100)]
[ARM PATCH] 1506/1: Add iq80321 MTD mapping

Patch from Eli Carter

# Thu Apr 17 14:05:58 CDT 2003 ejc@rnd-linux-c84
# iq80321-mtd
#
# Add the MTD mapping for the flash chip on the iq80321 board.
# The drivers/mtd/maps/iq80321.c file comes from 2.4.19-rmk4-ds2, and is
# essentially a copy of the iq80310.c file in the same directory.
# This version used C99 initializers
#
# Diff'ed against 2.5.65-rmk1+1472-4+1502-3
# Applies cleanly to linux-2.5.67-rmk1+1502-3
#
#  arch/arm/def-configs/iq80321 |   61 ++++++++++-----
#  drivers/mtd/maps/Kconfig     |    8 ++
#  drivers/mtd/maps/Makefile    |    1
#  drivers/mtd/maps/iq80321.c   |  169 +++++++++++++++++++++++++++++++++++++++++++
#  4 files changed, 218 insertions(+), 21 deletions(-)
#

23 years ago[ARM PATCH] 1503/1: Adds basic support for the iq80321 board
Eli Carter [Thu, 17 Apr 2003 18:37:48 +0000 (19:37 +0100)]
[ARM PATCH] 1503/1: Adds basic support for the iq80321 board

Patch from Eli Carter

# Tue Apr 15 16:07:34 CDT 2003 ejc@rnd-linux-c84
# add-iq80321
#
# Adds basic support for the iq80321 board.
#
# Diff'ed against 2.5.65-rmk1+1472-4+1502
# Applies to 2.5.67-rmk1+1502 with offsets
#
#  arch/arm/boot/Makefile                    |    1
#  arch/arm/boot/compressed/head-xscale.S    |    6
#  arch/arm/def-configs/iq80321              |  676 ++++++++++++++++++++++++++++++
#  arch/arm/kernel/debug.S                   |   10
#  arch/arm/kernel/entry-armv.S              |   22
#  arch/arm/mach-iop3xx/Kconfig              |   12
#  arch/arm/mach-iop3xx/Makefile             |   16
#  arch/arm/mach-iop3xx/arch.c               |   26 +
#  arch/arm/mach-iop3xx/iop321-irq.c         |   95 ++++
#  arch/arm/mach-iop3xx/iop321-pci.c         |  257 +++++++++++
#  arch/arm/mach-iop3xx/iop321-time.c        |   92 ++++
#  arch/arm/mach-iop3xx/iq80321-pci.c        |   98 ++++
#  arch/arm/mach-iop3xx/mm-321.c             |   64 ++
#  arch/arm/mm/proc-xscale.S                 |   19
#  include/asm-arm/arch-iop3xx/hardware.h    |   17
#  include/asm-arm/arch-iop3xx/iop321-irqs.h |   83 +++
#  include/asm-arm/arch-iop3xx/iop321.h      |  143 ++++++
#  include/asm-arm/arch-iop3xx/iq80321.h     |   17
#  include/asm-arm/arch-iop3xx/irqs.h        |   67 --
#  include/asm-arm/arch-iop3xx/memory.h      |   11
#  include/asm-arm/arch-iop3xx/serial.h      |   11
#  include/asm-arm/arch-iop3xx/timex.h       |    6
#  include/asm-arm/arch-iop3xx/uncompress.h  |    7
#  include/asm-arm/mach/pci.h                |    4
#  24 files changed, 1691 insertions(+), 69 deletions(-)

23 years ago[ARM PATCH] 1502/1: rename IOP310 config vars to IOP3XX
Eli Carter [Thu, 17 Apr 2003 18:34:40 +0000 (19:34 +0100)]
[ARM PATCH] 1502/1: rename IOP310 config vars to IOP3XX

Patch from Eli Carter

# Tue Apr 15 14:41:15 CDT 2003 ejc@rnd-linux-c84
# config-rename
#
# This patch renames the IOP310 config variables to IOP3XX in preparation for
# IOP321 support.
#
# Diff'ed against 2.5.65-rmk1+1472-4
# Applies to 2.5.67-rmk1 with an offset.
#
#  arch/arm/Kconfig                     |   14 +++++-----
#  arch/arm/Makefile                    |    2 -
#  arch/arm/def-configs/iq80310         |   15 +++++-----
#  arch/arm/kernel/debug.S              |    2 -
#  arch/arm/mach-iop3xx/Kconfig         |   49 ++++++++++++++++++++++-------------
#  arch/arm/mach-iop3xx/Makefile        |    8 ++---
#  include/asm-arm/arch-iop3xx/memory.h |    2 -
#  include/asm-arm/arch-iop3xx/timex.h  |    2 -
#  8 files changed, 54 insertions(+), 40 deletions(-)
#

23 years ago[ARM PATCH] 1501/1: fix a path name in comment
Eli Carter [Thu, 17 Apr 2003 18:30:58 +0000 (19:30 +0100)]
[ARM PATCH] 1501/1: fix a path name in comment

Patch from Eli Carter

Fixes the filename in the comment in include/asm-arm/arch/iop3xx/timex.h

Applies cleanly to 2.5.67-rmk1

23 years agoDon't allow rmap to touch reserved or out-of-range pages
Linus Torvalds [Thu, 17 Apr 2003 09:33:05 +0000 (02:33 -0700)]
Don't allow rmap to touch reserved or out-of-range pages

23 years ago[PATCH] update intermezzo contacts
Alan Cox [Thu, 17 Apr 2003 09:31:31 +0000 (02:31 -0700)]
[PATCH] update intermezzo contacts

23 years ago[PATCH] first cut at 3c505 clean up
Alan Cox [Thu, 17 Apr 2003 09:31:20 +0000 (02:31 -0700)]
[PATCH] first cut at 3c505 clean up

23 years ago[PATCH] input typo fixes
Alan Cox [Thu, 17 Apr 2003 09:31:11 +0000 (02:31 -0700)]
[PATCH] input typo fixes

23 years ago[PATCH] compile fix for sx.c
Alan Cox [Thu, 17 Apr 2003 09:31:01 +0000 (02:31 -0700)]
[PATCH] compile fix for sx.c

Missing <uaccess.h>

23 years ago[PATCH] compile fix for rio_linux.c
Alan Cox [Thu, 17 Apr 2003 09:30:51 +0000 (02:30 -0700)]
[PATCH] compile fix for rio_linux.c

Missing <uaccess.h>

23 years ago[PATCH] small ipmi updates
Alan Cox [Thu, 17 Apr 2003 09:30:41 +0000 (02:30 -0700)]
[PATCH] small ipmi updates

23 years ago[PATCH] Fix z2ram
Alan Cox [Thu, 17 Apr 2003 09:30:33 +0000 (02:30 -0700)]
[PATCH] Fix z2ram

23 years ago[PATCH] fix a make kerneldoc glitch
Alan Cox [Thu, 17 Apr 2003 09:30:24 +0000 (02:30 -0700)]
[PATCH] fix a make kerneldoc glitch

23 years ago[PATCH] more random C99 initializers
Alan Cox [Thu, 17 Apr 2003 09:30:15 +0000 (02:30 -0700)]
[PATCH] more random C99 initializers

23 years ago[PATCH] more random C99 initializers
Alan Cox [Thu, 17 Apr 2003 09:30:07 +0000 (02:30 -0700)]
[PATCH] more random C99 initializers

23 years ago[PATCH] generalise fpu_irq also add pc98 for x86 code
Alan Cox [Thu, 17 Apr 2003 09:29:58 +0000 (02:29 -0700)]
[PATCH] generalise fpu_irq also add pc98 for x86 code

The idea is to move more to if(pc98) so that we can attempt to get all
the ports buildable as one "generic" port in time. I don't think its p
possible for PC9800 but no need to dig holes

23 years ago[PATCH] generalise pic mask names since the port varies
Alan Cox [Thu, 17 Apr 2003 09:29:49 +0000 (02:29 -0700)]
[PATCH] generalise pic mask names since the port varies

23 years ago[PATCH] generalise traps and nmi
Alan Cox [Thu, 17 Apr 2003 09:29:41 +0000 (02:29 -0700)]
[PATCH] generalise traps and nmi

23 years ago[PATCH] generalise PIT usage in tsc code, plus tsc sync
Alan Cox [Thu, 17 Apr 2003 09:29:30 +0000 (02:29 -0700)]
[PATCH] generalise PIT usage in tsc code, plus tsc sync

23 years ago[PATCH] generalise more PIT usage
Alan Cox [Thu, 17 Apr 2003 09:29:23 +0000 (02:29 -0700)]
[PATCH] generalise more PIT usage

23 years ago[PATCH] now we have the time logic in Mach_* use it
Alan Cox [Thu, 17 Apr 2003 09:29:14 +0000 (02:29 -0700)]
[PATCH] now we have the time logic in Mach_* use it

23 years ago[PATCH] generalise PIC locations, PIT and FPU IRQ
Alan Cox [Thu, 17 Apr 2003 09:29:06 +0000 (02:29 -0700)]
[PATCH] generalise PIC locations, PIT and FPU IRQ

23 years ago[PATCH] Update proc.c for renamed fpu irq
Alan Cox [Thu, 17 Apr 2003 09:28:55 +0000 (02:28 -0700)]
[PATCH] Update proc.c for renamed fpu irq

23 years ago[PATCH] use names for PIT access. Not all PIT is the same location
Alan Cox [Thu, 17 Apr 2003 09:28:48 +0000 (02:28 -0700)]
[PATCH] use names for PIT access. Not all PIT is the same location

23 years ago[PATCH] generalise mptable access
Alan Cox [Thu, 17 Apr 2003 09:28:39 +0000 (02:28 -0700)]
[PATCH] generalise mptable access

23 years ago[PATCH] use the mach resources we added before
Alan Cox [Thu, 17 Apr 2003 09:28:31 +0000 (02:28 -0700)]
[PATCH] use the mach resources we added before

Now hw resources can be per mach- and we dont need a pile of ugly
ifdefs for weird shite

23 years ago[PATCH] update visws to use generic mask names
Alan Cox [Thu, 17 Apr 2003 09:28:21 +0000 (02:28 -0700)]
[PATCH] update visws to use generic mask names

23 years ago[PATCH] new summit ID
Alan Cox [Thu, 17 Apr 2003 09:28:14 +0000 (02:28 -0700)]
[PATCH] new summit ID

23 years ago[PATCH] another broken APM bios
Alan Cox [Thu, 17 Apr 2003 09:28:06 +0000 (02:28 -0700)]
[PATCH] another broken APM bios

23 years ago[PATCH] H8300 support
Alan Cox [Thu, 17 Apr 2003 09:27:57 +0000 (02:27 -0700)]
[PATCH] H8300 support

23 years agoMerge bk://kernel.bkbits.net/gregkh/linux/linus-2.5
Linus Torvalds [Thu, 17 Apr 2003 08:36:01 +0000 (01:36 -0700)]
Merge bk://kernel.bkbits.net/gregkh/linux/linus-2.5
into home.transmeta.com:/home/torvalds/v2.5/linux

23 years ago[PATCH] USB: fix oops in usb_hotplug for root devices
Greg Kroah-Hartman [Thu, 17 Apr 2003 07:41:36 +0000 (00:41 -0700)]
[PATCH] USB: fix oops in usb_hotplug for root devices

23 years ago[PATCH] dm devfs fix
Christoph Hellwig [Thu, 17 Apr 2003 06:10:26 +0000 (23:10 -0700)]
[PATCH] dm devfs fix

Don't pass DEVFS_FL_CURRENT_OWNER to devfs_register, the uid/gid of new
nodes should always be 0.

23 years ago[PATCH] remove DEVFS_FL_*
Christoph Hellwig [Thu, 17 Apr 2003 06:09:52 +0000 (23:09 -0700)]
[PATCH] remove DEVFS_FL_*

Okay, all flags are gone from devfs callers, time to remove the gunk
handling it.  devfs_register prototype will change later.

23 years ago[PATCH] make devpts filesystem mandatory even for CONFIG_DEVFS
Christoph Hellwig [Thu, 17 Apr 2003 06:09:42 +0000 (23:09 -0700)]
[PATCH] make devpts filesystem mandatory even for CONFIG_DEVFS

This patch rips out handling of UNIX98 ptys from devfs.  We already
have a special small filesystem to handle it (devpts) that's always
compiled in anyway.  This allows to get rid of all DEVFS_FL* flags and
some gunk in devfs.

23 years ago[PATCH] bring devfs_register calls in dvb in shape
Christoph Hellwig [Thu, 17 Apr 2003 06:09:34 +0000 (23:09 -0700)]
[PATCH] bring devfs_register calls in dvb in shape

Trying to always have a NULL first argument to simplify devfs code
big time in mid-term.  (Especially in preparation of Adam's smalldevfs).

23 years ago[PATCH] fix devfs support in i386 microcode driver
Christoph Hellwig [Thu, 17 Apr 2003 06:09:26 +0000 (23:09 -0700)]
[PATCH] fix devfs support in i386 microcode driver

register a /dev/cpu/microcode symlink instead of a regular file
with the same name - regular file support is gone in devfs.

23 years ago[PATCH] IEEE-1394/Firewire updates
Ben Collins [Thu, 17 Apr 2003 06:07:43 +0000 (23:07 -0700)]
[PATCH] IEEE-1394/Firewire updates

- Add driver registration for dv1394/video1394/raw1394.
- Fix 3 sleep-while-atomic bugs in ohci1394 and ieee1394.
- Cleanup some bus-reset handling in ohci1394.
- Add empty config-rom handling.
- Check and handle SBP-2 logins active/available for non-exclusive
  logins.
- Fix bug in SBP-2 DMA cleanup.

23 years ago[PATCH] Fix orlov allocator boundary case
Andrew Morton [Thu, 17 Apr 2003 05:52:11 +0000 (22:52 -0700)]
[PATCH] Fix orlov allocator boundary case

In the interests of SMP scalability the ext2 free blocks and free inodes
counters are "approximate".  But there is a piece of code in the Orlov
allocator which fails due to boundary conditions on really small
filesystems.

Fix that up via a final allocation pass which simply uses first-fit for
allocation of a directory inode.

23 years ago[PATCH] Handle invalid pfns in page_add/remove_rmap
Andrew Morton [Thu, 17 Apr 2003 05:52:04 +0000 (22:52 -0700)]
[PATCH] Handle invalid pfns in page_add/remove_rmap

My recent micro-optmisation to these functions broke the pfn_valid()
checks.  Revert it.

23 years ago[PATCH] Use WARN_ON in local_bh_enable()
Andrew Morton [Thu, 17 Apr 2003 05:51:56 +0000 (22:51 -0700)]
[PATCH] Use WARN_ON in local_bh_enable()

This BUG_ON is triggering via ppp's line discipline flushing, due to
brokenness in tty_io.c.

We need to fix tty.  Meanwhile, let's not gratuitously nuke people's boxes.

23 years agoCset exclude: arndt@lin02384n012.mc.schoenewald.de|ChangeSet|20030415031138|37565
Greg Kroah-Hartman [Thu, 17 Apr 2003 03:11:50 +0000 (20:11 -0700)]
Cset exclude: arndt@lin02384n012.mc.schoenewald.de|ChangeSet|20030415031138|37565

23 years ago[SERIAL] Move make modem control signals accessible to line discplines
Russell King [Thu, 17 Apr 2003 00:37:19 +0000 (01:37 +0100)]
[SERIAL] Move make modem control signals accessible to line discplines

We also parse modem control signals in the tty layer, and fail with
EINVAL if the driver does not provide the methods.  All tty drivers
which require modem control support should be updated to provide
the new tiocmset and tiocmget methods.

23 years agoMerge flint.arm.linux.org.uk:/usr/src/linux-bk-2.5/linux-2.5
Russell King [Wed, 16 Apr 2003 17:55:01 +0000 (18:55 +0100)]
Merge flint.arm.linux.org.uk:/usr/src/linux-bk-2.5/linux-2.5
into flint.arm.linux.org.uk:/usr/src/linux-bk-2.5/linux-2.5-serial

23 years ago[PATCH] getrlimit,setrlimit,getrusage,wait4 unification
Randolph Chung [Wed, 16 Apr 2003 14:45:43 +0000 (07:45 -0700)]
[PATCH] getrlimit,setrlimit,getrusage,wait4 unification

23 years agoMerge http://gkernel.bkbits.net/net-drivers-2.5
Linus Torvalds [Wed, 16 Apr 2003 14:43:17 +0000 (07:43 -0700)]
Merge http://gkernel.bkbits.net/net-drivers-2.5
into home.transmeta.com:/home/torvalds/v2.5/linux