]> git.hungrycats.org Git - linux/log
linux
23 years agoMerge http://linux-isdn.bkbits.net/linux-2.5.make
Linus Torvalds [Thu, 6 Mar 2003 09:06:17 +0000 (01:06 -0800)]
Merge http://linux-isdn.bkbits.net/linux-2.5.make
into home.transmeta.com:/home/torvalds/v2.5/linux

23 years agoMerge tp1.ruhr-uni-bochum.de:/scratch/kai/kernel/v2.5/linux-2.5
Kai Germaschewski [Thu, 6 Mar 2003 12:31:23 +0000 (06:31 -0600)]
Merge tp1.ruhr-uni-bochum.de:/scratch/kai/kernel/v2.5/linux-2.5
into tp1.ruhr-uni-bochum.de:/scratch/kai/kernel/v2.5/linux-2.5.make

23 years agodo_mounts: Fix boot from ramdisk
Kai Germaschewski [Thu, 6 Mar 2003 12:27:31 +0000 (06:27 -0600)]
do_mounts: Fix boot from ramdisk

Russell King investigated a failure case I introduced: When booting
with "load_ramdisk=1", we use the kernel root= parameter to determine
from what device to get the contents to copy into a ramdisk and then
mount that ramdisk as root.

For the copy to work, /dev/root needs to point to the device to load the
ramdisk from.

23 years agoMerge bk://bk.arm.linux.org.uk
Linus Torvalds [Thu, 6 Mar 2003 09:05:28 +0000 (01:05 -0800)]
Merge bk://bk.arm.linux.org.uk
into home.transmeta.com:/home/torvalds/v2.5/linux

23 years ago[ARM] Add generic SSP "PIO" mode driver
Russell King [Fri, 7 Mar 2003 00:16:38 +0000 (00:16 +0000)]
[ARM] Add generic SSP "PIO" mode driver

Add SSP PIO driver - provides an interface for talking to
microcontrollers and such like connected to the SA1110's
SSP port.

23 years agoMerge flint.arm.linux.org.uk:/usr/src/linux-bk-2.5/linux-2.5
Russell King [Thu, 6 Mar 2003 20:34:37 +0000 (20:34 +0000)]
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-rmk

23 years ago[CPUFREQ] Make sa11x0_ppcr_to_freq return in units of kHz, not 100kHz.
Russell King [Thu, 6 Mar 2003 20:26:33 +0000 (20:26 +0000)]
[CPUFREQ] Make sa11x0_ppcr_to_freq return in units of kHz, not 100kHz.

23 years ago[ARM] CPUFREQ - allow ARM to work with userspace governor.
Russell King [Thu, 6 Mar 2003 19:27:52 +0000 (19:27 +0000)]
[ARM] CPUFREQ - allow ARM to work with userspace governor.

Patch from Dominik Brodowski.

This patch is necessary to update the ARM drivers so that they can
live with the new cpufreq governor "userspace" (which I sent to Linus a
moment ago).

23 years ago[CPUFREQ] Update ARM CPUFREQ drivers
Russell King [Thu, 6 Mar 2003 16:49:18 +0000 (16:49 +0000)]
[CPUFREQ] Update ARM CPUFREQ drivers

A 4 patch set from Dominik Brodowski, tested and fixed up by rmk
for ARM.

(1)

- the system3.c cpufreq notifier couldn't possibly compile before because
      cpufreq_updateminmax has been undefined for ages.
- clean up sa1100fb.c notifier to specify exactly what's left TBD.
- double #include of cpufreq.c in drivers/pcmcia/sa1100_generic.c

(2)

Split up config symbols, add help text for CPU_FREQ_PROC_INTF

(3)

- update the Integrator CPUfreq driver so that it can get along with
  cpufreq policies.
- modularize Integrator CPUfreq driver (all it did with
  !CONFIG_CPU_FREQ was to print out some debug information)

(4)

- update the SA11x0 CPUfreq drivers so that they can get along with
  cpufreq policies and governors.
- update the cpufreq core so that cpufreq_get() returns something
  sensible during the first ->setpolicy or ->target call.

23 years ago[ARM] Clean up ARM PCI support (bios32.c)
Russell King [Thu, 6 Mar 2003 16:27:13 +0000 (16:27 +0000)]
[ARM] Clean up ARM PCI support (bios32.c)

Eliminate have_isa_bridge - use isa_bridge instead.
Clean up PCI bus walking.
Clean up detection of fast back to back capability.
Ensure we set the bridge control register appropriately.
Pin swizzle functions are never called with pin == 0.

