- 05 Jan, 2003 2 commits
-
-
Andi Kleen authored
This is just to make x86-64 boot with IOMMU and compiled in AGP driver again. Previously both AGP and the IOMMU code would set up an aperture, with AGP being winner, messing up pci_map_*. This is needed for the x86-64 update for 2.5.54 I sent earlier. Actually using /dev/agpgart still corrupts memory unfortunately, haven't tracked that down yet. I also commented on some (usually 64bit, but at least one 32bit) bugs in the driver too. These changes should be all nops on i386. - Export amd k8 init function for x86-64. It needs to be called early by the iommu code. Add some comments to warn about about that (the upcoming VIA and SIS K8 chipsets will have the same problem) - Declare gatt table as u32 following the AGP spec. - Comment some bugs.
-
Andi Kleen authored
More x86-64 updates for 2.5.54. Most noticeable change is that the 64bit X server works again. This only changes x86-64 specific files. It requires some AGP driver changes I'm sending separately. - Some Makefile cleanups from Sam Ravnborg - Make sure extended registers in 32bit processes are zeroed and not accessible/changeable from ptrace. This is to avoid potential security bugs with non 64bit clean 32bit emulation functions (they often are overflow prone etc.) - Some 32bit emulation cleanups from Stephen Rothwell - Make copy_*_user source const to fix warnings. - Set fs/gs to dummy values when the 64bit segment base is set to not confuse the context switch (Karsten Keil, me) * still one mysterious bug in this area unfortunately. - Make MAP_32BIT for 64bit processes only map in the first 31bit, because it is usually used to map small model code. This fixes the X server crashes. Some cleanups in this area. - Don't set O_LARGEFILE for 32bit open - Handle ptregs calls from 32bit syscall correctly. - Implement aio io_getevents for 32bit. - Remove buggy unused command handler in nfsd 32bit emulation. - Convert timespec in semtimedop (thanks to Anton for telling me about this) - Ignore long mode flag from 32bit modify_ldt. This fixes Wine, which left it uninitialized (bug found by Karsten Keil) - Merge with i386 - Handle new kallsyms - Remove some superfluous bootup printks
-
- 01 Jan, 2003 13 commits
-
-
Linus Torvalds authored
-
Linus Torvalds authored
Noted by Steven Barnhart <sbarn03@softhome.net>
-
Rusty Russell authored
RTH's final complaint (so far 8) was that we should sort the module sections: archs might require some sections to be adjacent, so they can all be reached by a relative pointer (ie. GOT pointer). This implements that reordering, and simplfies the module interface for architectures as well. Previously an arch could specify it wanted extra space, but not where that space would be. The new method (used only by PPC so far) is to allocate an empty section (in asm/module.h or by setting LDFLAGS_MODULE to use an arch specific linker script), and expand that to the desired size in "module_frob_arch_sections()".
-
Rusty Russell authored
From: Richard Henderson <rth@twiddle.net> Richard points out that we should be using sh_addr to hold the address, The original patch used to overload sh_offset to a pointer to the location of the section. This uses sh_addr, which is more correct and less surprising.
-
Rusty Russell authored
As RTH pointed out, we use -fno-common for the kernel (otherwise we'd have to sort out the small symbols anyway). So the common section allocation in the module code is pointless.
-
Linus Torvalds authored
-
Linus Torvalds authored
-
Andrew Morton authored
I've been carrying this since Jan sent it out a month or two ago. I don't know if anyone has tested it though. The sort of people who use quotas tend to like nice stable kernels. I read through it, but can't say that I know enough about quotas to know if it makes sense. The wait_on_dquot() synchronisation is a bit odd. I do need to do a round of stability testing with this and ext3 - the interaction between quotas and ext3 is an area where we've had deadlocks in the past. But the quota locking is definitely looking crufty, and I'd suggest that we run with this.. Patch from Jan Kara <jack@suse.cz> "I'm resending you the patch with new quota SMP locking. The patch removes BKL and replaces it with two spinlocks protecting quota lists and data stored in dquot structures. Also non-SMP locking was changed a bit make SMP locking easier (eg. we got rid of not very nice dq_dup_ref counters). The patch is against 2.5.48 but applies well also to 2.5.49. Would you please apply the patch?" - Change dqoff_sem from a semaphore to an rwsem. - Convert dqi_flags from an int to a ulong and use test_bit/set_bit rather thatn &/| - The various exported quota operations now run without lock_kernel(). This means that things like DQUOT_ALLOC_SPACE no longer take lock_kernel() in out high-perfomance filesystems. Nice. - Replace lock_kernel() in the quota code with two quota-private global locks. - Replace all the open-coded waitqueue management with a semaphore (wait_on_dquot())
-
Christoph Hellwig authored
There's a bunch of useless MOD_INC_USE_COUNT/MOD_DEC_USE_COUNT in ppp-related code when it manipulates the use count in functions that are only called from other modules, i.e. it's locked in by the depencies anyway. Get rid of it.
-
Christoph Hellwig authored
As already state in the thread about Adam's devfs reimplementation there is much devfs functionality that is unused or only used by the arch/ia64/sn/ code that currently doesn't even compile in 2.5 and that will get it's own filesystem that fits the needs better when SGI moves to 2.6. (the first hunk is the only exception to the above rule, but it's just a debug printk :))
-
Christoph Hellwig authored
fs.h only needs the forward-declaration of struct statfs
-
Tomas Szepe authored
-
Pam Delaney authored
This upgrades the Fusion-MPT driver from 2.03.00.02 to 2.03.01.01. Bug Fixes: o Added back missing queuecommand entry point define ?! o Added to code to break marriage of two controllers during unload (could cause a panic) o SCSI driver will de-register with base driver if no SCSI-capable adapters found Minor Changes: o Removed errant spaces at ends of lines (most of the changes) o Moved code around (and in-lined) some functions for performance reasons. o Modified /proc functionality to facilitate testing with 2.5 o Added a call to synchronize_irq on unload (HP request) o Modified load of base to close a potential hole o Added code to set the FW IO coalescing depth (IBM request) o Changed return when mptctl driver registration fails (Kernel.org request) o SCSI driver detect routine calls a generic spinlock for all kernels (Kernel.org request) o Controller RAID page dynamic instead of static Currently running a multi-disk stress test w/ 2.5.53, this patch and driver built-in. Verified basic reset handling is working properly.
-
- 31 Dec, 2002 20 commits
-
-
James Simmons authored
Showing the logo on every open became annoying. I leave it up to the driver writers when they want to display the logo. Fo embeded devices it probably is wise to have them set there mode themselves then display the logo to let them know if the hartdware worked. FOnt header file location changed.
-
James Simmons authored
-
Linus Torvalds authored
on the end of __GNUC_MINOR"
-
Robert Love authored
James Bottomley confirmed the "deprecated" attribute requires gcc 3.1 and onward, not gcc 3.0. This updates the check in compiler.h accordingly.
-
James Simmons authored
-
James Simmons authored
-
bk://are.twiddle.net/tga-2.5Linus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
Linus Torvalds authored
-
http://linux-isdn.bkbits.net/linux-2.5.makeLinus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
bk://linux-dj.bkbits.net/agpgartLinus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
Dave Jones authored
into tetrachloride.(none):/mnt/stuff/kernel/2.5/agpgart
-
bk://linux-dj.bkbits.net/warningsLinus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
Dave Jones authored
into tetrachloride.(none):/mnt/stuff/kernel/2.5/warnings
-
Geert Uytterhoeven authored
Atari NCR5380 SCSI driver tag bitmap updates: - Use DECLARE_BITMAP() to declare the tag bitmap - Remove `MAX_TAGS must be a multiple of 32', which is no longer true - Declare and use CLEAR_BITMAP() to set all bits in a bitmap to zero - Fix bitops call problems that got unnoticed before
-
Tomas Szepe authored
-
Dave Jones authored
-
Dave Jones authored
-
Dave Jones authored
-
Dave Jones authored
-
Dave Jones authored
-
- 30 Dec, 2002 5 commits
-
-
Kai Germaschewski authored
into tp1.ruhr-uni-bochum.de:/scratch/kai/linux-2.5.make
-
Kai Germaschewski authored
Now that we have a unique suffix for kernel modules (.ko), we can extend to former "make some/object.o" to work for kernel modules as well, even composite ones. It's as easy as "make some/dir/module.ko". (Sam Ravnborg/me)
-
Sam Ravnborg authored
Moved archhelp to arch/x86_64/Makefile Introduced usage of $(build) and $(clean) Use kbuild clean infrastructure
-
Sam Ravnborg authored
Moved archhelp to arch/sparc64/Makefile introduced usage of $(build) Removed superflous targets archclean and archmrproper
-
Sam Ravnborg authored
Moved archhelp to arch/arm/Makefile Introduced usage of $(build) and $(clean)
-