27 Jun, 2006
14 commits
-
- Factor out the duplicated access/cache code into a single file
* Shared between i386/x86-64.
- Share flush code between AGP and IOMMU
* Fix a bug: AGP didn't wait for end of flush before
- Drop 8 northbridges limit and allocate dynamically
- Add lock to serialize AGP and IOMMU GART flushes
- Add PCI ID for next AMD northbridge
- Random related cleanupsThe old K8 NUMA discovery code is unchanged. New systems
should all use SRAT for this.Cc: "Navin Boppuri"
Cc: Dave Jones
Signed-off-by: Andi Kleen
Signed-off-by: Linus Torvalds -
A trivial change to have gart_unmap_sg call gart_unmap_single directly,
instead of bouncing through the dma_unmap_single wrapper in
dma-mapping.h.This change required moving the gart_unmap_single above gart_unmap_sg,
and under gart_map_single (which seems a more logical place that its
current location IMHO).Signed-off-by: Jon Mason
Signed-off-by: Andi Kleen
Signed-off-by: Linus Torvalds -
Previously we would just silently provide 64 bit services
for this to 32bit processes.I also added all the other cases explicitely to the ptrace
compat wrapper to make sure this doesn't happen again.And removed one bogus check in the wrapper.
Signed-off-by: Andi Kleen
Signed-off-by: Linus Torvalds -
Allow search for a contiguous block of iommu space to cross the next_bit
marker if we have already committed ourselves to flushing the gart.There shouldn't be any reason why we'd restrict the search.
Signed-off-by: Mike Waychison
Signed-off-by: Andi Kleen
Signed-off-by: Linus Torvalds -
Signed-off-by: Andi Kleen
Signed-off-by: Linus Torvalds -
enable large bzImages on x86_64. (fix is from x86's build.c) Using this
patch i have successfully built and booted an allyesconfig 13MB+ bzImage
on x86_64 too:$ size64 vmlinux
text data bss dec hex filename
23444831 8202642 3439360 35086833 21761f1 vmlinux-rw-rw-r-- 1 mingo mingo 13121740 Apr 19 09:32 arch/x86_64/boot/bzImage
Signed-off-by: Ingo Molnar
Signed-off-by: Andi Kleen
Signed-off-by: Linus Torvalds -
It's only needed for three system calls, no need to maintain
a full list forever.Signed-off-by: Andi Kleen
Signed-off-by: Linus Torvalds -
Replace hard coded DMA masks with #defines from
include/linux/dma-mapping.hSigned-off-by: Jon Mason
Signed-off-by: Andi Kleen
Signed-off-by: Linus Torvalds -
Changes are largely identical to the i386 version:
* alternative #define are moved to the new alternative.h file.
* one new elf section with pointers to the lock prefixes which can be
nop'ed out for non-smp.
* two new elf sections simliar to the "classic" alternatives to
replace SMP code with simpler UP code.
* fixup headers to use alternative.h instead of defining their own
LOCK / LOCK_PREFIX macros.The patch reuses the i386 version of the alternatives code to avoid code
duplication. The code in alternatives.c was shuffled around a bit to
reduce the number of #ifdefs needed. It also got some tweaks needed for
x86_64 (vsyscall page handling) and new features (noreplacement option
which was x86_64 only up to now). Debug printk's are changed from
compile-time to runtime.Loosely based on a early version from Bastian Blank
Signed-off-by: Gerd Hoffmann
Signed-off-by: Andi Kleen
Signed-off-by: Linus Torvalds -
Intel systems report the cache level data from CPUID 4 in sysfs.
Add a CPUID 4 emulation for AMD CPUs to report the same
information for them. This allows programs to read this
information in a uniform way.The AMD way to report this is less flexible so some assumptions
are hardcoded (e.g. no L3)Signed-off-by: Andi Kleen
Signed-off-by: Linus Torvalds -
Previously the apicidcoreid split was computed based on the max
number of cores. Now use a new CPUID AMD defined for that. On most
systems right now it should be 0 and the old method will be used.Signed-off-by: Andi Kleen
Signed-off-by: Linus Torvalds -
Inspired from i386 changes
Signed-off-by: Andi Kleen
Signed-off-by: Linus Torvalds -
vSMPowered systems use apic_cluster too. Forcing apic_physflat works
on these systems too, but only if we change phys_pkg_id to use
hard_smp_prcoessor_id() instead of cpuid_ebx. I am guessing other
multichassi cluster systems would need this too.Signed-off-by: ravikiran thirumalai
Signed-off-by: Andi Kleen
Signed-off-by: Linus Torvalds -
Enable some hwmon drivers as modules and tulip and stack unwinding
Kernel image should be somewhat bigger now because of the unwind
information being included, but you'll get exact backtraces for that.Signed-off-by: Andi Kleen
Signed-off-by: Linus Torvalds
26 Jun, 2006
26 commits
-
binfmt_flat.c calls set_personality with PER_LINUX as the personality.
On the arm architecture this results in the program running in 26bit
usermode. PER_LINUX_32BIT should be used instead. This doesn't affect
other architectures that use binfmt_flat.Signed-off-by: Greg Ungerer
Signed-off-by: Linus Torvalds -
Change enable_irq() macro to be a statement, not expression.
Signed-off-by: Greg Ungerer
Signed-off-by: Linus Torvalds -
Fix PLL setting for the Coldfire 5249 CPU. This brings it into line with
the new style frequency configuration of m68knommu parts.Signed-off-by: Greg Ungerer
Signed-off-by: Linus Torvalds -
Fix flush code for the ColdFire 5206/5206e/5272 cases.
Add support for the new ColdFire 532x CPU familySigned-off-by: Greg Ungerer
Signed-off-by: Linus Torvalds -
Here is a patch to the system call handling for 5307/5272/etc to:
- fix the strace support (one tested the wrong bit)
- make all system calls a little bit faster by inlining set_esp0 and
supporting ENOSYS out of the critical path.
- remove extraneous spacesSigned-off-by: Greg Ungerer
Signed-off-by: Linus Torvalds -
This patch solve a bug triggered by execvp (this function use calloc to
store the argument list and gcc 3.4.x align the stack to word, not to dword).
This situation aren't related to signal handling and all 2.6.x have the bug.
On ColdFire targets we must force the stack to be aligned.Original patch from Andrea Tarani ,
Signed-off-by: Greg Ungerer
Signed-off-by: Linus Torvalds -
Remove list of fixed clock frequency options used for configuring master
clock, and make field an int. Much more flexible this way, no need to add
more options for every new used freqency.Signed-off-by: Greg Ungerer
Signed-off-by: Linus Torvalds -
Remove list of fixed clock frequency options used for configuring master
clock, and make field an int. Much more flexible this way, no need to add
more options for every new used freqency.Signed-off-by: Greg Ungerer
Signed-off-by: Linus Torvalds -
Add support for the AVNET 5282 board.
Patch submitted by Daniel Alomar .Signed-off-by: Greg Ungerer
Signed-off-by: Linus Torvalds -
Add configure support for the new Freescale 532x family of CPUs.
Patch submitted by Matt Waddel .Signed-off-by: Greg Ungerer
Signed-off-by: Linus Torvalds -
This reverts commits
3e3318dee0878d42ed62a19c292a2ac284135db3 [PATCH] swsusp: x86_64 mark special saveable/unsaveable pages
b6370d96e09944c6e3ae8d5743ca8a8ab1f79f6c [PATCH] swsusp: i386 mark special saveable/unsaveable pages
ce4ab0012b32c1a4a1d6e934aeb73bf3151c48d9 [PATCH] swsusp: add architecture special saveable pages supportbecause not only do they apparently cause page faults on x86, the
infrastructure doesn't compile on powerpc.Signed-off-by: Linus Torvalds
-
Add build support for the new Freescale 532x CPU platforms.
Signed-off-by: Greg Ungerer
Signed-off-by: Linus Torvalds -
Add support for the UART addressing on the new Freescale M532x CPU family.
Signed-off-by: Greg Ungerer
Signed-off-by: Linus Torvalds -
Add build support for new Freescale M532x CPU family timer.
Signed-off-by: Greg Ungerer
Signed-off-by: Linus Torvalds -
A cleanup of m68knommu/kernel/setup.c :
- No need to initialize global pointers to NULL, they will have that value
automatically, and they eat up space in my data segment image in FLASH.
- Remove get_cpuinfo. It has been replaced by show_cpuinfo.Signed-off-by: Philippe De Muyter
Signed-off-by: Greg Ungerer
Signed-off-by: Linus Torvalds -
Don't rely on DEBUG having a value, check for it being defined.
Signed-off-by: Greg Ungerer
Signed-off-by: Linus Torvalds -
Include the ColdFire 532x support when including ColdFire peripharp
support definitions.Signed-off-by: Greg Ungerer
Signed-off-by: Linus Torvalds -
Add cache init support for the new ColdFire 532x CPU family.
Signed-off-by: Greg Ungerer
Signed-off-by: Linus Torvalds -
ColdFire serial driver support for the new 532x CPU family UARTs.
Patch submitted by Matt Waddel .
Signed-off-by: Greg Ungerer
Signed-off-by: Linus Torvalds -
Register definitions for the new Freescale 532x Coldfire CPU family.
Signed-off-by: Greg Ungerer
Signed-off-by: Linus Torvalds -
Add kernel startup code for the new Freescale 532x CPU family.
Signed-off-by: Greg Ungerer
Signed-off-by: Linus Torvalds -
Modify the m68knommu/ColdFire PIT timer code to use register offsets
with raw_read/raw_write access, instead of a mapped struct.Signed-off-by: Greg Ungerer
Signed-off-by: Linus Torvalds -
Remove use of rom_length. It serves not real purpose, and when we move
to new stye RAM configuration it will not be needed.Signed-off-by: Greg Ungerer
Signed-off-by: Linus Torvalds -
Switch to naming the architecture config options for the m68knommu branch
as "M68K", dropping "M68KNOMMU". The CONFIG_MMU separates the 2 now, and
the m68knommu branch is still strictly speaking an M68K (including the
ColdFire parts).Signed-off-by: Greg Ungerer
Signed-off-by: Linus Torvalds -
Modify the m68knommu/ColdFire core timer code to use register offsets
with raw_read/raw_write access, instead of a mapped struct.Signed-off-by: Greg Ungerer
Signed-off-by: Linus Torvalds -
Specify the struct mapping used on the new Freescale 532x CPU family's
FEC ethernet core.Patch submitted by Matt Waddel .
Signed-off-by: Greg Ungerer
Signed-off-by: Linus Torvalds