<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/arch/s390/lib, branch linux-6.4.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-6.4.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-6.4.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2023-04-19T15:24:16Z</updated>
<entry>
<title>s390/lib: use SYM* macros instead of ENTRY(), etc.</title>
<updated>2023-04-19T15:24:16Z</updated>
<author>
<name>Heiko Carstens</name>
</author>
<published>2023-04-17T12:45:04Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=45769052ae77c0fb0f846c151bb0a845cf5d4237'/>
<id>urn:sha1:45769052ae77c0fb0f846c151bb0a845cf5d4237</id>
<content type='text'>
Consistently use the SYM* family of macros instead of the
deprecated ENTRY(), ENDPROC(), etc. family of macros.

Signed-off-by: Heiko Carstens &lt;hca@linux.ibm.com&gt;
Signed-off-by: Vasily Gorbik &lt;gor@linux.ibm.com&gt;
</content>
</entry>
<entry>
<title>s390/kasan: remove override of mem*() functions</title>
<updated>2023-04-19T15:24:16Z</updated>
<author>
<name>Heiko Carstens</name>
</author>
<published>2023-04-16T18:15:17Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e48b6853d81b6b48dc238d328700536b425c8e70'/>
<id>urn:sha1:e48b6853d81b6b48dc238d328700536b425c8e70</id>
<content type='text'>
The kasan mem*() functions are not used anymore since s390 has switched
to GENERIC_ENTRY and commit 69d4c0d32186 ("entry, kasan, x86: Disallow
overriding mem*() functions").

Therefore remove the now dead code, similar to x86.
While at it also use the SYM* macros in mem.S.

Signed-off-by: Heiko Carstens &lt;hca@linux.ibm.com&gt;
Signed-off-by: Vasily Gorbik &lt;gor@linux.ibm.com&gt;
</content>
</entry>
<entry>
<title>s390/uaccess: remove extra blank line</title>
<updated>2023-04-04T16:27:24Z</updated>
<author>
<name>Heiko Carstens</name>
</author>
<published>2023-03-24T14:00:24Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=49d6e68f66132ee521d587ce97645ed2d3183d90'/>
<id>urn:sha1:49d6e68f66132ee521d587ce97645ed2d3183d90</id>
<content type='text'>
In order to get uaccess.c (nearly) checkpatch warning free remove an
extra blank line:

CHECK: Blank lines aren't necessary before a close brace '}'
+
+}

Reviewed-by: Gerald Schaefer &lt;gerald.schaefer@linux.ibm.com&gt;
Signed-off-by: Heiko Carstens &lt;hca@linux.ibm.com&gt;
Signed-off-by: Vasily Gorbik &lt;gor@linux.ibm.com&gt;
</content>
</entry>
<entry>
<title>s390/uaccess: get rid of not needed local variable</title>
<updated>2023-04-04T16:27:24Z</updated>
<author>
<name>Heiko Carstens</name>
</author>
<published>2023-03-24T14:00:23Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c3bd834328a6b642cfebc8a1a6cd5e5447cbbd12'/>
<id>urn:sha1:c3bd834328a6b642cfebc8a1a6cd5e5447cbbd12</id>
<content type='text'>
Get rid of the not needed val local variable and pass the constant
value directly as operand value. In addition this turns the val
operand into an input operand, since it is not changed within the
inline assemblies.

This in turn requires also to add the earlyclobber contraint modifier
to all output operands, since the (former) val operand is used after
all output variants have been modified.

The usercopy kunit tests still pass after this change.

Reviewed-by: Gerald Schaefer &lt;gerald.schaefer@linux.ibm.com&gt;
Signed-off-by: Heiko Carstens &lt;hca@linux.ibm.com&gt;
Signed-off-by: Vasily Gorbik &lt;gor@linux.ibm.com&gt;
</content>
</entry>
<entry>
<title>s390/uaccess: rename tmp1 and tmp2 variables</title>
<updated>2023-04-04T16:27:24Z</updated>
<author>
<name>Heiko Carstens</name>
</author>
<published>2023-03-24T14:00:22Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7f65d18329a2546ce6f64ac6bf141c38b15c2ab3'/>
<id>urn:sha1:7f65d18329a2546ce6f64ac6bf141c38b15c2ab3</id>
<content type='text'>
Rename tmp1 and tmp2 variables to more meaningful val (for value) and rem
(for remainder).

Except for debug sections the output of "objdump -Dr" of the uaccess object
file is identical before/after this change.

