]> git.hungrycats.org Git - linux/log
linux
22 years agoLinux v2.5.59 v2.5.59
Linus Torvalds [Thu, 16 Jan 2003 10:20:34 +0000 (02:20 -0800)]
Linux v2.5.59

22 years agoMerge bk://bk.arm.linux.org.uk
Linus Torvalds [Thu, 16 Jan 2003 10:07:33 +0000 (02:07 -0800)]
Merge bk://bk.arm.linux.org.uk
into home.transmeta.com:/home/torvalds/v2.5/linux

22 years ago[ARM] Fix Integrator __virt_to_bus/__bus_to_virt
Russell King [Thu, 16 Jan 2003 15:09:58 +0000 (15:09 +0000)]
[ARM] Fix Integrator __virt_to_bus/__bus_to_virt

__virt_to_bus/__bus_to_virt depended on INTEGRATOR_HDR0_SDRAM_BASE
Unfortunately, this is defined in arch-integrator/platform.h, and
we really don't want to include it in memory.h.

We instead use BUS_OFFSET, which will eventually depend on the CPU
number in the system.

22 years ago[ARM/IDE] Fix BLK_DEV_IDEDMA setting on non-Acorn ARM systems
Russell King [Thu, 16 Jan 2003 15:03:17 +0000 (15:03 +0000)]
[ARM/IDE] Fix BLK_DEV_IDEDMA setting on non-Acorn ARM systems

Only default BLK_DEV_IDEDMA on BLK_DEV_IDEDMA_ICS if ARCH_ACORN is
set, not if ARM is set.  There are PCI ARM systems out there!

22 years ago[ARM] Fix failure paths in fd1772.c initialisation
Russell King [Thu, 16 Jan 2003 14:59:45 +0000 (14:59 +0000)]
[ARM] Fix failure paths in fd1772.c initialisation

Ensure that we clean up properly after initialisation error,
releasing all claimed resources in an orderly manner and
returning the correct error code.

22 years ago[ARM] Update mach-types; add 8 new machine types, fix karo entry.
Russell King [Thu, 16 Jan 2003 14:54:51 +0000 (14:54 +0000)]
[ARM] Update mach-types; add 8 new machine types, fix karo entry.

22 years ago[ARM] Prevent "scheduling while atomic" in cpu_idle()
Russell King [Thu, 16 Jan 2003 14:51:10 +0000 (14:51 +0000)]
[ARM] Prevent "scheduling while atomic" in cpu_idle()

22 years ago[ARM] Use new asm/bug.h for arch/arm/kernel/bios32.c
Russell King [Thu, 16 Jan 2003 14:43:54 +0000 (14:43 +0000)]
[ARM] Use new asm/bug.h for arch/arm/kernel/bios32.c

22 years ago[ARM] Update acornfb for new fbcon layer.
Russell King [Thu, 16 Jan 2003 14:18:15 +0000 (14:18 +0000)]
[ARM] Update acornfb for new fbcon layer.

22 years ago[ARM] Update sa1100fb
Russell King [Thu, 16 Jan 2003 13:12:22 +0000 (13:12 +0000)]
[ARM] Update sa1100fb

Add cfbfillrect / cfbcopyarea / cfbimgblt objects for SA1100fb.
Remove redundant "pm" member.

22 years ago[PATCH] Fix marvel irq count computation.
Jeff Wiedemeier [Thu, 16 Jan 2003 09:17:16 +0000 (01:17 -0800)]
[PATCH] Fix marvel irq count computation.

Found a buglet in the marvel code -- doesn't change the number of IRQS
just the logic to get there.. This applies on top of the other marvel
code.

/jeff

22 years agoMerge kanga.twiddle.net:/home/rth/linux/linus-2.5
Richard Henderson [Thu, 16 Jan 2003 09:14:42 +0000 (01:14 -0800)]
Merge kanga.twiddle.net:/home/rth/linux/linus-2.5
into kanga.twiddle.net:/home/rth/linux/axp-2.5

22 years ago[ALPHA] Correct io.h exports and inlining for marvel and titan.
Richard Henderson [Thu, 16 Jan 2003 09:10:18 +0000 (01:10 -0800)]
[ALPHA] Correct io.h exports and inlining for marvel and titan.

22 years ago[ALPHA] Formatting cleanup, warning removal, move declarations
Richard Henderson [Thu, 16 Jan 2003 08:01:44 +0000 (00:01 -0800)]
[ALPHA] Formatting cleanup, warning removal, move declarations
to header files where they belong.

22 years ago[ALPHA] Fixups to Marvel and Titan for incomplete merging
Richard Henderson [Thu, 16 Jan 2003 06:38:20 +0000 (22:38 -0800)]
[ALPHA] Fixups to Marvel and Titan for incomplete merging
of AGP and SRMCONS patches.

