]> git.hungrycats.org Git - linux/log
linux
23 years ago[TTY] Register tty devclass before use.
Russell King [Sat, 15 Mar 2003 10:37:42 +0000 (10:37 +0000)]
[TTY] Register tty devclass before use.

Register the tty devclass with sysfs before tty drivers initialise -
sysfs requires structures to be registered before use.  This is
required for the previous serial csets, as well as any drivers which
are initialising using __initcall() or module_init().

23 years ago[SERIAL] Only update the console termios cflag once
Russell King [Wed, 12 Mar 2003 10:00:49 +0000 (10:00 +0000)]
[SERIAL] Only update the console termios cflag once

23 years ago[SERIAL] Add Xircom RBM56G PCI ID
Russell King [Wed, 12 Mar 2003 09:49:04 +0000 (09:49 +0000)]
[SERIAL] Add Xircom RBM56G PCI ID

23 years ago[SERIAL] Add PCI serial power management support.
Russell King [Tue, 11 Mar 2003 22:24:53 +0000 (22:24 +0000)]
[SERIAL] Add PCI serial power management support.

23 years ago[SERIAL] Add uart_console(port) macro.
Russell King [Tue, 11 Mar 2003 21:17:15 +0000 (21:17 +0000)]
[SERIAL] Add uart_console(port) macro.

23 years ago[SERIAL] Add sa1100 serial PM support using device model.
Russell King [Tue, 11 Mar 2003 21:09:23 +0000 (21:09 +0000)]
[SERIAL] Add sa1100 serial PM support using device model.

23 years ago[SERIAL] Add new device model based power management infrastructure.
Russell King [Tue, 11 Mar 2003 14:18:36 +0000 (14:18 +0000)]
[SERIAL] Add new device model based power management infrastructure.

Add uart_suspend_port(), uart_resume_port() which are responsible
for suspending/resuming one UART port.  Low level drivers are
expected to call this from their device model suspend and resume
methods.

23 years ago[SERIAL] Prevent multiple calls to tty_{un,}register_device()
Russell King [Sun, 9 Mar 2003 15:36:51 +0000 (15:36 +0000)]
[SERIAL] Prevent multiple calls to tty_{un,}register_device()

There were a couple of cases where we call tty_register_device()
multiple times for the same port, notibly when ports are discovered
via 8250_pci, 8250_pnp or 8250_cs modules.  With devfs configured,
this causes a warning.  Don't call tty_register_device() multiple
times.

23 years ago[SERIAL] Four bug fixes
Russell King [Sun, 9 Mar 2003 15:23:24 +0000 (15:23 +0000)]
[SERIAL] Four bug fixes

- Preserve per-port flags which are not modifyable from user space.
- Only allow DTR, RTS, OUT1 and OUT2 to be controlled from user space.
- Don't put the console port into sleep mode when closing a port.
- Ensure that we wake up people waiting on modem status changes when
  we receive a hangup.

23 years ago[SERIAL] Remove remaining notifier-based PM support.
Russell King [Sun, 9 Mar 2003 15:06:19 +0000 (15:06 +0000)]
[SERIAL] Remove remaining notifier-based PM support.

23 years ago[SERIAL] Add per-port semaphore.
Russell King [Sun, 9 Mar 2003 14:31:24 +0000 (14:31 +0000)]
[SERIAL] Add per-port semaphore.

Add a per-port semaphore to protect against simultaneous opens,
closes, hangups, and the like.  This removes the need for the
UIF_CLOSING flag, as well as the extra tests and wait queues.

Disable the old PM code for now - it is incompatible with the
per-port semaphore.

23 years ago[SERIAL] Eliminate some more passing of struct uart_info.
Russell King [Sun, 9 Mar 2003 00:39:38 +0000 (00:39 +0000)]
[SERIAL] Eliminate some more passing of struct uart_info.

