<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/net/wireless/intersil/orinoco, branch linux-5.18.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.18.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.18.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2021-10-20T09:39:42Z</updated>
<entry>
<title>wireless: use eth_hw_addr_set()</title>
<updated>2021-10-20T09:39:42Z</updated>
<author>
<name>Jakub Kicinski</name>
</author>
<published>2021-10-18T23:50:07Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=708884e7f7f3adb00ddb32d1c1a772d30bf86747'/>
<id>urn:sha1:708884e7f7f3adb00ddb32d1c1a772d30bf86747</id>
<content type='text'>
Convert all WiFi drivers from memcpy(... ETH_ADDR)
to eth_hw_addr_set():

  @@
  expression dev, np;
  @@
  - memcpy(dev-&gt;dev_addr, np, ETH_ALEN)
  + eth_hw_addr_set(dev, np)

Signed-off-by: Jakub Kicinski &lt;kuba@kernel.org&gt;
Signed-off-by: Kalle Valo &lt;kvalo@codeaurora.org&gt;
Link: https://lore.kernel.org/r/20211018235021.1279697-2-kuba@kernel.org
</content>
</entry>
<entry>
<title>isystem: trim/fixup stdarg.h and other headers</title>
<updated>2021-08-19T00:02:55Z</updated>
<author>
<name>Alexey Dobriyan</name>
</author>
<published>2021-08-02T20:40:31Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=39f75da7bcc829ddc4d40bb60d0e95520de7898b'/>
<id>urn:sha1:39f75da7bcc829ddc4d40bb60d0e95520de7898b</id>
<content type='text'>
Delete/fixup few includes in anticipation of global -isystem compile
option removal.

Note: crypto/aegis128-neon-inner.c keeps &lt;stddef.h&gt; due to redefinition
of uintptr_t error (one definition comes from &lt;stddef.h&gt;, another from
&lt;linux/types.h&gt;).

Signed-off-by: Alexey Dobriyan &lt;adobriyan@gmail.com&gt;
Signed-off-by: Masahiro Yamada &lt;masahiroy@kernel.org&gt;
</content>
</entry>
<entry>
<title>orinoco: Avoid field-overflowing memcpy()</title>
<updated>2021-06-22T15:23:35Z</updated>
<author>
<name>Kees Cook</name>
</author>
<published>2021-06-16T20:39:51Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=70ca8441ebfc4412dc9d3c56409e73dba959ab34'/>
<id>urn:sha1:70ca8441ebfc4412dc9d3c56409e73dba959ab34</id>
<content type='text'>
In preparation for FORTIFY_SOURCE performing compile-time and run-time
field bounds checking for memcpy(), memmove(), and memset(), avoid
intentionally writing across neighboring array fields.

Validate the expected key size and introduce a wrapping structure
to use as the multi-field memcpy() destination so that overflows
can be correctly detected.

Signed-off-by: Kees Cook &lt;keescook@chromium.org&gt;
Signed-off-by: Kalle Valo &lt;kvalo@codeaurora.org&gt;
Link: https://lore.kernel.org/r/20210616203952.1248910-1-keescook@chromium.org
</content>
</entry>
<entry>
<title>treewide: remove editor modelines and cruft</title>
<updated>2021-05-07T07:26:34Z</updated>
<author>
<name>Masahiro Yamada</name>
</author>
<published>2021-05-07T01:06:44Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=fa60ce2cb4506701c43bd4cf3ca23d970daf1b9c'/>
<id>urn:sha1:fa60ce2cb4506701c43bd4cf3ca23d970daf1b9c</id>
<content type='text'>
The section "19) Editor modelines and other cruft" in
Documentation/process/coding-style.rst clearly says, "Do not include any
of these in source files."

I recently receive a patch to explicitly add a new one.

Let's do treewide cleanups, otherwise some people follow the existing code
and attempt to upstream their favoriate editor setups.

It is even nicer if scripts/checkpatch.pl can check it.

If we like to impose coding style in an editor-independent manner, I think
editorconfig (patch [1]) is a saner solution.

[1] https://lore.kernel.org/lkml/20200703073143.423557-1-danny@kdrag0n.dev/

Link: https://lkml.kernel.org/r/20210324054457.1477489-1-masahiroy@kernel.org
Signed-off-by: Masahiro Yamada &lt;masahiroy@kernel.org&gt;
Acked-by: Geert Uytterhoeven &lt;geert@linux-m68k.org&gt;
Reviewed-by: Miguel Ojeda &lt;ojeda@kernel.org&gt;	[auxdisplay]
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>orinoco: Annotate ezusb_read_ltv()</title>
<updated>2020-11-24T15:01:19Z</updated>
<author>
<name>Sebastian Andrzej Siewior</name>
</author>
<published>2020-11-13T21:22:52Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a3d8a2599d47164a52af0d8ae2b50e60d41b2d75'/>
<id>urn:sha1:a3d8a2599d47164a52af0d8ae2b50e60d41b2d75</id>
<content type='text'>
ezusb_read_ltv() is always invoked via the -&gt;read_ltv() callback. This
callback is mostly invoked under orinoco_lock() which disables BH.

There are a few invocations during probe which occur in preemptible
context via:
   ezusb_probe() -&gt; orinoco_init() -&gt; determine_fw_capabilities()

