<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/arch/mips/lib/csum_partial.S, branch linux-3.17.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.17.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.17.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2014-05-12T22:29:39Z</updated>
<entry>
<title>MIPS: csum_partial.S CPU_DADDI_WORKAROUNDS bug fix</title>
<updated>2014-05-12T22:29:39Z</updated>
<author>
<name>Maciej W. Rozycki</name>
</author>
<published>2014-04-04T02:32:54Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=44ba138f55577431cd119840320e31e218d7dd5b'/>
<id>urn:sha1:44ba138f55577431cd119840320e31e218d7dd5b</id>
<content type='text'>
This change reverts most of commit
60724ca59eda766a30be57aec6b49bc3e2bead91 [MIPS: IP checksums: Remove
unncessary .set pseudos] that introduced warnings with the
CPU_DADDI_WORKAROUNDS option set:

arch/mips/lib/csum_partial.S: Assembler messages:
arch/mips/lib/csum_partial.S:467: Warning: used $3 with ".set at=$3"
arch/mips/lib/csum_partial.S:467: Warning: used $3 with ".set at=$3"
arch/mips/lib/csum_partial.S:467: Warning: used $3 with ".set at=$3"
arch/mips/lib/csum_partial.S:467: Warning: used $3 with ".set at=$3"
arch/mips/lib/csum_partial.S:467: Warning: used $3 with ".set at=$3"
arch/mips/lib/csum_partial.S:467: Warning: used $3 with ".set at=$3"
arch/mips/lib/csum_partial.S:467: Warning: used $3 with ".set at=$3"
arch/mips/lib/csum_partial.S:467: Warning: used $3 with ".set at=$3"
arch/mips/lib/csum_partial.S:467: Warning: used $3 with ".set at=$3"
arch/mips/lib/csum_partial.S:467: Warning: used $3 with ".set at=$3"
[...]
arch/mips/lib/csum_partial.S:577: Warning: used $3 with ".set at=$3"
arch/mips/lib/csum_partial.S:577: Warning: used $3 with ".set at=$3"
arch/mips/lib/csum_partial.S:577: Warning: used $3 with ".set at=$3"
arch/mips/lib/csum_partial.S:601: Warning: used $3 with ".set at=$3"
arch/mips/lib/csum_partial.S:601: Warning: used $3 with ".set at=$3"
arch/mips/lib/csum_partial.S:601: Warning: used $3 with ".set at=$3"
arch/mips/lib/csum_partial.S:601: Warning: used $3 with ".set at=$3"
[and so on, and so on...]