Replace uart_info argument for uart_change_speed, uart_startup,
uart_shutdown and uart_update_termios with a uart_state structure.
We no longer pass struct uart_info around to other functions.

23 years ago[SERIAL] Make uart_tasklet_action take uart_state
Russell King [Sat, 8 Mar 2003 21:23:36 +0000 (21:23 +0000)]
[SERIAL] Make uart_tasklet_action take uart_state

23 years ago[SERIAL] Make tty->driver_data point at the uart_state structure.
Russell King [Sat, 8 Mar 2003 21:18:15 +0000 (21:18 +0000)]
[SERIAL] Make tty->driver_data point at the uart_state structure.

Since the uart_state structure is less volatile than uart_info, we
can safely place some semaphores in uart_state.

23 years ago[SERIAL] Add ttydriver->owner initialisation.
Russell King [Sat, 8 Mar 2003 20:51:16 +0000 (20:51 +0000)]
[SERIAL] Add ttydriver->owner initialisation.

23 years ago[SERIAL] Update 8250_acorn.c
Russell King [Sat, 8 Mar 2003 19:26:09 +0000 (19:26 +0000)]
[SERIAL] Update 8250_acorn.c

Add resource-based addressing and ioremap support.  Ask the 8250
layer to handle the resources, and share IRQs.

23 years ago[SERIAL] Overhaul 8250_pci.c
Russell King [Sat, 8 Mar 2003 16:59:16 +0000 (16:59 +0000)]
[SERIAL] Overhaul 8250_pci.c

- Add local copy of flags for describing port characteristics.
- Add "quirk" handling to sort out board-specific initialisation,
  per-port setup, and finalisation.
- Remove quirk information from struct pci_board array, thereby
  making entries more generic.
- Initialise struct pci_board array using explicit indicies -
  adding to the readability, and making sure that the right entries
  are in the correct location in the table.
- Ensure we tell the serial layer to claim resources, and share
  interrupts.  PCI interrupts are sharable, and need to be so that
  multi-function cardbus cards will work.
- Only remap each PCI memory BAR once.
- Add pci serial driver to the tty devclass (this requires the patch
  to make tty_io.c register the tty devclass early.)

Tested by CaT and myself.

23 years agoFix a very theoretical race between the new RCU lookup and
Linus Torvalds [Thu, 6 Mar 2003 13:29:33 +0000 (05:29 -0800)]
Fix a very theoretical race between the new RCU lookup and
concurrent renames in another directory.

I doubt this can be triggered in practice, and the fix is
a bit heavy-handed, but let's see if numbers can show that
the simple fix doesn't show any real lock contention.

23 years agoFix "con_init()" function type and stale (and incorrect) declaration
Linus Torvalds [Thu, 6 Mar 2003 13:27:20 +0000 (05:27 -0800)]
Fix "con_init()" function type and stale (and incorrect) declaration

23 years ago[PATCH] missing include
Anton Blanchard [Thu, 6 Mar 2003 13:12:44 +0000 (05:12 -0800)]
[PATCH] missing include

list.h must now include stddef since it uses NULL.

23 years ago[PATCH] bootsect removal
H. Peter Anvin [Thu, 6 Mar 2003 09:57:26 +0000 (01:57 -0800)]
[PATCH] bootsect removal

This is the "boot sector removal" patch for i386 updated for Linux
2.5.63-bk7.  The only change against the 2.5.59 version is that the
FDOPTS Makefile variable, which lets one create a floppy image with
arbitrary kernel options, has been merged from the x86-64 version, and
the comments have been updated.

The patch removes the in-kernel boot sector, which these days rarely
work correctly (it only supports up to 1 MB kernels, and only work on
legacy floppies -- not on IDE or USB devices, nor on any kind of
emulated devices like El Torito), replaces it with a placeholder stub,
and sets up the Makefile targets to create floppies or floppy images
using SYSLINUX.  The FDOPTS Makefile variable can be used to set
kernel command line options (thanks to a suggestion by Andi Kleen.)

