<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/dma/qcom/hidma.c, branch linux-6.3.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-6.3.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-6.3.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2022-11-17T14:15:20Z</updated>
<entry>
<title>genirq: Get rid of GENERIC_MSI_IRQ_DOMAIN</title>
<updated>2022-11-17T14:15:20Z</updated>
<author>
<name>Thomas Gleixner</name>
</author>
<published>2022-11-11T13:54:40Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=13e7accb81d6c07993385af8342238ff22b41ac8'/>
<id>urn:sha1:13e7accb81d6c07993385af8342238ff22b41ac8</id>
<content type='text'>
Adjust to reality and remove another layer of pointless Kconfig
indirection. CONFIG_GENERIC_MSI_IRQ is good enough to serve
all purposes.

Signed-off-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;
Reviewed-by: Jason Gunthorpe &lt;jgg@nvidia.com&gt;
Link: https://lore.kernel.org/r/20221111122014.524842979@linutronix.de

</content>
</entry>
<entry>
<title>dmaengine: hidma: In hidma_prep_dma_memset treat value as a single byte</title>
<updated>2022-04-20T11:58:12Z</updated>
<author>
<name>Ben Walker</name>
</author>
<published>2022-03-01T18:25:51Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=643a4a85b0bc7efeb5732fb4563c43c77ba0c6ac'/>
<id>urn:sha1:643a4a85b0bc7efeb5732fb4563c43c77ba0c6ac</id>
<content type='text'>
The value parameter is a single byte, so duplicate it to the 8 byte
range that is used as the pattern.

Signed-off-by: Ben Walker &lt;benjamin.walker@intel.com&gt;
Cc: Sinan Kaya &lt;okaya@kernel.org&gt;
Link: https://lore.kernel.org/r/20220301182551.883474-5-benjamin.walker@intel.com
Signed-off-by: Vinod Koul &lt;vkoul@kernel.org&gt;
</content>
</entry>
<entry>
<title>dmaengine: qcom_hidma: Remove useless DMA-32 fallback configuration</title>
<updated>2022-03-11T09:53:23Z</updated>
<author>
<name>Christophe JAILLET</name>
</author>
<published>2022-01-15T07:35:20Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8f7cc6373bbbc770e949df6dd6127e52340aafa1'/>
<id>urn:sha1:8f7cc6373bbbc770e949df6dd6127e52340aafa1</id>
<content type='text'>
As stated in [1], dma_set_mask() with a 64-bit mask never fails if
dev-&gt;dma_mask is non-NULL.
So, if it fails, the 32 bits case will also fail for the same reason.

Simplify code and remove some dead code accordingly.

[1]: https://lore.kernel.org/linux-kernel/YL3vSPK5DXTNvgdx@infradead.org/#t

Signed-off-by: Christophe JAILLET &lt;christophe.jaillet@wanadoo.fr&gt;
Link: https://lore.kernel.org/r/4deb32b0c7838da66608022c584326eb01d0da03.1642232106.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Vinod Koul &lt;vkoul@kernel.org&gt;
</content>
</entry>
<entry>
<title>dmaengine: qcom_hidma: Cleanup MSI handling</title>
<updated>2021-12-16T21:16:42Z</updated>
<author>
<name>Thomas Gleixner</name>
</author>
<published>2021-12-10T22:19:37Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1900c962e2dcfacec894558eb34971bdc9c67443'/>
<id>urn:sha1:1900c962e2dcfacec894558eb34971bdc9c67443</id>
<content type='text'>
There is no reason to walk the MSI descriptors to retrieve the interrupt
number for a device. Use msi_get_virq() instead.

Signed-off-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;
Reviewed-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
Reviewed-by: Jason Gunthorpe &lt;jgg@nvidia.com&gt;
Acked-by: Sinan Kaya &lt;okaya@kernel.org&gt;
Acked-by: Vinod Koul &lt;vkoul@kernel.org&gt;
Link: https://lore.kernel.org/r/20211210221815.329792721@linutronix.de

