<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/arch/s390/kernel/mcount.S, branch linux-3.18.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.18.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.18.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2014-10-09T07:14:20Z</updated>
<entry>
<title>s390/ftrace: simplify enabling/disabling of ftrace_graph_caller</title>
<updated>2014-10-09T07:14:20Z</updated>
<author>
<name>Heiko Carstens</name>
</author>
<published>2014-10-08T08:03:08Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=0cccdda8d1512af4d3f6913044e8c8e58e15ef37'/>
<id>urn:sha1:0cccdda8d1512af4d3f6913044e8c8e58e15ef37</id>
<content type='text'>
We can simply patch the mask field within the branch relative on
condition instruction at the beginning of the ftrace_graph_caller
code block.
This makes the logic even simpler and we get rid of the displacement
calculation.

Signed-off-by: Heiko Carstens &lt;heiko.carstens@de.ibm.com&gt;
Signed-off-by: Martin Schwidefsky &lt;schwidefsky@de.ibm.com&gt;
</content>
</entry>
<entry>
<title>s390/ftrace: remove 31 bit ftrace support</title>
<updated>2014-10-09T07:14:18Z</updated>
<author>
<name>Heiko Carstens</name>
</author>
<published>2014-10-07T13:45:10Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=53255c9a4dade6ff2162121430d13aaadb38a69c'/>
<id>urn:sha1:53255c9a4dade6ff2162121430d13aaadb38a69c</id>
<content type='text'>
31 bit and 64 bit diverge more and more and it is rather painful
to keep both parts running.
To make things simpler just remove the 31 bit support which nobody
uses anyway.

Signed-off-by: Heiko Carstens &lt;heiko.carstens@de.ibm.com&gt;
Signed-off-by: Martin Schwidefsky &lt;schwidefsky@de.ibm.com&gt;
</content>
</entry>
<entry>
<title>s390/ftrace: enforce DYNAMIC_FTRACE if FUNCTION_TRACER is selected</title>
<updated>2014-09-09T06:53:29Z</updated>
<author>
<name>Heiko Carstens</name>
</author>
<published>2014-08-15T11:16:09Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=5d6a0163494c78ad7b6de733c8793e66b5da9212'/>
<id>urn:sha1:5d6a0163494c78ad7b6de733c8793e66b5da9212</id>
<content type='text'>
We have too many combinations for function tracing. Lets simply stick to
the most advanced option, so we don't have to care of other combinations.

This means we always select DYNAMIC_FTRACE if FUNCTION_TRACER is selected.

In the s390 Makefile also remove CONFIG_FTRACE_SYSCALLS since that
functionality got moved to architecture independent code in the meantime.

Signed-off-by: Heiko Carstens &lt;heiko.carstens@de.ibm.com&gt;
Signed-off-by: Martin Schwidefsky &lt;schwidefsky@de.ibm.com&gt;
</content>
</entry>
<entry>
<title>s390/ftrace: remove check of obsolete variable function_trace_stop</title>
<updated>2014-07-18T17:58:11Z</updated>
<author>
<name>Heiko Carstens</name>
</author>
<published>2014-06-26T08:43:25Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2a62a57a0633c7bbc9689d738ec0235e2ec822dc'/>
<id>urn:sha1:2a62a57a0633c7bbc9689d738ec0235e2ec822dc</id>
<content type='text'>
Remove check of obsolete variable function_trace_stop as requested by
Steven Rostedt.

Signed-off-by: Heiko Carstens &lt;heiko.carstens@de.ibm.com&gt;
Signed-off-by: Steven Rostedt &lt;rostedt@goodmis.org&gt;
</content>
</entry>
<entry>
<title>s390/ftrace: fix mcount adjustment</title>
<updated>2013-05-15T11:09:09Z</updated>
<author>
<name>Heiko Carstens</name>
</author>
<published>2013-05-13T12:48:52Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=aca91209775514b5a335e7ef11f1d636618590c7'/>
<id>urn:sha1:aca91209775514b5a335e7ef11f1d636618590c7</id>
<content type='text'>
Tony Jones reported that the ftrace self tests on s390 do not work:

&lt;6&gt;Testing dynamic ftrace ops #1: (0 0 0 0 0) FAILED!
&lt;6&gt;Testing tracer irqsoff:
&lt;3&gt;failed to start irqsoff tracer
&lt;4&gt;.. no entries found ..FAILED!
&lt;6&gt;Testing tracer wakeup:
&lt;3&gt;failed to start wakeup tracer
&lt;4&gt;.. no entries found ..FAILED!
&lt;6&gt;Testing tracer function_graph:
&lt;4&gt;Failed to init function_graph tracer, init returned -19
&lt;4&gt;FAILED!

