summaryrefslogtreecommitdiffstats
path: root/arch
Commit message (Collapse)AuthorAgeFilesLines
* More oprofile bits for MIPS32-style performance counters. The code toRalf Baechle2005-10-294-12/+238
| | | | | | | | | bolt this into the actual hardware interrupt is yet missing from this commit. Signed-off-by: Ralf Baechle <ralf@linux-mips.org> FEXPORT(ret_from_fork)
* It works better when including arch/mips/sgi-ip27/Kconfig ...Ralf Baechle2005-10-291-0/+1
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Move missplaced code line to the right place.Ralf Baechle2005-10-292-3/+56
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Use hardware mechanism to deal with cache aliases in the 24K.Ralf Baechle2005-10-291-2/+10
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Remove old wrong bits of cache code.Ralf Baechle2005-10-291-3/+0
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Clean up SEAD interrupt initialization.Maciej W. Rozycki2005-10-291-7/+5
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Mask and ack CPU interrupts upon initialization. Keep the stateMaciej W. Rozycki2005-10-291-1/+6
| | | | | | of software interrupts when unmasking. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Move Sibyte Kconfig stuff into it's own Kconfig.Ralf Baechle2005-10-292-216/+145
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Replace deprecated interruptible_sleep_on() function call with directRalf Baechle2005-10-291-2/+9
| | | | | | wait-queue usage. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Update descriptions for MIPS Technologies evaluation boards.Maciej W. Rozycki2005-10-291-2/+5
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Reenable EARLY_PRINTK for the DECstation.Maciej W. Rozycki2005-10-291-0/+1
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Formatting fixes.Maciej W. Rozycki2005-10-291-9/+10
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Fixes for system controllers for Atlas/Malta core cards.Maciej W. Rozycki2005-10-295-98/+176
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Actually route cPCI interrupts. Update inaccurate comments.Maciej W. Rozycki2005-10-291-9/+32
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Signed-off-by: Ralf Baechle <ralf@linux-mips.org>Ralf Baechle2005-10-292-2/+6
| | | | Fix TASK_SIZE for 32-bit processes on 64-bit kernels.
* Fix register layout in o32 core dumps on 64-bit systems.Ralf Baechle2005-10-291-13/+18
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Get rid of early_init. There's more need to make this form ofRalf Baechle2005-10-2933-161/+47
| | | | | | | initialization actually useful and as is certainly unmergable with upstream. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Dummy ISA DMA functions for systems that don't have ISA but shareRalf Baechle2005-10-291-0/+28
| | | | | | drivers with ISA such as legacy free PCI. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Fix build with SMP disabled and preemption enabled.Ralf Baechle2005-10-291-0/+3
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Move the invalid pmd and pte tables from .data to .bss. Fix alignment.Thiemo Seufer2005-10-291-10/+4
| | | | | Signed-off-by: Thiemo Seufer <ths@networkno.de> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Remove unused arguments from preempt_{start,stop}/local_irq_{en,dis}able.Thiemo Seufer2005-10-291-18/+17
| | | | | | | | Don't clobber the preloaded TI_FLAGS in a2 needlessly. Unexport local functions. Signed-off-by: Thiemo Seufer <ths@networkno.de> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Fix typos and formatting.Thiemo Seufer2005-10-292-9/+9
| | | | | Signed-off-by: Thiemo Seufer <ths@networkno.de> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* De-optimize and decomplicate the spurious interrupt handler.Thiemo Seufer2005-10-291-8/+5
| | | | | Signed-off-by: Thiemo Seufer <ths@networkno.de> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* [PATCH] type fix in arm/boot/compressed/misc.cAl Viro2005-10-291-1/+1
| | | | | | | spot the typo... Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* [PATCH] missing exports of do_settimeofday() variantsAl Viro2005-10-292-0/+2
| | | | | | | | | frv, sh64, ia64 and sparc64 do not have do_settimeofday() exported (the last two are using variant in kernel/time.c). Exports added to match the rest of architectures. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* Merge branch 'release' of ↵Linus Torvalds2005-10-2842-1205/+4000
|\ | | | | | | git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6
| * [IA64] fix warning unused variable `g'Tony Luck2005-10-281-1/+1
| | | | | | | | | | | | | | 4ac0068f44f192f2de95a7bb36df3e19767a45fb forgot to delete the declaration of this variable which is no longer used. Signed-off-by: Tony Luck <tony.luck@intel.com>
| * Pull optimize-ptrace-threads into release branchTony Luck2005-10-281-16/+10
| |\
| | * [IA64] ptrace - find memory sharers on children listCliff Wickman2005-10-271-16/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In arch/ia64/kernel/ptrace.c there is a test for a peek or poke of a register image (in register backing storage). The test can be unnecessarily long (and occurs while holding the tasklist_lock). Especially long on a large system with thousands of active tasks. The ptrace caller (presumably a debugger) specifies the pid of its target and an address to peek or poke. But the debugger could be attached to several tasks. The idea of find_thread_for_addr() is to find whether the target address is in the RBS for any of those tasks. Currently it searches the thread-list of the target pid. If that search does not find a match, and the shared mm-struct's user count indicates that there are other tasks sharing this address space (a rare occurrence), a search is made of all the tasks in the system. Another approach can drastically shorten this procedure. It depends upon the fact that in order to peek or poke from/to any task, the debugger must first attach to that task. And when it does, the attached task is made a child of the debugger (is chained to its children list). Therefore we can search just the debugger's children list. Signed-off-by: Cliff Wickman <cpw@sgi.com> Signed-off-by: Tony Luck <tony.luck@intel.com>
| * | Pull fix-slow-tlb-purge into release branchTony Luck2005-10-282-19/+28
| |\ \
| | * | [IA64] - Avoid slow TLB purges on SGI Altix systemsDean Roe2005-10-272-19/+28
| | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | flush_tlb_all() can be a scaling issue on large SGI Altix systems since it uses the global call_lock and always executes on all cpus. When a process enters flush_tlb_range() to purge TLBs for another process, it is possible to avoid flush_tlb_all() and instead allow sn2_global_tlb_purge() to purge TLBs only where necessary. This patch modifies flush_tlb_range() so that this case can be handled by platform TLB purge functions and updates ia64_global_tlb_purge() accordingly. sn2_global_tlb_purge() now calculates the region register value from the mm argument introduced with this patch. Signed-off-by: Dean Roe <roe@sgi.com> Signed-off-by: Tony Luck <tony.luck@intel.com>
| * | Pull fix-bte-copy into release branchTony Luck2005-10-281-1/+1
| |\ \
| | * | [IA64-SGI] fix bte_copy() calling get_nasid() while preemptibleRuss Anderson2005-10-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bte_copy() calls calls get_nasid(), which will get flagged if preemption if enabled. raw_smp_processor_id() is used instead. It is OK if we migrate off node. Signed-off-by: Russ Anderson (rja@sgi.com) Signed-off-by: Tony Luck <tony.luck@intel.com>
| * | | Pull xpc-disengage into release branchTony Luck2005-10-284-368/+1130
| |\ \ \
| | * | | [IA64-SGI] cleanup the way XPC locates the reserved pageDean Nelson2005-10-251-13/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Eliminate the passing in of a scratch buffer used for locating the reserved page setup for XPC. Signed-off-by: Dean Nelson <dcn@sgi.com> Signed-off-by: Tony Luck <tony.luck@intel.com>
| | * | | [IA64-SGI] XPC changes to support more than 2k nasidsDean Nelson2005-10-253-84/+141
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | XPC needs to be changed to support up to 16k nasids on an SGI Altix system. Signed-off-by: Dean Nelson <dcn@sgi.com> Signed-off-by: Tony Luck <tony.luck@intel.com>
| | * | | [IA64-SGI] fixes for XPC disengage and open/close protocolDean Nelson2005-10-254-88/+204
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch addresses a few issues with the open/close protocol that were revealed by the newly added disengage functionality combined with more extensive testing. Signed-off-by: Dean Nelson <dcn@sgi.com> Signed-off-by: Tony Luck <tony.luck@intel.com>
| | * | | [IA64-SGI] get XPC to cleanly disengage from remote memory referencesDean Nelson2005-09-064-237/+813
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When XPC is being shutdown (i.e., rmmod, reboot) it doesn't ensure that other partitions with whom it was connected have completely disengaged from any attempt at cross-partition memory references. This can lead to MCAs in any of these other partitions when the partition is reset. Signed-off-by: Dean Nelson <dcn@sgi.com> Signed-off-by: Tony Luck <tony.luck@intel.com>
| * | | | Pull for-each-cpu into release branchTony Luck2005-10-286-22/+21
| |\ \ \ \
| | * | | | [IA64] another place to use for_each_cpu_mask() in arch/ia64hawkes@sgi.com2005-10-251-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In arch/ia64 change the explicit use of a for-loop using NR_CPUS into the general for_each_online_cpu() construct. This widens the scope of potential future optimizations of the general constructs, as well as takes advantage of the existing optimizations of first_cpu() and next_cpu(), which is advantageous when the true CPU count is much smaller than NR_CPUS. Signed-off-by: John Hawkes <hawkes@sgi.com> Signed-off-by: Tony Luck <tony.luck@intel.com>
| | * | | | [IA64] wider use of for_each_cpu_mask() in arch/ia64hawkes@sgi.com2005-10-255-19/+20
| | | |/ / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In arch/ia64 change the explicit use of for-loops and NR_CPUS into the general for_each_cpu() or for_each_online_cpu() constructs, as appropriate. This widens the scope of potential future optimizations of the general constructs, as well as takes advantage of the existing optimizations of first_cpu() and next_cpu(). Signed-off-by: John Hawkes <hawkes@sgi.com> Signed-off-by: Tony Luck <tony.luck@intel.com>
| * | | | Pull asm-slot-fix into release branchTony Luck2005-10-281-4/+12
| |\ \ \ \
| | * | | | [IA64] Fix 2.6 kernel for the new ia64 assemblerH. J. Lu2005-10-251-4/+12
| | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The new ia64 assembler uses slot 1 for the offset of a long (2-slot) instruction and the old assembler uses slot 2. The 2.6 kernel assumes slot 2 and won't boot when the new assembler is used: http://sources.redhat.com/bugzilla/show_bug.cgi?id=1433 This patch will work with either slot 1 or 2. Patch provided by H.J. Lu Signed-off-by: Tony Luck <tony.luck@intel.com>
| * | | | Pull proc-cpuinfo-siblings into release branchTony Luck2005-10-281-1/+1
| |\ \ \ \
| | * | | | [IA64] fix siblings field value in /proc/cpuinfoSiddha, Suresh B2005-10-251-1/+1
| | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix the "siblings" field value in /proc/cpuinfo so that it now shows the number of siblings as seen by OS, instead of what is available from hardware perspective. Signed-off-by: Suresh Siddha <suresh.b.siddha@intel.com> Signed-off-by: Tony Luck <tony.luck@intel.com>
| * | | | Pull big-sim-disk into release branchTony Luck2005-10-281-5/+8
| |\ \ \ \
| | * | | | [IA64] Allow simulator to use bigger disksPeter Chubb2005-10-251-5/+8
| | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The simscsi code at present overflows an int if it's given a large disk image. The attached patch increases the possible size to 128G. While it's unlikely that anyone will want to use SKI with such a large drive, the same framework is currently being used for various virtualisation experiments. Signed-off-by: Peter Chubb <peterc@gelato.unsw.edu.au> Signed-off-by: Tony Luck <tony.luck@intel.com>
| * | | | Pull sparsemem-v5 into release branchTony Luck2005-10-287-46/+1445
| |\ \ \ \
| | * | | | [PATCH] V5 ia64 SPARSEMEM - gensparse_defconfigBob Picco2005-10-041-0/+1319
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | gensparse_defconfig is a config generated file for SPARSEMEM and GENERIC kernel configuration (defconfig). Signed-off-by: Bob Picco <bob.picco@hp.com> Signed-off-by: Tony Luck <tony.luck@intel.com>
| | * | | | [PATCH] V5 ia64 SPARSEMEM - SPARSEMEM code changesBob Picco2005-10-043-3/+66
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch is the minimal set of changes required by ia64 to use SPARSEMEM. Signed-off-by: Bob Picco <bob.picco@hp.com> Signed-off-by: Tony Luck <tony.luck@intel.com>
OpenPOWER on IntegriCloud