- Feb 24, 2010
-
-
Steven J. Magnani authored
Trailing semicolon causes compilation involving out_le32() to fail. Signed-off-by:
Steven J. Magnani <steve@digidescorp.com> Signed-off-by:
Michal Simek <monstr@monstr.eu>
-
- Jan 18, 2010
-
-
Michal Simek authored
PT_ macros are used by gdb and strace uses them too. Signed-off-by:
Michal Simek <monstr@monstr.eu>
-
Michal Simek authored
We had wrong name in unistd.h + I wire up this syscall in syscall table. Signed-off-by:
Michal Simek <monstr@monstr.eu>
-
Michal Simek authored
Patch a2e27255 should contain change in unistd.h too. The same problem had MIPS. Signed-off-by:
Michal Simek <monstr@monstr.eu>
-
- Dec 16, 2009
-
-
Christoph Hellwig authored
Currently all architectures but microblaze unconditionally define USE_ELF_CORE_DUMP. The microblaze omission seems like an error to me, so let's kill this ifdef and make sure we are the same everywhere. Signed-off-by:
Christoph Hellwig <hch@lst.de> Acked-by:
Hugh Dickins <hugh.dickins@tiscali.co.uk> Cc: <linux-arch@vger.kernel.org> Cc: Michal Simek <michal.simek@petalogix.com> Signed-off-by:
Andrew Morton <akpm@linux-foundation.org> Signed-off-by:
Linus Torvalds <torvalds@linux-foundation.org>
-
- Dec 14, 2009
-
-
Michal Simek authored
Microblaze version 7.20.d is the first MB version which can be run on MMU linux. Please do not used previous version because they contain HW bug. Based on WB support was necessary to redesign whole cache design. Microblaze versions from 7.20.a don't need to disable IRQ and cache before working with them that's why there are special structures for it. Signed-off-by:
Michal Simek <monstr@monstr.eu>
-
Michal Simek authored
WB cache has special flag in PVR. There is added checking mechanism for PVR and DTS. Signed-off-by:
Michal Simek <monstr@monstr.eu>
-
Michal Simek authored
just file cleanup Signed-off-by:
Michal Simek <monstr@monstr.eu>
-
Michal Simek authored
Microblaze v7.20 provides new lwx, swx instructions which bring possibility to implement lock rutines. There are some tests in open posix thread LTP part but current toolchain not support it. Signed-off-by:
Michal Simek <monstr@monstr.eu>
-
Michal Simek authored
The functions, dev_arch_data_set_node and get_node are missing and are needed by some device drivers such as I2C. Signed-off-by:
John Linn <john.linn@xilinx.com> Signed-off-by:
Michal Simek <monstr@monstr.eu>
-
John Williams authored
This is first patch which clear part of uaccess.h. uaccess.h will be clear later. Signed-off-by:
John Williams <john.williams@petalogix.com> Signed-off-by:
Michal Simek <monstr@monstr.eu>
-
Michal Simek authored
Signed-off-by:
Michal Simek <monstr@monstr.eu>
-
Michal Simek authored
There is missing checking agains PVR but this is not important for now. There are some missing checking too. Signed-off-by:
Michal Simek <monstr@monstr.eu>
-
Michal Simek authored
We used cache_line as cache_line_lenght. For this reason we did cache flushing 4 times longer than was necessary. Signed-off-by:
Michal Simek <monstr@monstr.eu>
-
steve@digidescorp.com authored
Configuring DEBUG_SLAB causes a noMMU kernel to die during initialization with an invalid virtual address panic in kfree_debugcheck(). The panic is due to an improper definition of pfn_valid(). Signed-off-by:
Steven J. Magnani <steve@digidescorp.com> Signed-off-by:
Michal Simek <monstr@monstr.eu>
-
Michal Simek authored
With dynamic function tracer, by default, _mcount is defined as an "empty" function, it returns directly without any more action. When enabling it in user-space, it will jump to a real tracing function(ftrace_caller), and do the real job for us. Differ from the static function tracer, dynamic function tracer provides two functions ftrace_make_call()/ftrace_make_nop() to enable/disable the tracing of some indicated kernel functions(set_ftrace_filter). In the kernel version, there is only one "_mcount" string for every kernel function, so, we just need to match this one in mcount_regex of scripts/recordmcount.pl. For more information please look at code and Documentation/trace folder. Steven ACK that scripts/recordmcount.pl part. Acked-by:
Steven Rostedt <rostedt@goodmis.org> Signed-off-by:
Michal Simek <monstr@monstr.eu>
-
Michal Simek authored
If -pg of gcc is enabled with CONFIG_FUNCTION_TRACER=y. a calling to _mcount will be inserted into each kernel function. so, there is a possibility to trace the kernel functions in _mcount. This patch add the specific _mcount support for static function tracing. by default, ftrace_trace_function is initialized as ftrace_stub(an empty function), so, the default _mcount will introduce very little overhead. after enabling ftrace in user-space, it will jump to a real tracing function and do static function tracing for us. Commit message from Wu Zhangjin <wuzhangjin@gmail.com> Signed-off-by:
Michal Simek <monstr@monstr.eu>
-
Michal Simek authored
There are just two major changes Renamed local_irq functions to raw_local_irq in irq.c. Added TRACE_IRQFLAGS_SUPPORT to Kconfig.debug. Look at Documentation/irqflags-tracing.txt Signed-off-by:
Michal Simek <monstr@monstr.eu>
-
Michal Simek authored
Microblaze needs to do lock_init very soon because MMU init calls lock functions. Here is the explanation from Peter Zijlstra why we have to enable __ARCH_WANTS_INTERRUPTS_ON_CTSW. "So we schedule while holding rq->lock (for obvious reasons), but since lockdep tracks held locks per tasks, we need to transfer the held state from the prev to the next task. We do this by explicity calling spin_release(&rq->lock) in context_switch() right before switch_to(), and calling spin_acquire(&rq->lock) in finish_task_switch()->finish_lock_switch(). Now, for some reason lockdep thinks that interrupts got enabled over the context switch (git grep __ARCH_WANTS_INTERRUPTS_ON_CTSW arch/microblaze doesn't seem to turn up anything). Clearly trying to acquire the rq->lock with interrupts enabled is a bad idea and lockdep warns you about this." Signed-off-by:
Michal Simek <monstr@monstr.eu>
-
Michal Simek authored
Signed-off-by:
Michal Simek <monstr@monstr.eu>
-
- 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>
-
- 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 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>
-
- Sep 22, 2009
-
-
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>
-
Michal Simek authored
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 was necessary to use fourth parameter(r8) in early_printk to show messages on console. Signed-off-by:
Michal Simek <monstr@monstr.eu>
-
Ingo Molnar authored
Bye-bye Performance Counters, welcome Performance Events! In the past few months the perfcounters subsystem has grown out its initial role of counting hardware events, and has become (and is becoming) a much broader generic event enumeration, reporting, logging, monitoring, analysis facility. Naming its core object 'perf_counter' and naming the subsystem 'perfcounters' has become more and more of a misnomer. With pending code like hw-breakpoints support the 'counter' name is less and less appropriate. All in one, we've decided to rename the subsystem to 'performance events' and to propagate this rename through all fields, variables and API names. (in an ABI compatible fashion) The word 'event' is also a bit shorter than 'counter' - which makes it slightly more convenient to write/handle as well. Thanks goes to Stephane Eranian who first observed this misnomer and suggested a rename. User-space tooling and ABI compatibility is not affected - this patch should be function-invariant. (Also, defconfigs were not touched to keep the size down.) This patch has been generated via the following script: FILES=$(find * -type f | grep -vE 'oprofile|[^K]config') sed -i \ -e 's/PERF_EVENT_/PERF_RECORD_/g' \ -e 's/PERF_COUNTER/PERF_EVENT/g' \ -e 's/perf_counter/perf_event/g' \ -e 's/nb_counters/nb_events/g' \ -e 's/swcounter/swevent/g' \ -e 's/tpcounter_event/tp_event/g' \ $FILES for N in $(find . -name perf_counter.[ch]); do M=$(echo $N | sed 's/perf_counter/perf_event/g') mv $N $M done FILES=$(find . -name perf_event.*) sed -i \ -e 's/COUNTER_MASK/REG_MASK/g' \ -e 's/COUNTER/EVENT/g' \ -e 's/\<event\>/event_id/g' \ -e 's/counter/event/g' \ -e 's/Counter/Event/g' \ $FILES ... to keep it as correct as possible. This script can also be used by anyone who has pending perfcounters patches - it converts a Linux kernel tree over to the new naming. We tried to time this change to the point in time where the amount of pending patches is the smallest: the end of the merge window. Namespace clashes were fixed up in a preparatory patch - and some stylistic fallout will be fixed up in a subsequent patch. ( NOTE: 'counters' are still the proper terminology when we deal with hardware registers - and these sed scripts are a bit over-eager in renaming them. I've undone some of that, but in case there's something left where 'counter' would be better than 'event' we can undo that on an individual basis instead of touching an otherwise nicely automated patch. ) Suggested-by:
Stephane Eranian <eranian@google.com> Acked-by:
Peter Zijlstra <a.p.zijlstra@chello.nl> Acked-by:
Paul Mackerras <paulus@samba.org> Reviewed-by:
Arjan van de Ven <arjan@linux.intel.com> Cc: Mike Galbraith <efault@gmx.de> Cc: Arnaldo Carvalho de Melo <acme@redhat.com> Cc: Frederic Weisbecker <fweisbec@gmail.com> Cc: Steven Rostedt <rostedt@goodmis.org> Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> Cc: David Howells <dhowells@redhat.com> Cc: Kyle McMartin <kyle@mcmartin.ca> Cc: Martin Schwidefsky <schwidefsky@de.ibm.com> Cc: "David S. Miller" <davem@davemloft.net> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: "H. Peter Anvin" <hpa@zytor.com> Cc: <linux-arch@vger.kernel.org> LKML-Reference: <new-submission> Signed-off-by:
Ingo Molnar <mingo@elte.hu>
-
- Aug 18, 2009
-
-
Christoph Hellwig authored
Signed-off-by:
Christoph Hellwig <hch@lst.de> Signed-off-by:
Michal Simek <monstr@monstr.eu>
-