<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/s390/net/qeth_core_sys.c, branch master</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=master</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2025-11-24T10:45:21Z</updated>
<entry>
<title>s390: Remove KMSG_COMPONENT macro</title>
<updated>2025-11-24T10:45:21Z</updated>
<author>
<name>Heiko Carstens</name>
</author>
<published>2025-11-20T15:30:53Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c3d17464f0262c9e3c156d4c6306e32cf530fa47'/>
<id>urn:sha1:c3d17464f0262c9e3c156d4c6306e32cf530fa47</id>
<content type='text'>
The KMSG_COMPONENT macro is a leftover of the s390 specific "kernel
message catalog" which never made it upstream.

Remove the macro in order to get rid of a pointless indirection. Replace
all users with the string it defines. In almost all cases this leads to a
simple replacement like this:

 - #define KMSG_COMPONENT "appldata"
 - #define pr_fmt(fmt) KMSG_COMPONENT ": " fmt
 + #define pr_fmt(fmt) "appldata: " fmt

Except for some special cases this is just mechanical/scripted work.

Acked-by: Thomas Richter &lt;tmricht@linux.ibm.com&gt;
Signed-off-by: Heiko Carstens &lt;hca@linux.ibm.com&gt;
</content>
</entry>
<entry>
<title>s390/qeth: Make hw_trap sysfs attribute idempotent</title>
<updated>2025-07-22T00:46:13Z</updated>
<author>
<name>Aswin Karuvally</name>
</author>
<published>2025-07-18T14:17:11Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1b02c861714bf28814926d1fcb3c5594de960757'/>
<id>urn:sha1:1b02c861714bf28814926d1fcb3c5594de960757</id>
<content type='text'>
Update qeth driver to allow writing an existing value to the "hw_trap"
sysfs attribute. Attempting such a write earlier resulted in -EINVAL.
In other words, make the sysfs attribute idempotent.

After:
    $ cat hw_trap
    disarm
    $ echo disarm &gt; hw_trap
    $

Suggested-by: Alexandra Winter &lt;wintera@linux.ibm.com&gt;
Signed-off-by: Aswin Karuvally &lt;aswin@linux.ibm.com&gt;
Reviewed-by: Alexandra Winter &lt;wintera@linux.ibm.com&gt;
Signed-off-by: Alexandra Winter &lt;wintera@linux.ibm.com&gt;
Reviewed-by: Simon Horman &lt;horms@kernel.org&gt;
Link: https://patch.msgid.link/20250718141711.1141049-1-wintera@linux.ibm.com
Signed-off-by: Jakub Kicinski &lt;kuba@kernel.org&gt;
</content>
</entry>
<entry>
<title>s390/qeth: Convert sysfs sprintf to sysfs_emit</title>
<updated>2023-02-11T03:49:53Z</updated>
<author>
<name>Thorsten Winkler</name>
</author>
<published>2023-02-09T11:04:23Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=dde8769b12110b7f636053bb70febfe25a9502c0'/>
<id>urn:sha1:dde8769b12110b7f636053bb70febfe25a9502c0</id>
<content type='text'>
Following the advice of the Documentation/filesystems/sysfs.rst.
All sysfs related show()-functions should only use sysfs_emit() or
sysfs_emit_at() when formatting the value to be returned to user space.

Reported-by: Jules Irenge &lt;jbi.octave@gmail.com&gt;
Reported-by: Joe Perches &lt;joe@perches.com&gt;
Reviewed-by: Alexandra Winter &lt;wintera@linux.ibm.com&gt;
Signed-off-by: Thorsten Winkler &lt;twinkler@linux.ibm.com&gt;
Signed-off-by: Alexandra Winter &lt;wintera@linux.ibm.com&gt;
Reviewed-by: Simon Horman &lt;simon.horman@corigine.com&gt;
Signed-off-by: Jakub Kicinski &lt;kuba@kernel.org&gt;
</content>
</entry>
<entry>
<title>s390/qeth: convert sysfs snprintf to sysfs_emit</title>
<updated>2022-12-28T12:10:42Z</updated>
<author>
<name>Xuezhi Zhang</name>
</author>
<published>2022-12-27T11:03:52Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c2052189f19bd98c80b5d46dc6e42330d2b3b35d'/>
<id>urn:sha1:c2052189f19bd98c80b5d46dc6e42330d2b3b35d</id>
<content type='text'>
Follow the advice of the Documentation/filesystems/sysfs.rst
and show() should only use sysfs_emit() or sysfs_emit_at()
when formatting the value to be returned to user space.

Signed-off-by: Xuezhi Zhang &lt;zhangxuezhi1@coolpad.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>s390/qeth: remove OSN support</title>
<updated>2021-07-20T13:17:06Z</updated>
<author>
<name>Julian Wiedmann</name>
</author>
<published>2021-07-20T06:38:47Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a8c7629c622b7cfa219c9edddd4f30833c330997'/>
<id>urn:sha1:a8c7629c622b7cfa219c9edddd4f30833c330997</id>
<content type='text'>
Commit fb64de1bc36c ("s390/qeth: phase out OSN support") spelled out
why the OSN support in qeth is in a bad shape, and put any remaining
interested parties on notice to speak up before it gets ripped out.