Note that the same change has already been applied to the x86-64
architecture.  The last hunk of the patch corrects a comment in that
architecture.

23 years ago[PATCH] Fix up pci_scan_bridge and friends
Russell King [Thu, 6 Mar 2003 09:49:37 +0000 (01:49 -0800)]
[PATCH] Fix up pci_scan_bridge and friends

  Now we tackle pci_add_new_bus and pci_scan_bridge.  The hotplug code
  currently uses this, but I'd like it to die off; pci_scan_bridge()
  should be used to scan behind bridges.  This may mean hotplug needs
  some changes to pci_scan_bridge - if so, we need to find out what
  changes are required and fix it.

  pci_alloc_child_bus() does what pci_add_new_bus() did, except it
  doesn't attach the new bus to the parents list of child buses.  The
  only way this bus can be reached from the parent bus is by scanning
  the parents devices list, and locating a device with a non-NULL
  subordinate bus.  The only code which should be doing this is the
  PCI code.

  Since the new bus will have an empty list head for bus->node, we can
  detect unattached buses prety easily.  (see pci-3.diff.)

  pci_scan_bridge() changes slightly - we use our new pci_scan_child_bus()
  function from pci-3.diff, which doesn't attach devices to the global
  tree.  This means callers of pci_scan_child_bus() and pci_scan_bridge()
  (ie, hotplug) will need to call pci_bus_add_devices().

23 years ago[PATCH] Convert setup-bus resource allocation to use bus->devices
Russell King [Thu, 6 Mar 2003 09:49:30 +0000 (01:49 -0800)]
[PATCH] Convert setup-bus resource allocation to use bus->devices

- Convert setup-bus.c resource allocation to scan bus->devices rather
  than bus->children.  As noted previously, newly discovered child
  buses will not be on the parents list of children buses, so when
  we're trying to assign resources, we need to scan the bus for
  devices with subordinate buses rather than using the list of children
  buses.

23 years ago[PATCH] Only add devices to bus->devices while scanning...
Russell King [Thu, 6 Mar 2003 09:49:22 +0000 (01:49 -0800)]
[PATCH] Only add devices to bus->devices while scanning...

  The pci_find* functions search using the following lists:
        bus->children   (for subordinate buses)
        pci_root_buses  (for all root buses)
        pci_devices     (for devices)

  This leaves one list which we can add devices to without any drivers
  finding the new devices before we've finished with them.

- initialise bus->node list head.

- pci_scan_slot will scan the specified slot, and add the discovered
  devices to the bus->devices list only.  These devices will not
  appear on the global device list, and do not show in sysfs, procfs.
  pci_scan_slot returns the number of functions found.  If you want
  to find the devices, you have to scan bus->devices and look for
  devices where list_empty(&dev->global_list) is true.

- new function "pci_bus_add_devices" adds newly discovered devices
  to the global device lists, and handles the sysfs and procfs
  stuff, making the devices available to drivers.  All our buses
  which have an empty list head are treated as "new" (since they
  are not attached to the parent buses list of children) and are
  also added.  Currently, no buses will be in this state when this
  function is called.

- new function "pci_scan_child_bus" scans a complete bus, building
  a list of devices on bus->devices only, performing bus fixups
  via pcibios_fixup_bus() and scanning behind bridges.  It does
  make devices externally visible.

- pci_do_scan_bus retains its original behaviour - ie, it scans
  and makes devices available immediately.

23 years ago[PATCH] Eliminate stack allocation of struct pci_dev...
Russell King [Thu, 6 Mar 2003 09:49:14 +0000 (01:49 -0800)]
[PATCH] Eliminate stack allocation of struct pci_dev...

- Eliminate the stack allocation of a struct pci_dev, and make
  pci_scan_slot() take a bus and a devfn argument.
- Add "dev->multifunction" to indicate whether this is a multifunction
  device.
- Run header fixups before inserting the new pci device into any
  device lists or announcing it to the drivers.