23 years ago[ARM] Add better PM support to SA1111 and SA11x0.
Russell King [Thu, 6 Mar 2003 16:09:12 +0000 (16:09 +0000)]
[ARM] Add better PM support to SA1111 and SA11x0.

This follows our existing PM interfaces.

23 years ago[ARM] Power management updates
Russell King [Thu, 6 Mar 2003 16:01:00 +0000 (16:01 +0000)]
[ARM] Power management updates

This provides an element of core PM support to ARM, providing an APM
like user space interface, and separating the core PM support from
the SA1100 PM implementation.

23 years ago[ARM] Ensure we preserve other CPSR bits when switching to SVC mode.
Russell King [Thu, 6 Mar 2003 15:53:08 +0000 (15:53 +0000)]
[ARM] Ensure we preserve other CPSR bits when switching to SVC mode.

23 years ago[ARM] Update mach-types to latest vesion.
Russell King [Thu, 6 Mar 2003 14:58:36 +0000 (14:58 +0000)]
[ARM] Update mach-types to latest vesion.

23 years ago[ARM] Make TLB instruction selection more fine-grained
Russell King [Thu, 6 Mar 2003 14:53:11 +0000 (14:53 +0000)]
[ARM] Make TLB instruction selection more fine-grained

This eliminates some unnecessary branches and instructions in the
TLB flush macros where configurations allow for this to occur.

23 years ago[ARM] Fix ARM ide.h
Russell King [Thu, 6 Mar 2003 14:44:32 +0000 (14:44 +0000)]
[ARM] Fix ARM ide.h

Kill ide_* resource handling.  Add __ide_mm* macros to use our string
based mmio.

23 years ago[ARM] Kill old mkdep dependency hack.
Russell King [Thu, 6 Mar 2003 14:07:07 +0000 (14:07 +0000)]
[ARM] Kill old mkdep dependency hack.

We include a header file in an indirect method, which mkdep didn't
understand.  Now that mkdep is gone, we don't need the hack to make
mkdep do the right thing.

23 years ago[ARM] Make ARM's pci_controller_num dev argument appear to be used.
Russell King [Thu, 6 Mar 2003 14:03:09 +0000 (14:03 +0000)]
[ARM] Make ARM's pci_controller_num dev argument appear to be used.

This cuts down on the number of warnings during the build.

23 years ago[ARM] Add dummy set_pgd() implementation.
Russell King [Thu, 6 Mar 2003 13:58:40 +0000 (13:58 +0000)]
[ARM] Add dummy set_pgd() implementation.

23 years ago[ARM] Add new kernel typedefs for __kernel_{timer,clockid}_t.
Russell King [Thu, 6 Mar 2003 13:54:01 +0000 (13:54 +0000)]
[ARM] Add new kernel typedefs for __kernel_{timer,clockid}_t.

23 years ago[ARM] Always claim the timer IRQ using SA_INTERRUPT.
Russell King [Thu, 6 Mar 2003 13:41:45 +0000 (13:41 +0000)]
[ARM] Always claim the timer IRQ using SA_INTERRUPT.

23 years ago[ARM] Always call schedule_tail() after a fork()
Russell King [Thu, 6 Mar 2003 13:18:58 +0000 (13:18 +0000)]
[ARM] Always call schedule_tail() after a fork()

23 years ago[ARM] Convert ecard.c shutdown/reboot to use driver model
Russell King [Thu, 6 Mar 2003 13:14:56 +0000 (13:14 +0000)]
[ARM] Convert ecard.c shutdown/reboot to use driver model

ecard.c used to use the reboot notifier to ensure that the expansion
cards are in the correct state for rebooting.  Use the driver model
shutdown method instead.

23 years ago[ARM] Remove set_mac_address from acorn drivers.
Russell King [Thu, 6 Mar 2003 13:01:35 +0000 (13:01 +0000)]
[ARM] Remove set_mac_address from acorn drivers.

Acorn Ethernet drivers provided a duplicate set_mac_address
implementation which reflects the generic ethernet version in
drivers/net/net_init.c.  Use the generic version instead.

23 years agoMerge bk://kernel.bkbits.net/davem/netfix-2.5
Linus Torvalds [Thu, 6 Mar 2003 09:03:56 +0000 (01:03 -0800)]
Merge bk://kernel.bkbits.net/davem/netfix-2.5
into home.transmeta.com:/home/torvalds/v2.5/linux

