<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/arch/sparc/net, branch linux-3.10.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.10.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.10.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2014-06-26T19:12:38Z</updated>
<entry>
<title>net: filter: fix sparc32 typo</title>
<updated>2014-06-26T19:12:38Z</updated>
<author>
<name>Alexei Starovoitov</name>
</author>
<published>2014-06-06T15:35:59Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9cc0c780050dfbd1ca7e7206d9593ebe047e30f7'/>
<id>urn:sha1:9cc0c780050dfbd1ca7e7206d9593ebe047e30f7</id>
<content type='text'>
[ Upstream commit 588f5d629b3369aba88f52217d1c473a28fa7723 ]

Fixes: 569810d1e327 ("net: filter: fix typo in sparc BPF JIT")
Signed-off-by: Alexei Starovoitov &lt;ast@plumgrid.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>net: filter: fix typo in sparc BPF JIT</title>
<updated>2014-06-26T19:12:38Z</updated>
<author>
<name>Alexei Starovoitov</name>
</author>
<published>2014-06-06T05:47:44Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=74f6232f454fdee002bb60cc9454330e35b34bfd'/>
<id>urn:sha1:74f6232f454fdee002bb60cc9454330e35b34bfd</id>
<content type='text'>
[ Upstream commit 569810d1e3278907264f5b115281fca3f0038d53 ]

fix typo in sparc codegen for SKF_AD_IFINDEX and SKF_AD_HATYPE
classic BPF extensions

Fixes: 2809a2087cc4 ("net: filter: Just In Time compiler for sparc")
Signed-off-by: Alexei Starovoitov &lt;ast@plumgrid.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>bpf: do not use reciprocal divide</title>
<updated>2014-02-06T19:08:16Z</updated>
<author>
<name>Eric Dumazet</name>
</author>
<published>2014-01-15T14:50:07Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=cd7361dc9fa60c35d011d674d48eababcc3eb767'/>
<id>urn:sha1:cd7361dc9fa60c35d011d674d48eababcc3eb767</id>
<content type='text'>
[ Upstream commit aee636c4809fa54848ff07a899b326eb1f9987a2 ]

At first Jakub Zawadzki noticed that some divisions by reciprocal_divide
were not correct. (off by one in some cases)
http://www.wireshark.org/~darkjames/reciprocal-buggy.c

He could also show this with BPF:
http://www.wireshark.org/~darkjames/set-and-dump-filter-k-bug.c

The reciprocal divide in linux kernel is not generic enough,
lets remove its use in BPF, as it is not worth the pain with
current cpus.

Signed-off-by: Eric Dumazet &lt;edumazet@google.com&gt;
Reported-by: Jakub Zawadzki &lt;darkjames-ws@darkjames.pl&gt;
Cc: Mircea Gherzan &lt;mgherzan@gmail.com&gt;
Cc: Daniel Borkmann &lt;dxchgb@gmail.com&gt;
Cc: Hannes Frederic Sowa &lt;hannes@stressinduktion.org&gt;
Cc: Matt Evans &lt;matt@ozlabs.org&gt;
Cc: Martin Schwidefsky &lt;schwidefsky@de.ibm.com&gt;
Cc: Heiko Carstens &lt;heiko.carstens@de.ibm.com&gt;
Cc: David S. Miller &lt;davem@davemloft.net&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>filter: bpf_jit_comp: refactor and unify BPF JIT image dump output</title>
<updated>2013-03-21T21:25:56Z</updated>
<author>
<name>Daniel Borkmann</name>
</author>
<published>2013-03-21T21:22:03Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=79617801ea0c0e6664cb497d4c1892c2ff407364'/>
<id>urn:sha1:79617801ea0c0e6664cb497d4c1892c2ff407364</id>
<content type='text'>
If bpf_jit_enable &gt; 1, then we dump the emitted JIT compiled image
after creation. Currently, only SPARC and PowerPC has similar output
as in the reference implementation on x86_64. Make a small helper
function in order to reduce duplicated code and make the dump output
uniform across architectures x86_64, SPARC, PPC, ARM (e.g. on ARM
flen, pass and proglen are currently not shown, but would be
interesting to know as well), also for future BPF JIT implementations
on other archs.