- Convert some more stuff to use the list_for_each* macro(s).

23 years ago[PATCH] Separate out pci bus resource allocator
Russell King [Thu, 6 Mar 2003 09:49:06 +0000 (01:49 -0800)]
[PATCH] Separate out pci bus resource allocator

- Separate out bus resource allocator (pci_bus_alloc_resource)
- Provide pci_enable_bridges to setup command register for all
  pci bridges.

23 years agoMerge home.transmeta.com:/home/torvalds/v2.5/alan
Linus Torvalds [Thu, 6 Mar 2003 09:44:51 +0000 (01:44 -0800)]
Merge home.transmeta.com:/home/torvalds/v2.5/alan
into home.transmeta.com:/home/torvalds/v2.5/linux

23 years ago[PATCH] update via driver from 3.35-ac to 3.36
Alan Cox [Thu, 6 Mar 2003 09:44:28 +0000 (01:44 -0800)]
[PATCH] update via driver from 3.35-ac to 3.36

23 years ago[PATCH] fix wrong type and statics in amd ide
Alan Cox [Thu, 6 Mar 2003 09:44:20 +0000 (01:44 -0800)]
[PATCH] fix wrong type and statics in amd ide

23 years ago[PATCH] switch ide taskfile ioctls to ide_execute_command
Alan Cox [Thu, 6 Mar 2003 09:44:13 +0000 (01:44 -0800)]
[PATCH] switch ide taskfile ioctls to ide_execute_command

23 years ago[PATCH] remove spare cast
Alan Cox [Thu, 6 Mar 2003 09:44:05 +0000 (01:44 -0800)]
[PATCH] remove spare cast

23 years ago[PATCH] add sensible names to the ide iops
Alan Cox [Thu, 6 Mar 2003 09:43:58 +0000 (01:43 -0800)]
[PATCH] add sensible names to the ide iops

The outbsync one has further changes to come in the next batch to sort
out some platforms like PPC

23 years ago[PATCH] switch ide-io (core ioctls etc) to ide_execute_command
Alan Cox [Thu, 6 Mar 2003 09:43:49 +0000 (01:43 -0800)]
[PATCH] switch ide-io (core ioctls etc) to ide_execute_command

Also fix the irq masking bug

23 years ago[PATCH] switch ide-floppy to ide_execute_command
Alan Cox [Thu, 6 Mar 2003 09:43:42 +0000 (01:43 -0800)]
[PATCH] switch ide-floppy to ide_execute_command

23 years ago[PATCH] ide-dma
Alan Cox [Thu, 6 Mar 2003 09:43:35 +0000 (01:43 -0800)]
[PATCH] ide-dma

This switches ide-dma to ide_execute_command and makes IDE DMA also happy
when running shared IRQ

23 years ago[PATCH] bring ide-disk driver into line with 2.4.21pre
Alan Cox [Thu, 6 Mar 2003 09:43:28 +0000 (01:43 -0800)]
[PATCH] bring ide-disk driver into line with 2.4.21pre

This doesn't have the new -ac testing stuff from 2.4.21pre5-ac but it
has the stuff I now trust in it. This fixes the cache flush stuff and
also means ide-disk now should be safe shared IRQ

23 years ago[PATCH] clean up all the console inits using an initcall variant
Alan Cox [Thu, 6 Mar 2003 09:43:18 +0000 (01:43 -0800)]
[PATCH] clean up all the console inits using an initcall variant

Dave Woodhouse did this a while ago and its been kicking around in my
tree just fine. This gets rid of a lot of the init lists of functions
still left in the kernel by having an __init type array built up for the
consoles as well

23 years ago[PATCH] correct building of the old ide/hd.c driver
Alan Cox [Thu, 6 Mar 2003 09:43:10 +0000 (01:43 -0800)]
[PATCH] correct building of the old ide/hd.c driver

