- Dec 12, 2009
-
-
Sam Ravnborg authored
The simplest method was to add an extra asm-offsets.h file in arch/$ARCH/include/asm that references the generated file. We can now migrate the architectures one-by-one to reference the generated file direct - and when done we can delete the temporary arch/$ARCH/include/asm/asm-offsets.h file. Signed-off-by:
Sam Ravnborg <sam@ravnborg.org> Cc: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by:
Michal Marek <mmarek@suse.cz>
-
- Dec 11, 2009
-
-
Al Viro authored
New helper - sys_mmap_pgoff(); switch syscalls to using it. Acked-by:
David S. Miller <davem@davemloft.net> Signed-off-by:
Al Viro <viro@zeniv.linux.org.uk>
-
- Dec 04, 2009
-
-
André Goddard Rosa authored
That is "success", "unknown", "through", "performance", "[re|un]mapping" , "access", "default", "reasonable", "[con]currently", "temperature" , "channel", "[un]used", "application", "example","hierarchy", "therefore" , "[over|under]flow", "contiguous", "threshold", "enough" and others. Signed-off-by:
André Goddard Rosa <andre.goddard@gmail.com> Signed-off-by:
Jiri Kosina <jkosina@suse.cz>
-
- Nov 26, 2009
-
-
Ilya Loginov authored
Mtdblock driver doesn't call flush_dcache_page for pages in request. So, this causes problems on architectures where the icache doesn't fill from the dcache or with dcache aliases. The patch fixes this. The ARCH_IMPLEMENTS_FLUSH_DCACHE_PAGE symbol was introduced to avoid pointless empty cache-thrashing loops on architectures for which flush_dcache_page() is a no-op. Every architecture was provided with this flush pages on architectires where ARCH_IMPLEMENTS_FLUSH_DCACHE_PAGE is equal 1 or do nothing otherwise. See "fix mtd_blkdevs problem with caches on some architectures" discussion on LKML for more information. Signed-off-by:
Ilya Loginov <isloginov@gmail.com> Cc: Ingo Molnar <mingo@elte.hu> Cc: David Woodhouse <dwmw2@infradead.org> Cc: Peter Horton <phorton@bitbox.co.uk> Cc: "Ed L. Cashin" <ecashin@coraid.com> Signed-off-by:
Jens Axboe <jens.axboe@oracle.com>
-
- Oct 15, 2009
-
-
Grant Likely authored
Merge common code between Microblaze and PowerPC, and make it available to Sparc Signed-off-by:
Grant Likely <grant.likely@secretlab.ca> Acked-by:
David S. Miller <davem@davemloft.net> Acked-by:
Wolfram Sang <w.sang@pengutronix.de> Acked-by:
Michal Simek <monstr@monstr.eu> Acked-by:
Stephen Neuendorffer <stephen.neuendorffer@xilinx.com> Acked-by:
Stephen Rothwell <sfr@canb.auug.org.au>
-
Grant Likely authored
Merge common prototypes used by Microblaze and PowerPC Signed-off-by:
Grant Likely <grant.likely@secretlab.ca> Acked-by:
David S. Miller <davem@davemloft.net> Acked-by:
Wolfram Sang <w.sang@pengutronix.de> Acked-by:
Michal Simek <monstr@monstr.eu> Acked-by:
Stephen Neuendorffer <stephen.neuendorffer@xilinx.com> Acked-by:
Stephen Rothwell <sfr@canb.auug.org.au>
-
Grant Likely authored
Merge common flattened device tree code between Microblaze and PowerPC Signed-off-by:
Grant Likely <grant.likely@secretlab.ca> Acked-by:
David S. Miller <davem@davemloft.net> Acked-by:
Wolfram Sang <w.sang@pengutronix.de> Acked-by:
Michal Simek <monstr@monstr.eu> Acked-by:
Stephen Neuendorffer <stephen.neuendorffer@xilinx.com> Acked-by:
Stephen Rothwell <sfr@canb.auug.org.au>
-
Grant Likely authored
Merge common code between Sparc, PowerPC and Microblaze. Sparc differs in the implementation at this point, so this patch uses a #ifdef to handle sparc differently for now. The merging of implementations will occur in a later patch Signed-off-by:
Grant Likely <grant.likely@secretlab.ca> Acked-by:
David S. Miller <davem@davemloft.net> Acked-by:
Wolfram Sang <w.sang@pengutronix.de> Acked-by:
Michal Simek <monstr@monstr.eu> Acked-by:
Stephen Neuendorffer <stephen.neuendorffer@xilinx.com> Acked-by:
Stephen Rothwell <sfr@canb.auug.org.au>
-
Grant Likely authored
Merge common code between Microblaze and PowerPC Signed-off-by:
Grant Likely <grant.likely@secretlab.ca> Acked-by:
David S. Miller <davem@davemloft.net> Acked-by:
Wolfram Sang <w.sang@pengutronix.de> Acked-by:
Michal Simek <monstr@monstr.eu> Acked-by:
Stephen Neuendorffer <stephen.neuendorffer@xilinx.com> Acked-by:
Stephen Rothwell <sfr@canb.auug.org.au>
-
Grant Likely authored
Merge common code between PowerPC and Microblaze Signed-off-by:
Grant Likely <grant.likely@secretlab.ca> Acked-by:
David S. Miller <davem@davemloft.net> Acked-by:
Wolfram Sang <w.sang@pengutronix.de> Acked-by:
Michal Simek <monstr@monstr.eu> Acked-by:
Stephen Neuendorffer <stephen.neuendorffer@xilinx.com> Acked-by:
Stephen Rothwell <sfr@canb.auug.org.au>
-
Grant Likely authored
Merge common code for working with Flattened Device Tree data structure Signed-off-by:
Grant Likely <grant.likely@secretlab.ca> Acked-by:
David S. Miller <davem@davemloft.net> Acked-by:
Wolfram Sang <w.sang@pengutronix.de> Acked-by:
Michal Simek <monstr@monstr.eu> Acked-by:
Stephen Neuendorffer <stephen.neuendorffer@xilinx.com> Acked-by:
Stephen Rothwell <sfr@canb.auug.org.au>
-
Grant Likely authored
Add a common header file for working with the flattened device tree data structure and merge the shared data tags used by Microblaze and PowerPC Signed-off-by:
Grant Likely <grant.likely@secretlab.ca> Acked-by:
David S. Miller <davem@davemloft.net> Acked-by:
Wolfram Sang <w.sang@pengutronix.de> Acked-by:
Michal Simek <monstr@monstr.eu> Acked-by:
Stephen Neuendorffer <stephen.neuendorffer@xilinx.com> Acked-by:
Stephen Rothwell <sfr@canb.auug.org.au>
-
Grant Likely authored
Merge of common code duplicated between Sparc, PowerPC and Microblaze Signed-off-by:
Grant Likely <grant.likely@secretlab.ca> Acked-by:
David S. Miller <davem@davemloft.net> Acked-by:
Wolfram Sang <w.sang@pengutronix.de> Acked-by:
Michal Simek <monstr@monstr.eu> Acked-by:
Stephen Neuendorffer <stephen.neuendorffer@xilinx.com> Acked-by:
Stephen Rothwell <sfr@canb.auug.org.au>
-
Grant Likely authored
Merge of common code duplicated between Sparc, PowerPC and Microblaze Signed-off-by:
Grant Likely <grant.likely@secretlab.ca> Acked-by:
David S. Miller <davem@davemloft.net> Acked-by:
Wolfram Sang <w.sang@pengutronix.de> Acked-by:
Michal Simek <monstr@monstr.eu> Acked-by:
Stephen Neuendorffer <stephen.neuendorffer@xilinx.com> Acked-by:
Stephen Rothwell <sfr@canb.auug.org.au>
-
Grant Likely authored
In preparation to prune things out of the Sparc, PowerPC and Microblaze asm/prom.h files, change the #include statements to ensure that even if asm/prom.h is included first, linux/of.h gets to determine the order in which files are processed. This patch adds a #include <linux/of.h> to each of the prom.h files *above* the multi-include protection macros to ensure that linux/of.h can define things before prom.h gets processed. At the end of the merge the cross dependencies between the files should be gone and a sane #include scheme can be restored. Signed-off-by:
Grant Likely <grant.likely@secretlab.ca> Acked-by:
David S. Miller <davem@davemloft.net> Acked-by:
Wolfram Sang <w.sang@pengutronix.de> Acked-by:
Michal Simek <monstr@monstr.eu> Acked-by:
Stephen Neuendorffer <stephen.neuendorffer@xilinx.com> Acked-by:
Stephen Rothwell <sfr@canb.auug.org.au>
-
- Oct 13, 2009
-
-
Arnaldo Carvalho de Melo authored
Meaning receive multiple messages, reducing the number of syscalls and net stack entry/exit operations. Next patches will introduce mechanisms where protocols that want to optimize this operation will provide an unlocked_recvmsg operation. This takes into account comments made by: . Paul Moore: sock_recvmsg is called only for the first datagram, sock_recvmsg_nosec is used for the rest. . Caitlin Bestler: recvmmsg now has a struct timespec timeout, that works in the same fashion as the ppoll one. If the underlying protocol returns a datagram with MSG_OOB set, this will make recvmmsg return right away with as many datagrams (+ the OOB one) it has received so far. . Rémi Denis-Courmont & Steven Whitehouse: If we receive N < vlen datagrams and then recvmsg returns an error, recvmmsg will return the successfully received datagrams, store the error and return it in the next call. This paves the way for a subsequent optimization, sk_prot->unlocked_recvmsg, where we will be able to acquire the lock only at batch start and end, not at every underlying recvmsg call. Signed-off-by:
Arnaldo Carvalho de Melo <acme@redhat.com> Signed-off-by:
David S. Miller <davem@davemloft.net>
-
- Oct 05, 2009
-
-
Michal Simek authored
Previous patch d63678d607d0e37ec7abe5ceb545d7e8aab956a4 clear it for noMMU kernel. This one do it for MMU. Correct noMMU version Signed-off-by:
Michal Simek <monstr@monstr.eu>
-
Michal Simek authored
Signed-off-by:
Michal Simek <monstr@monstr.eu>
-
- Sep 24, 2009
-
-
Michal Simek authored
I need to disable heartbeat function because this features breaks testing in Qemu. Signed-off-by:
Michal Simek <monstr@monstr.eu>
-
Michal Simek authored
Instead of remembering to specify DTB= on the make commandline, this commit allows the much friendlier make simpleImage.<dts> where <dts>.dts is expected to be found in arch/microblaze/boot/dts/ The resulting vmlinux, with the compiled DTS linked in, will be copied to boot/simpleImage.<dts> This mirrors the same functionality as on PowerPC, albeit achieving it in a slightly different way. + strip simpleImage file The size of output file is very similar to linux.bin. vmlinux - full elf without fdt blob simpleImage.<dtb name>.unstrip - full elf with fdt blob simpleImage.<dtb name> - stripped elf with fdt blob Add symlink to generic system.dts in platform folder Signed-off-by:
John Williams <john.williams@petalogix.com> Signed-off-by:
Michal Simek <monstr@monstr.eu>
-
Alexey Dobriyan authored
* remove asm/atomic.h inclusion from linux/utsname.h -- not needed after kref conversion * remove linux/utsname.h inclusion from files which do not need it NOTE: it looks like fs/binfmt_elf.c do not need utsname.h, however due to some personality stuff it _is_ needed -- cowardly leave ELF-related headers and files alone. Signed-off-by:
Alexey Dobriyan <adobriyan@gmail.com> Signed-off-by:
Linus Torvalds <torvalds@linux-foundation.org>
-
- Sep 22, 2009
-
-
Geert Uytterhoeven authored
Commit 96177299 ("Drop free_pages()") modified nr_free_pages() to return 'unsigned long' instead of 'unsigned int'. This made the casts to 'unsigned long' in most callers superfluous, so remove them. [akpm@linux-foundation.org: coding-style fixes] Signed-off-by:
Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com> Reviewed-by:
Christoph Lameter <cl@linux-foundation.org> Acked-by:
Ingo Molnar <mingo@elte.hu> Acked-by:
Russell King <rmk+kernel@arm.linux.org.uk> Acked-by:
David S. Miller <davem@davemloft.net> Acked-by:
Kyle McMartin <kyle@mcmartin.ca> Acked-by:
WANG Cong <xiyou.wangcong@gmail.com> Cc: Richard Henderson <rth@twiddle.net> Cc: Ivan Kokshaysky <ink@jurassic.park.msu.ru> Cc: Haavard Skinnemoen <hskinnemoen@atmel.com> Cc: Mikael Starvik <starvik@axis.com> Cc: "Luck, Tony" <tony.luck@intel.com> Cc: Hirokazu Takata <takata@linux-m32r.org> Cc: Ralf Baechle <ralf@linux-mips.org> Cc: David Howells <dhowells@redhat.com> Acked-by:
Benjamin Herrenschmidt <benh@kernel.crashing.org> Cc: Martin Schwidefsky <schwidefsky@de.ibm.com> Cc: Paul Mundt <lethal@linux-sh.org> Cc: Chris Zankel <zankel@tensilica.com> Cc: Michal Simek <monstr@monstr.eu> Signed-off-by:
Andrew Morton <akpm@linux-foundation.org> Signed-off-by:
Linus Torvalds <torvalds@linux-foundation.org>
-
Michal Simek authored
_start is setup to physical kernel start address. This caused that when you load vmlinux (with MMU kernel) via XMD program counter (pc) is setup correctly and then you can write con and start kernel. Signed-off-by:
Michal Simek <monstr@monstr.eu>
-
Michal Simek authored
Currently, vmlinux has LMA==VMA for all sections, which is wrong for MMU kernels. Previous patches in this series defined the LOAD_OFFSET constant, now we make use of it in our link script. Other minor changes in this patch: * brace/indenting cleanup of some sections * put __fdt_* symbols in their own section, and apply LOAD_OFFSET fixup Signed-off-by:
John Williams <john.williams@petalogix.com> Signed-off-by:
Michal Simek <monstr@monstr.eu>
-
John Williams authored
LOAD_OFFSET is the offset between the physical load address and the kernel's virtual address. It will be used in the upcoming commit to vmlinux.ld.S to make sure that the LMAs of sections in vmlinux are correct. Signed-off-by:
John Williams <john.williams@petalogix.com>
-
John Williams authored
Provides the ASM_CONST macro for creating asm-safe constants. No users yet, we'll be using it in upcoming page.h commit, for generating the LOAD_OFFSET macro Signed-off-by:
John Williams <john.williams@petalogix.com>
-
Lennart Sorensen authored
Fix "Freeing initrd memory:" message on microblaze to show kilobytes as claimed rather than number of pages. Signed-off-by:
Lennart Sorensen <lsorense@csclub.uwaterloo.ca> Signed-off-by:
Michal Simek <monstr@monstr.eu>
-
Michal Simek authored
Signed-off-by:
Edgar E. Iglesias <edgar.iglesias@gmail.com> Signed-off-by:
Michal Simek <monstr@monstr.eu>
-
John Williams authored
Signed-off-by:
John Williams <john.williams@petalogix.com> Signed-off-by:
Michal Simek <monstr@monstr.eu>
-
Michal Simek authored
Signed-off-by:
John Williams <john.williams@petalogix.com>
-
Michal Simek authored
Signed-off-by:
Michal Simek <monstr@monstr.eu>
-
Michal Simek authored
Signed-off-by:
Michal Simek <monstr@monstr.eu>
-
John Williams authored
FSR is sticky, so after the userspace exception/signal generation, clear it ready for next time. Signed-off-by:
John Williams <john.williams@petalogix.com>
-
John Williams authored
Signed-off-by:
John Williams <john.williams@petalogix.com>
-
John Williams authored
Fixes the bug introduced in 9552158573f847aa429334bb97995bb290bb4b0d Signed-off-by:
John Williams <john.williams@petalogix.com>
-
Michal Simek authored
I thought that this part of code could be removed because just save and restore MSR but any code can't change it. But seems to that any part of code works with this information. This patch solved problem with allocation. Signed-off-by:
Michal Simek <monstr@monstr.eu>
-
Julie Zhu authored
Add architectural support for USB EHCI host controllers. It has been tested using the USB EHCI host controller from Xilinx Inc., using both High Speed devices and Full Speed devices. Signed-off-by:
Julie Zhu <julie.zhu@xilinx.com> Signed-off-by:
Michal Simek <monstr@monstr.eu>
-
- Sep 21, 2009
-
-
Michal Simek authored
Signed-off-by:
Edgar E. Iglesias <edgar.iglesias@gmail.com> Signed-off-by:
Michal Simek <monstr@monstr.eu>
-
Michal Simek authored
It is more safe to use clear instead of msrset. We save some instructions too. Signed-off-by:
Michal Simek <monstr@monstr.eu>
-
Michal Simek authored
It was necessary to use fourth parameter(r8) in early_printk to show messages on console. Signed-off-by:
Michal Simek <monstr@monstr.eu>
-