<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/net/wwan, branch linux-5.14.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.14.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.14.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2021-08-26T18:08:32Z</updated>
<entry>
<title>Revert "net: really fix the build..."</title>
<updated>2021-08-26T18:08:32Z</updated>
<author>
<name>Kalle Valo</name>
</author>
<published>2021-08-26T17:28:16Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9ebc2758d0bbed951511d1709be0717178ec2660'/>
<id>urn:sha1:9ebc2758d0bbed951511d1709be0717178ec2660</id>
<content type='text'>
This reverts commit ce78ffa3ef1681065ba451cfd545da6126f5ca88.

Wren and Nicolas reported that ath11k was failing to initialise QCA6390
Wi-Fi 6 device with error:

qcom_mhi_qrtr: probe of mhi0_IPCR failed with error -22

Commit ce78ffa3ef16 ("net: really fix the build..."), introduced in
v5.14-rc5, caused this regression in qrtr. Most likely all ath11k
devices are broken, but I only tested QCA6390. Let's revert the broken
commit so that ath11k works again.

Reported-by: Wren Turkal &lt;wt@penguintechs.org&gt;
Reported-by: Nicolas Schichan &lt;nschichan@freebox.fr&gt;
Signed-off-by: Kalle Valo &lt;kvalo@codeaurora.org&gt;
Link: https://lore.kernel.org/r/20210826172816.24478-1-kvalo@codeaurora.org
Signed-off-by: Jakub Kicinski &lt;kuba@kernel.org&gt;
</content>
</entry>
<entry>
<title>net: iosm: Prevent underflow in ipc_chnl_cfg_get()</title>
<updated>2021-08-16T12:40:18Z</updated>
<author>
<name>Dan Carpenter</name>
</author>
<published>2021-08-16T11:13:33Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4f3f2e3fa0431b93745b110da1c365806c5acce3'/>
<id>urn:sha1:4f3f2e3fa0431b93745b110da1c365806c5acce3</id>
<content type='text'>
The bounds check on "index" doesn't catch negative values.  Using
ARRAY_SIZE() directly is more readable and more robust because it prevents
negative values for "index".  Fortunately we only pass valid values to
ipc_chnl_cfg_get() so this patch does not affect runtime.

Reported-by: Solomon Ucko &lt;solly.ucko@gmail.com&gt;
Signed-off-by: Dan Carpenter &lt;dan.carpenter@oracle.com&gt;
Reviewed-by: M Chetan Kumar &lt;m.chetan.kumar@intel.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>wwan: core: Avoid returning NULL from wwan_create_dev()</title>
<updated>2021-08-12T16:53:02Z</updated>
<author>
<name>Andy Shevchenko</name>
</author>
<published>2021-08-11T12:48:45Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d9d5b8961284b0051726e0fcda91d1e297e087f5'/>
<id>urn:sha1:d9d5b8961284b0051726e0fcda91d1e297e087f5</id>
<content type='text'>
Make wwan_create_dev() to return either valid or error pointer,
In some cases it may return NULL. Prevent this by converting
it to the respective error pointer.

Fixes: 9a44c1cc6388 ("net: Add a WWAN subsystem")
Signed-off-by: Andy Shevchenko &lt;andriy.shevchenko@linux.intel.com&gt;
Acked-by: Sergey Ryazanov &lt;ryazanov.s.a@gmail.com&gt;
Reviewed-by: Loic Poulain &lt;loic.poulain@linaro.org&gt;
Link: https://lore.kernel.org/r/20210811124845.10955-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Jakub Kicinski &lt;kuba@kernel.org&gt;
</content>
</entry>
<entry>
<title>net: wwan: mhi_wwan_ctrl: Fix possible deadlock</title>
<updated>2021-08-07T08:35:48Z</updated>
<author>
<name>Loic Poulain</name>
</author>
<published>2021-08-06T10:35:09Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=34737e1320db6d51f0d140d5c684b9eb32f0da76'/>
<id>urn:sha1:34737e1320db6d51f0d140d5c684b9eb32f0da76</id>
<content type='text'>
Lockdep detected possible interrupt unsafe locking scenario:

        CPU0                    CPU1
        ----                    ----
   lock(&amp;mhiwwan-&gt;rx_lock);
                               local_irq_disable();
                               lock(&amp;mhi_cntrl-&gt;pm_lock);
                               lock(&amp;mhiwwan-&gt;rx_lock);
   &lt;Interrupt&gt;
     lock(&amp;mhi_cntrl-&gt;pm_lock);

  *** DEADLOCK ***

To prevent this we need to disable the soft-interrupts when taking
the rx_lock.