23 years agoMerge kroah.com:/home/greg/linux/BK/bleed-2.5
Greg Kroah-Hartman [Thu, 6 Mar 2003 08:00:51 +0000 (00:00 -0800)]
Merge kroah.com:/home/greg/linux/BK/bleed-2.5
into kroah.com:/home/greg/linux/BK/gregkh-2.5

23 years ago[PATCH] USB: unfortunatly, we can't call usb_unlink_urb() right now all of the time.
Greg Kroah-Hartman [Thu, 6 Mar 2003 07:47:22 +0000 (23:47 -0800)]
[PATCH] USB: unfortunatly, we can't call usb_unlink_urb() right now all of the time.

The host controllers have to be fixed up before we can safely take
out the check for dev->state.

23 years ago[PATCH] USB: track usb ch9 device state
David Brownell [Thu, 6 Mar 2003 07:46:40 +0000 (23:46 -0800)]
[PATCH] USB: track usb ch9 device state

This patch merges the USB state definitions from the ARM Linux
code (inside the sa1100 driver) and uses them to track what can
be done with the device.  That replaces the recently added
"udev->present" flag with a more complete/standard state model.

There are a few changes that might affect behavior if things
start to go really haywire:

 - usb_set_address() and usb_set_configuration(), used while
   enumerating, handle some unlikely cases more correctly:
   don't allow setting address to zero (undefined behavior),
   and do allow un-configuring (config 0).  (Adds a FIXME
   for an existing set-configuration bug too.)

 - usb_disconnect() flags the state change earlier (as soon
   as it's known).

 - usb_submit_urb() works in the states where messaging is
   allowed, and also enforces the "unless configured, only
   control traffic is legal" rule.

 - usb_unlink_urb() doesn't care any more about that state.
   (There seemed to be agreement that it must not matter.)

This will help with some further cleanups in the complex of
issues relating to driver removal, device removal, config
changing (with driver unbind and rebind), reset, and so on.

23 years agoMerge davem@nuts.ninka.net:/home/davem/src/BK/netfix-2.5
David S. Miller [Thu, 6 Mar 2003 07:36:59 +0000 (23:36 -0800)]
Merge davem@nuts.ninka.net:/home/davem/src/BK/netfix-2.5
into kernel.bkbits.net:/home/davem/netfix-2.5

23 years ago[IPSEC]: Fix build when ipsec is disabled.
David S. Miller [Thu, 6 Mar 2003 08:17:07 +0000 (00:17 -0800)]
[IPSEC]: Fix build when ipsec is disabled.

23 years ago[PATCH] USB: Patch for auto-sense cmd_len
Alan Stern [Thu, 6 Mar 2003 05:55:05 +0000 (21:55 -0800)]
[PATCH] USB: Patch for auto-sense cmd_len

This patch fixes an oversight in usb-storage whereby the command length
and command buffer for an automatically-generated REQUEST-SENSE command
would not be initialized properly.

23 years agoMerge
Linus Torvalds [Thu, 6 Mar 2003 05:14:03 +0000 (21:14 -0800)]
Merge

23 years ago[PATCH] "interactivity changes", sched-2.5.64-A6
Ingo Molnar [Thu, 6 Mar 2003 05:08:47 +0000 (21:08 -0800)]
[PATCH] "interactivity changes", sched-2.5.64-A6

This includes the following items:

 - a new wakeup feature: SMART_WAKE_CHILD (now unconditional) [this is a
   reworked version of the wakeup changes from Andrea's tree.]

 - scheduler parameter tunings (CHILD_PENALTY, MAX_TIMESLICE,
   STARVATION_LIMIT, MAX_SLEEP_AVG)

 - activate_task() splitup to separate the interactivity-active variant
   from the task-queue variant => this fixes our statistics in some cases.

 - finer-grained preemption: if priority is equal then the task with the
   longer pending timeslice wins.

 - make it possible to disable sync-wakeups via SYNC_WAKEUPS (default:1)

 - a naming cleanup (sleep_timestamp => last_run)

 - fix up STARVATION_LIMIT usage so that a value of 0 is recognized as 'no
   starvation limit'.

It also merges Linus' "priority boost backmerging"

23 years agoMake the "interactive bonus" work both ways - both the process
Linus Torvalds [Thu, 6 Mar 2003 04:59:29 +0000 (20:59 -0800)]
Make the "interactive bonus" work both ways - both the process
that is actually showing interactive behaviour (sleeping) and the
process that wakes up the interative process get a bonus.

This means that processes that help interactive processes (usually
system daemons, and X11 in particular) will themselves get some bonus.

The waker only gets whatever is left over from the "real" interactive
user, to avoid any bad behaviour.

23 years agoMerge bk://are.twiddle.net/axp-2.5
Linus Torvalds [Thu, 6 Mar 2003 02:11:16 +0000 (18:11 -0800)]
Merge bk://are.twiddle.net/axp-2.5
into home.transmeta.com:/home/torvalds/v2.5/linux

23 years ago[PATCH] alpha pcibios_claim_console_setup fix
Ivan Kokshaysky [Thu, 6 Mar 2003 01:36:37 +0000 (17:36 -0800)]
[PATCH] alpha pcibios_claim_console_setup fix

pcibios_claim_console_setup() doesn't look behind PCI-PCI bridges.

Noticed by Anton Blanchard.

Ivan.

23 years agoMerge davem@nuts.ninka.net:/home/davem/src/BK/net-2.5
David S. Miller [Thu, 6 Mar 2003 01:02:04 +0000 (17:02 -0800)]
Merge davem@nuts.ninka.net:/home/davem/src/BK/net-2.5
into kernel.bkbits.net:/home/davem/net-2.5

23 years ago[NETFILTER]: Fix ipv6 build.
Harald Welte [Thu, 6 Mar 2003 01:11:27 +0000 (17:11 -0800)]
[NETFILTER]: Fix ipv6 build.

23 years ago[IPV4]: Fix multicast route lookups.
James Morris [Thu, 6 Mar 2003 01:08:59 +0000 (17:08 -0800)]
[IPV4]: Fix multicast route lookups.

23 years ago[PATCH] kbuild: touch-module after successfull creation only
Sam Ravnborg [Wed, 5 Mar 2003 14:09:49 +0000 (08:09 -0600)]
[PATCH] kbuild: touch-module after successfull creation only

On Mon, Mar 03, 2003 at 05:11:10PM -0500, Bill Davidsen wrote:
> scripts/Makefile.modinst:16: *** Uh-oh, you have stale module entries. You
messed with SUBDIRS, do not complain if something goes wrong.

This happens if you have encountered a compile error in a module.
In this case you did not succeed the compilation of fs/binfmt_aout,
and therefore no .o file can be located.
kbuild assumes this is because you have messed with SUBDIRS, which is wrong.

23 years ago[trivial] avoid a warning for each module on s390x
Arnd Bergmann [Wed, 5 Mar 2003 14:07:18 +0000 (08:07 -0600)]
[trivial] avoid a warning for each module on s390x

s390x has a reference to _GLOBAL_OFFSET_TABLE_ in each module
that is resolved by the module loader. This patch prevents
modpost from emitting a warning about that symbol.

23 years ago[PATCH] kbuild: Smart notation for non-verbose output
Sam Ravnborg [Wed, 5 Mar 2003 14:05:54 +0000 (08:05 -0600)]
[PATCH] kbuild: Smart notation for non-verbose output

Create a nice shorthand to enable the non-verbose output mode.
make V=1        => Gives verbose output (default)
make V=0        => Gives non-verbose output

One of the reasons why people does not use KBUILD_VERBOSE=0 that
much is simply the typing needed.
This notation should make it acceptable to type it.
The usage of "make V=0" is restricted to the command line.
Anyone that wants to enable the non-verbose mode pr. default shall
set KBUILD_VERBOSE in the shell.

23 years agokbuild: Make per-cpu-check ignore __crc_ symbols.
Kai Germaschewski [Wed, 5 Mar 2003 13:53:26 +0000 (07:53 -0600)]
kbuild: Make per-cpu-check ignore __crc_ symbols.

We warn when symbols end in __per_cpu, but aren't in the per-cpu section.
However, checksum symbols gave false positives.

23 years agokbuild: Add some missing FORCE
Kai Germaschewski [Wed, 5 Mar 2003 13:51:34 +0000 (07:51 -0600)]
kbuild: Add some missing FORCE

Those were missing, not particularly harmful, but still needed for
correctness.

23 years agokbuild: Make build stop on vmlinux link error
Kai Germaschewski [Wed, 5 Mar 2003 13:50:32 +0000 (07:50 -0600)]
kbuild: Make build stop on vmlinux link error

set -e is needed for each (continued) line.

23 years agoFix up some timeouts to use the proper types.
Linus Torvalds [Wed, 5 Mar 2003 13:39:41 +0000 (05:39 -0800)]
Fix up some timeouts to use the proper types.

(While "signed long" is the same in practice, it is technically
incorrect, and the new anal type-checker complains).

23 years ago[JIFFIES]: Use typecheck in time_foo jiffies macros.
David S. Miller [Wed, 5 Mar 2003 13:22:59 +0000 (05:22 -0800)]
[JIFFIES]: Use typecheck in time_foo jiffies macros.

23 years ago[KERNEL]: Add typecheck macro for verifying types at compile time.
David S. Miller [Wed, 5 Mar 2003 13:22:16 +0000 (05:22 -0800)]
[KERNEL]: Add typecheck macro for verifying types at compile time.

23 years agoMerge bk://ldm.bkbits.net/linux-2.5-core
Linus Torvalds [Wed, 5 Mar 2003 08:18:07 +0000 (00:18 -0800)]
Merge bk://ldm.bkbits.net/linux-2.5-core
into home.transmeta.com:/home/torvalds/v2.5/linux

23 years agocpufreq: fix compile error.
Patrick Mochel [Wed, 5 Mar 2003 11:44:21 +0000 (05:44 -0600)]
cpufreq: fix compile error.

Use ->dev instead of ->intf.dev in struct cpufreq_policy. Introduced whilst
cleaning up part of the cpufreq code.

23 years agosysfs: don't complain when sysfs can't register.
Patrick Mochel [Wed, 5 Mar 2003 11:38:05 +0000 (05:38 -0600)]
sysfs: don't complain when sysfs can't register.

During startup, sysfs won't succeed in registering with itself, because
it's not yet inititialized. This was causing an unnecessary error on boot.

23 years agodriver model: fix platform_match()
Patrick Mochel [Wed, 5 Mar 2003 11:33:10 +0000 (05:33 -0600)]
driver model: fix platform_match()

- Make it compare the name in struct platform_dev to the driver's name.

From Dominik Brodowski

23 years agosysfs: Make sure root inode is executable and readable by everyone.
Patrick Mochel [Wed, 5 Mar 2003 11:27:00 +0000 (05:27 -0600)]
sysfs: Make sure root inode is executable and readable by everyone.

23 years ago[IPSEC]: Add full ipv6 support.
Kazunori Miyazawa [Wed, 5 Mar 2003 07:50:01 +0000 (23:50 -0800)]
[IPSEC]: Add full ipv6 support.

Credits also to Mitsuru Kanda <kanda@karaba.org>,
YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>,
and Kunihiro Ishiguro.

23 years agoMerge nuts.ninka.net:/home/davem/src/BK/network-2.5
David S. Miller [Wed, 5 Mar 2003 07:01:20 +0000 (23:01 -0800)]
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] Fix oprofile on UP, small additional fix
John Levon [Wed, 5 Mar 2003 06:25:25 +0000 (22:25 -0800)]
[PATCH] Fix oprofile on UP, small additional fix

The below has been in -mm for a while, and has been tested on my UP
and 2-way machines.

OProfile was completely unsafe on UP - a spinlock is no protection
against the NMI arriving and putting data into the buffer. Pretty stupid
bug. This fixes it by implementing reader/writer windows in the buffer
and removing the lock altogether. This patch was originally done by Will
Cohen.

It also fixes the oops Dave Hansen saw on 2.5.62 SMP

23 years ago[PATCH] USB: added support for radio shack device to pl2303 driver.
Greg Kroah-Hartman [Wed, 5 Mar 2003 04:06:48 +0000 (20:06 -0800)]
[PATCH] USB: added support for radio shack device to pl2303 driver.

Thanks to gene_heskett@iolinc.net for the info for this.

23 years ago[PATCH] Fix SCSI error handler abort case
Mike Anderson [Wed, 5 Mar 2003 03:57:07 +0000 (19:57 -0800)]
[PATCH] Fix SCSI error handler abort case

I had my list empty checks reversed if aborting and bus device reset
failed.  The condition that causes the error handler to run is still
unknown.

23 years ago[PATCH] io_edgeport.c diff to fix endianess bugs
André Breiler [Wed, 5 Mar 2003 03:44:45 +0000 (19:44 -0800)]
[PATCH] io_edgeport.c diff to fix endianess bugs

attached a fix for the io_edgeport usb serial driver
This diff fixes endianess issues which prevented the driver to work on
bigendian machines (e.g. sparc).

23 years ago[PATCH] usb-midi.h: fixes for SC-8820/50
Clemens Ladisch [Wed, 5 Mar 2003 03:43:00 +0000 (19:43 -0800)]
[PATCH] usb-midi.h: fixes for SC-8820/50

 sync with Nagano's version:
 - protect vendors ids against multiple definitions
 - sort Roland device ids
 - fix SC-8850 cable bitmask
 - add quirk for the SC-8820
 - add quirk for the MOTU Fastlane

23 years ago[PATCH] USB: add support for Treo devices to the visor driver.
Greg Kroah-Hartman [Wed, 5 Mar 2003 03:41:00 +0000 (19:41 -0800)]
[PATCH] USB: add support for Treo devices to the visor driver.

Finally...

23 years ago[PATCH] enable setting of marvel/titan agp->type
Jeff Wiedemeier [Wed, 5 Mar 2003 02:16:58 +0000 (18:16 -0800)]
[PATCH] enable setting of marvel/titan agp->type

Now that the agpgart support is in, this can be enabled.

/jeff

23 years ago[SPARC64]: Fix cpufreq config deps.
David S. Miller [Wed, 5 Mar 2003 00:23:08 +0000 (16:23 -0800)]
[SPARC64]: Fix cpufreq config deps.

23 years agoMerge nuts.ninka.net:/home/davem/src/BK/sparcwork-2.5
David S. Miller [Wed, 5 Mar 2003 00:18:34 +0000 (16:18 -0800)]
Merge nuts.ninka.net:/home/davem/src/BK/sparcwork-2.5
into nuts.ninka.net:/home/davem/src/BK/sparc-2.5

23 years ago[PATCH] Fix time comparison typing bugs.
David S. Miller [Tue, 4 Mar 2003 23:36:20 +0000 (15:36 -0800)]
[PATCH] Fix time comparison typing bugs.

Many places use inappropriate types for comparing jiffies,
int for example.  Fix those places up.

23 years agoLinux 2.5.64 v2.5.64
Linus Torvalds [Tue, 4 Mar 2003 11:11:19 +0000 (03:11 -0800)]
Linux 2.5.64

23 years ago[PATCH] More IEEE1394 updates
Ben Collins [Tue, 4 Mar 2003 08:25:16 +0000 (00:25 -0800)]
[PATCH] More IEEE1394 updates

 - Cleanup Makefile.
 - Fix potentional crash in dv1394 module unload.
 - Why does ARM's memcpy not return void*? Oh well, work around it in
  eth1394 by not expecting standard behavior.

23 years agoFix up sunrpc for the dentry hash list changes.
Linus Torvalds [Tue, 4 Mar 2003 07:46:50 +0000 (23:46 -0800)]
Fix up sunrpc for the dentry hash list changes.

23 years agoMerge penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/hlist
Linus Torvalds [Tue, 4 Mar 2003 06:30:19 +0000 (22:30 -0800)]
Merge penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/hlist
into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux

23 years ago[PATCH] dcache/inode hlist patchkit
Andi Kleen [Tue, 4 Mar 2003 06:28:32 +0000 (22:28 -0800)]
[PATCH] dcache/inode hlist patchkit

 - Inode and dcache Hash table only needs half the memory/cache because
   of using hlists.
 - Simplify dcache-rcu code.  With NULL end markers in the hlists
   is_bucket is not needed anymore.  Also the list walking code
   generates better code on x86 now because it doesn't need to dedicate
   a register for the list head.
 - Reorganize struct dentry to be more cache friendly.  All the state
   accessed for the hash walk is in one chunk now together with the
   inline name (all at the end)
 - Add prefetching for all the list walks.  Old hash lookup code didn't
   use it.
 - Some other minor cleanup.

23 years agoMerge bk://ldm.bkbits.net/linux-2.5-core
Linus Torvalds [Tue, 4 Mar 2003 03:09:35 +0000 (19:09 -0800)]
Merge bk://ldm.bkbits.net/linux-2.5-core
into home.transmeta.com:/home/torvalds/v2.5/linux

23 years agoMerge osdl.org:/home/mochel/src/kernel/devel/linux-2.5-virgin
Patrick Mochel [Tue, 4 Mar 2003 06:17:16 +0000 (00:17 -0600)]
Merge osdl.org:/home/mochel/src/kernel/devel/linux-2.5-virgin
into osdl.org:/home/mochel/src/kernel/devel/linux-2.5-core

23 years agosysfs: Register filesystems with sysfs.
Patrick Mochel [Tue, 4 Mar 2003 06:13:14 +0000 (00:13 -0600)]
sysfs: Register filesystems with sysfs.

Originally from Nikita Danliov.

- Add struct subsystem to struct file_system_type.
- Add fs_subsys_init() to explicitly call sysfs_init() very early.
- Register base fs subsystem then, too.
- Register filesystems' embedded subsystem when registered with fs core.

Resulting tree looks like:

# tree /sys/fs/
/sys/fs/
|-- bdev
|-- devpts
|-- eventpollfs
|-- ext2
|-- ext3
|-- futexfs
|-- iso9660
|-- pipefs
|-- proc
|-- ramfs
|-- rootfs
|-- sockfs
|-- sysfs
`-- tmpfs

23 years agodriver model: implement platform_match()
Patrick Mochel [Tue, 4 Mar 2003 04:20:36 +0000 (22:20 -0600)]
driver model: implement platform_match()

- For matching registered platform devices with platform drivers.

- Also, make sure platform_bus is initialized early, with the rest of the
  core stuff.

23 years agosysfs: initialize from fs/namespace.c::mnt_init().
Patrick Mochel [Tue, 4 Mar 2003 04:17:19 +0000 (22:17 -0600)]
sysfs: initialize from fs/namespace.c::mnt_init().

This ensures that sysfs is initialized very early, before anything can
possibily registered with it.

It happens early enough that all filesystems can registered with sysfs
(besides sysfs itself), which is coming next.

23 years agodriver model: Make initialization explicit.
Patrick Mochel [Tue, 4 Mar 2003 04:13:44 +0000 (22:13 -0600)]
driver model: Make initialization explicit.

- Call driver_init() from init/main.c::do_basic_setup().

This ensures that all the driver model subsystems are initialized before
any drivers or devices can be registered.

It nearly frees up the core and postcore initcall levels, making them
available for other kernel code to use freely.

23 years ago[PATCH] IEEE1394 ioctl allocation documentation
Ben Collins [Tue, 4 Mar 2003 02:58:48 +0000 (18:58 -0800)]
[PATCH] IEEE1394 ioctl allocation documentation

23 years agosysfs: fix warning.
Patrick Mochel [Tue, 4 Mar 2003 02:57:38 +0000 (20:57 -0600)]
sysfs: fix warning.

From Andrew Morton

23 years ago[PATCH] IEEE1394 updates
Ben Collins [Tue, 4 Mar 2003 02:55:45 +0000 (18:55 -0800)]
[PATCH] IEEE1394 updates

- Add ioctl32 compat function registration for video1394, dv1394 and
  amdtp.
- Convert SBP-2 driver to new SCSI hotplug host/device interfaces.
- Initial Async ISO (GASP) support.

23 years ago[SBUSFB]: Fix up ioctl helper changes.
David S. Miller [Tue, 4 Mar 2003 01:55:37 +0000 (17:55 -0800)]
[SBUSFB]: Fix up ioctl helper changes.

23 years ago[SBUSFB]: Implement enough ioctls to get X working.
David S. Miller [Tue, 4 Mar 2003 01:46:42 +0000 (17:46 -0800)]
[SBUSFB]: Implement enough ioctls to get X working.

23 years agopnp interface.c needs <linux/slab.h> for 'kfree()'
Linus Torvalds [Tue, 4 Mar 2003 01:13:00 +0000 (17:13 -0800)]
pnp interface.c needs <linux/slab.h> for 'kfree()'

23 years ago[FRAMEBUFFER]: No need for check_var/set_par ops in SBUS fb drivers.
David S. Miller [Tue, 4 Mar 2003 00:56:22 +0000 (16:56 -0800)]
[FRAMEBUFFER]: No need for check_var/set_par ops in SBUS fb drivers.

23 years agoMerge bk://kernel.bkbits.net/davem/sparc-2.5
Linus Torvalds [Tue, 4 Mar 2003 00:42:43 +0000 (16:42 -0800)]
Merge bk://kernel.bkbits.net/davem/sparc-2.5
into home.transmeta.com:/home/torvalds/v2.5/linux

23 years ago[PATCH] sysfs build fix
Andrew Morton [Tue, 4 Mar 2003 00:26:42 +0000 (16:26 -0800)]
[PATCH] sysfs build fix

23 years ago[HOTPLUG]: drivers/base/hotplug.c needs linux/sched.h and linux/string.h
David S. Miller [Mon, 3 Mar 2003 20:27:42 +0000 (12:27 -0800)]
[HOTPLUG]: drivers/base/hotplug.c needs linux/sched.h and linux/string.h

23 years ago[SYSFS]: fs/sysfs/mount.c needs linux/init.h
David S. Miller [Mon, 3 Mar 2003 20:25:17 +0000 (12:25 -0800)]
[SYSFS]: fs/sysfs/mount.c needs linux/init.h

23 years ago[SPARC64]: Fix SMP boot failures.
Bruce D. Elliott [Mon, 3 Mar 2003 20:06:04 +0000 (12:06 -0800)]
[SPARC64]: Fix SMP boot failures.

23 years agosysfs: fix more merge breakage.
Patrick Mochel [Mon, 3 Mar 2003 11:11:30 +0000 (05:11 -0600)]
sysfs: fix more merge breakage.

23 years agosysfs: fixup merge
Patrick Mochel [Mon, 3 Mar 2003 10:59:28 +0000 (04:59 -0600)]
sysfs: fixup merge

23 years agocpufreq: convert to use new interface code.
Patrick Mochel [Mon, 3 Mar 2003 10:38:53 +0000 (04:38 -0600)]
cpufreq: convert to use new interface code.

- Create and register kobjects when adding a cpu to the cpufreq interface,
  instead of the terminally broken struct intf_data.

ACKed by Dominik Brodowski.

23 years ago[PATCH] Another bitop on boolean in pnpbios
John Levon [Mon, 3 Mar 2003 10:13:49 +0000 (02:13 -0800)]
[PATCH] Another bitop on boolean in pnpbios

23 years agoMerge bk://ldm.bkbits.net/linux-2.5-core
Linus Torvalds [Mon, 3 Mar 2003 10:13:05 +0000 (02:13 -0800)]
Merge bk://ldm.bkbits.net/linux-2.5-core
into home.transmeta.com:/home/torvalds/v2.5/linux

23 years ago[PATCH] small tty irq race fix
Nicolas Pitre [Mon, 3 Mar 2003 10:11:31 +0000 (02:11 -0800)]
[PATCH] small tty irq race fix

23 years agoMerge osdl.org:/home/mochel/src/kernel/devel/linux-2.5-virgin
Patrick Mochel [Mon, 3 Mar 2003 07:32:15 +0000 (01:32 -0600)]
Merge osdl.org:/home/mochel/src/kernel/devel/linux-2.5-virgin
into osdl.org:/home/mochel/src/kernel/devel/linux-2.5-core

23 years agodriver model: fix device interfaces.
Patrick Mochel [Mon, 3 Mar 2003 06:48:38 +0000 (00:48 -0600)]
driver model: fix device interfaces.

- Remove struct intf_data.
  It was silly, and gave us an unbalanced interface.
  Instead, when removing a device_interface, all of a class's devices are
  iterated over, and intf->remove_device() is called for each. (Instead
  of the device's list of interfaces it belongs to).
  Interfaces are expected to tell if they support the device being removed.

- Remove struct device::intf_list.

- Protect classes' device list access with devclass_sem, which is taken
  when a device or interface is added or removed. This allows access to the
  list w/o taking the class's lock, which allows subordinate objects to be
  registered (e.g. the interface itself, or objects the interfaces create
  for a device).

- This should fix a deadlock when devices are added to interfaces, which
  calls intf->add_device(), then interface_add_data(), which call
  kobject_register() and hangs, since it tries to take the class's lock
  again.

23 years agokobject: fix oops in to_kset()
Patrick Mochel [Mon, 3 Mar 2003 03:59:26 +0000 (21:59 -0600)]
kobject: fix oops in to_kset()

Check whether kset is NULL or not before doing container_of().

From Dominik Brodowski

23 years agodriver model: remove <linux/sched.h> from include/linux/device.h
Patrick Mochel [Mon, 3 Mar 2003 03:48:58 +0000 (21:48 -0600)]
driver model: remove <linux/sched.h> from include/linux/device.h

From Matt Wilcox

23 years agosysfs: fix oops in directory removal.
Patrick Mochel [Mon, 3 Mar 2003 03:43:37 +0000 (21:43 -0600)]
sysfs: fix oops in directory removal.

If a file that doesn't exist was looked up in a directory, and that
directory is later removed, sysfs would reap the negative dentrys along
with the valid ones.

Fix is to manually remove the dentrys from the parent's list under the
dcache_lock, then check if they're valid with dget_locked().

This ensures all the dentrys are removed, valid and invalid, and we don't
reap anything we shouldn't.

23 years agoMerge nuts.ninka.net:/home/davem/src/BK/network-2.5
David S. Miller [Mon, 3 Mar 2003 02:41:07 +0000 (18:41 -0800)]
Merge nuts.ninka.net:/home/davem/src/BK/network-2.5
into nuts.ninka.net:/home/davem/src/BK/net-2.5