22 years ago[ALPHA] Marvel (AlphaServer ES47, ES80, GS1280) support.
Richard Henderson [Thu, 16 Jan 2003 06:23:54 +0000 (22:23 -0800)]
[ALPHA] Marvel (AlphaServer ES47, ES80, GS1280) support.
From Jeff.Wiedemeier@hp.com.

22 years ago[ALPHA] AGP infrastructure for AGP implemented in Alpha corelogic
Richard Henderson [Thu, 16 Jan 2003 06:08:28 +0000 (22:08 -0800)]
[ALPHA] AGP infrastructure for AGP implemented in Alpha corelogic
(Titan / Marvel), Kconfig and headers.

From Jeff Wiedemeier.

22 years ago[PATCH] (3/3) NUMA rebalancer
Martin J. Bligh [Thu, 16 Jan 2003 03:46:25 +0000 (19:46 -0800)]
[PATCH] (3/3) NUMA rebalancer

Patch from Erich Focht

This adds a hook to rebalance globally across nodes every NODE_BALANCE_RATE
iterations of the rebalancer. This allows us to easily tune on an architecture
specific basis how often we wish to rebalance - machines with higher NUMA
ratios (more expensive off-node access) will want to do this less often.
It's currently set to 100 for NUMA-Q and 10 for other machines. If the
imbalance between nodes is > 125%, we'll rebalance them. The hook for this
is added to the NUMA definition of cpus_to_balance, so again, no impact
on non-NUMA machines.

22 years ago[PATCH] (2/3) Initial load balancing
Martin J. Bligh [Thu, 16 Jan 2003 03:46:10 +0000 (19:46 -0800)]
[PATCH] (2/3) Initial load balancing

Patch from Michael Hohnbaum

This adds a hook, sched_balance_exec(), to the exec code, to make it
place the exec'ed task on the least loaded queue. We have less state
to move at exec time than fork time, so this is the cheapest point
to cross-node migrate. Experience in Dynix/PTX and testing on Linux
has confirmed that this is the cheapest time to move tasks between nodes.

It also macro-wraps changes to nr_running, to allow us to keep track of
per-node nr_running as well. Again, no impact on non-NUMA machines.

22 years ago[PATCH] (1/3) Minimal NUMA scheduler
Martin J. Bligh [Thu, 16 Jan 2003 03:45:56 +0000 (19:45 -0800)]
[PATCH] (1/3) Minimal NUMA scheduler

Patch from Martin J. Bligh

This adds a small hook to the find_busiest_queue routine to allow us to
specify a mask of which CPUs to search over. In the NUMA case, it will
only balance inside the node (much cheaper to search, and stops tasks
from bouncing across nodes, which is very costly). The cpus_to_balance
routine is conditionally defined to ensure no impact to non-NUMA machines.

This is a tiny NUMA scheduler, but it needs the assistance of the second
and third patches in order to spread tasks across nodes.

22 years ago[PATCH] remove MOD_IN_USE
Christoph Hellwig [Thu, 16 Jan 2003 03:38:42 +0000 (19:38 -0800)]
[PATCH] remove MOD_IN_USE

Another left-over from ancient module code, it was supposed to return
non-zero if the module has a use count, but currently it always
evaluates to 0.

There are a few users of different types:
(1)  ioctl that perform a while(MOD_IN_USE) MOD_DEC_USE_COUNT loop.
     Just rip them out, we now have forced module unloading.
(2)  printk's that moan if the use-count in not zero in the exitfunc.
     Just rip them out, this can't happen.
(3)  if(MOD_IN_USE) MOD_DEC_USE_COUNT constructs in ->close of a few
     serial drivers.  Just remove the conditional, we did a
     MOD_INC_USE_COUNT in ->open.
(4)  This one is interesting:  drivers/sbus/char/display7seg.c uses
     the module use count to track openers.  Replace this with an
     atomic_t.

In addition remove tons of stale comments in network driver that aren't
understandable for anyone who doesn't know ancient Linux module semantics.

22 years ago[PATCH] x86_64 update
Andi Kleen [Thu, 16 Jan 2003 03:36:37 +0000 (19:36 -0800)]
[PATCH] x86_64 update

x86-64 updates for 2.5.58. Changes only x86-64 specific files.

 - Rewrote module allocation. Lots of bugs fixed. Module loading
   should work now again.
 - Kconfig help fixes from Randy Dunlap
 - Makefile cleanups from Pavel Machek and Sam Ravnborg
 - Assembly cleanups from Pavel
 - defconfig update
 - Better strlen_user/strnlen_user
 - Merge with i386: new ptrace commands, 32bit vsyscall signal trampolines