Cc: stable@vger.kernel.org
Fixes: fa588eba632d ("net: Add Qcom WWAN control driver")
Reported-by: Thomas Perrot &lt;thomas.perrot@bootlin.com&gt;
Signed-off-by: Loic Poulain &lt;loic.poulain@linaro.org&gt;
Reviewed-by: Sergey Ryazanov &lt;ryazanov.s.a@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net: wwan: iosm: fix recursive lock acquire in unregister</title>
<updated>2021-08-05T10:28:55Z</updated>
<author>
<name>M Chetan Kumar</name>
</author>
<published>2021-08-04T16:09:52Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=679505baaaabed98359c1dfb78f81600e299af21'/>
<id>urn:sha1:679505baaaabed98359c1dfb78f81600e299af21</id>
<content type='text'>
Calling unregister_netdevice() inside wwan del link is trying to
acquire the held lock in ndo_stop_cb(). Instead, queue net dev to
be unregistered later.

Signed-off-by: M Chetan Kumar &lt;m.chetan.kumar@linux.intel.com&gt;
Reviewed-by: Loic Poulain &lt;loic.poulain@linaro.org&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net: wwan: iosm: correct data protocol mask bit</title>
<updated>2021-08-05T10:28:55Z</updated>
<author>
<name>M Chetan Kumar</name>
</author>
<published>2021-08-04T16:09:51Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c98f5220e9703db2d73b4e89c07879dc61eeab14'/>
<id>urn:sha1:c98f5220e9703db2d73b4e89c07879dc61eeab14</id>
<content type='text'>
Correct ul/dl data protocol mask bit to know which protocol capability
does device implement.

Signed-off-by: M Chetan Kumar &lt;m.chetan.kumar@linux.intel.com&gt;
Reviewed-by: Loic Poulain &lt;loic.poulain@linaro.org&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net: wwan: iosm: endianness type correction</title>
<updated>2021-08-05T10:28:55Z</updated>
<author>
<name>M Chetan Kumar</name>
</author>
<published>2021-08-04T16:09:50Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b46c5795d641b759eb0f001ab21852fe5df5ef92'/>
<id>urn:sha1:b46c5795d641b759eb0f001ab21852fe5df5ef92</id>
<content type='text'>
Endianness type correction for nr_of_bytes. This field is exchanged
as part of host-device protocol communication.

Signed-off-by: M Chetan Kumar &lt;m.chetan.kumar@linux.intel.com&gt;
Reviewed-by: Loic Poulain &lt;loic.poulain@linaro.org&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net: wwan: iosm: fix lkp buildbot warning</title>
<updated>2021-08-05T10:28:55Z</updated>
<author>
<name>M Chetan Kumar</name>
</author>
<published>2021-08-04T16:09:49Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=5a7c1b2a5bb4461967b15f3484a0ff75d3199719'/>
<id>urn:sha1:5a7c1b2a5bb4461967b15f3484a0ff75d3199719</id>
<content type='text'>
Correct td buffer type casting &amp; format specifier to fix lkp buildbot
warning.

Reported-by: kernel test robot &lt;lkp@intel.com&gt;
Signed-off-by: M Chetan Kumar &lt;m.chetan.kumar@linux.intel.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net: really fix the build...</title>
<updated>2021-08-03T10:14:03Z</updated>
<author>
<name>David S. Miller</name>
</author>
<published>2021-08-03T10:14:03Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ce78ffa3ef1681065ba451cfd545da6126f5ca88'/>
<id>urn:sha1:ce78ffa3ef1681065ba451cfd545da6126f5ca88</id>
<content type='text'>
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>wwan: core: Fix missing RTM_NEWLINK event for default link</title>
<updated>2021-07-23T16:14:00Z</updated>
<author>
<name>Loic Poulain</name>
</author>
<published>2021-07-22T18:21:05Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=68d1f1d4af188c290087958c75c7b89a816e1137'/>
<id>urn:sha1:68d1f1d4af188c290087958c75c7b89a816e1137</id>
<content type='text'>
A wwan link created via the wwan_create_default_link procedure is
never notified to the user (RTM_NEWLINK), causing issues with user
tools relying on such event to track network links (NetworkManager).

This is because the procedure misses a call to rtnl_configure_link(),
which sets the link as initialized and notifies the new link (cf
proper usage in __rtnl_newlink()).

Cc: stable@vger.kernel.org
Fixes: ca374290aaad ("wwan: core: support default netdev creation")
Suggested-by: Sergey Ryazanov &lt;ryazanov.s.a@gmail.com&gt;
Signed-off-by: Loic Poulain &lt;loic.poulain@linaro.org&gt;
Acked-by: Sergey Ryazanov &lt;ryazanov.s.a@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
</feed>
