[PATCH] cpufreq: /proc/sys/cpu and /proc/cpufreq can be used simultaneously
Both the /proc/sys/cpu/ and /proc/cpufreq interface can safely be
enabled in the same kernel. This simplifies the transition to the newer
interface. Only minor updates are needed in order to allow this to be
done.
David Howells [Mon, 4 Nov 2002 02:14:36 +0000 (18:14 -0800)]
[PATCH] AFS compile breakage
Fix:
- Makefile using obj-m directly, rather than subsituting the "m"
- compiler breakage against older versions of gcc
- adds some lacking return statements that gcc didn't catch
- removes some 2.4 compatibility stuff
- RTT calculation
- puts the timeouts in terms of HZ rather than assuming HZ==100
Matthew Wilcox [Mon, 4 Nov 2002 02:05:06 +0000 (18:05 -0800)]
[PATCH] remove *_segments() dummy functions from all other architectures
A supplement to manfred's patch; remove copy_segments, release_segments
and even forget_segments from all architectures (except x86-64 since
Andi wants to do that seperately):
Matthew Dharm [Sun, 3 Nov 2002 08:43:08 +0000 (00:43 -0800)]
[PATCH] test for media-change like "popular" OSes..
This patch changes how media-change is detected to use a mechanism more
similar to what 'popular' OSes use.
The motive for this change is that more and more emulated-SCSI devices
(sbp2, usb-storage, etc) don't support START_STOP unless they need it.
Other OSes won't send a START_STOP unless the device reports NOT_READY,
indicating that it needs an explicit command to start up.
One could argue that these devices are out-of-spec, but they are so common
that they basically define the de facto spec.
Basically, any device that needs a START_STOP should still get it, but ones
that don't need it won't.
Manfred Spraul [Sun, 3 Nov 2002 08:38:13 +0000 (00:38 -0800)]
[PATCH] complete the move of the LDT code into
The i386 LDT code had it's own set of arch hooks (??_segments), I've
replaced most of them with the mmu context hooks in a previous patch.
The attached patch completes that change: replace release_segments with
destroy_context.
The patch is part of the -ac kernels in 2.4. The patch breaks x86-64,
Andi Kleen promised to send you the corresponding
s/release_segments/destroy_context/ patch.
[PATCH] cpufreq: update HyperThreading support in p4-clockmod.c driver
This patch updates the p4-clockmod.c driver to correctly manage
HyperThreading-enabled Pentium IVs as well as those models which do
not support HyperThreading - thanks to Venkatesh Pallipadi for
explaining cpu_sibling_map to me. Additionally, an EXPORT_SYMBOL
was missing. (spotted by Marc-Christian Petersen - thanks!)
Matthew Wilcox [Sun, 3 Nov 2002 08:21:37 +0000 (00:21 -0800)]
[PATCH] PA-RISC updates
Some misc updates:
- adapt our config.in changes to arch/parisc/Kconfig
- general Makefile updaes for the new build system
- remove asm-parisc/gsc.h in favour of asm-parisc/io.h
- Alan-approved fix for the loff_t problem
- Define POLLREMOVE like other architectures.
- irq handling updates from Grant Grundler
Add Sun-3 VME support (by Sam Creasey):
- Added VME version of the Sun-3 NCR5380 scsi driver.
- Modified the Sun-3 dvma routines to support VME.
- Added sun3_map_test() -- uses the ex_table to trap faults on VME mappings
in order to determine if a card is present. This seems a little hackish to
be, but:
1) All changes are entirely within Sun3-only code paths,
2) netbsd, sunos, and mach all use this mechanism for VME probes anyway.
General cleanup/updating of purely sun3/3x code (from Sam Creasey)
- arch/m68k/sun3(x):
o Cleaned up prom code slightly
o Added reporting of prom revision in /proc/hardware
o Removed some warnings
- Use common idprom code for both Sun-3 and Sun-3x
- Sun-3x idprom updates
- drivers/scsi/sun3*: updated scsi drivers to reflect new struct scatterlist.
Remove m68k fallback function for virtual/physical address conversions
(should there be any driver relying on this, that driver is seriously b0rken)
(from Roman Zippel)
Move m68k low-level iomap definitions from asm/io.h to asm/raw_io.h, so zorro.h
and nubus.h can include raw_io.h instead of io.h (as suggested by Richard
Zidlicky)
M68k input drivers cleanup:
- Remove remnants from the old input layer:
o Config.help entries for the Amiga and Atari mouse drivers
o Apollo keyboard code (including beep support)
o Dummy keyboard initialization, keyboard repeat, and keyboard LEDs code
for MVME147, Sun-3, Sun-3x,
o Makefile entries for Atari keyboard, mouse and joystick drivers, and
the HP300 Human Interface Loop driver
o kbd-reset kernel command line parameters
o defconfig entry for the Amiga mouse driver
o Mac ADB mouse driver glue
o Amiga and Mac ADB mouse driver minors
- Always include new input layer configuration data
M68k build fixes, caused by kbuild changes in 2.5.41:
- 68040 Floating Point and 68060 Integer and Floating Point Support Packages:
use cpp includes instead of gas includes
- Add `$(obj)' and `$(src)' where necessary to fix building of generated
header files
M68k irq updates (most from Roman Zippel):
- Update m68k to new irq API in 2.5.29
- synchronize_irq() takes a parameter now
- Remove obsolete definitions
- Avoid too much inline assembly in __xchg
- Add irqs_disabled(), which appeared in 2.5.34
- Add missing implementation for in_atomic() (introduced in 2.5.35)
M68k IDE lock fixes:
- Kill warning: ide_{get,release}_lock() can be real routines only if
IDE_ARCH_LOCK is defined, the same is true for ide_intr_lock
- Use the correct lock for ide_{get,release}_lock()
M68k dump_stack() updates:
- Let dump_stack() call show_trace() (cfr. ia32)
- Separate show_registers() from show_stack()
- Fix for dump_stack() becoming an arch-independent routine (from 2.4.x)
Russell King [Sun, 3 Nov 2002 22:47:06 +0000 (22:47 +0000)]
[ARM PATCH] 1298/1: display various PXA250 clocks on boot for better bug diagnosis
Since it's easy to overclock that chip we'd better know why some board is
crashing randomly due to signal integrity problems.
Russell King [Sun, 3 Nov 2002 21:52:42 +0000 (21:52 +0000)]
[ARM] Fix various build errors in bk-cur
- Make ioremap.c compile
- Fix armv4_early_abort -> v4_early_abort
- Fix MT_MINICACHE -> MT_MINICLEAN
- Add MAP_POPULATE and MAP_NONBLOCK for ARM
- Fix last remaining usage of kstat.irqs[cpu]
- Add support for .init.initramfs section
Ivan Kokshaysky [Sun, 3 Nov 2002 03:40:12 +0000 (19:40 -0800)]
[PATCH] alpha: common ev6/ev7 machine check handler
Here is new ev6/ev7 machine check parser, which is a part of Jeff's
titan/marvel patchset.
Instead of fixing nautilus machine check handler, I've converted it
to use this new code. Works fine.
Also, the CONFIG_VERBOSE_MCHECK is good for cia/pyxis - the detailed
error reporting is completely useless unless you have faulty CPU or RAM.
Sam Ravnborg [Sun, 3 Nov 2002 03:07:49 +0000 (19:07 -0800)]
[PATCH] kbuild: Compatible with old bash, fix help, make clean fix
kbuild fixes:
o Do not use "-" in exported symbols, bash does not support that (Matthew/Keith)
o Sort ALL_SUBDIRS, to avoid warning about duplicate target
- Happens when the same directory are specified with drivers-y
and drivers-n
o Added AWK, a few architectures actually use awk for normal compilation
o Removed distclean from make help, now that distclean and mrporper are merged