It's 2021 now, so make true on that promise and remove all the
OSN-specific parts from qeth. This also means that we no longer need to
export various parts of the cmd &amp; data path internals to the L2 driver.

Signed-off-by: Julian Wiedmann &lt;jwi@linux.ibm.com&gt;
Reviewed-by: Alexandra Winter &lt;wintera@linux.ibm.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>s390/qeth: clean up load/remove code for disciplines</title>
<updated>2021-01-29T04:35:57Z</updated>
<author>
<name>Julian Wiedmann</name>
</author>
<published>2021-01-28T11:25:47Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ea12f1b3c8289102620d3030de3547eedce6d9e8'/>
<id>urn:sha1:ea12f1b3c8289102620d3030de3547eedce6d9e8</id>
<content type='text'>
We have two usage patterns:
1. get &amp; -&gt;setup() a new discipline, or
2. -&gt;remove() &amp; put the currently loaded one.

Add corresponding helpers that hide the internals &amp; error handling.

Signed-off-by: Julian Wiedmann &lt;jwi@linux.ibm.com&gt;
Reviewed-by: Alexandra Winter &lt;wintera@linux.ibm.com&gt;
Acked-by: Willem de Bruijn &lt;willemb@google.com&gt;
Signed-off-by: Jakub Kicinski &lt;kuba@kernel.org&gt;
</content>
</entry>
<entry>
<title>s390/qeth: use dev-&gt;groups for common sysfs attributes</title>
<updated>2020-12-07T14:55:21Z</updated>
<author>
<name>Julian Wiedmann</name>
</author>
<published>2020-12-07T13:12:30Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=0b8da8110b4fa3314a060e5c5a3b35a22b81e900'/>
<id>urn:sha1:0b8da8110b4fa3314a060e5c5a3b35a22b81e900</id>
<content type='text'>
All qeth devices have a minimum set of sysfs attributes, and non-OSN
devices share a group of additional attributes. Depending on whether
the device is forced to use a specific discipline, the device_type then
specifies further attributes.

Shift the common attributes into dev-&gt;groups, so that the device_type
only contains the discipline-specific attributes. This avoids exposing
the common attributes to the disciplines, and nicely cleans up our
sysfs code.

While replacing the qeth_l*_*_device_attributes() helpers, switch from
sysfs_*_groups() to the more generic device_*_groups().

Signed-off-by: Julian Wiedmann &lt;jwi@linux.ibm.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>s390/qeth: use netdev_name()</title>
<updated>2020-10-02T23:22:49Z</updated>
<author>
<name>Julian Wiedmann</name>
</author>
<published>2020-10-01T17:11:34Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=84c91482eec419726ab6743d97816084a3e815cc'/>
<id>urn:sha1:84c91482eec419726ab6743d97816084a3e815cc</id>
<content type='text'>
Replace our custom version of netdev_name().

Once we started to allocate the netdev at probe time with
commit d3d1b205e89f ("s390/qeth: allocate netdevice early"), this
stopped working as intended anyway.

Signed-off-by: Julian Wiedmann &lt;jwi@linux.ibm.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>s390/qeth: allow configuration of TX queues for OSA devices</title>
<updated>2020-10-02T23:22:49Z</updated>
<author>
<name>Julian Wiedmann</name>
</author>
<published>2020-10-01T17:11:32Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=949bbf4d2db873a6c229a43d816d9f8152b31704'/>
<id>urn:sha1:949bbf4d2db873a6c229a43d816d9f8152b31704</id>
<content type='text'>
For OSA devices that are _not_ configured in prio-queue mode, give users
the option of selecting the number of active TX queues.
This requires setting up the HW queues with a reasonable default QoS
value in the QIB's PQUE parm area.

As with the other device types, we bring up the device with a minimal
number of TX queues for compatibility reasons.

Signed-off-by: Julian Wiedmann &lt;jwi@linux.ibm.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>s390/qeth: replace deprecated simple_stroul()</title>
<updated>2020-09-23T19:07:54Z</updated>
<author>
<name>Julian Wiedmann</name>
</author>
<published>2020-09-23T08:36:55Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ab29c480b19465a5174ea8eddfa1bd42becf72c9'/>
<id>urn:sha1:ab29c480b19465a5174ea8eddfa1bd42becf72c9</id>
<content type='text'>
Convert the remaining occurences in sysfs code to kstrtouint().

While at it move some input parsing out of locked sections, replace an
open-coded clamp() and remove some unnecessary run-time checks for
ipatoe-&gt;mask_bits that are already enforced when creating the object.

Signed-off-by: Julian Wiedmann &lt;jwi@linux.ibm.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
</feed>
