<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/linux.git/arch/microblaze/include/asm/string.h, branch v6.6.132</title>
<subtitle>Linux kernel stable tree (mirror)</subtitle>
<id>https://git.radix-linux.su/kernel/linux.git/atom?h=v6.6.132</id>
<link rel='self' href='https://git.radix-linux.su/kernel/linux.git/atom?h=v6.6.132'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/'/>
<updated>2022-04-21T08:54:21+00:00</updated>
<entry>
<title>microblaze: Use simple memmove/memcpy implementation from lib/string.c</title>
<updated>2022-04-21T08:54:21+00:00</updated>
<author>
<name>Michal Simek</name>
<email>michal.simek@xilinx.com</email>
</author>
<published>2022-02-25T13:55:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=61a4e653cabd7d9e4a9e940d0786532725e73c0d'/>
<id>urn:sha1:61a4e653cabd7d9e4a9e940d0786532725e73c0d</id>
<content type='text'>
This is based on previous commit ("microblaze: Use simple memset
implementation from lib/string.c") where generic memset implementation is
used when OPT_LIB_FUNCTION is not defined. The same change can be done for
memset/memcpy implementation where doesn't make sense to have generic
implementation in architecture code.

Signed-off-by: Michal Simek &lt;michal.simek@xilinx.com&gt;
Link: https://lore.kernel.org/r/1f5cfc026a8a458f3e3134ab80f65bd4ac7e3e8e.1645797329.git.michal.simek@xilinx.com
</content>
</entry>
<entry>
<title>microblaze: Use simple memset implementation from lib/string.c</title>
<updated>2022-04-21T08:54:20+00:00</updated>
<author>
<name>Michal Simek</name>
<email>michal.simek@xilinx.com</email>
</author>
<published>2022-02-25T13:55:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=8f0f265e6cf5b6d99a5a5d01b36985bc1131183e'/>
<id>urn:sha1:8f0f265e6cf5b6d99a5a5d01b36985bc1131183e</id>
<content type='text'>
On microblaze systems which are not using OPT_LIB_FUNCTION only simple
memset is used. This function is already implemented in lib/string.c that's
why it should be used instead.
This change is done in respect of issue fixed by commit 33d0f96ffd73
("lib/string.c: Use freestanding environment") where gcc-10.x moved
-ftree-loop-distribute-patterns optimization is to O2 optimization level.
This optimization causes GCC to convert the while loop in memset.c into a
call to memset. So This optimization is transforming a loop in a
memset/memcpy into a call to the function itself. This makes the memset
implementation as recursive.

Based on fix above -ffreestanding was used and it needs to be used on
Microblaze too but the patch is not adding this flag it removes simple
implementation to cause that generic implementation is used where this flag
is already setup.

Signed-off-by: Michal Simek &lt;michal.simek@xilinx.com&gt;
Signed-off-by: Mahesh Bodapati &lt;mbodapat@xilinx.com&gt;
Link: https://lore.kernel.org/r/4a143e7654f72ee893dcea9769946e17d3570b16.1645797329.git.michal.simek@xilinx.com
</content>
</entry>
<entry>
<title>microblaze: Convert headers to SPDX license</title>
<updated>2020-02-25T11:33:19+00:00</updated>
<author>
<name>Michal Simek</name>
<email>michal.simek@xilinx.com</email>
</author>
<published>2020-02-03T09:25:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=4726dd6082bc960a20b761428eafb34b8af075b5'/>
<id>urn:sha1:4726dd6082bc960a20b761428eafb34b8af075b5</id>
<content type='text'>
Covert all headers to SPDX.

Signed-off-by: Michal Simek &lt;michal.simek@xilinx.com&gt;
Reviewed-by: Stefan Asserhall &lt;stefan.asserhall@xilinx.com&gt;
Reviewed-by: Arnd Bergmann &lt;arnd@arndb.de&gt;
</content>
</entry>
<entry>
<title>microblaze: Guard __HAVE_ARCH macros with __KERNEL__ in string.h</title>
<updated>2009-05-21T13:56:08+00:00</updated>
<author>
<name>Steve Magnani</name>
<email>steve@digidescorp.com</email>
</author>
<published>2009-05-18T01:32:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=6e3d4e1d16a19f8462beb5bfe5f2c464770e795e'/>
<id>urn:sha1:6e3d4e1d16a19f8462beb5bfe5f2c464770e795e</id>
<content type='text'>
A polarity reversal in the __KERNEL__ guard prevents the __HAVE_ARCH
flags from being defined in kernel compilation.

I noticed that there's now an option for assembly-optimized versions of
memcpy and memmove. I believe this may be buggy; when I turn it on, all
my printk output gets smashed together, as if the newlines aren't getting
copied.

Signed-off-by: Steven J. Magnani &lt;steve@digidescorp.com&gt;
Signed-off-by: Michal Simek &lt;monstr@monstr.eu&gt;
</content>
</entry>
<entry>
<title>microblaze_v8: string.h thread_info.h</title>
<updated>2009-03-27T13:25:47+00:00</updated>
<author>
<name>Michal Simek</name>
<email>monstr@monstr.eu</email>
</author>
<published>2009-03-27T13:25:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=4684dadec6ca3f310b0d9ff1860ca6b6f11ffd2d'/>
<id>urn:sha1:4684dadec6ca3f310b0d9ff1860ca6b6f11ffd2d</id>
<content type='text'>
Reviewed-by: Ingo Molnar &lt;mingo@elte.hu&gt;
Acked-by: John Linn &lt;john.linn@xilinx.com&gt;
Acked-by: Stephen Neuendorffer &lt;stephen.neuendorffer@xilinx.com&gt;
Acked-by: John Williams &lt;john.williams@petalogix.com&gt;
Signed-off-by: Michal Simek &lt;monstr@monstr.eu&gt;
</content>
</entry>
</feed>
