aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-ppc/processor.h (follow)
AgeCommit message (Collapse)AuthorFilesLines
2005-01-25[PATCH] ppc32: Add support for Pegasos machinesBenjamin Herrenschmidt1-0/+2
This patch, mostly from Sven Luther and reworked by me, adds support for Pegasos machines to the ppc32 arch. The patch contains all of the arch code. I'll send separately a few driver changes as well. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2004-12-06[PATCH] Move MCA_bus to linux/mca.hMatthew Wilcox1-6/+0
- Move MCA_bus declaration from <asm/processor.h> to <linux/mca.h> - Define it in mca.c, not setup.c - EXPORT_SYMBOL it at the site of its definition. - Fix up random files to include <linux/mca.h> for the use of the MCA_bus symbol - Delete some unnecessary ifdefs. - Delete some unneeded comments. Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
2004-06-22[PATCH] ppc32: Cleanups & warning fixes of traps.cBenjamin Herrenschmidt1-0/+2
This cleans up arch/ppc/kernel/traps.c and vecemu.c to use the same formatting style for all functions, and fixes 2 warnings in the altivec floating point emulation code. No functional change. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2004-06-17[PATCH] ppc32: support for e500 and 85xxKumar Gala1-9/+16
Here is both a GNU style and BK patch for adding support for the e500 core and 85xx platform to 2.6. This is pretty much a direct port from 2.4 with a bit of cleanup around the edges. Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2004-04-21[PATCH] Set ARCH_MIN_TASKALIGN on ppc32Andrew Morton1-0/+2
From: Benjamin Herrenschmidt <benh@kernel.crashing.org> From: David Woodhouse <dwmw2@infradead.org> Without this the task struct gets unaligned when using SLAB_DEBUG, causing random problems with FP and Altivec.
2003-09-28Merge changes from Tom RiniPaul Mackerras1-744/+14
2003-09-23Merge samba.org:/home/paulus/kernel/linux-2.5Paul Mackerras1-1/+0
into samba.org:/home/paulus/kernel/for-linus-ppc
2003-09-20[PATCH] Move EISA_busMatthew Wilcox1-1/+0
When I change the setting of CONFIG_EISA, everything rebuilds. This is because EISA_bus is declared in <asm/processor.h> which is implicitly included by just about everything. This is a silly place to declare it, so this patch moves it to include/linux/eisa.h. While I'm at it, I also move the variable definition to drivers/eisa/eisa-bus.c. The rest of this patch is fixing up the fallout from having to include <linux/eisa.h> if you use EISA_bus.
2003-09-14PPC32: Move all register definitions to include/asm-ppc/reg.hTom Rini1-733/+3
2003-09-12PPC32: Make include/asm-ppc/processor.h more readable.Tom Rini1-487/+487
2003-09-11PPC32: Remove trailing blanks from PPC32 files.Tom Rini1-2/+2
2003-09-06PPC32: Rework signal code and add a swapcontext system call.Paul Mackerras1-0/+1
The main thing here is that the signal delivery/return code for real-time signals has been changed so that the layout of the registers corresponds with the new ucontext_t definition being used by glibc. The old ucontext_t didn't have space to actually store the registers, just a pointer to them, which made it impossible to implement set/getcontext et al. The new ucontext_t includes a mcontext_t which actually contains space to store all of the general, floating pointer and vector registers. We now also save the altivec registers on signal delivery and restore them on return from the signal if the process has ever used altivec (since the last exec). Finally this adds a swapcontext system call. Swapcontext really needs to be done in the kernel since on PPC, only privileged code can set all three of CTR, LR and NIA (next instruction address) to arbitrary values. Also the kernel know if the process currently owns the FP and altivec units and can optimize in the case where it doesn't.
2003-09-04PPC32: Add support for the PPC 440 family of embedded processors.Paul Mackerras1-4/+155
This has three main parts: (1) support for the 440GP and 440GX processors, (2) support for the "Ebony" and "Ocotea" reference boards for those processors, and (3) support for 64-bit physical addresses. The 440GP and 440GX are "Book E" processors, and this introduces a CONFIG_BOOKE and some definitions that apply to all Book E processors. Having 64-bit physical addresses means that PTEs are now 64 bits. The PTE pages stay at 4kB, and the pgdir expands to 8kB.
2003-08-23PPC32: Define MCA_bus__is_a_macro. From Christoph Hellwig.Paul Mackerras1-0/+1
2003-07-18PPC32: Make FP exceptions enabled by default.Paul Mackerras1-0/+1
2003-06-08PPC32: Fix various minor problems pointed out by Linus' check program.Paul Mackerras1-2/+4
2003-06-04[PATCH] get rid of CONFIG_ALL_PPCPaul Mackerras1-3/+3
This patch gets rid of CONFIG_ALL_PPC, which was a very confusing option, since it didn't actually mean "ALL" at all, it was more a "common set" thing. The primary replacement for CONFIG_ALL_PPC is CONFIG_PPC_MULTIPLATFORM. I have also defined CONFIG_PPC_PMAC, CONFIG_PPC_PREP and CONFIG_PPC_CHRP for selecting code which is only needed for one of the three platforms that CONFIG_ALL_PPC represented. This is something that we (the PPC community) have been talking about doing for some time. There is also a CONFIG_PPC_OF which is for PPC machines with Open Firmware, which is currently powermacs and CHRP machines. At the moment, CONFIG_PPC_{PMAC,PREP,CHRP,OF} get unconditionally defined if CONFIG_PPC_MULTIPLATFORM is selected, but in future this split will let us have more control over what gets included, so that for example we don't necessarily have to include powermac bits in a kernel for a PReP machine. I have gone through the uses of CONFIG_ALL_PPC one by one and decided which of the new symbols best represents the set of machines that need the code in question. In fact most of the uses of CONFIG_ALL_PPC in the drivers have been replaced by CONFIG_PPC_PMAC. The other symbols are mostly confined to the PPC architecture code.
2003-04-28PPC32: Handle CPUs that have extra BAT (block address translation) registersBenjamin Herrenschmidt1-0/+33
2003-03-16Merge bk://stop.crashing.org/linux-2.5-miscPaul Mackerras1-2/+2
into samba.org:/home/paulus/kernel/for-linus-ppc
2003-03-13PPC32: Add a thread-pointer argument to the clone syscall, make a ↵Paul Mackerras1-1/+1
prepare_to_copy(). The thread-pointer argument gets copied to R2 in the child in copy_thread() if the CLONE_SETTLS flag is set. Adding a prepare_to_copy simplifies the copy_thread logic since we don't have to do the extra copy of fpu/altivec state to the child.
2003-03-09Move "used FPU status" into new non-atomic thread_info->status field.Linus Torvalds1-0/+3
This allows us to avoid having to use atomic updates for the lazy FP status setting, since we don't have to worry about other CPU's racing on the fields. Also, fix x86 FP state after fork() by making sure the FP is unlazied _before_ we copy the state information. Otherwise, if a process did a fork() while holding the FP state lazily in the registers, the child would incorrectly unlazy bogus state.
2003-02-24PPC32: Fix our L2 / L3 cache updates for the bootloader.Mark A. Greer1-2/+2
2003-01-17PPC32: Better support for PPC 4xx debug facilities.Paul Mackerras1-0/+9
This provides for separate global and per-thread debug control register value(s), which are switched as appropriate. This allows us to use both an external JTAG debugger for debugging the kernel as well as using gdb to debug user programs.
2003-01-12[PATCH] use <asm/bug.h> for BUG() definesRussell King1-13/+0
This patch moves BUG() and PAGE_BUG() from asm/page.h into asm/bug.h. We also fix up linux/dcache.h, which included asm/page.h for the sole purpose of getting the BUG() definition. Since linux/kernel.h and linux/smp.h make use of BUG(), asm/bug.h is included there as well. In addition, linux/jbd.h did not contain a clear path with which to obtain the archtecture BUG() definition, but did contain its own definition.
2003-01-05PPC32: Use C99 initializer syntax in INIT_THREADPaul Mackerras1-3/+3
2003-01-05PPC32: remove support for IBM iSeries machines.Paul Mackerras1-23/+0
All the iSeries machines that can run Linux are 64-bit PowerPC machines and are now supported by the ppc64 kernel. Since no-one is interested in maintaining the iSeries support in the ppc32 kernel, I am removing it.
2002-12-06PPC32: remove unused defns of EISA/MCA_bus__is_a_macroPaul Mackerras1-2/+0
2002-11-21PPC32: Move BUG() definition from asm-ppc/page.h to asm-ppc/processor.h.Paul Mackerras1-46/+14
This solves some mutual inclusion problems.
2002-11-03[PATCH] remove *_segments() dummy functions from all other architecturesMatthew Wilcox1-3/+0
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):
2002-09-17PPC32: Rip out the BK Id tags from arch/ppc and include/asm-ppc.Paul Mackerras1-3/+0
The tags were slightly useful when the kernel maintainers weren't using BK, but these days they are more trouble than they are worth. They tend to cause patch rejects, and often end up getting turned into the fixed form (rather than the %x% tag form).
2002-08-06PPC32: miscellanous small fixes.Paul Mackerras1-6/+8
Rename print_backtrace to show_stack and improve it, remove the #if 0 around set_fpexc mode and add get_fpexc_mode, add the __NR_security define and reserve syscall 225 for Tux.
2002-07-29[PATCH] make cpu_relax a barrier on all architecturesAnton Blanchard1-1/+1
Make cpu_relax() on all architectures a gcc barrier to match x86.
2002-05-10PPC32: powermac update from Ben Herrenschmidt.Paul Mackerras1-4/+25
This adds support for recent powermac models and fixes a few bugs.
2002-05-10PPC32: This changeset adds preemptible kernel support for ppc32Paul Mackerras1-4/+4
and also streamlines the exception entry/exit code by not saving all the GPRs on the common exceptions (system call, external interrupt and decrementer).
2002-02-13Further PPC updates - fix thread_saved_pc, make sure init_thread_unionPaul Mackerras1-4/+2
is properly 8kB-aligned.
2002-02-12Update PPC for recent generic changes; in particular adapt toPaul Mackerras1-13/+1
having the thread_info struct at the base of the stack and the task_struct elsewhere.
2002-02-11Import arch/ppc and include/asm-ppc changes from linuxppc_2_5 treePaul Mackerras1-24/+131
2002-02-04v2.4.10.4 -> v2.4.10.5Linus Torvalds1-1/+22
- Keith Owens: module exporting error checking - Greg KH: USB update - Paul Mackerras: clean up wait_init_idle(), ppc prefetch macros - Jan Kara: quota fixes - Abraham vd Merwe: agpgart support for Intel 830M - Jakub Jelinek: ELF loader cleanups - Al Viro: more cleanups - David Miller: sparc64 fix, netfilter fixes - me: tweak resurrected oom handling
2002-02-04v2.4.9.10 -> v2.4.9.11Linus Torvalds1-8/+0
- Neil Brown: md cleanups/fixes - Andrew Morton: console locking merge - Andrea Arkangeli: major VM merge
2002-02-04v2.4.9.1 -> v2.4.9.2Linus Torvalds1-46/+11
- Al Viro: block device cleanups - Marcelo Tosatti: make bounce buffer allocations more robust (it's ok for them to do IO, just not cause recursive bounce IO. So allow them) - Anton Altaparmakov: NTFS update (1.1.17) - Paul Mackerras: PPC update (big re-org) - Petko Manolov: USB pegasus driver fixes - David Miller: networking and sparc updates - Trond Myklebust: Export atomic_dec_and_lock - OGAWA Hirofumi: find and fix umsdos "filldir" users that were broken by the 64-bit-cleanups. Fix msdos warnings. - Al Viro: superblock handling cleanups and race fixes - Johannes Erdfelt++: USB updates
2002-02-04v2.4.7.7 -> v2.4.7.8Linus Torvalds1-3/+3
- Jeff Hartmann: serverworks AGP gart unload memory leak fix - Marcelo Tosatti: make zone_inactive_shortage() return how big the shortage is. - Hugh Dickins: tidy up age_page_down() - Al Viro: super block handling cleanups
2002-02-04v2.4.5.8 -> v2.4.5.9Linus Torvalds1-2/+4
- make sure "sync()" doesn't effectively lock up the machine by overloading all the IO resources - fix up some network memory allocations that don't wan tto wait on IO. - merge with Alan (including MIPS update) - Jeff Garzik: network driver updates. - Al Viro: System V FS update (write capability, page cache, mondo cleanups) - Kai Germaschewski: ISDN cleanups, TURBOPAM driver by Stelian Pop - Ben Fennema: UDF update (time handling, i_blocks fix) - Neil Brown: md error handling improvements, knfsd file handle compatibility - Paul Mackerras: PPC update - Jakub Jelinek: fix up kernel linker scripts to accept .rodata better - Patrick Mochel: fix PME handling in pci_enable_wake() - Chris Mason: reiserfs PF_MEMALLOC handling
2002-02-04v2.4.4.5 -> v2.4.4.6Linus Torvalds1-16/+11
- Johannes Erdfelt: OHCI hash-chain corruption fix, USB updates - Richard Henderson, Ivan Kokshaysky: alpha PCI iommu fixes - Tim Waugh: parport changelogs and printk levels - Andrew Morton: vmalloc off-by-one (overly sensitive) test - Al Viro: VFS layer cleanups - Cort Dougan: PPC updates (big bootloader re-org) - Alan Cox: more merges, remove phillips camera conversion code - Andrea Arkangeli: alpha fixups - OGAWA Hirofumi: big-sector support with FAT - Neil Brown: more md fixes
2002-02-04v2.4.4.4 -> v2.4.4.5Linus Torvalds1-0/+3
- Al Viro: fs cleanups - David Miller: sparc semaphores - Christoph Hellwig: VxFS update - Asit Mallick: set machine check bit with set_in_cr4 - Richard Henderson: fix alpha pci_controller_num(), sg_fill, SRM poweroff. - Johannes Erdfelt: USB updates - Cort Dougan: bitkeeper Id's on the ppc side - Matt Chapman: NFS file locking SMP lock fix - Alan Cox: further merging
2002-02-04v2.4.4.2 -> v2.4.4.3Linus Torvalds1-91/+73
- Al Viro: sanity-check user arguments, zero-terminated strings etc. - Urban Widmark: smbfs update (server/client cache coherency etc) - Rik van Riel, Marcelo Tosatti: VM updates - Cort Dougan: PPC updates - Neil Brown: raid1/5 failed drive fixups, NULL ptr checking, md error cleanup - Neil Brown: knfsd fix for 64-bit architectures, and filehandle resolveir - Ken Brownfield: workaround for menuconfig CPU selection glitch - David Miller: sparc64 MM setup fix, arpfilter forward port - Keith Owens: Remove obsolete IPv6 provider based addressing - Jari Ruusu: block_write error case cleanup fix - Jeff Garzik: netdriver update
2002-02-04v2.4.2.1 -> v2.4.2.2Linus Torvalds1-0/+2
- Jens Axboe: fix loop device deadlocks - Greg KH: USB updates - Alan Cox: continued merging - Tim Waugh: parport and documentation updates - Cort Dougan: PowerPC merge - Jeff Garzik: network driver updates - Justin Gibbs: new and much improved aic7xxx driver 6.1.5
2002-02-04v2.4.0.9 -> v2.4.0.10Linus Torvalds1-33/+25
- got a few too-new R128 #defines in the Radeon merge. Fix. - tulip driver update from Jeff Garzik - more cpq and DAC elevator fixes from Jens. Looks good. - Petr Vandrovec: nicer ncpfs behaviour - Andy Grover: APCI update - Cort Dougan: PPC update - David Miller: sparc updates - David Miller: networking updates - Neil Brown: RAID5 fixes
2002-02-04Import changesetLinus Torvalds1-0/+730