</content>
</entry>
<entry>
<title>platform-msi: Use msi_desc::msi_index</title>
<updated>2021-12-16T21:16:40Z</updated>
<author>
<name>Thomas Gleixner</name>
</author>
<published>2021-12-10T22:19:14Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=dba27c7fa36f468e7eb29b216879f8c33bf0955d'/>
<id>urn:sha1:dba27c7fa36f468e7eb29b216879f8c33bf0955d</id>
<content type='text'>
Use the common msi_index member and get rid of the pointless wrapper struct.

Signed-off-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;
Tested-by: Nishanth Menon &lt;nm@ti.com&gt;
Reviewed-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
Reviewed-by: Jason Gunthorpe &lt;jgg@nvidia.com&gt;
Link: https://lore.kernel.org/r/20211210221814.413638645@linutronix.de

</content>
</entry>
<entry>
<title>dmaengine: qcom_hidma: remove unused code</title>
<updated>2021-04-12T11:44:09Z</updated>
<author>
<name>Jiapeng Chong</name>
</author>
<published>2021-04-01T09:53:36Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ee1bf567c90df6fd04a3c31acb0995cb13f62c48'/>
<id>urn:sha1:ee1bf567c90df6fd04a3c31acb0995cb13f62c48</id>
<content type='text'>
Fix the following clang warning:

drivers/dma/qcom/hidma.c:94:20: warning: unused function 'to_hidma_desc'
[-Wunused-function].

Reported-by: Abaci Robot &lt;abaci@linux.alibaba.com&gt;
Signed-off-by: Jiapeng Chong &lt;jiapeng.chong@linux.alibaba.com&gt;
Link: https://lore.kernel.org/r/1617270816-36400-1-git-send-email-jiapeng.chong@linux.alibaba.com
Signed-off-by: Vinod Koul &lt;vkoul@kernel.org&gt;
</content>
</entry>
<entry>
<title>dmaengine: qcom: convert tasklets to use new tasklet_setup() API</title>
<updated>2020-09-18T06:49:07Z</updated>
<author>
<name>Allen Pais</name>
</author>
<published>2020-08-31T10:35:29Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=00c4747a2f64d8d8f7db10127b394e915b20a7f4'/>
<id>urn:sha1:00c4747a2f64d8d8f7db10127b394e915b20a7f4</id>
<content type='text'>
In preparation for unconditionally passing the
struct tasklet_struct pointer to all tasklet
callbacks, switch to using the new tasklet_setup()
and from_tasklet() to pass the tasklet pointer explicitly.

Signed-off-by: Romain Perier &lt;romain.perier@gmail.com&gt;
Signed-off-by: Allen Pais &lt;allen.lkml@gmail.com&gt;
Link: https://lore.kernel.org/r/20200831103542.305571-23-allen.lkml@gmail.com
Signed-off-by: Vinod Koul &lt;vkoul@kernel.org&gt;
</content>
</entry>
<entry>
<title>dmaengine: qcom_hidma: use true,false for bool variable</title>
<updated>2020-05-13T11:36:32Z</updated>
<author>
<name>Jason Yan</name>
</author>
<published>2020-05-04T11:34:06Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d24224dea57108f96d13579f20206c339bb8e52f'/>
<id>urn:sha1:d24224dea57108f96d13579f20206c339bb8e52f</id>
<content type='text'>
Fix the following coccicheck warning:

drivers/dma/qcom/hidma.c:553:1-17: WARNING: Assignment of 0/1 to bool
variable