23 years ago[PATCH] correct irq logic for x86
Alan Cox [Thu, 6 Mar 2003 09:43:02 +0000 (01:43 -0800)]
[PATCH] correct irq logic for x86

We must not look for a PCI IRQ for a non native mode IDE device
We must write PCI_INTERRUPT_LINE for VIA

23 years ago[PATCH] update PCI quirks
Alan Cox [Thu, 6 Mar 2003 09:42:55 +0000 (01:42 -0800)]
[PATCH] update PCI quirks

ALi Magik requires workarounds for TV chips
IDE controllers require proper handling in legacy mode
PXB must be disabled on C0 450NX or the IDE will corrupt memory
VIA northbridge devices require the interrupt line is written
NEC_CBUS_2/3 require ISA DMA workarounds

23 years ago[PATCH] ALi it turns out has a 31bit audio device
Alan Cox [Thu, 6 Mar 2003 09:42:46 +0000 (01:42 -0800)]
[PATCH] ALi it turns out has a 31bit audio device

23 years ago[PATCH] clean up 2.2 stuff in wanrouter code
Alan Cox [Thu, 6 Mar 2003 09:42:37 +0000 (01:42 -0800)]
[PATCH] clean up 2.2 stuff in wanrouter code

23 years ago[PATCH] correct file names in comments in mm
Alan Cox [Thu, 6 Mar 2003 09:42:28 +0000 (01:42 -0800)]
[PATCH] correct file names in comments in mm

23 years ago[PATCH] correct emu10k url
Alan Cox [Thu, 6 Mar 2003 09:42:20 +0000 (01:42 -0800)]
[PATCH] correct emu10k url

23 years ago[PATCH] remove 2.0/2.2 stuff from wanrouter
Alan Cox [Thu, 6 Mar 2003 09:42:12 +0000 (01:42 -0800)]
[PATCH] remove 2.0/2.2 stuff from wanrouter

23 years ago[PATCH] remove 2.0/2.2 stuff
Alan Cox [Thu, 6 Mar 2003 09:42:06 +0000 (01:42 -0800)]
[PATCH] remove 2.0/2.2 stuff

23 years ago[PATCH] add a new PCI quirk type for the ALi Magik series
Alan Cox [Thu, 6 Mar 2003 09:41:57 +0000 (01:41 -0800)]
[PATCH] add a new PCI quirk type for the ALi Magik series

This chip needs latency and other setups to avoid a PCI/AGP deadlock
with tv cards

23 years ago[PATCH] remove 2.0 and 2.2 stuff from netfilter
Alan Cox [Thu, 6 Mar 2003 09:41:50 +0000 (01:41 -0800)]
[PATCH] remove 2.0 and 2.2 stuff from netfilter

23 years ago[PATCH] remove 2.2 bits fromw anpipe
Alan Cox [Thu, 6 Mar 2003 09:41:42 +0000 (01:41 -0800)]
[PATCH] remove 2.2 bits fromw anpipe

23 years ago[PATCH] remove 2.2 junk from efs
Alan Cox [Thu, 6 Mar 2003 09:41:33 +0000 (01:41 -0800)]
[PATCH] remove 2.2 junk from efs

23 years ago[PATCH] Add ELF types for Hitach H8 series
Alan Cox [Thu, 6 Mar 2003 09:41:25 +0000 (01:41 -0800)]
[PATCH] Add ELF types for Hitach H8 series

23 years ago[PATCH] remove unused beep macro on sh
Alan Cox [Thu, 6 Mar 2003 09:41:18 +0000 (01:41 -0800)]
[PATCH] remove unused beep macro on sh

23 years ago[PATCH] correct BUG doc in parisc
Alan Cox [Thu, 6 Mar 2003 09:41:09 +0000 (01:41 -0800)]
[PATCH] correct BUG doc in parisc

23 years ago[PATCH] add serial port table for PC9800
Alan Cox [Thu, 6 Mar 2003 09:41:02 +0000 (01:41 -0800)]
[PATCH] add serial port table for PC9800