new deactivate_mm, add asm/bug.h
 - Make sure initramfs is freed after booting (thanks to Kai for the hint)
 - User per cpu data for profile counters (Ravikiran Thirumalai)
 - 32bit compat_* updates from Stephen Rothwell
 - Fix race in context switch. The exception handler for bogus segment
   loads in __switch_to needs to keep interrupts disabled, otherwise an
   interrupt can deadlock on scheduler locks.  Also make sure they don't
   printk or set oops_in_progress during printk because printk does a
   wake_up too.
 - Disable 64bit GS base changes for processes.  I cannot get it to work
   reliably.
 - Clear IOPL on kernel entry

22 years ago[PATCH] alpha smp callin
Ivan Kokshaysky [Thu, 16 Jan 2003 02:40:23 +0000 (18:40 -0800)]
[PATCH] alpha smp callin
From Jeff.Wiedemeier@hp.com:

Add platform-specific callin for SMP.

22 years ago[PATCH] alpha irq proc update
Ivan Kokshaysky [Thu, 16 Jan 2003 02:33:03 +0000 (18:33 -0800)]
[PATCH] alpha irq proc update
From Jeff.Wiedemeier@hp.com:

- Only create smp_affinity /proc nodes if a set_affinity handler
  is provided.
- Limit the number of irq nodes that will be created in /proc
  to avoid overfilling the /proc inode space.

22 years ago[ALPHA] Use direct calls to titan_ioremap/unmap when building
Richard Henderson [Thu, 16 Jan 2003 02:30:14 +0000 (18:30 -0800)]
[ALPHA] Use direct calls to titan_ioremap/unmap when building
a titan specific kernel.

22 years agoMerge http://linux-voyager.bkbits.net/eisa-sysfs-2.5
Linus Torvalds [Thu, 16 Jan 2003 02:23:42 +0000 (18:23 -0800)]
Merge http://linux-voyager.bkbits.net/eisa-sysfs-2.5
into home.transmeta.com:/home/torvalds/v2.5/linux

22 years agoEISA sysfs AIP update
Marc Zyngier [Thu, 16 Jan 2003 03:41:26 +0000 (21:41 -0600)]
EISA sysfs AIP update

Without it, unloading a module
leads to some unpleasant oops...

22 years agoEISA sysfs updates to 3c509 and 3c59x drivers
Marc Zyngier [Thu, 16 Jan 2003 03:21:02 +0000 (21:21 -0600)]
EISA sysfs updates to 3c509 and 3c59x drivers

22 years agoEISA naming database
Marc Zyngier [Thu, 16 Jan 2003 03:19:30 +0000 (21:19 -0600)]
EISA naming database

Please note that the naming DB is now completely optional. If there is
no eisa.ids in the drivers/eisa/ directory, build will behave as if
CONFIG_EISA_NAMES is disabled. So this patch can be left out if there
is any objection.

22 years agosysfs EISA support
Marc Zyngier [Thu, 16 Jan 2003 03:18:00 +0000 (21:18 -0600)]
sysfs EISA support

Base patch adding sysfs support for the EISA bus

22 years ago[PATCH] alpha titan update
Ivan Kokshaysky [Thu, 16 Jan 2003 01:59:08 +0000 (17:59 -0800)]
[PATCH] alpha titan update
From Jeff.Wiedemeier@hp.com:

Update titan system support include AlphaServer DS25, AGP,
enhanced machine check handling.

22 years ago[PATCH] alpha_remap_area_pages
Ivan Kokshaysky [Thu, 16 Jan 2003 01:56:42 +0000 (17:56 -0800)]
[PATCH] alpha_remap_area_pages
From Jeff.Wiedemeier@hp.com:

Add arch/alpha/mm/remap.c (__alpha_remap_area_pages).

22 years ago[PATCH] alpha PCI setup update
Ivan Kokshaysky [Thu, 16 Jan 2003 01:54:38 +0000 (17:54 -0800)]
[PATCH] alpha PCI setup update

Until now, we were configuring all PCI resources from scratch.
This patch allows to use unchanged PCI setup on platforms
where the firmware does it reasonably well (titan and marvel).

[The patch to setup-bus.c that removes "FIXME" from here (ie makes
pci_assign_unassigned_resources to match its name) exists at least
for two months, but I've yet to convince Linus that it does the
right thing...]

Ivan.

22 years ago[PATCH] remove GET_USE_COUNT
Christoph Hellwig [Thu, 16 Jan 2003 01:28:13 +0000 (17:28 -0800)]
[PATCH] remove GET_USE_COUNT

This is a left-over from the old modules code, Rusty stubbed it out
to always return 0.  Three scsi pcmcia driver check it for beeing non-NULL,
trying to work around their unload races.  I've added #warnings there
and stubbed out the GET_USE_COUNT so we can remove it from the core.

22 years ago[PATCH] fix signed/unsigned issue in SGI partitioning code
Christoph Hellwig [Thu, 16 Jan 2003 01:28:04 +0000 (17:28 -0800)]
[PATCH] fix signed/unsigned issue in SGI partitioning code