The warnings are benign and good code is produced regardless because no
macros that'd use the assembler's temporary register are involved, however
the `.set noat' directives removed by the commit referred are crucial to
guarantee this is still going to be the case after any changes in the
future.  Therefore they need to be brought back to place which this
change does.

Signed-off-by: Maciej W. Rozycki &lt;macro@linux-mips.org&gt;
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/6686/
Signed-off-by: Ralf Baechle &lt;ralf@linux-mips.org&gt;
</content>
</entry>
<entry>
<title>MIPS: lib: csum_partial: Add EVA support</title>
<updated>2014-03-26T22:09:17Z</updated>
<author>
<name>Markos Chandras</name>
</author>
<published>2014-01-17T11:36:16Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6f85cebe49a4cd25a381f356ad51ccc376d00a7c'/>
<id>urn:sha1:6f85cebe49a4cd25a381f356ad51ccc376d00a7c</id>
<content type='text'>
Use EVA specific functions to read and write data to
user address space.

Signed-off-by: Markos Chandras &lt;markos.chandras@imgtec.com&gt;
</content>
</entry>
<entry>
<title>MIPS: lib: csum_partial: Add macro to build csum_partial symbols</title>
<updated>2014-03-26T22:09:17Z</updated>
<author>
<name>Markos Chandras</name>
</author>
<published>2014-01-17T10:48:46Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e89fb56c8bcf5514cfe7abd7a3dda9e6007b7238'/>
<id>urn:sha1:e89fb56c8bcf5514cfe7abd7a3dda9e6007b7238</id>
<content type='text'>
In preparation for EVA support, we use a macro to build the
__csum_partial_copy_user main code so it can be shared across
multiple implementations. EVA uses the same code but it replaces
the load/store/prefetch instructions with the EVA specific ones
therefore using a macro avoids unnecessary code duplications.

Signed-off-by: Markos Chandras &lt;markos.chandras@imgtec.com&gt;
</content>
</entry>
<entry>
<title>MIPS: lib: csum_partial: Merge EXC and load/store macros</title>
<updated>2014-03-26T22:09:17Z</updated>
<author>
<name>Markos Chandras</name>
</author>
<published>2014-01-16T17:02:13Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2ab82e66483798670e129c48c05d7fc8a39ea996'/>
<id>urn:sha1:2ab82e66483798670e129c48c05d7fc8a39ea996</id>
<content type='text'>
Each load/store macro always adds an entry to the __ex_table
using the EXC macro. There are cases where a load instruction may
never fail such as when we are sure the load happens in the kernel
address space. Therefore, we merge these the EXC and LOADX/STOREX
macros into a single one. We also expand the argument list in the EXC
macro to make the macro more flexible. The extra 'type' argument is not
used by this commit, but it will be used when EVA support is added to
memcpy.

Signed-off-by: Markos Chandras &lt;markos.chandras@imgtec.com&gt;
</content>
</entry>
<entry>
<title>MIPS: checksum: Split the 'copy_user' symbol</title>
<updated>2014-03-26T22:09:17Z</updated>
<author>
<name>Markos Chandras</name>
</author>
<published>2013-12-12T16:21:00Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ac85227f7637cfb0d811519b8253c454d0d0a159'/>
<id>urn:sha1:ac85227f7637cfb0d811519b8253c454d0d0a159</id>
<content type='text'>
The 'copy_user' symbol can be used to copy from or to
userland so we will use two different symbols for these
operations. This makes no difference in the existing code,
but when the core is operating in EVA mode, different instructions
need to be used to read and write to userland address space.
The old function has also been renamed to 'copy_kernel' to denote
that it is suitable for copy data to and from kernel space.

Signed-off-by: Markos Chandras &lt;markos.chandras@imgtec.com&gt;
</content>
</entry>
<entry>
<title>MIPS: Use CONFIG_CPU_MIPSR2 in csum_partial.S</title>
<updated>2013-03-12T09:18:18Z</updated>
<author>
<name>Gabor Juhos</name>
</author>
<published>2013-03-03T11:39:35Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e744109fce4b9581acdc23287667e240bcd239b7'/>
<id>urn:sha1:e744109fce4b9581acdc23287667e240bcd239b7</id>
<content type='text'>
The csum_partial implementation contain optimalizations for the MIPS R2
instruction set. This optimization is never enabled however because the
if directive uses the CPU_MIPSR2 constant which is not defined anywhere.

Use the CONFIG_CPU_MIPSR2 constant instead.

Signed-off-by: Gabor Juhos &lt;juhosg@openwrt.org&gt;
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/4971/
Signed-off-by: Ralf Baechle &lt;ralf@linux-mips.org&gt;
</content>
</entry>
<entry>
<title>MIPS: Whitespace cleanup.</title>
<updated>2013-02-01T09:00:22Z</updated>
<author>
<name>Ralf Baechle</name>
</author>
<published>2013-01-22T11:59:30Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7034228792cc561e79ff8600f02884bd4c80e287'/>
<id>urn:sha1:7034228792cc561e79ff8600f02884bd4c80e287</id>
<content type='text'>
Having received another series of whitespace patches I decided to do this
once and for all rather than dealing with this kind of patches trickling
in forever.

Signed-off-by: Ralf Baechle &lt;ralf@linux-mips.org&gt;
</content>
</entry>
<entry>
<title>MIPS: IP checksums: Optimize adjust of sum on buffers of odd alignment.</title>
<updated>2008-10-11T15:18:53Z</updated>
<author>
<name>Ralf Baechle</name>
</author>
<published>2008-10-11T15:18:53Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b65a75b8c91c0f05047399401407371678fe9549'/>
<id>urn:sha1:b65a75b8c91c0f05047399401407371678fe9549</id>
<content type='text'>
Signed-off-by: Ralf Baechle &lt;ralf@linux-mips.org&gt;
</content>
</entry>
<entry>
<title>MIPS: IP checksums: Remove unncessary .set pseudos</title>
<updated>2008-10-11T15:18:53Z</updated>
<author>
<name>Ralf Baechle</name>
</author>
<published>2008-10-11T15:18:53Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=60724ca59eda766a30be57aec6b49bc3e2bead91'/>
<id>urn:sha1:60724ca59eda766a30be57aec6b49bc3e2bead91</id>
<content type='text'>
They possibly silence meaningful warnings ...

Signed-off-by: Ralf Baechle &lt;ralf@linux-mips.org&gt;
</content>
</entry>
<entry>
<title>MIPS: IP checksums: Remove unncessary folding of sum to 16 bit.</title>
<updated>2008-10-11T15:18:53Z</updated>
<author>
<name>Ralf Baechle</name>
</author>
<published>2008-10-11T15:18:53Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d86a8123b11a9a40d850f6e88b89c948c2477da3'/>
<id>urn:sha1:d86a8123b11a9a40d850f6e88b89c948c2477da3</id>
<content type='text'>
Signed-off-by: Ralf Baechle &lt;ralf@linux-mips.org&gt;
</content>
</entry>
</feed>
