- 17 Sep, 2004 40 commits
-
-
Jeff Dike authored
A small update to make UML's handle_IRQ_event look like the i386 version. Signed-off-by: Jeff Dike <jdike@addtoit.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Jesse Barnes authored
Fix a stupid bug in the sysrq handling in sn_console.c. Instead of eating all characters in the sysrq string (preventing them from getting to the tty layer), only eat those following 'ESC' since that's a pretty important character for various things. Please apply before 2.6.9 is released as the console is very unfriendly to use without it. Signed-off-by: Jesse Barnes <jbarnes@sgi.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Paul E. McKenney authored
Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Zwane Mwaikambo authored
The following patch from Shaohua Li fixes a race with preempt enabled when a module containing a pm_idle callback is unloaded. Cached values in local variables need to be protected as RCU critical sections so that the synchronize_kernel() call in the unload path waits for all processors. There original bugzilla entry can be found at Shaohua, i had to make a small change (variable declaration after code in code block) so that it compiles with geriatric compilers such as the ones Andrew is attached to ;) http://bugzilla.kernel.org/show_bug.cgi?id=1716Signed-off-by: Li Shaohua <shaohua.li@intel.com> Signed-off-by: Zwane Mwaikambo <zwane@linuxpower.ca> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Christoph Lameter authored
SGI has been using this driver under Linux since 2001 but it was never included in the upstream kernel. SuSE did include the patch for mmtimer in SLES 9. The driver has been widely used for applications on the Altix platform. The timer hardware was designed around the multimedia timer specification by Intel but to my knowledge only SGI has implemented that standard. The driver was written by Jesse Barnes. The second revision has interrupt support removed and was somewhat simplified by removing one include file. Signed-off-by: Christoph Lameter <clameter@sgi.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Hirokazu Takata authored
Here is a patch to fix compile errors to build SMP kernel for m32r. Signed-off-by: Hirokazu Takata <takata@linux-m32r.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Hirokazu Takata authored
Upgrade include/asm-m32r/atomic.h. * include/asm-m32r/atomic.h - Change atomic_add(), atomic_sub(), atomic_inc() and atomic_dec() from function to macro. - Change not to use fixed woking register in atomic_clear_mask() and atomic_set_mask(). - Update comments: "return" to "return it", and so on. Signed-off-by: Hirokazu Takata <takata@linux-m32r.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Hirokazu Takata authored
Here is a patch to slim arch/m32r/Kconfig. Useless CONFIG_ options are removed for m32r. Signed-off-by: Hirokazu Takata <takata@linux-m32r.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Hirokazu Takata authored
This patch updates drivers/net/ne.c and merges m32r support to it. - Add m32r support. Signed-off-by: Hayato Fujiwara <fujiwara@linux-m32r.org> Signed-off-by: Hirokazu Takata <takata@linux-m32r.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Hirokazu Takata authored
This patch updates drivers/net/smc91x.c and merges m32r support to it. - Add m32r support. - Modify for SMP kernel. Signed-off-by: Hayato Fujiwara <fujiwara@linux-m32r.org> Signed-off-by: Hirokazu Takata <takata@linux-m32r.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Hirokazu Takata authored
Signed-off-by: Hayato Fujiwara <fujiwara@linux-m32r.org> Signed-off-by: Hirokazu Takata <takata@linux-m32r.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Hirokazu Takata authored
Here is a patch for M3T-M32700UT board. - Enable CF access through card-service if CONFIG_M32R_CFC is not defined. Signed-off-by: Hirokazu Takata <takata@linux-m32r.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Hirokazu Takata authored
- Support new bootloader "m32r-g00ff". m32r-g00ff is newly written by NIIBE Yutaka and is released under GPL. http://www.gniibe.org/software/m32r-g00ff-20040729.tar.gz - arch/m32r/kernel/setup.c (parse_mem_cmdline): Fix to remove unused region at the end of memory. - include/asm-m32r/uaccess.h (__put_user_u64): Fix to remove warnings in compilation time. NOTE: (for m32r users) From this version, the bootloader-kernel interface has changed. - Section order is changed and rearranged for the new bootloader. - Kernel's entry address is also changed : 0x08001000 --> 0x08002000. - Paramter-passing method from bootloader to kernel is revised. Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Hirokazu Takata authored
Here is a patch for 2.6.8.1 kernel of Renesas M32R processor. Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Hirokazu Takata authored
Here is a patch for m32r's ELF machine code. And also change from "Hitachi H8/300" to "Renesas H8/300"(*). (*) The SuperH, M32R and H8* - now these are all Renesas's products. Signed-off-by: Hirokazu Takata <takata@linux-m32r.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Hirokazu Takata authored
The useless iBCS2 supporting code is removed. However, according to old_ syscalls, I would like to keep backward- compatibility for a while, due to some old deb packages and executables for m32r. I'm struggling to rebuild and replace old packages to new ones. http://debian.linux-m32r.org/Signed-off-by: Hirokazu Takata <takata@linux-m32r.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Hirokazu Takata authored
arch/m32r/kernel/m32r_ksyms, EXPORT_SYMBOL_NOVERS is deprecated, use EXPORT_SYMBOL. Signed-off-by: Hirokazu Takata <takata@linux-m32r.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Hirokazu Takata authored
* include/asm-m32r/atomic.h: - Add atomic_inc_return(), atomic_dec_return(), atomic_add_return(), atomic_sub_return() and atomic_clear_mask(). - Change atomic_sub_and_test(), atomic_inc_and_test() and atomic_dec_and_test() from functions to macros. - Update comments, etc. Signed-off-by: Hirokazu Takata <takata@linux-m32r.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Hirokazu Takata authored
Here's a patch to update headers, elf.h and poll.h, to remove useless iBCS2/SVR4 support code for m32r. Signed-off-by: Hirokazu Takata <takata@linux-m32r.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Hirokazu Takata authored
This patch updates m32r-specific CF/PCMCIA drivers and fixes compile errors. Signed-off-by: Hirokazu Takata <takata@linux-m32r.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Hirokazu Takata authored
This patch update checksum routines. And EXPORT_SYMBOL() is moved from m32r_ksyms.c to csum_partial_copy.c. Signed-off-by: Hirokazu Takata <takata@linux-m32r.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Hirokazu Takata authored
This patch updates asm-m32r/uaccess.h. * include/asm-m32r/uaccess.h: (__copy_to_user_inatomic): Added. (__copy_from_user_inatomic): Added. Update comments. Signed-off-by: Hirokazu Takata <takata@linux-m32r.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Hirokazu Takata authored
This patch updates code to fix compile errors, and so on. * arch/m32r/kernel/Makefile: Change linker script's name from vmlinux.lds.s to vmlinux.lds. * arch/m32r/kernel/process.c (sys_clone): Fix the first parameter of do_fork() call. * arch/m32r/kernel/signal.c: (handle_signal): Add a new second argument, struct k_sigaction *ka. (do_signal): Change get_signal_to_deliver() interface. * include/asm-m32r/hardirq.h: Some declarations are moved to linux/hardirq.h. * include/asm-m32r/page.h: Add devmem_is_allowed() macro. Signed-off-by: Hirokazu Takata <takata@linux-m32r.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Hirokazu Takata authored
This patch upgrades zone_sizes_init() function. This patch is required because free_area_init_node()'s interface has been changed. * arch/m32r/mm/discontig.c (zone_sizes_init): Change free_area_init_node() interface. * arch/m32r/mm/init.c: ditto. Signed-off-by: Hirokazu Takata <takata@linux-m32r.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Hirokazu Takata authored
This patch is for profiling support. profile_tick() is used instead of m32r_do_profile(). * arch/m32r/kernel/smp.c (smp_local_timer_interrupt): Change profile API, use profile_tick() instead of m32r_do_profile(). * arch/m32r/kernel/time.c: ditto. * include/asm-m32r/hw_irq.h (m32r_do_profile): Removed. * include/asm-m32r/ptrace.h (profile_pc): Add profile_pc() macro. Signed-off-by: Hirokazu Takata <takata@linux-m32r.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Hirokazu Takata authored
Add support for the m32r architecture Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Alan Cox authored
A couple of GSM GPRS PCMCIA cards advertise 16 rather than 8 port sized windows for their serial interface. This breaks our current pcmcia serial driver which ignores any windows that are not 8 bytes. To avoid any regressions on other cards given this driver contains a certain amount of "magic" the patch below looks for 8 byte windows first so will not break existing supported cards (I hope ;)) Patch-by: Alan Cox <alan@redhat.com> OSDL Developer Certiticate Of Origin included herein by reference Acked by Russell King <rmk@arm.linux.org.uk> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Andrey V. Savochkin authored
Currently metadata writing errors are ignored and not returned from sys_fsync on ext2 and ext3 filesystems. That is, at least ext2 and ext3. Both ext2 and ext3 resort to sync_inode() in their ->sync_inode method, which in turn calls ->write_inode. ->write_inode method has void type, and any IO errors happening inside are lost. Make ->write_inode return the error code? Signed-off-by: Andrey Savochkin <saw@saw.sw.com.sg> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Andi Kleen authored
Copy ioperm bitmaps more efficiently at context switch time. Only copy upto the highest used port. Originally from Ingo Molnar Signed-off-by: Andi Kleen <ak@muc.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Andi Kleen authored
Turn per cpu TSS into per cpu data. Signed-off-by: Andi Kleen <ak@muc.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Andi Kleen authored
Don't pass CR2 address on alignment faults. They report the address of the last page fault, which is a information leak. Fix this for i386 and x86-64 by passing 0 instead. Pointed out by Zachary Amsden <zach@vmware.com> Signed-off-by: Andi Kleen <ak@suse.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Andi Kleen authored
Add read implies exec personality. Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Andi Kleen authored
Sync x86-64 video.S with i386 changes Signed-off-by: Andi Kleen <ak@suse.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Andi Kleen authored
From: James Cleverdon The value that cpuinfo returns for command 1 in ebx is the physical APIC ID latched when the system comes out of reset. Ordinarily, this is identical to the value in the local APIC's ID register, because nearly all BIOSes accept the HW assigned value. Our systems, made up of individual building blocks, can't do that. Each node boots as a separate system and is joined together by the BIOS. Thus, the BIOS rewrites the local APIC ID register with a new value. Potomac and Nocona chips have a mechanism by which the BIOS writer can change bits 7:5 to match the assigned cluster ID. Bits 2:0 come from the thread ID. However, bits 4:3 are still those latched at reset. Oops! Summary: Large clustered systems can't use cpuid to derive the sibling information. Fix: Use the local APIC ID. That's the value we use to online the CPUs, so it had better be OK. For non-clustered systems, cpuid == local APIC, so nothing but large boxes should be affected. Signed-off-by: Andi Kleen <ak@suse.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Andi Kleen authored
Fix bug that caused oops with mem= on certain NUMA configurations Signed-off-by: Andi Kleen <ak@suse.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Andi Kleen authored
Add might_sleep to more *_user functions. Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Andi Kleen authored
Print mce bank enable mask in sysfs in hex Signed-off-by: Andi Kleen <ak@suse.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Andi Kleen authored
Remove WARN_ON in smp_call_function. it breaks the machine check handling and there is no good way to enable interrupts here. Call Trace:<ffffffff8011cb33>{smp_call_function+115} <ffffffff8011cbf9>{smp_send_stop+25} <ffffffff80138012>{panic+274} <ffffffff801187e0>{do_machine_check+0} <ffffffff80118c3a>{do_machine_check+1114} <ffffffff80111663>{machine_check+127} <ffffffff803434d7>{net_rx_action+215} <EOE> <IRQ> <ffffffff8013c8e3>{__do_softirq+83} <ffffffff8013c975>{do_softirq+53} <ffffffff80113cdd>{do_IRQ+317} <<ffffffff8010f3b0>{default_idle+0} <ffffffff80110b81>{ret_from_intr+0} <EOI> <ffffffff8010f3d0>{default_idle+32} <ffffffff8010f86a>{cpu_idle+26} <ffffffff8058f886>{start_kernel+502} <ffffffff8058f1e0>{_sinittext+48 Signed-off-by: Andi Kleen <ak@suse.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Andi Kleen authored
Make the x86-64 machine check handler configurable when EMBEDDED Signed-off-by: Andi Kleen <ak@suse.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Andi Kleen authored
Do IO-APIC suspend/resume. Untested so far. Signed-off-by: Andi Kleen <ak@suse.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-