23 years ago[PATCH] kill long unused macro
Alan Cox [Thu, 6 Mar 2003 09:40:53 +0000 (01:40 -0800)]
[PATCH] kill long unused macro

23 years ago[PATCH] kill the now dead ide_ioreg_t
Alan Cox [Thu, 6 Mar 2003 09:40:46 +0000 (01:40 -0800)]
[PATCH] kill the now dead ide_ioreg_t

23 years ago[PATCH] correct BUG doc
Alan Cox [Thu, 6 Mar 2003 09:40:38 +0000 (01:40 -0800)]
[PATCH] correct BUG doc

23 years ago[PATCH] missed patch - static not extern inline in cia
Alan Cox [Thu, 6 Mar 2003 09:40:31 +0000 (01:40 -0800)]
[PATCH] missed patch - static not extern inline in cia

23 years ago[PATCH] kill stdarg in intermezzo
Alan Cox [Thu, 6 Mar 2003 09:40:23 +0000 (01:40 -0800)]
[PATCH] kill stdarg in intermezzo

23 years ago[PATCH] filter more 2.2 junk
Alan Cox [Thu, 6 Mar 2003 09:40:16 +0000 (01:40 -0800)]
[PATCH] filter more 2.2 junk

23 years ago[PATCH] remove a pile of 2.0 and 2.2 support
Alan Cox [Thu, 6 Mar 2003 09:40:08 +0000 (01:40 -0800)]
[PATCH] remove a pile of 2.0 and 2.2 support

23 years ago[PATCH] fix aic7xxx aicasm build
Alan Cox [Thu, 6 Mar 2003 09:39:51 +0000 (01:39 -0800)]
[PATCH] fix aic7xxx aicasm build

The -ldb has to be at the end sometimes

23 years ago[PATCH] another typo that escaped
Alan Cox [Thu, 6 Mar 2003 09:39:45 +0000 (01:39 -0800)]
[PATCH] another typo that escaped

23 years ago[PATCH] more 2.0/2.2 bits
Alan Cox [Thu, 6 Mar 2003 09:39:38 +0000 (01:39 -0800)]
[PATCH] more 2.0/2.2 bits

23 years ago[PATCH] more 2.0 crap
Alan Cox [Thu, 6 Mar 2003 09:39:29 +0000 (01:39 -0800)]
[PATCH] more 2.0 crap

23 years ago[PATCH] look a typo 8)
Alan Cox [Thu, 6 Mar 2003 09:39:22 +0000 (01:39 -0800)]
[PATCH] look a typo 8)

23 years ago[PATCH] exterminate 2.2 gunk from video stuff
Alan Cox [Thu, 6 Mar 2003 09:39:14 +0000 (01:39 -0800)]
[PATCH] exterminate 2.2 gunk from video stuff

23 years ago[PATCH] remove 2.2 compatmac stuff from rio driver
Alan Cox [Thu, 6 Mar 2003 09:39:06 +0000 (01:39 -0800)]
[PATCH] remove 2.2 compatmac stuff from rio driver

23 years ago[PATCH] minor typo fix that got missed
Alan Cox [Thu, 6 Mar 2003 09:38:57 +0000 (01:38 -0800)]
[PATCH] minor typo fix that got missed

23 years ago[PATCH] minor breakage fix from typo fixes
Alan Cox [Thu, 6 Mar 2003 09:38:50 +0000 (01:38 -0800)]
[PATCH] minor breakage fix from typo fixes

23 years ago[PATCH] pcmcia: it works again!
Dominik Brodowski [Thu, 6 Mar 2003 09:25:00 +0000 (01:25 -0800)]
[PATCH] pcmcia: it works again!

platform_device_register may only be called after all class-specific
device data is initialized, or else the class-type add_device call (which
enables the pcmcia sockets) will fail.

