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.
Jens Axboe [Sun, 25 May 2003 12:28:57 +0000 (05:28 -0700)]
[PATCH] bio splitting
So here it is, easy split support for md and dm. Neil, the changes over
your version are merely:
- Make a global bio split pool instead of requring device setup of one.
Will waste 8 * sizeof(struct bio_pair) of RAM, but... For 2.6 at least
it has to be a core functionality.
- Various style changes to follow the kernel guide lines.
Greg Ungerer [Sun, 25 May 2003 11:41:45 +0000 (04:41 -0700)]
[PATCH] m68knommu/5407 check timer irq pending
Add a function to allow checking if the timer interrupt is pending for
the m68knommu/5407 CPU. This is used by the architecture timer code for
microsecond accurate time calculations.
Greg Ungerer [Sun, 25 May 2003 11:41:38 +0000 (04:41 -0700)]
[PATCH] m68knommu/5272 check timer irq pending
Add a function to allow checking if the timer interrupt is pending for
the m68knommu/5272 CPU. This is used by the architecture timer code for
microsecond accurate time calculations.
Greg Ungerer [Sun, 25 May 2003 11:41:29 +0000 (04:41 -0700)]
[PATCH] m68knommu/5307 check timer irq pending
Add a function to allow checking if the timer interrupt is pending for
the m68knommu/5307 CPU. This is used by the architecture timer code for
microsecond accurate time calculations.
Greg Ungerer [Sun, 25 May 2003 11:20:56 +0000 (04:20 -0700)]
[PATCH] update m68knommu link script with 5282 support
This patch does a couple of things to the m68knommu common linker
script:
- adds support for the 5282 ColdFire CPU
- fixes broken setup for the Dragon Engine board
(i) The prototypes for free_vfsmnt(), alloc_vfsmnt(), do_kern_mount()
so far occurred in several individual c files. Now they are in
<linux/mount.h>.
(ii) do_kern_mount() has a third argument name that is typically a
constant. It is called with "rootfs", "nfsd", type->name,
"capifs", "usbdevfs", "binfmt_misc" etc. So, it should have a
prototype that expresses this:
do_kern_mount(const char *fstype, int flags, const char *name, void *data);
go away. Now do_kern_mount() calls type->get_sb(), so also get_sb()
must have a const third argument. That is what the patch below does.
If I am not mistaken, precisely two filesystems do not treat this
argument as a constant, namely afs and cifs. A separate patch
gives some cleanup there.
Greg Ungerer [Sun, 25 May 2003 10:33:22 +0000 (03:33 -0700)]
[PATCH] fix ColdFire 5407 cache flushing
This fixes some ColdFire 5407 cache bogosity. Previous code was pushing
all cache lines and the invalidating all of the cache. The push should
be enough, and now with underlying fixes the the cache setup registers
it is. Removed the whole invalidate cycle.
Paul Mackerras [Sun, 25 May 2003 16:00:29 +0000 (12:00 -0400)]
[PATCH] module refcounts for airport driver
This patch takes out the MOD_INC/DEC_USE_COUNT in the airport (Apple
wireless ethernet) driver. The driver already does SET_MODULE_OWNER
on the netdevice, so the MOD_INC/DEC_USE_COUNT are unnecessary and
just cause warnings.
Paul Mackerras [Sun, 25 May 2003 16:00:05 +0000 (12:00 -0400)]
[PATCH] module owner for ppp_synctty.c
This patch fixes ppp_synctty.c (used for doing PPP over some synchronous
serial HDLC links) so that it sets the owner field of the tty line
discipline it exports, rather than using MOD_INC/DEC_USE_COUNT. This
is more or less from Stephen Hemminger.