Extend `hermes_ops' with the -&gt;read_ltv_pr callback which is implemented
with the same callback like -&gt;read_ltv on `hermes_ops_local'.
On `ezusb_ops' -&gt;read_ltv is used for callbacks under the lock which
need to poll.
The new -&gt;read_ltv_pr() is used in the preemptible context in which it
is possible to wait for the completion. Provide HERMES_READ_RECORD_PR()
and hermes_read_wordrec_pr() which behave like their non _pr equivalents
and invoke -&gt;read_ltv_pr().

This removes the last user of ezusb_req_ctx_wait() and can now be
removed.

Signed-off-by: Sebastian Andrzej Siewior &lt;bigeasy@linutronix.de&gt;
Signed-off-by: Kalle Valo &lt;kvalo@codeaurora.org&gt;
Link: https://lore.kernel.org/r/20201113212252.2243570-11-bigeasy@linutronix.de
</content>
</entry>
<entry>
<title>orinoco: Annotate ezusb_docmd_wait()</title>
<updated>2020-11-24T15:01:18Z</updated>
<author>
<name>Sebastian Andrzej Siewior</name>
</author>
<published>2020-11-13T21:22:51Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a9a2678abacbcae902b4fb4bc5585a621099cc06'/>
<id>urn:sha1:a9a2678abacbcae902b4fb4bc5585a621099cc06</id>
<content type='text'>
All invocations of ezusb_docmd_wait() happen via -&gt;cmd_wait(). This
callback is always invoked under the orinoco_lock() which disables BH.

Use ezusb_req_ctx_wait_poll() for ezusb_docmd_wait() because it must not
sleep.

Signed-off-by: Sebastian Andrzej Siewior &lt;bigeasy@linutronix.de&gt;
Signed-off-by: Kalle Valo &lt;kvalo@codeaurora.org&gt;
Link: https://lore.kernel.org/r/20201113212252.2243570-10-bigeasy@linutronix.de
</content>
</entry>
<entry>
<title>orinoco: Remove ezusb_doicmd_wait()</title>
<updated>2020-11-24T15:01:16Z</updated>
<author>
<name>Sebastian Andrzej Siewior</name>
</author>
<published>2020-11-13T21:22:50Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=47ab2a951eb9bdd532f3db89f64445058e37de34'/>
<id>urn:sha1:47ab2a951eb9bdd532f3db89f64445058e37de34</id>
<content type='text'>
ezusb_doicmd_wait() is invoked via -&gt;init_cmd_wait() callback.
This callback is only invoked hermesi_program_init() and
hermesi_program_end() which are the -&gt;program_init() and -&gt;program_end()
callbacks as assigned by `hermes_ops_local'. They are never used by the
USB interface since the USB interface provides its own set of callbacks
by `ezusb_ops'.

Replace ezusb_doicmd_wait() with a warning in case I missed the obvious.

Signed-off-by: Sebastian Andrzej Siewior &lt;bigeasy@linutronix.de&gt;
Signed-off-by: Kalle Valo &lt;kvalo@codeaurora.org&gt;
Link: https://lore.kernel.org/r/20201113212252.2243570-9-bigeasy@linutronix.de
</content>
</entry>
<entry>
<title>orinoco: Annotate ezusb_write_ltv()</title>
<updated>2020-11-24T15:01:15Z</updated>
<author>
<name>Sebastian Andrzej Siewior</name>
</author>
<published>2020-11-13T21:22:49Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=39628fe48cb36b89955eb78e9247eb674155bc59'/>
<id>urn:sha1:39628fe48cb36b89955eb78e9247eb674155bc59</id>
<content type='text'>
All invocation of ezusb_write_ltv() happen via -&gt;write_ltv() and are
performed under the orinoco_lock() which disables BH.

Use ezusb_req_ctx_wait_poll() for ezusb_write_ltv() because it must not
sleep.

Signed-off-by: Sebastian Andrzej Siewior &lt;bigeasy@linutronix.de&gt;
Signed-off-by: Kalle Valo &lt;kvalo@codeaurora.org&gt;
Link: https://lore.kernel.org/r/20201113212252.2243570-8-bigeasy@linutronix.de
</content>
</entry>
<entry>
<title>orinoco: Annotate ezusb_read_pda()</title>
<updated>2020-11-24T15:01:13Z</updated>
<author>
<name>Sebastian Andrzej Siewior</name>
</author>
<published>2020-11-13T21:22:48Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=154f2bae9bed3b07c4f328739361d9317122d199'/>
<id>urn:sha1:154f2bae9bed3b07c4f328739361d9317122d199</id>
<content type='text'>
ezusb_read_pda() is invoked via -&gt;read_pda() while firmware is loaded in
preemtible context.

Use ezusb_req_ctx_wait_compl() in ezusb_read_pda().

Signed-off-by: Sebastian Andrzej Siewior &lt;bigeasy@linutronix.de&gt;
Signed-off-by: Kalle Valo &lt;kvalo@codeaurora.org&gt;
Link: https://lore.kernel.org/r/20201113212252.2243570-7-bigeasy@linutronix.de
</content>
</entry>
<entry>
<title>orinoco: Annotate firmware loading</title>
<updated>2020-11-24T15:01:12Z</updated>
<author>
<name>Sebastian Andrzej Siewior</name>
</author>
<published>2020-11-13T21:22:47Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=69476b25a4bac1186e9b6f091d5e3e9377a01f43'/>
<id>urn:sha1:69476b25a4bac1186e9b6f091d5e3e9377a01f43</id>
<content type='text'>
The ezusb_program() is invoked via -&gt;program() in preemptible
context during firmware loading. This is also true for the
-&gt;program_init() and -&gt;program_end() callback.

Use ezusb_req_ctx_wait_compl() in ezusb_program_init(),
ezusb_program_bytes(), ezusb_program_end() which are part of firmware
loading during device probe.

Signed-off-by: Sebastian Andrzej Siewior &lt;bigeasy@linutronix.de&gt;
Signed-off-by: Kalle Valo &lt;kvalo@codeaurora.org&gt;
Link: https://lore.kernel.org/r/20201113212252.2243570-6-bigeasy@linutronix.de
</content>
</entry>
</feed>