Reviewed-by: Gerald Schaefer &lt;gerald.schaefer@linux.ibm.com&gt;
Signed-off-by: Heiko Carstens &lt;hca@linux.ibm.com&gt;
Signed-off-by: Vasily Gorbik &lt;gor@linux.ibm.com&gt;
</content>
</entry>
<entry>
<title>s390/uaccess: sort EX_TABLE list for inline assemblies</title>
<updated>2023-04-04T16:27:24Z</updated>
<author>
<name>Heiko Carstens</name>
</author>
<published>2023-03-24T14:00:21Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=afdcc2ce3970ccad0ec4fb2d2c614e444c59f770'/>
<id>urn:sha1:afdcc2ce3970ccad0ec4fb2d2c614e444c59f770</id>
<content type='text'>
Reviewed-by: Gerald Schaefer &lt;gerald.schaefer@linux.ibm.com&gt;
Signed-off-by: Heiko Carstens &lt;hca@linux.ibm.com&gt;
Signed-off-by: Vasily Gorbik &lt;gor@linux.ibm.com&gt;
</content>
</entry>
<entry>
<title>s390/uaccess: rename/sort labels in inline assemblies</title>
<updated>2023-04-04T16:27:24Z</updated>
<author>
<name>Heiko Carstens</name>
</author>
<published>2023-03-24T14:00:20Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4e0b0ad45c6616d85564cb27dbae04a962d068bd'/>
<id>urn:sha1:4e0b0ad45c6616d85564cb27dbae04a962d068bd</id>
<content type='text'>
Rename and sort labels in uaccess inline assemblies to increase
readability. In addition have only one EX_TABLE entry per line - also to
increase readability.

Except for debug sections the output of "objdump -Dr" of the uaccess object
file is identical before/after this change.

Reviewed-by: Gerald Schaefer &lt;gerald.schaefer@linux.ibm.com&gt;
Signed-off-by: Heiko Carstens &lt;hca@linux.ibm.com&gt;
Signed-off-by: Vasily Gorbik &lt;gor@linux.ibm.com&gt;
</content>
</entry>
<entry>
<title>s390/uaccess: remove unused label in inline assemblies</title>
<updated>2023-04-04T16:27:24Z</updated>
<author>
<name>Heiko Carstens</name>
</author>
<published>2023-03-24T14:00:19Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b96adf0d03e01fa10483f38e302a5f93bb733ed0'/>
<id>urn:sha1:b96adf0d03e01fa10483f38e302a5f93bb733ed0</id>
<content type='text'>
Remove an unused label in all three uaccess inline assemblies.

Reviewed-by: Gerald Schaefer &lt;gerald.schaefer@linux.ibm.com&gt;
Signed-off-by: Heiko Carstens &lt;hca@linux.ibm.com&gt;
Signed-off-by: Vasily Gorbik &lt;gor@linux.ibm.com&gt;
</content>
</entry>
<entry>
<title>s390/uaccess: use symbolic names for inline assembly operands</title>
<updated>2023-04-04T16:27:24Z</updated>
<author>
<name>Heiko Carstens</name>
</author>
<published>2023-03-24T14:00:18Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=10679e4d9848a04694eb99ec7390a6585d1b7ca9'/>
<id>urn:sha1:10679e4d9848a04694eb99ec7390a6585d1b7ca9</id>
<content type='text'>
Improve readability of the uaccess inline assemblies by using symbolic
names for all input and output operands.

Except for debug sections the output of "objdump -Dr" of the uaccess object
file is identical before/after this change.

Reviewed-by: Gerald Schaefer &lt;gerald.schaefer@linux.ibm.com&gt;
Signed-off-by: Heiko Carstens &lt;hca@linux.ibm.com&gt;
Signed-off-by: Vasily Gorbik &lt;gor@linux.ibm.com&gt;
</content>
</entry>
<entry>
<title>s390/uaccess: add missing earlyclobber annotations to __clear_user()</title>
<updated>2023-03-27T15:23:08Z</updated>
<author>
<name>Heiko Carstens</name>
</author>
<published>2023-03-23T12:09:16Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=89aba4c26fae4e459f755a18912845c348ee48f3'/>
<id>urn:sha1:89aba4c26fae4e459f755a18912845c348ee48f3</id>
<content type='text'>
Add missing earlyclobber annotation to size, to, and tmp2 operands of the
__clear_user() inline assembly since they are modified or written to before
the last usage of all input operands. This can lead to incorrect register
allocation for the inline assembly.

Fixes: 6c2a9e6df604 ("[S390] Use alternative user-copy operations for new hardware.")
Reported-by: Mark Rutland &lt;mark.rutland@arm.com&gt;
Link: https://lore.kernel.org/all/20230321122514.1743889-3-mark.rutland@arm.com/
Cc: stable@vger.kernel.org
Reviewed-by: Gerald Schaefer &lt;gerald.schaefer@linux.ibm.com&gt;
Signed-off-by: Heiko Carstens &lt;hca@linux.ibm.com&gt;
Signed-off-by: Vasily Gorbik &lt;gor@linux.ibm.com&gt;
</content>
</entry>
</feed>
