086626a | Nathan Scott | 14 July 2006, 07:24:10 UTC | [PATCH] Update ramdisk documentation The default ramdisk blocksize is actually 1024, not 512 bytes. Also fixes up some trailing whitespace issues. Signed-off-by: Nathan Scott <nathans@sgi.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> | 15 July 2006, 04:53:53 UTC |
22c4af4 | Luke Yang | 14 July 2006, 07:24:09 UTC | [PATCH] nommu: export two symbols for drivers to use nommu.c needs to export two more symbols for drivers to use: remap_pfn_range and unmap_mapping_range. Signed-off-by: Luke Yang <luke.adi@gmail.com> Cc: David Howells <dhowells@redhat.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> | 15 July 2006, 04:53:53 UTC |
52fa259 | David Woodhouse | 14 July 2006, 07:24:08 UTC | [PATCH] hdrinstall: remove asm/io.h from user visibility There's no excuse for userspace abusing this kernel header -- the kernel's headers are not intended to provide a library of helper routines for userspace. Using <asm/io.h> from userspace is broken on most architectures anyway. Just say 'no'. Signed-off-by: David Woodhouse <dwmw2@infradead.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> | 15 July 2006, 04:53:52 UTC |
e035cc3 | David Woodhouse | 14 July 2006, 07:24:07 UTC | [PATCH] hdrinstall: remove asm/atomic.h from user visibility This isn't suitable for userspace to see -- the kernel headers are not a random library of stuff for userspace; they're only there to define the kernel<->user ABI for system libraries and tools. Anything which _was_ abusing asm/atomic.h from userspace was probably broken anyway -- as it often didn't even give atomic operation. Signed-off-by: David Woodhouse <dwmw2@infradead.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> | 15 July 2006, 04:53:52 UTC |
998f6fa | David Woodhouse | 14 July 2006, 07:24:07 UTC | [PATCH] hdrinstall: remove asm/irq.h from user visibility Remove asm/irq.h from the exported headers -- there was never any good reason for it to have been listed. Signed-off-by: David Woodhouse <dwmw2@infradead.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> | 15 July 2006, 04:53:52 UTC |
a000965 | Andrew Morton | 14 July 2006, 07:24:06 UTC | [PATCH] del_timer_sync(): add cpu_relax() Relax the CPU in the del_timer_sync() busywait loop. Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> | 15 July 2006, 04:53:52 UTC |
52e92e5 | Adrian Bunk | 14 July 2006, 07:24:05 UTC | [PATCH] remove kernel/kthread.c:kthread_stop_sem() Remove the now-unneeded kthread_stop_sem(). Signed-off-by: Adrian Bunk <bunk@stusta.de> Acked-by: Alan Stern <stern@rowland.harvard.edu> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> | 15 July 2006, 04:53:52 UTC |
098c5ee | Andreas Gruenbacher | 14 July 2006, 07:24:04 UTC | [PATCH] null-terminate over-long /proc/kallsyms symbols Got a customer bug report (https://bugzilla.novell.com/190296) about kernel symbols longer than 127 characters which end up in a string buffer that is not NULL terminated, leading to garbage in /proc/kallsyms. Using strlcpy prevents this from happening, even though such symbols still won't come out right. A better fix would be to not use a fixed-size buffer, but it's probably not worth the trouble. (Modversion'ed symbols even have a length limit of 60.) [bunk@stusta.de: build fix] Signed-off-by: Andreas Gruenbacher <agruen@suse.de> Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> | 15 July 2006, 04:53:52 UTC |
329c6e4 | Jeff Dike | 14 July 2006, 07:24:03 UTC | [PATCH] uml: header formatting cleanups Clean up whitespace and return syntax in os.h. Signed-off-by: Jeff Dike <jdike@addtoit.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> | 15 July 2006, 04:53:52 UTC |
b076bb0 | Jeff Dike | 14 July 2006, 07:24:03 UTC | [PATCH] uml: tidy biarch gcc support On top of the previous biarch changes for UML, this makes the preprocessor changes a bit cleaner. Specify the 64-bit build in CPPFLAGS on the x86_64 SUBARCH, rather than #undef'ing i386. Compile-tested with i386 and x86_64 SUBARCHs. Signed-off-by: Nishanth Aravamudan <nacc@us.ibm.com> Signed-off-by: Jeff Dike <jdike@addtoit.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> | 15 July 2006, 04:53:52 UTC |
a5df0d1 | Jeff Dike | 14 July 2006, 07:24:02 UTC | [PATCH] uml: tidy longjmp macro The UML_SETJMP macro was requiring its users to pass in a argument which it could supply itself, since it wasn't used outside that invocation of the macro. Signed-off-by: Jeff Dike <jdike@addtoit.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> | 15 July 2006, 04:53:52 UTC |
8477b55 | Vadim Lobanov | 14 July 2006, 07:24:01 UTC | [PATCH] i386: remove redundant might_sleep() in user accessors. On i386, the user space accessor functions copy_from/to_user() both invoke might_sleep(), do a quick sanity check, and then pass the work on to their __copy_from/to_user() counterparts, which again invoke might_sleep(). Given that no actual work happens between these two calls, it is best to eliminate one of the redundant might_sleep()s. Signed-off-by: Vadim Lobanov <vlobanov@speakeasy.net> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> | 15 July 2006, 04:53:52 UTC |
e78a887 | Eric W. Biederman | 14 July 2006, 07:24:00 UTC | [PATCH] i386 kexec: allow the kexec on panic support to compile on voyager This patch removes the foolish assumption that SMP implied local apics. That assumption is not-true on the Voyager subarch. This makes that dependency explicit, and allows the code to build. What gets disabled is just an optimization to get better crash dumps so the support should work if there is a kernel that will initialization on the voyager subarch under those harsh conditions. Hopefully we can figure out how to initialize apics in init_IRQ and remove the need to disable io_apics and this dependency. Signed-off-by: Eric W. Biederman <ebiederm@xmission.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> | 15 July 2006, 04:53:51 UTC |
a754607 | Catalin Marinas | 14 July 2006, 07:23:59 UTC | [PATCH] Fix a memory leak in the i386 setup code Signed-off-by: Catalin Marinas <catalin.marinas@gmail.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> | 15 July 2006, 04:53:51 UTC |
b701533 | Chuck Ebbert | 14 July 2006, 07:23:58 UTC | [PATCH] i386: handle_BUG(): don't print garbage if debug info unavailable handle_BUG() tries to print file and line number even when they're not available (CONFIG_DEBUG_BUGVERBOSE is not set.) Change this to print a message stating info is unavailable instead of printing a misleading message. Signed-off-by: Chuck Ebbert <76306.1226@compuserve.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> | 15 July 2006, 04:53:51 UTC |
c38c8db | Anil Keshavamurthy | 14 July 2006, 07:23:57 UTC | [PATCH] ia64: race flushing icache in COW path There is a race condition that showed up in a threaded JIT environment. The situation is that a process with a JIT code page forks, so the page is marked read-only, then some threads are created in the child. One of the threads attempts to add a new code block to the JIT page, so a copy-on-write fault is taken, and the kernel allocates a new page, copies the data, installs the new pte, and then calls lazy_mmu_prot_update() to flush caches to make sure that the icache and dcache are in sync. Unfortunately, the other thread runs right after the new pte is installed, but before the caches have been flushed. It tries to execute some old JIT code that was already in this page, but it sees some garbage in the i-cache from the previous users of the new physical page. Fix: we must make the caches consistent before installing the pte. This is an ia64 only fix because lazy_mmu_prot_update() is a no-op on all other architectures. Signed-off-by: Anil Keshavamurthy <anil.s.keshavamurthy@intel.com> Signed-off-by: Tony Luck <tony.luck@intel.com> Cc: Hugh Dickins <hugh@veritas.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> | 15 July 2006, 04:53:51 UTC |
8757d5f | Jan Kiszka | 14 July 2006, 07:23:56 UTC | [PATCH] mm: fix oom roll-back of __vmalloc_area_node __vunmap must not rely on area->nr_pages when picking the release methode for area->pages. It may be too small when __vmalloc_area_node failed early due to lacking memory. Instead, use a flag in vmstruct to differentiate. Signed-off-by: Jan Kiszka <jan.kiszka@web.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> | 15 July 2006, 04:53:51 UTC |
e322fed | Michael S. Tsirkin | 14 July 2006, 07:23:56 UTC | [PATCH] IB/core: use correct gfp_mask in sa_query Avoid bogus out of memory errors: fix sa_query to actually pass gfp_mask supplied by the user to idr_pre_get. Signed-off-by: Michael S. Tsirkin <mst@mellanox.co.il> Acked-by: "Sean Hefty" <mshefty@ichips.intel.com> Acked-by: "Roland Dreier" <rdreier@cisco.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> | 15 July 2006, 04:53:51 UTC |
adfaa88 | Michael S. Tsirkin | 14 July 2006, 07:23:55 UTC | [PATCH] fmr pool: remove unnecessary pointer dereference ib_fmr_pool_map_phys gets the virtual address by pointer but never writes there, and users (e.g. srp) seem to assume this and ignore the value returned. This patch cleans up the API to get the VA by value, and updates all users. Signed-off-by: Michael S. Tsirkin <mst@mellanox.co.il> Acked-by: Roland Dreier <rolandd@cisco.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> | 15 July 2006, 04:53:51 UTC |
74f76fb | Ira Weiny | 14 July 2006, 07:23:54 UTC | [PATCH] IB/cm: set private data length for reject messages Set private data length for reject messages to the correct size. Fix from openib svn r8483. Signed-off-by: Sean Hefty <sean.hefty@intel.com> Signed-off-by: Michael S. Tsirkin <mst@mellanox.co.il> Cc: Roland Dreier <rolandd@cisco.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> | 15 July 2006, 04:53:50 UTC |
6583eb3 | Vu Pham | 14 July 2006, 07:23:53 UTC | [PATCH] srp: fix fmr error handling srp_unmap_data assumes req->fmr is NULL if the request is not mapped, so we must clean it out in case of an error. Signed-off-by: Vu Pham <vu@mellanox.com> Signed-off-by: Michael S. Tsirkin <mst@mellanox.co.il> Acked-by: Roland Dreier <rolandd@cisco.com> Cc: Roland Dreier <rolandd@cisco.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> | 15 July 2006, 04:53:50 UTC |
f0ee340 | Michael S. Tsirkin | 14 July 2006, 07:23:52 UTC | [PATCH] IB/addr: gid structure alignment fix The device address contains unsigned character arrays, which contain raw GID addresses. The GIDs may not be naturally aligned, so do not cast them to structures or unions. Signed-off-by: Sean Hefty <sean.hefty@intel.com> Signed-off-by: Michael S. Tsirkin <mst@mellanox.co.il> Cc: Roland Dreier <rolandd@cisco.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> | 15 July 2006, 04:53:50 UTC |
04c3354 | Michael S. Tsirkin | 14 July 2006, 07:23:52 UTC | [PATCH] IB/cm: drop REQ when out of memory If a user of the IB CM returns -ENOMEM from their connection callback, simply drop the incoming REQ - do not attempt to send a reject. This should allow the sender to retry the request. Signed-off-by: Michael S. Tsirkin <mst@mellanox.co.il> Signed-off-by: Sean Hefty <sean.hefty@intel.com> Cc: Roland Dreier <rolandd@cisco.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> | 15 July 2006, 04:53:50 UTC |
0964d91 | Michael S. Tsirkin | 14 July 2006, 07:23:51 UTC | [PATCH] IB/mthca: comment fix After recent changes, mthca_wq_init does not actually initialize the WQ as it used to - it simply resets all index fields to their initial values. So, let's rename it to mthca_wq_reset. Signed-off-by: Michael S. Tsirkin <mst@mellanox.co.il> Cc: Roland Dreier <rolandd@cisco.com> Acked-by: Zach Brown <zach.brown@oracle.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> | 15 July 2006, 04:53:50 UTC |
2290d2c | Jack Morgenstein | 14 July 2006, 07:23:50 UTC | [PATCH] IB/mthca: fix static rate returned by mthca_ah_query mthca_ah_query returs the static rate of the address handle in internal mthc format. fix it to use rate encoding from enum ib_rate, which is what users expect. Signed-off-by: Jack Morgenstein <jackm@mellanox.co.il> Signed-off-by: Michael S. Tsirkin <mst@mellanox.co.il> Cc: Roland Dreier <rolandd@cisco.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> | 15 July 2006, 04:53:50 UTC |
de45921 | Kirill Korotaev | 14 July 2006, 07:23:49 UTC | [PATCH] struct file leakage 2.6.16 leaks like hell. While testing, I found massive leakage (reproduced in openvz) in: *filp *size-4096 And 1 object leaks in *size-32 *size-64 *size-128 It is the fix for the first one. filp leaks in the bowels of namei.c. Seems, size-4096 is file table leaking in expand_fdtables. I have no idea what are the rest and why they show only accompanying another leaks. Some debugging structs? [akpm@osdl.org, Trond: remove the IS_ERR() check] Signed-off-by: Alexey Kuznetsov <kuznet@ms2.inr.ac.ru> Cc: Kirill Korotaev <dev@openvz.org> Cc: <stable@kernel.org> Cc: Trond Myklebust <trond.myklebust@fys.uio.no> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> | 15 July 2006, 04:53:50 UTC |
9ee8ab9 | Linus Torvalds | 15 July 2006, 04:48:03 UTC | Relax /proc fix a bit Clearign all of i_mode was a bit draconian. We only really care about S_ISUID/ISGID, after all. Signed-off-by: Linus Torvalds <torvalds@osdl.org> | 15 July 2006, 04:48:03 UTC |
18b0bbd | Linus Torvalds | 14 July 2006, 23:51:34 UTC | Fix nasty /proc vulnerability We have a bad interaction with both the kernel and user space being able to change some of the /proc file status. This fixes the most obvious part of it, but I expect we'll also make it harder for users to modify even their "own" files in /proc. Signed-off-by: Linus Torvalds <torvalds@osdl.org> | 14 July 2006, 23:51:34 UTC |
ab6cf0d | Linus Torvalds | 13 July 2006, 23:57:04 UTC | Merge branch 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-linus * 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-linus: (53 commits) [MIPS] sparsemem: fix crash in show_mem [MIPS] vr41xx: Update workpad setup function [MIPS] vr41xx: Update e55 setup function [MIPS] vr41xx: Removed old v2.4 VRC4173 driver [MIPS] vr41xx: Move IRQ numbers to asm-mips/vr41xx/irq.h [MIPS] MIPSsim: Build fix, rename sim_timer_setup -> plat_timer_setup. [MIPS] Remove unused code. [MIPS] IP22 Fix brown paper bag in RTC code. [MIPS] Atlas, Malta, SEAD: Don't disable interrupts in mips_time_init(). [MIPS] Replace board_timer_setup function pointer by plat_timer_setup. [MIPS] Nuke redeclarations of board_time_init. [MIPS] Remove redeclarations of setup_irq(). [MIPS] Nuke redeclarations of board_timer_setup. [MIPS] Print out TLB handler assembly for debugging. [MIPS] SMTC: Reformat to Linux style. [MIPS] MIPSsim: Delete redeclaration of ll_local_timer_interrupt. [MIPS] IP27: Reformatting. [MIPS] IP27: Invoke setup_irq for timer interrupt so proc stats will be shown. [MIPS] IP27: irq_chip startup method returns unsigned int. [MIPS] IP27: struct irq_desc member handler was renamed to chip. ... | 13 July 2006, 23:57:04 UTC |
0d10e47 | Linus Torvalds | 13 July 2006, 23:38:58 UTC | Merge git://git.kernel.org/pub/scm/linux/kernel/git/sfrench/cifs-2.6 * git://git.kernel.org/pub/scm/linux/kernel/git/sfrench/cifs-2.6: [CIFS] CIFS_DEBUG2 depends on CIFS | 13 July 2006, 23:38:58 UTC |
300c215 | Linus Torvalds | 13 July 2006, 23:38:30 UTC | Merge master.kernel.org:/home/rmk/linux-2.6-mmc * master.kernel.org:/home/rmk/linux-2.6-mmc: [MMC] Change SDHCI version error to a warning [MMC] Fix incorrect register access | 13 July 2006, 23:38:30 UTC |
7b69a4c | Linus Torvalds | 13 July 2006, 23:38:02 UTC | Merge master.kernel.org:/home/rmk/linux-2.6-serial * master.kernel.org:/home/rmk/linux-2.6-serial: [SERIAL] 8250: sysrq deadlock fix [SERIAL] 8250: add tsi108 serial support [SERIAL] IP22: fix serial console hangs [SERIAL] dz: Fix compilation error | 13 July 2006, 23:38:02 UTC |
a23f463 | Linus Torvalds | 13 July 2006, 23:37:29 UTC | Merge master.kernel.org:/home/rmk/linux-2.6-arm * master.kernel.org:/home/rmk/linux-2.6-arm: [ARM] arch/arm/kernel/bios32.c: no need to set isa_bridge [ARM] 3729/3: EABI padding rules necessitate the packed attribute of floatx80 [ARM] 3725/1: sharpsl_pm: warn about wrong temperature [ARM] 3723/1: collie charging [ARM] 3728/1: Restore missing CPU Hotplug irq helper [ARM] 3727/1: fix ucb initialization on collie [ARM] Allow Versatile to be built for AB and PB [ARM] 3726/1: update {ep93xx,ixp2000,ixp23xx,lpd270,onearm} defconfigs to 2.6.18-rc1 [ARM] 3721/1: Small cleanup for locomo.c | 13 July 2006, 23:37:29 UTC |
fc81830 | Ingo Molnar | 13 July 2006, 07:12:21 UTC | [PATCH] revert slab.c locking change Chandra Seetharaman reported SLAB crashes caused by the slab.c lock annotation patch. There is only one chunk of that patch that has a material effect on the slab logic - this patch undoes that chunk. This was confirmed to fix the slab problem by Chandra. Signed-off-by: Ingo Molnar <mingo@elte.hu> Tested-by: Chandra Seetharaman <sekharan@us.ibm.com> Signed-off-by: Linus Torvalds <torvalds@osdl.org> | 13 July 2006, 22:38:43 UTC |
f4dee85 | Atsushi Nemoto | 13 July 2006, 14:01:50 UTC | [MIPS] sparsemem: fix crash in show_mem With sparsemem, pfn should be checked by pfn_valid() before pfn_to_page(). Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp> Signed-off-by: Ralf Baechle <ralf@linux-mips.org> | 13 July 2006, 20:26:22 UTC |
bddc813 | Yoichi Yuasa | 13 July 2006, 08:33:33 UTC | [MIPS] vr41xx: Update workpad setup function Signed-off-by: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp> Signed-off-by: Ralf Baechle <ralf@linux-mips.org> | 13 July 2006, 20:26:21 UTC |
f26811e | Yoichi Yuasa | 13 July 2006, 08:33:24 UTC | [MIPS] vr41xx: Update e55 setup function Signed-off-by: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp> Signed-off-by: Ralf Baechle <ralf@linux-mips.org> | 13 July 2006, 20:26:20 UTC |
efcb487 | Yoichi Yuasa | 13 July 2006, 08:33:14 UTC | [MIPS] vr41xx: Removed old v2.4 VRC4173 driver Signed-off-by: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp> Signed-off-by: Ralf Baechle <ralf@linux-mips.org> | 13 July 2006, 20:26:19 UTC |
66151bb | Yoichi Yuasa | 13 July 2006, 08:33:03 UTC | [MIPS] vr41xx: Move IRQ numbers to asm-mips/vr41xx/irq.h Signed-off-by: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp> Signed-off-by: Ralf Baechle <ralf@linux-mips.org> | 13 July 2006, 20:26:19 UTC |
5fd3265 | Ralf Baechle | 10 July 2006, 01:37:21 UTC | [MIPS] MIPSsim: Build fix, rename sim_timer_setup -> plat_timer_setup. Signed-off-by: Ralf Baechle <ralf@linux-mips.org> | 13 July 2006, 20:26:19 UTC |
75da124 | Ralf Baechle | 10 July 2006, 01:27:21 UTC | [MIPS] Remove unused code. Signed-off-by: Ralf Baechle <ralf@linux-mips.org> | 13 July 2006, 20:26:18 UTC |
d1d60de | Julien BLACHE | 08 July 2006, 22:21:24 UTC | [MIPS] IP22 Fix brown paper bag in RTC code. This patch fixes a typo in arch/mips/sgi-ip22/ip22-time.c, leading to the incorrect year being set into the RTC chip. Signed-off-by: Julien BLACHE <jb@jblache.org> Signed-off-by: Ralf Baechle <ralf@linux-mips.org> | 13 July 2006, 20:26:18 UTC |
ece2246 | Ralf Baechle | 09 July 2006, 21:27:23 UTC | [MIPS] Atlas, Malta, SEAD: Don't disable interrupts in mips_time_init(). By the time it's called from time_init interrupts are still disabled. Signed-off-by: Ralf Baechle <ralf@linux-mips.org> | 13 July 2006, 20:26:18 UTC |
54d0a21 | Ralf Baechle | 09 July 2006, 20:38:56 UTC | [MIPS] Replace board_timer_setup function pointer by plat_timer_setup. Signed-off-by: Ralf Baechle <ralf@linux-mips.org> --- | 13 July 2006, 20:26:17 UTC |
2c70df5 | Ralf Baechle | 09 July 2006, 19:53:19 UTC | [MIPS] Nuke redeclarations of board_time_init. Signed-off-by: Ralf Baechle <ralf@linux-mips.org> | 13 July 2006, 20:26:17 UTC |
046f8f7 | Ralf Baechle | 09 July 2006, 19:49:41 UTC | [MIPS] Remove redeclarations of setup_irq(). Signed-off-by: Ralf Baechle <ralf@linux-mips.org> | 13 July 2006, 20:26:16 UTC |
50785a5 | Ralf Baechle | 09 July 2006, 19:42:40 UTC | [MIPS] Nuke redeclarations of board_timer_setup. Signed-off-by: Ralf Baechle <ralf@linux-mips.org> | 13 July 2006, 20:26:16 UTC |
115f2a4 | Thiemo Seufer | 09 July 2006, 00:47:06 UTC | [MIPS] Print out TLB handler assembly for debugging. Small update, using pr_debug and pr_info. Signed-off-by: Thiemo Seufer <ths@networkno.de> Signed-off-by: Ralf Baechle <ralf@linux-mips.org> | 13 July 2006, 20:26:16 UTC |
4bf42d4 | Ralf Baechle | 08 July 2006, 10:32:58 UTC | [MIPS] SMTC: Reformat to Linux style. Signed-off-by: Ralf Baechle <ralf@linux-mips.org> | 13 July 2006, 20:26:15 UTC |
783b09d | Ralf Baechle | 08 July 2006, 10:25:38 UTC | [MIPS] MIPSsim: Delete redeclaration of ll_local_timer_interrupt. Signed-off-by: Ralf Baechle <ralf@linux-mips.org> | 13 July 2006, 20:26:14 UTC |
40fa4b6 | Ralf Baechle | 07 July 2006, 22:57:19 UTC | [MIPS] IP27: Reformatting. Signed-off-by: Ralf Baechle <ralf@linux-mips.org> | 13 July 2006, 20:26:14 UTC |
bf28363 | Ralf Baechle | 07 July 2006, 22:56:32 UTC | [MIPS] IP27: Invoke setup_irq for timer interrupt so proc stats will be shown. Signed-off-by: Ralf Baechle <ralf@linux-mips.org> | 13 July 2006, 20:26:14 UTC |
cc25ab0 | Ralf Baechle | 07 July 2006, 22:53:05 UTC | [MIPS] IP27: irq_chip startup method returns unsigned int. Signed-off-by: Ralf Baechle <ralf@linux-mips.org> | 13 July 2006, 20:26:13 UTC |
a365e53 | Ralf Baechle | 07 July 2006, 22:49:30 UTC | [MIPS] IP27: struct irq_desc member handler was renamed to chip. Signed-off-by: Ralf Baechle <ralf@linux-mips.org> | 13 July 2006, 20:26:12 UTC |
b8828d3 | Yoichi Yuasa | 07 July 2006, 15:51:11 UTC | [MIPS] Remove vmlinux.rm200 target from makefile. Long ago in the dark ages this was used a MIPS a.out binary to be used with Milo which is obsolete since years. Signed-off-by: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp> Signed-off-by: Ralf Baechle <ralf@linux-mips.org> | 13 July 2006, 20:26:12 UTC |
2874fe5 | Yoichi Yuasa | 07 July 2006, 15:42:12 UTC | [MIPS] vr41xx: Replace magic number for P4K bit with symbol. Signed-off-by: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp> Signed-off-by: Ralf Baechle <ralf@linux-mips.org> | 13 July 2006, 20:26:11 UTC |
1058ecd | Yoichi Yuasa | 07 July 2006, 15:42:01 UTC | [MIPS] vr41xx: Changed workaround to recommended method Signed-off-by: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp> Signed-off-by: Ralf Baechle <ralf@linux-mips.org> | 13 July 2006, 20:26:11 UTC |
30f244a | Thiemo Seufer | 07 July 2006, 09:38:51 UTC | [MIPS] Oprofile: Fix build failure due to warning and -Werror. Signed-off-by: Thiemo Seufer <ths@networkno.de> Signed-off-by: Ralf Baechle <ralf@linux-mips.org> | 13 July 2006, 20:26:09 UTC |
192ef36 | Ralf Baechle | 07 July 2006, 13:07:18 UTC | [MIPS] TRACE_IRQFLAGS_SUPPORT support. Signed-off-by: Ralf Baechle <ralf@linux-mips.org> | 13 July 2006, 20:26:09 UTC |
8d197f3 | Atsushi Nemoto | 07 July 2006, 05:26:41 UTC | [MIPS] Fix rdhwr_op definition. Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp> Signed-off-by: Ralf Baechle <ralf@linux-mips.org> | 13 July 2006, 20:26:08 UTC |
565200a | Atsushi Nemoto | 06 July 2006, 15:26:02 UTC | [MIPS] Do not count pages in holes with sparsemem With some memory model other than FLATMEM, the single node can contains some holes so there might be many invalid pages. For example, with two 256M memory and one 256M hole, some variables (num_physpage, totalpages, nr_kernel_pages, nr_all_pages, etc.) will indicate that there are 768MB on this system. This is not desired because, for example, alloc_large_system_hash() allocates too many entries. Use free_area_init_node() with counted zholes_size[] instead of free_area_init(). For num_physpages, use number of ram pages instead of max_low_pfn. Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp> Signed-off-by: Ralf Baechle <ralf@linux-mips.org> | 13 July 2006, 20:26:08 UTC |
7de58fa | Atsushi Nemoto | 04 July 2006, 16:22:44 UTC | [MIPS] Sparsemem fixes 1. MIPS should select SPARSEMEM_STATIC since allocating bootmem in memory_present() will corrupt bootmap area. 2. pfn_valid() for SPARSEMEM is defined in linux/mmzone.h Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp> Signed-off-by: Ralf Baechle <ralf@linux-mips.org> | 13 July 2006, 20:26:07 UTC |
cfbae5d | Thiemo Seufer | 05 July 2006, 17:43:29 UTC | [MIPS] IP32: Fix wreckage caused by recent SA_* constant replacement. Signed-off-by: Thiemo Seufer <ths@networkno.de> Signed-off-by: Ralf Baechle <ralf@linux-mips.org> | 13 July 2006, 20:26:07 UTC |
4e8ab36 | Yoichi Yuasa | 04 July 2006, 13:59:41 UTC | [MIPS] VR41xx: Set VR41_CONF_BP only for PrId 0x0c80. Signed-off-by: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp> Signed-off-by: Ralf Baechle <ralf@linux-mips.org> | 13 July 2006, 20:26:06 UTC |
f72af3c | Yoichi Yuasa | 04 July 2006, 13:16:28 UTC | [MIPS] MIPS MT: Fix build error. Signed-off-by: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp> Signed-off-by: Ralf Baechle <ralf@linux-mips.org> | 13 July 2006, 20:26:06 UTC |
5af1c7a | Thiemo Seufer | 05 July 2006, 13:32:51 UTC | [MIPS] BCM1480: Fix fatal typo in the rewritten interrupt handler. Signed-off-by: Thiemo Seufer <ths@networkno.de> Signed-off-by: Ralf Baechle <ralf@linux-mips.org> | 13 July 2006, 20:26:05 UTC |
6e61e85 | Thiemo Seufer | 05 July 2006, 13:26:38 UTC | [MIPS] Sibyte: Improve interrupt latency again for sb1250/bcm1480 this patch restores the behaviour of the old (assembly-written) interrupt handler, the handler is left as soon as a single interrupt cause is handled. Signed-off-by: Thiemo Seufer <ths@networkno.de> Signed-off-by: Ralf Baechle <ralf@linux-mips.org> | 13 July 2006, 20:26:05 UTC |
fc5d2d2 | Ralf Baechle | 06 July 2006, 12:04:01 UTC | [MIPS] Use the proper technical term for naming some of the cache macros. Signed-off-by: Ralf Baechle <ralf@linux-mips.org> | 13 July 2006, 20:26:04 UTC |
879ba8c | Ralf Baechle | 06 July 2006, 08:47:52 UTC | [MIPS] IP22: Remove SYS_SUPPORTS_SMP test code. Signed-off-by: Ralf Baechle <ralf@linux-mips.org> | 13 July 2006, 20:26:04 UTC |
57725f9 | Chris Dearman | 30 June 2006, 22:35:28 UTC | [MIPS] Panic on fp exception in kernel mode. There should never be a FP exception in kernel mode. Signed-off-by: Chris Dearman <chris@mips.com> Signed-off-by: Ralf Baechle <ralf@linux-mips.org> | 13 July 2006, 20:26:03 UTC |
e1a4e46 | Ralf Baechle | 03 July 2006, 16:02:35 UTC | [MIPS] Malta: Fix build of certain configs. | 13 July 2006, 20:26:03 UTC |
6fe725c | Domen Puncer | 03 July 2006, 06:17:09 UTC | [MIPS] au1xxx: Support both YAMON and U-Boot Signed-off-by: Domen Puncer <domen.puncer@ultra.si> Signed-off-by: Ralf Baechle <ralf@linux-mips.org> | 13 July 2006, 20:26:02 UTC |
c36cd4b | Thiemo Seufer | 03 July 2006, 12:30:01 UTC | [MIPS] Save 2k text size in cpu-probe The appended patch drops the inline for decode_configs, this saves about 2k of text size. Signed-off-by: Thiemo Seufer <ths@networkno.de> Signed-off-by: Ralf Baechle <ralf@linux-mips.org> | 13 July 2006, 20:26:01 UTC |
3a01c49 | Thiemo Seufer | 03 July 2006, 12:30:01 UTC | [MIPS] Uses MIPS_CONF_AR instead of magic constants. Signed-off-by: Thiemo Seufer <ths@networkno.de> Signed-off-by: Ralf Baechle <ralf@linux-mips.org> | 13 July 2006, 20:26:01 UTC |
3147374 | Atsushi Nemoto | 02 July 2006, 15:09:47 UTC | [MIPS] Make SPARSEMEM selectable on QEMU. This might be helpfull to debug sparsemem on mips. Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp> Signed-off-by: Ralf Baechle <ralf@linux-mips.org> | 13 July 2006, 20:26:00 UTC |
b1c6cd4 | Atsushi Nemoto | 02 July 2006, 15:09:47 UTC | [MIPS] Make SPARSEMEM selectable on QEMU. This might be helpfull to debug sparsemem on mips. Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp> Signed-off-by: Ralf Baechle <ralf@linux-mips.org> | 13 July 2006, 20:25:59 UTC |
a5e6898 | Yoichi Yuasa | 02 July 2006, 14:17:27 UTC | [MIPS] Au1000: Remove au1000 code. Signed-off-by: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp> Signed-off-by: Ralf Baechle <ralf@linux-mips.org> | 13 July 2006, 20:25:59 UTC |
a722df0 | Yoichi Yuasa | 02 July 2006, 14:13:34 UTC | [MIPS] vr41xx: Removed unused definitions for NEC CMBVR4133. Signed-off-by: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp> Signed-off-by: Ralf Baechle <ralf@linux-mips.org> | 13 July 2006, 20:25:59 UTC |
722cfd9 | Ralf Baechle | 02 July 2006, 15:31:14 UTC | [MIPS] Wire up vmsplice(2) and move_pages(2). Signed-off-by: Ralf Baechle <ralf@linux-mips.org> | 13 July 2006, 20:25:59 UTC |
94dee17 | Ralf Baechle | 02 July 2006, 13:41:42 UTC | [MIPS] Eleminate interrupt migration helper use. > #define hw_interrupt_type irq_chip > typedef struct irq_chip hw_irq_controller; > #define no_irq_type no_irq_chip > typedef struct irq_desc irq_desc_t; Signed-off-by: Ralf Baechle <ralf@linux-mips.org> | 13 July 2006, 20:25:58 UTC |
e1e80b4 | Ralf Baechle | 01 July 2006, 21:07:23 UTC | [MIPS] Don't include obsolete <linux/config.h>. Signed-off-by: Ralf Baechle <ralf@linux-mips.org> | 13 July 2006, 20:25:58 UTC |
2e128de | Chris Dearman | 30 June 2006, 11:32:37 UTC | [MIPS] Default cpu_has_mipsmt to a runtime check Signed-off-by: Chris Dearman <chris@mips.com> Signed-off-by: Ralf Baechle <ralf@linux-mips.org> | 13 July 2006, 20:25:58 UTC |
70ae612 | Chris Dearman | 30 June 2006, 11:32:37 UTC | [MIPS] Use KERN_DEBUG to log the SDBBP messages Signed-off-by: Chris Dearman <chris@mips.com> Signed-off-by: Ralf Baechle <ralf@linux-mips.org> | 13 July 2006, 20:25:57 UTC |
e35a5e3 | Chris Dearman | 30 June 2006, 13:19:45 UTC | [MIPS] Less noise on multithreading exceptions. Make the MT handler silent and output the MT exception type at debug priority. Signed-off-by: Chris Dearman <chris@mips.com> Signed-off-by: Ralf Baechle <ralf@linux-mips.org> | 13 July 2006, 20:25:57 UTC |
98ab66c | Ralf Baechle | 13 July 2006, 20:25:57 UTC | [MIPS] Update defconfigs to 2.6.18-rc1. | 13 July 2006, 20:25:57 UTC |
8717433 | Ralf Baechle | 25 June 2006, 15:42:21 UTC | [MIPS] IP27: Don't destroy interrupt routing information on shutdown irq. This fixes the "not syncing: Could not identify cpu/level ..." panic when a PCI irq is requested the second time. Signed-off-by: Ralf Baechle <ralf@linux-mips.org> | 13 July 2006, 20:25:56 UTC |
2596935 | Ralf Baechle | 22 June 2006, 21:42:32 UTC | [MIPS] Avoid interprocessor function calls. On the 34K where multiple virtual processors are implemented in a single core and share a single TLB, interprocessor function calls are not needed to flush a cache, so avoid them. Signed-off-by: Ralf Baechle <ralf@linux-mips.org> | 13 July 2006, 20:25:56 UTC |
3e705f2 | Russell King | 13 July 2006, 19:48:35 UTC | [PATCH] Fix broken kernel headers preventing ARM build As a result of 894673ee6122a3ce1958e1fe096901ba5356a96b, the ARM architecture is more or less unbuildable - only one defconfig appears to build, with all others erroring out with: CC arch/arm/kernel/setup.o In file included from /home/rmk/git/linux-2.6-rmk/arch/arm/kernel/setup.c:22: /home/rmk/git/linux-2.6-rmk/include/linux/root_dev.h:7: warning: implicit declaration of function `MKDEV' ... Essentially, root_dev.h uses MKDEV and dev_t, but does not include any headers which provide either of these definitions. The reason it worked previously is that linux/tty.h just happened to include the required headers for linux/root_dev.h. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk> Signed-off-by: Linus Torvalds <torvalds@osdl.org> | 13 July 2006, 20:21:35 UTC |
f1aaee5 | Arjan van de Ven | 13 July 2006, 12:46:03 UTC | [PATCH] lockdep: annotate mm/slab.c mm/slab.c uses nested locking when dealing with 'off-slab' caches, in that case it allocates the slab header from the (on-slab) kmalloc caches. Teach the lock validator about this by putting all on-slab caches into a separate class. this patch has no effect on non-lockdep kernels. Signed-off-by: Arjan van de Ven <arjan@linux.intel.com> Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Linus Torvalds <torvalds@osdl.org> | 13 July 2006, 19:02:44 UTC |
873623d | Ingo Molnar | 13 July 2006, 12:44:38 UTC | [PATCH] lockdep: undo mm/slab.c annotation undo existing mm/slab.c lock-validator annotations, in preparation of a new, less intrusive annotation patch. Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Arjan van de Ven <arjan@linux.intel.com> Signed-off-by: Linus Torvalds <torvalds@osdl.org> | 13 July 2006, 19:02:44 UTC |
8b1b218 | Pierre Ossman | 11 July 2006, 19:07:10 UTC | [MMC] Change SDHCI version error to a warning O2 Micro's controllers have a larger specification version value and are therefore denied by the driver. When bypassing this check they seem to work fine. This patch makes the code a bit more forgiving by changing the error to a warning. Signed-off-by: Pierre Ossman <drzeus@drzeus.cx> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk> | 13 July 2006, 15:17:46 UTC |
fb61e28 | Pierre Ossman | 11 July 2006, 19:06:48 UTC | [MMC] Fix incorrect register access There was a writel() being used on a 16-bit register. Signed-off-by: Pierre Ossman <drzeus@drzeus.cx> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk> | 13 July 2006, 15:17:45 UTC |
5cbc1b6 | Adrian Bunk | 11 July 2006, 13:37:55 UTC | [ARM] arch/arm/kernel/bios32.c: no need to set isa_bridge Since this assignment was the only place on !alpha where isa_bridge was touched, it didn't have any effect. Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk> | 13 July 2006, 15:14:26 UTC |
0e2ffbf | Linus Torvalds | 13 July 2006, 14:53:11 UTC | Merge commit master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6 of HEAD * HEAD: [SPARC]: Fix OF register translations under sub-PCI busses. [SPARC64]: Refine Sabre wsync logic. [SERIAL] sunsu: Handle keyboard and mouse ports directly. [SPARC64]: Fix 2 bugs in sabre_irq_build() [SPARC64]: Update defconfig. [SPARC64]: Fix make headers_install [SPARC64]: of_device_register() error checking fix | 13 July 2006, 14:53:11 UTC |
1b0f06d | Greg Ungerer | 12 July 2006, 23:32:41 UTC | [PATCH] m68knommu: fix result type in get_user() macro Keep the result holder variable the same type as the quantity we are retreiving in the get_user() macro - don't go through a pointer version of the user space address type. Using the address type causes problems if the address type was const (newer versions of gcc quite rightly error out for that condition). Signed-off-by: Greg Ungerer <gerg@uclinux.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> | 13 July 2006, 14:51:48 UTC |
b43c7ce | Chuck Ebbert | 12 July 2006, 20:41:15 UTC | [PATCH] i386: system.h: remove extra semicolons and fix order include/asm-i386/system.h has trailing semicolons in some of the macros that cause legitimate code to fail compilation, so remove them. Also remove extra blank lines within one group of macros. And put stts() and clts() back together; they got separated somehow. Signed-off-by: Chuck Ebbert <76306.1226@compuserve.com> Signed-off-by: Linus Torvalds <torvalds@osdl.org> | 13 July 2006, 14:48:28 UTC |
a9da396 | Koen Kooi | 13 July 2006, 12:04:24 UTC | [ARM] 3729/3: EABI padding rules necessitate the packed attribute of floatx80 Patch from Koen Kooi EABI padding rules necessitate the packed attribute of floatx80, otherwise nwfpe complains about invalid structure sizes. Signed-off-by: Koen Kooi <koen@dominion.kabel.utwente.nl> Signed-off-by: Lennert Buytenhek <buytenh@wantstofly.org> Signed-off-by: Nicolas Pitre <nico@cam.org> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk> | 13 July 2006, 12:04:24 UTC |
a83f982 | David S. Miller | 13 July 2006, 06:19:31 UTC | [SPARC]: Fix OF register translations under sub-PCI busses. There is an implicit assumption in the code that ranges will translate to something that can fit in 2 32-bit cells, or a 64-bit value. For certain kinds of things below PCI this isn't necessarily true. Here is what the relevant OF device hierarchy looks like for one of the serial controllers on an Ultra5: Node 0xf005f1e0 ranges: 00000000.00000000.00000000.000001fe.01000000.00000000.01000000 01000000.00000000.00000000.000001fe.02000000.00000000.01000000 02000000.00000000.00000000.000001ff.00000000.00000001.00000000 03000000.00000000.00000000.000001ff.00000000.00000001.00000000 device_type: 'pci' model: 'SUNW,sabre' Node 0xf005f9d4 device_type: 'pci' model: 'SUNW,simba' Node 0xf0060d24 ranges: 00000010.00000000 82010810.00000000.f0000000 01000000 00000014.00000000 82010814.00000000.f1000000 00800000 name: 'ebus' Node 0xf0062dac reg: 00000014.003083f8.00000008 --> 0x1ff.f13083f8 device_type: 'serial' name: 'su' So the correct translation here is: 1) Match "su" register to second ranges entry of 'ebus', which translates into a PCI triplet "82010814.00000000.f1000000" of size 00800000, which gives us "82010814.00000000.f13083f8". 2) Pass-through "SUNW,simba" since it lacks ranges property 3) Match "82010814.00000000.f13083f8" to third ranges property of PCI controller node 'SUNW,sabre', and we arrive at the final physical MMIO address of "0x1fff13083f8". Due to the 2-cell assumption, we couldn't translate to a PCI 3-cell value, and we couldn't perform a pass-thru on it either. It was easiest to just stop splitting the ranges application operation between two methods, ->map and ->translate, and just let ->map do all the work. That way it would work purely on 32-bit cell arrays instead of having to "return" some value like a u64. It's still not %100 correct because the out-of-range check is still done using the 64 least significant bits of the range and address. But it does work for all the cases I've thrown at it so far. Signed-off-by: David S. Miller <davem@davemloft.net> | 13 July 2006, 08:50:15 UTC |
9bbd952 | David S. Miller | 13 July 2006, 04:16:07 UTC | [SPARC64]: Refine Sabre wsync logic. It is only needed when there is a PCI-PCI bridge sitting between the device and the PCI host controller which is not a Simba APB bridge. Add logic to handle two special cases: 1) device behind EBUS, which sits on PCI 2) PCI controller interrupts Signed-off-by: David S. Miller <davem@davemloft.net> | 13 July 2006, 08:50:13 UTC |
91d1ed1 | David S. Miller | 13 July 2006, 04:04:21 UTC | [SERIAL] sunsu: Handle keyboard and mouse ports directly. The sunsu_ports[] array exists merely to be able to easily use an integer index to get at the proper serial console port struct. We size this only for real ports, not for the keyboard and mouse, and thus keyboard and mouse port registration would fail. Fix this by dynamically allocating the port struct for the keyboard and mouse, instead of using the sunsu_ports[] array. Signed-off-by: David S. Miller <davem@davemloft.net> | 13 July 2006, 08:50:11 UTC |