Signed-off-by: Jason Yan &lt;yanaijie@huawei.com&gt;
Acked By: Sinan Kaya &lt;okaya@kernel.org&gt;
Link: https://lore.kernel.org/r/20200504113406.41530-1-yanaijie@huawei.com
Signed-off-by: Vinod Koul &lt;vkoul@kernel.org&gt;
</content>
</entry>
<entry>
<title>dmaengine: qcom_hidma: Simplify error handling path in hidma_probe</title>
<updated>2020-04-27T16:08:29Z</updated>
<author>
<name>Christophe JAILLET</name>
</author>
<published>2020-04-27T11:10:43Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=920c5974f0d3aff91b5751e7568b54752fb5d6da'/>
<id>urn:sha1:920c5974f0d3aff91b5751e7568b54752fb5d6da</id>
<content type='text'>
There is no need to call 'hidma_debug_uninit()' in the error handling
path. 'hidma_debug_init()' has not been called yet.

Signed-off-by: Christophe JAILLET &lt;christophe.jaillet@wanadoo.fr&gt;
Link: https://lore.kernel.org/r/20200427111043.70218-1-christophe.jaillet@wanadoo.fr
Signed-off-by: Vinod Koul &lt;vkoul@kernel.org&gt;
</content>
</entry>
<entry>
<title>dmaengine: qcom_hidma: assign channel cookie correctly</title>
<updated>2019-01-20T05:13:34Z</updated>
<author>
<name>Shunyong Yang</name>
</author>
<published>2019-01-07T01:34:02Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=546c0547555efca8ba8c120716c325435e29df1b'/>
<id>urn:sha1:546c0547555efca8ba8c120716c325435e29df1b</id>
<content type='text'>
When dma_cookie_complete() is called in hidma_process_completed(),
dma_cookie_status() will return DMA_COMPLETE in hidma_tx_status(). Then,
hidma_txn_is_success() will be called to use channel cookie
mchan-&gt;last_success to do additional DMA status check. Current code
assigns mchan-&gt;last_success after dma_cookie_complete(). This causes
a race condition of dma_cookie_status() returns DMA_COMPLETE before
mchan-&gt;last_success is assigned correctly. The race will cause
hidma_tx_status() return DMA_ERROR but the transaction is actually a
success. Moreover, in async_tx case, it will cause a timeout panic
in async_tx_quiesce().

 Kernel panic - not syncing: async_tx_quiesce: DMA error waiting for
 transaction
 ...
 Call trace:
 [&lt;ffff000008089994&gt;] dump_backtrace+0x0/0x1f4
 [&lt;ffff000008089bac&gt;] show_stack+0x24/0x2c
 [&lt;ffff00000891e198&gt;] dump_stack+0x84/0xa8
 [&lt;ffff0000080da544&gt;] panic+0x12c/0x29c
 [&lt;ffff0000045d0334&gt;] async_tx_quiesce+0xa4/0xc8 [async_tx]
 [&lt;ffff0000045d03c8&gt;] async_trigger_callback+0x70/0x1c0 [async_tx]
 [&lt;ffff0000048b7d74&gt;] raid_run_ops+0x86c/0x1540 [raid456]
 [&lt;ffff0000048bd084&gt;] handle_stripe+0x5e8/0x1c7c [raid456]
 [&lt;ffff0000048be9ec&gt;] handle_active_stripes.isra.45+0x2d4/0x550 [raid456]
 [&lt;ffff0000048beff4&gt;] raid5d+0x38c/0x5d0 [raid456]
 [&lt;ffff000008736538&gt;] md_thread+0x108/0x168
 [&lt;ffff0000080fb1cc&gt;] kthread+0x10c/0x138
 [&lt;ffff000008084d34&gt;] ret_from_fork+0x10/0x18

Cc: Joey Zheng &lt;yu.zheng@hxt-semitech.com&gt;
Reviewed-by: Sinan Kaya &lt;okaya@kernel.org&gt;
Signed-off-by: Shunyong Yang &lt;shunyong.yang@hxt-semitech.com&gt;
Signed-off-by: Vinod Koul &lt;vkoul@kernel.org&gt;
</content>
</entry>
</feed>