23 years ago[PATCH] scsi_error fix
Andries E. Brouwer [Thu, 6 Mar 2003 09:24:19 +0000 (01:24 -0800)]
[PATCH] scsi_error fix

imm.c: spelling
scsi.h: remove old and now incorrect comment
scsi_scan.c: remove superfluous final return
scsi_error.c: apart from similar trivialities the only change:

    If a command fails (e.g. because it belongs to a newer
    SCSI version than the device), it is fed to
    scsi_decide_disposition(). That routine must return
    SUCCESS, unless the error handler should be invoked.

    In the situation where host_byte is DID_OK, and message_byte
    is COMMAND_COMPLETE, and status is CHECK_CONDITION, there is
    no reason at all to invoke aborts and resets. The situation
    is normal. I see here UNIT ATTENTION, Power on occurred
    and ILLEGAL REQUEST, Invalid field in cdb.

    The 2.5.64 code does not return SUCCESS, but it returns the
    return code of scsi_check_sense(), and that may be FAILED
    in case we do not have valid sense.

23 years ago[PATCH] fix ioremap off by one bug
Andrew Morton [Thu, 6 Mar 2003 09:15:02 +0000 (01:15 -0800)]
[PATCH] fix ioremap off by one bug

Patch from Andreas Klein <asklein@cip.physik.uni-wuerzburg.de>