This happens because we forgot to adjust the instruction pointer that gets
passed to the ftrace trace function by MCOUNT_INSN_SIZE.

In addition change MCOUNT_INSN_SIZE to the correct value on 31 bit.
It only worked so far because the to be patched instruction was identical.

Reported-by: Tony Jones &lt;tonyj@suse.com&gt;
Signed-off-by: Heiko Carstens &lt;heiko.carstens@de.ibm.com&gt;
Signed-off-by: Martin Schwidefsky &lt;schwidefsky@de.ibm.com&gt;
</content>
</entry>
<entry>
<title>s390/comments: unify copyright messages and remove file names</title>
<updated>2012-07-20T09:15:04Z</updated>
<author>
<name>Heiko Carstens</name>
</author>
<published>2012-07-20T09:15:04Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a53c8fab3f87c995c30ac226a03af95361243144'/>
<id>urn:sha1:a53c8fab3f87c995c30ac226a03af95361243144</id>
<content type='text'>
Remove the file name from the comment at top of many files. In most
cases the file name was wrong anyway, so it's rather pointless.

Also unify the IBM copyright statement. We did have a lot of sightly
different statements and wanted to change them one after another
whenever a file gets touched. However that never happened. Instead
people start to take the old/"wrong" statements to use as a template
for new files.
So unify all of them in one go.

Signed-off-by: Heiko Carstens &lt;heiko.carstens@de.ibm.com&gt;
</content>
</entry>
<entry>
<title>[S390] fix s390 assembler code alignments</title>
<updated>2011-07-24T08:48:21Z</updated>
<author>
<name>Jan Glauber</name>
</author>
<published>2011-07-24T08:48:19Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=144d634a21caff1d54cb4bb0d073774e88130045'/>
<id>urn:sha1:144d634a21caff1d54cb4bb0d073774e88130045</id>
<content type='text'>
The alignment is missing for various global symbols in s390 assembly code.
With a recent gcc and an instruction like stgrl this can lead to a
specification exception if the instruction uses such a mis-aligned address.

Specify the alignment explicitely and while add it define __ALIGN for s390
and use the ENTRY define to save some lines of code.

Signed-off-by: Jan Glauber &lt;jang@linux.vnet.ibm.com&gt;
Signed-off-by: Martin Schwidefsky &lt;schwidefsky@de.ibm.com&gt;
</content>
</entry>
<entry>
<title>[S390] cleanup ftrace backend functions</title>
<updated>2011-01-05T11:47:31Z</updated>
<author>
<name>Martin Schwidefsky</name>
</author>
<published>2011-01-05T11:48:11Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4cc9bed034d1ae588e5b773ee0edeb74ef3c0ff4'/>
<id>urn:sha1:4cc9bed034d1ae588e5b773ee0edeb74ef3c0ff4</id>
<content type='text'>
Signed-off-by: Martin Schwidefsky &lt;schwidefsky@de.ibm.com&gt;
</content>
</entry>
<entry>
<title>[S390] add kprobes annotations</title>
<updated>2011-01-05T11:47:24Z</updated>
<author>
<name>Martin Schwidefsky</name>
</author>
<published>2011-01-05T11:47:25Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=860dba45e81be2e1ba977617652ae36084daebaf'/>
<id>urn:sha1:860dba45e81be2e1ba977617652ae36084daebaf</id>
<content type='text'>
Add kprobes annotations to get the massive 'probe kernel.function("*") {}'
stress test working.

Signed-off-by: Martin Schwidefsky &lt;schwidefsky@de.ibm.com&gt;
</content>
</entry>
<entry>
<title>[S390] improve mcount code</title>
<updated>2009-09-11T08:29:43Z</updated>
<author>
<name>Martin Schwidefsky</name>
</author>
<published>2009-09-11T08:28:33Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6ac2a4ddd10d6916785b4c566d521025c855f823'/>
<id>urn:sha1:6ac2a4ddd10d6916785b4c566d521025c855f823</id>
<content type='text'>
Move the 64 bit mount code from mcount.S into mcount64.S and avoid
code duplication.

Signed-off-by: Martin Schwidefsky &lt;schwidefsky@de.ibm.com&gt;
</content>
</entry>
</feed>