The Linux code for SGI partitions uses an int instead of an unsigned int
in the ondisk structure in two places, which breaks > TB partitions.

While porting the code over from an internal 2.4-based tree I've also
switched it to use the explicit uXX/sXX types everywhere and moved the
struct defintions above sgi_partition().

22 years ago[PATCH] alsa before oss in Kconfig
James H. Cloos Jr. [Thu, 16 Jan 2003 00:41:32 +0000 (16:41 -0800)]
[PATCH] alsa before oss in Kconfig

  Move ALSA before OSS

22 years ago[PATCH] i8k driver cleanups
James H. Cloos Jr. [Thu, 16 Jan 2003 00:41:26 +0000 (16:41 -0800)]
[PATCH] i8k driver cleanups

  The input system in 2.5 is able to see the volume keys on inspiron
  notebooks w/o help from i8k.c.  This patch therefore removes the
  new code from i8kutils-1.17 for feeding those keypresses to the
  keyboard driver.

  This leaves only MODULE_PARM(restricted, "i") as the useful addition
  to what was in 2.5.58's i8k.c.  This module parm restricts control of
  the system fans to processes with CAP_SYS_ADMIN set.

22 years agoMerge http://linux-isdn.bkbits.net/linux-2.5.make
Linus Torvalds [Thu, 16 Jan 2003 00:29:29 +0000 (16:29 -0800)]
Merge http://linux-isdn.bkbits.net/linux-2.5.make
into home.transmeta.com:/home/torvalds/v2.5/linux

22 years agokbuild: kallsyms cleanup
Kai Germaschewski [Thu, 16 Jan 2003 04:03:30 +0000 (22:03 -0600)]
kbuild: kallsyms cleanup

There's no need to alias the kallsyms-related symbols to a dummy
variable, we can as well just do the sanity check against NULL.

22 years agokbuild: Make asm-generic/vmlinux.lds.h usable for IA-64
Kai Germaschewski [Thu, 16 Jan 2003 04:02:51 +0000 (22:02 -0600)]
kbuild: Make asm-generic/vmlinux.lds.h usable for IA-64

  Allow for different LMA vs VMA (logical/virtual memory address).
  IA-64 uses the LMA to tell the bootloader the physical location
  of the image, whereas the VMA as always represents the address the
  image gets mapped to.

  The default (used for non IA-64) is LMA == VMA, which is what
  the linker previously assumed anyway.

Also:
o remove duplicate .rodata1 section
o __vermagic doesn't need its own section in vmlinux, it can
  just go into .rodata
o .kstrtab hasn't been used since the introduction of the new
  module loader, so it should be deleted from the linker scripts
  as well (except for arch/um, which does not seem up to date
  w.r.t the new module loader yet)
o The kallsyms mechanism has changed to not need its own section,
  so again the references in the linker scripts can go away

22 years agokbuild/modules: Save space on symbol list
Kai Germaschewski [Thu, 16 Jan 2003 04:00:59 +0000 (22:00 -0600)]
kbuild/modules: Save space on symbol list

The current code reserves 60 bytes for the symbol string of every
exported symbol, unnecessarily wasting kernel memory since most symbols
are much shorter. We revert to the 2.4 solution where the actual strings
are saved out of line and only the pointers are kept.

The latest module-init-tools already handle this case, people who are
using older versions need to update to make sure depmod works
properly.

Saves 80 KB in vmlinux with my .config.

22 years agokbuild: fix broken kallsyms on non-x86 archs
Kai Germaschewski [Thu, 16 Jan 2003 03:58:00 +0000 (21:58 -0600)]
kbuild: fix broken kallsyms on non-x86 archs

From: James Bottomley <James.Bottomley@steeleye.com>

kallsyms is broken in parisc on 2.5.56 again because of assembler syntax
subtleties.  This is the offending line:

printf("\t.byte 0x%02x ; .asciz\t\"%s\"\n"

Note the `;' separating the two statements.  On some platforms `;' is a
comment in assembly code, and thus the following .asciz is ignored.

22 years ago[PATCH] Mac/m68k NCR5380 SCSI updates
Geert Uytterhoeven [Thu, 16 Jan 2003 00:11:25 +0000 (16:11 -0800)]
[PATCH] Mac/m68k NCR5380 SCSI updates

Mac/m68k NCR5380 SCSI updates (forward port of Ray Knight's changes in 2.4.x):
  - Forward port of pseudo-DMA from 2.2.20
  - Move SCSI host template definition from mac_scsi.h to mac_scsi.c

22 years ago[PATCH] Generic RTC driver documentation
Geert Uytterhoeven [Thu, 16 Jan 2003 00:11:18 +0000 (16:11 -0800)]
[PATCH] Generic RTC driver documentation

Generic RTC driver: fix spelling in documentation (from Geoffrey Lee
<glee@gnupilgrims.org>)

22 years ago[PATCH] Q40/Q60 keyboard fixes
Geert Uytterhoeven [Thu, 16 Jan 2003 00:11:12 +0000 (16:11 -0800)]
[PATCH] Q40/Q60 keyboard fixes

Q40/Q60 keyboard fixes:
  - IRQ definitions were prepended with Q40_
  - <asm/keyboard.h> no longer exists
  - Let q40kbd_init() fails if not running on a Q40/Q60
  - q40kbd_init() must return an error code
  - Make q40kbd_{init,exit}() static

22 years ago[PATCH] Atari ST-RAM swap update
Geert Uytterhoeven [Thu, 16 Jan 2003 00:11:06 +0000 (16:11 -0800)]
[PATCH] Atari ST-RAM swap update

Jeff removed the swap_device member from struct swap_info_struct
(http://www.uwsg.iu.edu/hypermail/linux/kernel/0202.1/0258.html)
but it is still used in the m68k arch for the ST-RAM. The below
should remove it.

Frankly, I didn't try compiling... My original intent was to move the
swap_list definition from swap.h to mm/swapfile.c, but m68k still
uses it here :( so perhaps this isn't possible. And I just happened to
stumble upon this.

(from Marcus Alanen <maalanen@ra.abo.fi> through Rusty Trivial Russell)

22 years ago[PATCH] M68k generic RTC driver updates
Geert Uytterhoeven [Thu, 16 Jan 2003 00:10:58 +0000 (16:10 -0800)]
[PATCH] M68k generic RTC driver updates

M68k generic RTC driver updates:
  - Revive help text for CONFIG_GEN_RTC
  - Re-add lost config option for CONFIG_GEN_RTC_X
  - Re-add lost mach_get_ss()
  - Export mach_[gs]et_rtc_pll()
  - Add implementation of mach_get_ss() and mach_[gs]et_rtc_pll() for Q40/Q60
  - Add missing include
  - Add implementation of get_rtc_ss()

22 years ago[PATCH] Sun-3: Add missing deactivate_mm()
Geert Uytterhoeven [Thu, 16 Jan 2003 00:10:51 +0000 (16:10 -0800)]
[PATCH] Sun-3: Add missing deactivate_mm()

Sun-3: Add missing deactivate_mm() (yes, there should be two of them in
include/asm-m68k/mmu_context.h: one for Motorola MMUs and one for Sun-3 MMUs)

22 years ago[PATCH] M68k exception table updates
Geert Uytterhoeven [Thu, 16 Jan 2003 00:10:44 +0000 (16:10 -0800)]
[PATCH] M68k exception table updates

M68k exception table updates to compensate for changes in 2.5.55

22 years ago[PATCH] Q40/Q60 IRQ updates from 2.4.x
Geert Uytterhoeven [Thu, 16 Jan 2003 00:10:38 +0000 (16:10 -0800)]
[PATCH] Q40/Q60 IRQ updates from 2.4.x

Q40/Q60 IRQ updates from 2.4.x

22 years ago[PATCH] Amiga keyboard fix
Geert Uytterhoeven [Thu, 16 Jan 2003 00:10:30 +0000 (16:10 -0800)]
[PATCH] Amiga keyboard fix

Amiga keyboard: the release bit indicates a key release, not a key press.

22 years agoMerge bk://are.twiddle.net/axp-2.5
Linus Torvalds [Thu, 16 Jan 2003 00:08:17 +0000 (16:08 -0800)]
Merge bk://are.twiddle.net/axp-2.5
into home.transmeta.com:/home/torvalds/v2.5/linux

22 years ago[PATCH] make vm_enough_memory more efficient
Martin J. Bligh [Thu, 16 Jan 2003 00:03:24 +0000 (16:03 -0800)]
[PATCH] make vm_enough_memory more efficient

vm_enough_memory seems to call si_meminfo just to get the total
RAM, which seems far too expensive. This replaces the comment
saying "this is crap" with some code that's less crap.

22 years ago[PATCH] compat_sys_sigpending and compat_sys_sigprocmask
Stephen Rothwell [Wed, 15 Jan 2003 23:51:58 +0000 (15:51 -0800)]
[PATCH] compat_sys_sigpending and compat_sys_sigprocmask

Here is the s390x patch to use the new generic compatibility functions.

22 years ago[PATCH] compat_sys_sigpending and compat_sys_sigprocmask
Stephen Rothwell [Wed, 15 Jan 2003 23:51:52 +0000 (15:51 -0800)]
[PATCH] compat_sys_sigpending and compat_sys_sigprocmask

This creates compat_sys_sigpending and compat_sys_sigprocmask and
patches sent to maintainers remove all the arch specific versions.

22 years ago[PATCH] compat_{old_}sigset_t s390x part
Stephen Rothwell [Wed, 15 Jan 2003 23:51:45 +0000 (15:51 -0800)]
[PATCH] compat_{old_}sigset_t s390x part

With Martin's continuing approval, here is the s390x part of the patch.

22 years ago[PATCH] compat_{old_}sigset_t generic part
Stephen Rothwell [Wed, 15 Jan 2003 23:51:38 +0000 (15:51 -0800)]
[PATCH] compat_{old_}sigset_t generic part

This creates compat_sigset_t and compat_old_sigset_t i.e.  just the
types.  This is just the generic part, the architecture specific parts
will be sent to respective maintainers.

22 years agoMerge http://ppc.bkbits.net/for-linus-ppc64
Linus Torvalds [Wed, 15 Jan 2003 23:49:12 +0000 (15:49 -0800)]
Merge http://ppc.bkbits.net/for-linus-ppc64
into home.transmeta.com:/home/torvalds/v2.5/linux

22 years agoppc64: Temporary workaround for oops during coredump.
Anton Blanchard [Fri, 17 Jan 2003 09:00:36 +0000 (20:00 +1100)]
ppc64: Temporary workaround for oops during coredump.

22 years agoMerge samba.org:/scratch/anton/linux-2.5
Anton Blanchard [Fri, 17 Jan 2003 07:28:11 +0000 (18:28 +1100)]
Merge samba.org:/scratch/anton/linux-2.5
into samba.org:/scratch/anton/for-alan

22 years agoppc64: manual resolve
Anton Blanchard [Fri, 17 Jan 2003 03:47:29 +0000 (14:47 +1100)]
ppc64: manual resolve

22 years agoMerge samba.org:/scratch/anton/linux-2.5
Anton Blanchard [Fri, 17 Jan 2003 03:33:16 +0000 (14:33 +1100)]
Merge samba.org:/scratch/anton/linux-2.5
into samba.org:/scratch/anton/for-alan

22 years agoppc64: fix exception handling in socket multiplexer
Anton Blanchard [Fri, 17 Jan 2003 03:27:51 +0000 (14:27 +1100)]
ppc64: fix exception handling in socket multiplexer

22 years agoppc64: Remove code which zero/sign extends arguments 5 and 6, its done unconditionall...
Anton Blanchard [Fri, 17 Jan 2003 01:18:10 +0000 (12:18 +1100)]
ppc64: Remove code which zero/sign extends arguments 5 and 6, its done unconditionally now

22 years agoMerge samba.org:/scratch/anton/sfr
Anton Blanchard [Fri, 17 Jan 2003 00:46:55 +0000 (11:46 +1100)]
Merge samba.org:/scratch/anton/sfr
into samba.org:/scratch/anton/for-alan

22 years agoppc64: remove old signal code, unused on 64bit userspace
Anton Blanchard [Fri, 17 Jan 2003 00:41:53 +0000 (11:41 +1100)]
ppc64: remove old signal code, unused on 64bit userspace

22 years agoMerge samba.org:/scratch/anton/linux-2.5
Anton Blanchard [Fri, 17 Jan 2003 00:28:01 +0000 (11:28 +1100)]
Merge samba.org:/scratch/anton/linux-2.5
into samba.org:/scratch/anton/for-alan

22 years agoMerge samba.org:/scratch/anton/linux-2.5
Anton Blanchard [Thu, 16 Jan 2003 23:09:42 +0000 (10:09 +1100)]
Merge samba.org:/scratch/anton/linux-2.5
into samba.org:/scratch/anton/for-alan

22 years agoppc64: remove old strace hack
Anton Blanchard [Thu, 16 Jan 2003 07:42:08 +0000 (18:42 +1100)]
ppc64: remove old strace hack

22 years agoppc64: move BUG_ILLEGAL_INSTR into asm/bug.h, noted by Milton Miller
Anton Blanchard [Thu, 16 Jan 2003 07:38:51 +0000 (18:38 +1100)]
ppc64: move BUG_ILLEGAL_INSTR into asm/bug.h, noted by Milton Miller

22 years agoMerge samba.org:/scratch/anton/linux-2.5
Anton Blanchard [Thu, 16 Jan 2003 07:33:05 +0000 (18:33 +1100)]
Merge samba.org:/scratch/anton/linux-2.5
into samba.org:/scratch/anton/for-alan

22 years agoMerge bk://kernel.bkbits.net/davem/sparc-2.5
Linus Torvalds [Wed, 15 Jan 2003 22:47:08 +0000 (14:47 -0800)]
Merge bk://kernel.bkbits.net/davem/sparc-2.5
into home.transmeta.com:/home/torvalds/v2.5/linux

22 years agoMerge davem@nuts.ninka.net:/home/davem/src/BK/net-2.5
David S. Miller [Wed, 15 Jan 2003 15:25:00 +0000 (07:25 -0800)]
Merge davem@nuts.ninka.net:/home/davem/src/BK/net-2.5
into kernel.bkbits.net:/home/davem/net-2.5

22 years ago[NET]: Fix up RTM_SETLINK handling.
Roland Dreier [Wed, 15 Jan 2003 15:47:42 +0000 (07:47 -0800)]
[NET]: Fix up RTM_SETLINK handling.

22 years agoMerge davem@nuts.ninka.net:/home/davem/src/BK/sparc-2.5
David S. Miller [Wed, 15 Jan 2003 15:05:17 +0000 (07:05 -0800)]
Merge davem@nuts.ninka.net:/home/davem/src/BK/sparc-2.5
into kernel.bkbits.net:/home/davem/sparc-2.5

22 years ago[SPARC64]: Handle SO_TIMESTAMP properly in compat recvmsg.
Laszlo Valko [Wed, 15 Jan 2003 15:25:42 +0000 (07:25 -0800)]
[SPARC64]: Handle SO_TIMESTAMP properly in compat recvmsg.

22 years ago[SPARC64]: Update defconfig.
David S. Miller [Wed, 15 Jan 2003 15:20:13 +0000 (07:20 -0800)]
[SPARC64]: Update defconfig.

22 years ago[PATCH] update LOG BUF SIZE config.
Randy Dunlap [Wed, 15 Jan 2003 14:49:30 +0000 (06:49 -0800)]
[PATCH] update LOG BUF SIZE config.

The current LOG_BUF size is a bit confusing the first
time that "make oldconfig" is used.  It's difficult to
select anything other than the default value.

Also, you (Linus) expressed a desire to have this
configurable only if DEBUG_KERNEL or "kernel hacking"
was enabled, so I've changed it to accomplish that.

This patch also uses Kconfig in a way that Roman intended
since a patch in 2.5.52 which enables default values if
a prompt is not enabled, but lets values be chosen when
the prompt is enabled.  You also asked for this in setting
this config option.

22 years ago[SPARC64]: Use init/exit facility of cpufreq infrastructure.
David S. Miller [Wed, 15 Jan 2003 14:36:56 +0000 (06:36 -0800)]
[SPARC64]: Use init/exit facility of cpufreq infrastructure.

22 years agoMerge bk://ppc.bkbits.net/for-linus-ppc
Linus Torvalds [Wed, 15 Jan 2003 14:27:24 +0000 (06:27 -0800)]
Merge bk://ppc.bkbits.net/for-linus-ppc
into home.transmeta.com:/home/torvalds/v2.5/linux

22 years agoPPC32: Use a per-cpu variable for prof_counter and prof_multiplier.
Paul Mackerras [Fri, 17 Jan 2003 02:15:10 +0000 (13:15 +1100)]
PPC32: Use a per-cpu variable for prof_counter and prof_multiplier.

22 years agoPPC32: Better support for PPC 4xx debug facilities.
Paul Mackerras [Fri, 17 Jan 2003 02:10:04 +0000 (13:10 +1100)]
PPC32: Better support for PPC 4xx debug facilities.

This provides for separate global and per-thread debug control
register value(s), which are switched as appropriate.  This allows
us to use both an external JTAG debugger for debugging the kernel
as well as using gdb to debug user programs.

22 years agoPPC32: Page-align the data section of the boot wrapper.
Paul Mackerras [Fri, 17 Jan 2003 01:52:58 +0000 (12:52 +1100)]
PPC32: Page-align the data section of the boot wrapper.

This is needed for Open Firmware on older powermacs to be able to
load the wrapper.  Without this OF gives a "CLAIM failed" error.

22 years agoPPC32: Add support for PPC 4xx on-chip devices using the generic
Paul Mackerras [Fri, 17 Jan 2003 01:47:30 +0000 (12:47 +1100)]
PPC32: Add support for PPC 4xx on-chip devices using the generic
device model.

22 years agoMerge bk://68.0.152.218/linux-2.5-misc
Paul Mackerras [Thu, 16 Jan 2003 22:52:03 +0000 (09:52 +1100)]
Merge bk://68.0.152.218/linux-2.5-misc
into samba.org:/home/paulus/kernel/for-linus-ppc

22 years agoMerge davem@nuts.ninka.net:/home/davem/src/BK/sparc-2.5
David S. Miller [Wed, 15 Jan 2003 14:14:35 +0000 (06:14 -0800)]
Merge davem@nuts.ninka.net:/home/davem/src/BK/sparc-2.5
into kernel.bkbits.net:/home/davem/sparc-2.5

22 years agoMerge osdl.org:/home/mochel/src/kernel/devel/linux-2.5-virgin
Patrick Mochel [Wed, 15 Jan 2003 11:54:08 +0000 (05:54 -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

22 years ago[SPARC64]: Move topology_init to setup.c, it is not SMP specific.
David S. Miller [Wed, 15 Jan 2003 11:51:30 +0000 (03:51 -0800)]
[SPARC64]: Move topology_init to setup.c, it is not SMP specific.

22 years agodriver model: fix bogus driver binding error reporting and handling.
Patrick Mochel [Wed, 15 Jan 2003 11:41:35 +0000 (05:41 -0600)]
driver model: fix bogus driver binding error reporting and handling.

Some error checking was added ca. 2.5.58 that would remove a device from
its bus's list of devices if device_attach() returned an error. This
included errors returned from drv->probe(), and the -ENODEV error returned
if the device wasn't bound to any driver.

This was BAD since it was perfectly fine for a device not to bind to a
driver immediately, and for drivers to return an error on probe() if the
device doesn't exactly qualify as one it supports.

This changes device_attach() and driver_attach() to both return void,
instead of an error, since they really can never fail hard enough to cause
the device or driver to be removed from the bus.

22 years ago[ALPHA] Corrections to recent vmlinux.lds.S changes.
Richard Henderson [Wed, 15 Jan 2003 11:04:59 +0000 (03:04 -0800)]
[ALPHA] Corrections to recent vmlinux.lds.S changes.

Fix merge conflicts with asm-generic/vmlinux.lds.h change.
Fix ordering of large alignment data sections.

22 years agoWe need to assign resources to cardbus cards _regardless_ of whether
Linus Torvalds [Wed, 15 Jan 2003 10:12:19 +0000 (02:12 -0800)]
We need to assign resources to cardbus cards _regardless_ of whether
probing tells us they already have a range. The old information is
stale.

22 years agoPPC32: Change the MontaVista copyright / GPL boilerplate to
Tom Rini [Wed, 15 Jan 2003 09:48:27 +0000 (02:48 -0700)]
PPC32: Change the MontaVista copyright / GPL boilerplate to
a condensed version.

22 years agoFix page_address() to not re-evaluate its arguments
Linus Torvalds [Wed, 15 Jan 2003 07:42:14 +0000 (23:42 -0800)]
Fix page_address() to not re-evaluate its arguments
multiple times under certain circumstances.

This fixes svc_tcp_recvfrom().

Found by Ted Phelps <phelps@dstc.edu.au>

22 years agoMerge bk://linuxusb.bkbits.net/linus-2.5
Linus Torvalds [Wed, 15 Jan 2003 07:29:54 +0000 (23:29 -0800)]
Merge bk://linuxusb.bkbits.net/linus-2.5
into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux

22 years agoFix backslash at end of file
Linus Torvalds [Wed, 15 Jan 2003 07:24:32 +0000 (23:24 -0800)]
Fix backslash at end of file

22 years agoppc64: fix build when CONFIG_MODULES=n
Anton Blanchard [Wed, 15 Jan 2003 06:54:40 +0000 (17:54 +1100)]
ppc64: fix build when CONFIG_MODULES=n

22 years ago[PATCH] fix cardbus/hotplugging
Yaacov Akiba Slama [Wed, 15 Jan 2003 06:53:08 +0000 (22:53 -0800)]
[PATCH] fix cardbus/hotplugging

The pci_enable_device() function will fail at least on i386 (see
arch/i386/pci/i386.c: pcibios_enable_resource (line 260)) if the
resources have not been assigned previously.  Hence the ostensible
resource collisions.

I added a small comment (and modified another) so future janitors won't
move pci_enable above pci_assign_resource again.

22 years ago[PATCH] cpia driver update
Nick Holloway [Wed, 15 Jan 2003 06:52:55 +0000 (22:52 -0800)]
[PATCH] cpia driver update

Here are some minor fixes and cleanups to the cpia (Creative WebCam II et
al) driver.  These have been extracted from the sourceforge CVS archive,
and I'd like to get these in before a larger change to the parallel port
code to support more transfer modes.

This patch contains:
  * cpia: use the <linux/list.h> list implementation, instead of cpia specific
    version.
  * cpia_pp: don't clear camera list after cameras have been registered (as
    this prevents them being deregistered, and oops after module
    unload).
  * hold cpia_pp list spinlock while walking list, not just during the
    element removal.

22 years agoMerge tetrachloride.(none):/mnt/stuff/kernel/2.5/bk-linus
Dave Jones [Wed, 15 Jan 2003 20:29:08 +0000 (19:29 -0100)]
Merge tetrachloride.(none):/mnt/stuff/kernel/2.5/bk-linus
into tetrachloride.(none):/mnt/stuff/kernel/2.5/agpgart

22 years ago[AGPGART] Remove ancient unused bits from headers.
Dave Jones [Wed, 15 Jan 2003 15:28:42 +0000 (14:28 -0100)]
[AGPGART] Remove ancient unused bits from headers.