Cc: Mircea Gherzan &lt;mgherzan@gmail.com&gt;
Cc: Matt Evans &lt;matt@ozlabs.org&gt;
Cc: Eric Dumazet &lt;eric.dumazet@google.com&gt;
Cc: David S. Miller &lt;davem@davemloft.net&gt;
Signed-off-by: Daniel Borkmann &lt;dborkman@redhat.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>sparc: bpf_jit_comp: add VLAN instructions for BPF JIT</title>
<updated>2012-11-06T22:41:42Z</updated>
<author>
<name>Daniel Borkmann</name>
</author>
<published>2012-11-04T16:59:30Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=54e7e2df3e2f854ae33015cec25da5190e6a18ac'/>
<id>urn:sha1:54e7e2df3e2f854ae33015cec25da5190e6a18ac</id>
<content type='text'>
This patch is a follow-up for patch "net: filter: add vlan tag access"
to support the new VLAN_TAG/VLAN_TAG_PRESENT accessors in BPF JIT.

Signed-off-by: Daniel Borkmann &lt;daniel.borkmann@tik.ee.ethz.ch&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>sparc: bpf_jit_comp: add XOR instruction for BPF JIT JIT</title>
<updated>2012-09-27T22:04:35Z</updated>
<author>
<name>Daniel Borkmann</name>
</author>
<published>2012-09-24T11:57:54Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=aa99521eed6b77628f6f54ff6b2903f4130c0808'/>
<id>urn:sha1:aa99521eed6b77628f6f54ff6b2903f4130c0808</id>
<content type='text'>
This patch is a follow-up for patch "filter: add XOR instruction for use
with X/K" that implements BPF SPARC JIT parts for the BPF XOR operation.

Signed-off-by: Daniel Borkmann &lt;daniel.borkmann@tik.ee.ethz.ch&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>sparc bpf_jit: support BPF_S_ANC_ALU_XOR_X instruction</title>
<updated>2012-06-06T17:20:21Z</updated>
<author>
<name>David S. Miller</name>
</author>
<published>2012-06-06T17:20:21Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d7ce8a5f63838d99726ec81f666075d65361325b'/>
<id>urn:sha1:d7ce8a5f63838d99726ec81f666075d65361325b</id>
<content type='text'>
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net: filter: remove unused cpu_off in sparc JIT</title>
<updated>2012-04-18T02:55:59Z</updated>
<author>
<name>Eric Dumazet</name>
</author>
<published>2012-04-17T16:51:19Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=85bba52de16e00161b757567a7f1af12dc1e526a'/>
<id>urn:sha1:85bba52de16e00161b757567a7f1af12dc1e526a</id>
<content type='text'>
Signed-off-by: Eric Dumazet &lt;eric.dumazet@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net: filter: Fix some more small issues in sparc JIT.</title>
<updated>2012-04-17T20:43:46Z</updated>
<author>
<name>David S. Miller</name>
</author>
<published>2012-04-17T20:38:16Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=584c5e2ad3ada1a5ccfffa68347b79c3681cc36e'/>
<id>urn:sha1:584c5e2ad3ada1a5ccfffa68347b79c3681cc36e</id>
<content type='text'>
Fix mixed space and tabs.

Put bpf_jit_load_*[] externs into bpf_jit.h

"while(0)" --&gt; "while (0)"
"COND (X)" --&gt; "COND(X)"
Document branch offset calculations, and bpf_error's return
sequence.

Document the reason we need to emit three nops between the
%y register write and the divide instruction.

Remove erroneous trailing semicolons from emit_read_y() and
emit_write_y().

Based upon feedback from Sam Ravnborg.

Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net: filter: Fix some minor issues in sparc JIT.</title>
<updated>2012-04-17T20:08:29Z</updated>
<author>
<name>David S. Miller</name>
</author>
<published>2012-04-17T20:08:29Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7b56f76edf2da7ab3e356cc0db16f9af4c6a26e2'/>
<id>urn:sha1:7b56f76edf2da7ab3e356cc0db16f9af4c6a26e2</id>
<content type='text'>
Correct conventions comments.  %o4 and %o5 were swapped,
%g3 was not documented.

Use r_TMP instead of r_SKB_DATA + r_OFF where possible in
assembler stubs.

Correct discussion of %o4 and %o5 in one of bpf_jit_compile()'s
comments.

Based upon feedback from Richard Mortimer.

Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
</feed>
