Rusty Russell [Mon, 26 May 2003 10:00:07 +0000 (03:00 -0700)]
[PATCH] Allow for architectures to override
From: Stephen Rothwell <sfr@canb.auug.org.au>
This allows some architecture to override the generic implementations
on {get,put}_compat_flock64 as some of them (ia64 and maybe x86_64)
will take alignment faults when accessing the loff_t members of struct
compat_flock64.
Requested by David Mosberger, modified by Dave Miller.
Rusty Russell [Mon, 26 May 2003 09:59:21 +0000 (02:59 -0700)]
[PATCH] NAPI_HOWTO.txt typo + interrupt fix
From: Jonathan Corbet <corbet@lwn.net>
This fixes a couple of little mistakes in Documentation/NAPI_HOWTO.txt;
I also updated the interrupt handler stuff while I was at it. Jamal Hadi
Salim has seen and acked it.
Rusty Russell [Mon, 26 May 2003 09:58:43 +0000 (02:58 -0700)]
[PATCH] remove unneeded #define LinuxVersionCode from eata.c
From: Adrian Bunk <bunk@fs.tum.de>
the patch below removes the unneeded #define LinuxVersionCode from
eata.c. It's not used and if it was needed KERNEL_VERSION in
include/linux/version.h does the same.
Rusty Russell [Mon, 26 May 2003 09:57:34 +0000 (02:57 -0700)]
[PATCH] const char* to char* update in console.h
From: Amit Shah <shahamit@gmx.net>
The read function for consoles in include/linux/console.h contains const
char* for a pointer that it will actually modify. Although no one seems
to be using this as of now, it should be corrected.
Greg Ungerer [Mon, 26 May 2003 09:49:03 +0000 (02:49 -0700)]
[PATCH] make common m68knommu/68328 specific ints.c
Modify the m68knommu/68328 specific ints.c to be the general ints
handler when building for this sub-architecture. It is just simpler to
have one for each sub-architecture (which means we currently need 3
for the 3 prominant m68knommu families). Each can handle the hardware
setup differences, and there is a few at this level. This doesn't
really add much code overall, since 2 of the 3 m68knommu architectures
already had significant specific int handling code.
Bug fixes for the s390 tape device driver:
- Remove tapechar_init() from mem.c. It is called via module_init anyway.
- Remove unnecessary #include <version.h>
- Make tape_block compile. Add fixme.
- Export symbols needed by tape discipline drivers.
s390 console driver fixes:
- Register console ttys via module_init. Remove sclp_tty_init and
tty3215_init from tty_io.c
- con3215: use set_current_state.
- sclp: Fix race condition in sclp interrupt handler. Fix deadlock on
sclp_conbuf_lock for certain error conditions.
s390 block device driver fixes:
- dasd: Don't continue on error in dasd_increase_state. Use hex_ascii view
for the dasd debug area. Fix typo.
- xpram: Fix setup of devfs_name.
s390 32 bit compatability fixes:
- Fix compat entries in the system call table.
- Update to new compat_ioctl mechanism.
- Define compat_alloc_user_space.
Base s390 bug fixes:
- arch: Do create_proc_entry for debug feature outside spin locked code.
- arch: Fix system call tracing for 64 bit kernels.
- arch: Export empty_zero_page for use in binfmt_elf32 module.
- arch: Fix call trace output and remove dead remote-debug code.
- arch: Correct OUTPUT_ARCH for 64 bit compiles.
- arch: Fix in_atomic.
- arch: Fix broken _PAGE_INVALID_xxx definitions.
- arch: Add __kernel_old_dev_t for 64 bit.
- arch: adapt to new do_fork interface.
- arch: set CR5 to get program checks for space switching instructions.
- cio: Fix /proc output of blacklist ranges.
- cio: Restructure chsc to avoid GFP_KERNEL allocation while holding a lock.
- cio: Fix wait_cons_dev.
- qdio: use GFP_ATOMIC for memory allocations in interrupt.
[PATCH] Probe legacy IDE chipsets in ide_init() instead of in ide_setup()
Legacy here means pdc4030, ali14xx, umc8672, dtc2278, ht6560b and qd65xx.
They cannot be probed and initialized at a boot parameters' parsing time,
because probing code depends on not yet ready kernel subsystems.
This change also fixes boot parameters' ordering issue, fe. you could
pass "ide0=dtc2278 ide0=noautotune" and "noautotune" was catched too late.
[PATCH] IDE: fix "biostimings" and legacy chipsets' boot parameters interaction
"biostimings" cannot be hardcoded to -19, make it -8.
Code in ide_setup() assumes that everything <= -11 is a legacy
chipset name, so fe. "ide0=ali14xx ide0=biostimings" will fail
while "ide0=biostimings ide0=ali14xx" will be okay.
Ben Collins [Mon, 26 May 2003 02:58:37 +0000 (19:58 -0700)]
[PATCH] drivers/* strlcpy conversions
Well, this is it for me and strlcpy. I'll leave the rest of the
non-obvious usages of strncpy to the kernel janitors. Seems like quite a
few uses really wanted memcpy instead, but I don't have time to
investigate them all. It does appear that nearly all strncpy's will be
removable. Obsoleting strncpy will probably atleast make the remaining
few think about how they are using it.
Dave Jones [Sun, 25 May 2003 19:23:27 +0000 (15:23 -0400)]
[PATCH] hamachi PCI DMA fix from 2.4
Maintainer fix that went into 2.4 last August with the comments
"Get hamachi net driver RX working again.
Apparently the PCI DMA conversion still has a bug or two left in it..."
Greg Ungerer [Sun, 25 May 2003 15:11:26 +0000 (08:11 -0700)]
[PATCH] FEC driver updates to support the ColdFire 5282 CPU (header)
For reasons only Motorola will ever know they decided to use a
substantially different register layout for the FEC ethernet device on
the 5282 ColdFire silicon. This defines an appropriate access structure
for it.
Greg Ungerer [Sun, 25 May 2003 15:10:30 +0000 (08:10 -0700)]
[PATCH] add support for 5282 ColdFire to the ColdFire serial header
Add support for the 5282 ColdFire to the common ColdFire serial
driver header. Also added the additional registers of the 5272,
they are used to setup a more accurate baud rate timers
John Levon [Sun, 25 May 2003 14:42:35 +0000 (07:42 -0700)]
[PATCH] OProfile: minimize sample error
The code that attempts to reset last_task and in_kernel has a race
against samples appearing during the handling of the buffers, that
causes a small number of mis-attribution of samples. Closing the
window is non-obvious, and not worth it, so we just make it smaller.
Even without the patch, there seem to be few such "bad" samples
because its effects are mitigated on a switch into userspace or
a task switch.
Greg Ungerer [Sun, 25 May 2003 14:36:24 +0000 (07:36 -0700)]
[PATCH] create SIM header definitions for ColdFire 5282
Create header definitions file to support the ColdFire 5282 CPU.
Unfortunately its register layout and setup is quite different
to previous ColdFire CPU family members.
Greg Ungerer [Sun, 25 May 2003 13:34:55 +0000 (06:34 -0700)]
[PATCH] m68knommu/5206 check timer irq pending
Add a function to allow checking if the timer interrupt is pending for
the m68knommu/5206 CPU. This is used by the architecture timer code for
microsecond accurate time calculations.
Greg Ungerer [Sun, 25 May 2003 13:34:46 +0000 (06:34 -0700)]
[PATCH] m68knommu/5249 check timer irq pending
Add a function to allow checking if the timer interrupt is pending for
the m68knommu/5249 CPU. This is used by the architecture timer code for
microsecond accurate time calculations.
Greg Ungerer [Sun, 25 May 2003 13:34:37 +0000 (06:34 -0700)]
[PATCH] m68knommu/5206e check timer irq pending
Add a function to allow checking if the timer interrupt is pending for
the m68knommu/5206e CPU. This is used by the architecture timer code
for microsecond accurate time calculations.