Fixes an off-by-one in ioremap() - local variable `last_addr' is *inclusive*
- it is the last byte of the mapping, not the usual (last byte + 1).

23 years ago[PATCH] ext3: fix error-path memory leak
Andrew Morton [Thu, 6 Mar 2003 09:14:55 +0000 (01:14 -0800)]
[PATCH] ext3: fix error-path memory leak

Fix an error-path memory leak in ext3_fill_super().

23 years ago[PATCH] uninlining in fs/binfmt_elf.c
Andrew Morton [Thu, 6 Mar 2003 09:14:48 +0000 (01:14 -0800)]
[PATCH] uninlining in fs/binfmt_elf.c

uninline some functions which have multiple callsites.  A 5% reduction in
text size.

23 years ago[PATCH] reduce stack size: elf_core_dump()
Andrew Morton [Thu, 6 Mar 2003 09:14:41 +0000 (01:14 -0800)]
[PATCH] reduce stack size: elf_core_dump()

Patch from "Randy.Dunlap" <randy.dunlap@verizon.net>

This patch reduces stack size in elf_core_dump() from over 0x400 (0x4a4 e.g.)
to less than 0x100 (0xb0 on a P4 with gcc 2.96).

23 years ago[PATCH] missed unlock_kernel() in ext3+htree
Andrew Morton [Thu, 6 Mar 2003 09:14:34 +0000 (01:14 -0800)]
[PATCH] missed unlock_kernel() in ext3+htree

Patch from Alex Tomas <bzzz@tmi.comex.ru>

There's a missing unlock_kernel().

23 years ago[PATCH] remove __pte_offset
Andrew Morton [Thu, 6 Mar 2003 09:14:27 +0000 (01:14 -0800)]
[PATCH] remove __pte_offset

Patch from Dave Hansen <haveblue@us.ibm.com>

ptes this time

23 years ago[PATCH] remove __pmd_offset
Andrew Morton [Thu, 6 Mar 2003 09:14:20 +0000 (01:14 -0800)]
[PATCH] remove __pmd_offset

Patch from Dave Hansen <haveblue@us.ibm.com>

Same thing as the __pgd_offset one, just for pmds this time to keep the
naming consistent.

23 years ago[PATCH] remove __pgd_offset
Andrew Morton [Thu, 6 Mar 2003 09:14:13 +0000 (01:14 -0800)]
[PATCH] remove __pgd_offset

Patch from Dave Hansen <haveblue@us.ibm.com>

__pgd_offset() and pgd_offset() are completely different functions.
__pgd_offset() is really just a helper to figure out which entry in a
pgd an address would fall into.   pgd_offset() does all the leg work and
actually fetches the real pgd entry.

pgd_index() is a much saner name for what __pgd_offset() does.  In fact,
we do this:
#define __pgd_offset(address) pgd_index(address)

The attached patch removes all instances of __pgd_offset and just
replaces them with pgd_index.

Compiles with and without PAE on x86.

23 years ago[PATCH] fix inode reclaim imbalance
Andrew Morton [Thu, 6 Mar 2003 09:14:05 +0000 (01:14 -0800)]
[PATCH] fix inode reclaim imbalance

Well I thought we were shooting down unused inodes a bit aggressively.  With
30,000 inodes total and 1000 unused, the 1000 are getting reclaimed
instantly.

shrink_icache_memory() needs to return the number of reclaimable inodes to
page reclaim, not the total number.

23 years ago[PATCH] Reduced stack usage in random.c
Andrew Morton [Thu, 6 Mar 2003 09:13:58 +0000 (01:13 -0800)]
[PATCH] Reduced stack usage in random.c

Patch from: Matthew Wilcox <willy@debian.org>

Reduces stack use in random.c by 350 (or maybe 700) bytes by sharing a local
array between two functions.

23 years ago[PATCH] export pfn_to_nid to modules
Andrew Morton [Thu, 6 Mar 2003 09:13:51 +0000 (01:13 -0800)]
[PATCH] export pfn_to_nid to modules

Patch from Patricia Gaughen <gone@us.ibm.com>

This function was recently uninlined for NUMAQ.  But it used to be a macro,
and modules need it.

23 years ago[PATCH] cciss: fix initialization for PCI hotplug
Andrew Morton [Thu, 6 Mar 2003 09:13:43 +0000 (01:13 -0800)]
[PATCH] cciss: fix initialization for PCI hotplug

Patch from Stephen Cameron <steve.cameron@hp.com>

* Fix driver to wait for firmware to indicate that it is ready.
  (Needed for PCI hotplug case, but for normal warm/cold reboot, by the
  time driver inits, firmware will already be ready.)

23 years ago[PATCH] sk98lin 64-bit divide fix
Andrew Morton [Thu, 6 Mar 2003 09:13:36 +0000 (01:13 -0800)]
[PATCH] sk98lin 64-bit divide fix

This driver is doing a division on a 64 bit valus which is identical to
"jiffies" and is asking for __udiv64.  Cast the 64-bit value back to long.

23 years ago[PATCH] rtc lock ranking fix
Andrew Morton [Thu, 6 Mar 2003 09:13:30 +0000 (01:13 -0800)]
[PATCH] rtc lock ranking fix

Patch from: Zwane Mwaikambo <zwane@linuxpower.ca>

Fix up a possible AB/BA deadlock identified by Dawson Engler's latest toy.

23 years ago[PATCH] Fix nfs oops during mount
Andrew Morton [Thu, 6 Mar 2003 09:13:22 +0000 (01:13 -0800)]
[PATCH] Fix nfs oops during mount

Patch from Trond Myklebust <trond.myklebust@fys.uio.no>

This has been floating about for a while, and fixes the oops which people
keep on reporting.

23 years ago[PATCH] balance_irq lockup fix
Andrew Morton [Thu, 6 Mar 2003 09:13:15 +0000 (01:13 -0800)]
[PATCH] balance_irq lockup fix

irqdesc_t.lock is taken from interrupts - it needs irq-safe locking from
process context.

Also timer_irq_works() needs to use an unsigned long to hold a jiffies value
(Kai Bankett)

23 years ago[PATCH] i386 IRQ balancing cleanup
Andrew Morton [Thu, 6 Mar 2003 09:13:08 +0000 (01:13 -0800)]
[PATCH] i386 IRQ balancing cleanup

General coding cleanups in io_apic.c:

- make pending_irq_balance_apicid[] static

- reorder several functions so that forward decls are not needed and so
  that `inline' actually works.

- 80 col fixes.

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.