<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/usb/cdns3, branch linux-5.17.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.17.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.17.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2022-05-09T07:16:14Z</updated>
<entry>
<title>usb: cdns3: Fix issue for clear halt endpoint</title>
<updated>2022-05-09T07:16:14Z</updated>
<author>
<name>Pawel Laszczak</name>
</author>
<published>2022-03-29T08:46:05Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=685edaf177be54220c00884f9f723387de001cb4'/>
<id>urn:sha1:685edaf177be54220c00884f9f723387de001cb4</id>
<content type='text'>
commit b3fa25de31fb7e9afebe9599b8ff32eda13d7c94 upstream.

Path fixes bug which occurs during resetting endpoint in
__cdns3_gadget_ep_clear_halt function. During resetting endpoint
controller will change HW/DMA owned TRB. It set Abort flag in
trb-&gt;control and will change trb-&gt;length field. If driver want
to use the aborted trb it must update the changed field in
TRB.

Fixes: 7733f6c32e36 ("usb: cdns3: Add Cadence USB3 DRD Driver")
cc: &lt;stable@vger.kernel.org&gt;
Acked-by: Peter Chen &lt;peter.chen@kernel.org&gt;
Signed-off-by: Pawel Laszczak &lt;pawell@cadence.com&gt;
Link: https://lore.kernel.org/r/20220329084605.4022-1-pawell@cadence.com
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>usb: cdnsp: fix cdnsp_decode_trb function to properly handle ret value</title>
<updated>2022-04-13T17:27:09Z</updated>
<author>
<name>Pawel Laszczak</name>
</author>
<published>2022-01-12T05:32:37Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=185918644ec10a6308e892ee6880e292971321b7'/>
<id>urn:sha1:185918644ec10a6308e892ee6880e292971321b7</id>
<content type='text'>
[ Upstream commit 03db9289b5ab59437e42a111a34545a7cedb5190 ]

Variable ret in function cdnsp_decode_trb is initialized but not
used. To fix this compiler warning patch adds checking whether the
data buffer has not been overflowed.

Reported-by: kernel test robot &lt;lkp@intel.com&gt;
Signed-off-by: Pawel Laszczak &lt;pawell@cadence.com&gt;
Link: https://lore.kernel.org/r/20220112053237.14309-1-pawell@gli-login.cadence.com
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
Signed-off-by: Sasha Levin &lt;sashal@kernel.org&gt;
</content>
</entry>
<entry>
<title>usb: cdnsp: Fix segmentation fault in cdns_lost_power function</title>
<updated>2022-01-26T13:11:16Z</updated>
<author>
<name>Pawel Laszczak</name>
</author>
<published>2022-01-11T09:07:37Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=79aa3e19fe8f5be30e846df8a436bfe306e8b1a6'/>
<id>urn:sha1:79aa3e19fe8f5be30e846df8a436bfe306e8b1a6</id>
<content type='text'>
CDNSP driver read not initialized cdns-&gt;otg_v0_regs
which lead to segmentation fault. Patch fixes this issue.

Fixes: 2cf2581cd229 ("usb: cdns3: add power lost support for system resume")
cc: &lt;stable@vger.kernel.org&gt;
Signed-off-by: Pawel Laszczak &lt;pawell@cadence.com&gt;
Link: https://lore.kernel.org/r/20220111090737.10345-1-pawell@gli-login.cadence.com
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>headers/prep: Fix non-standard header section: drivers/usb/cdns3/core.h</title>
<updated>2022-01-05T15:17:31Z</updated>
<author>
<name>Ingo Molnar</name>
</author>
<published>2021-09-07T17:00:27Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=cd33707d0fd1b65c419f30816dd7f8123472caab'/>
<id>urn:sha1:cd33707d0fd1b65c419f30816dd7f8123472caab</id>
<content type='text'>
Signed-off-by: Ingo Molnar &lt;mingo@kernel.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>usb: cdns3: Use platform_get_irq_byname() to get the interrupt</title>
<updated>2021-12-21T07:51:57Z</updated>
<author>
<name>Lad Prabhakar</name>
</author>
<published>2021-12-20T01:04:10Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=78e17d69999521b52b9db9656e9b9b397f59f228'/>
<id>urn:sha1:78e17d69999521b52b9db9656e9b9b397f59f228</id>
<content type='text'>
platform_get_resource_byname(pdev, IORESOURCE_IRQ, ..) relies on static
allocation of IRQ resources in DT core code, this causes an issue
when using hierarchical interrupt domains using "interrupts" property
in the node as this bypasses the hierarchical setup and messes up the
irq chaining.

In preparation for removal of static setup of IRQ resource from DT core
code use platform_get_irq_byname().

Reviewed-by: Roger Quadros &lt;rogerq@kernel.org&gt;
Signed-off-by: Lad Prabhakar &lt;prabhakar.mahadev-lad.rj@bp.renesas.com&gt;
Link: https://lore.kernel.org/r/20211220010411.12075-6-prabhakar.mahadev-lad.rj@bp.renesas.com
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>Merge 5.16-rc6 into usb-next</title>
<updated>2021-12-20T08:58:10Z</updated>
<author>
<name>Greg Kroah-Hartman</name>
</author>
<published>2021-12-20T08:58:10Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=236c9ad1f87088bb07ebdd136b8432f83dfd1e14'/>
<id>urn:sha1:236c9ad1f87088bb07ebdd136b8432f83dfd1e14</id>
<content type='text'>
We need the USB fixes in here as well.

Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>usb: cdnsp: Fix lack of spin_lock_irqsave/spin_lock_restore</title>
<updated>2021-12-15T22:44:31Z</updated>
<author>
<name>Pawel Laszczak</name>
</author>
<published>2021-12-14T04:55:27Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4c4e162d9cf38528c4f13df09d5755cbc06f6c77'/>
<id>urn:sha1:4c4e162d9cf38528c4f13df09d5755cbc06f6c77</id>
<content type='text'>
Patch puts content of cdnsp_gadget_pullup function inside
spin_lock_irqsave and spin_lock_restore section.
This construction is required here to keep the data consistency,
otherwise some data can be changed e.g. from interrupt context.

Fixes: 3d82904559f4 ("usb: cdnsp: cdns3 Add main part of Cadence USBSSP DRD Driver")
Reported-by: Ken (Jian) He &lt;jianhe@ambarella.com&gt;
cc: &lt;stable@vger.kernel.org&gt;
Signed-off-by: Pawel Laszczak &lt;pawell@cadence.com&gt;
--

Changelog:
v2:
- added disable_irq/enable_irq as sugester by Peter Chen

drivers/usb/cdns3/cdnsp-gadget.c | 12 ++++++++++++
 1 file changed, 12 insertions(+)

Reviewed-by: Peter Chen &lt;peter.chen@kernel.org&gt;
Link: https://lore.kernel.org/r/20211214045527.26823-1-pawell@gli-login.cadence.com
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>usb: cdnsp: Fix incorrect status for control request</title>
<updated>2021-12-13T14:23:42Z</updated>
<author>
<name>Pawel Laszczak</name>
</author>
<published>2021-12-07T09:18:38Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=99ea221f2e2f2743314e348b25c1e2574b467528'/>
<id>urn:sha1:99ea221f2e2f2743314e348b25c1e2574b467528</id>
<content type='text'>
Patch fixes incorrect status for control request.
Without this fix all usb_request objects were returned to upper drivers
with usb_reqest-&gt;status field set to -EINPROGRESS.

Fixes: 3d82904559f4 ("usb: cdnsp: cdns3 Add main part of Cadence USBSSP DRD Driver")
cc: &lt;stable@vger.kernel.org&gt;
Reported-by: Ken (Jian) He &lt;jianhe@ambarella.com&gt;
Reviewed-by: Peter Chen &lt;peter.chen@kernel.org&gt;
Signed-off-by: Pawel Laszczak &lt;pawell@cadence.com&gt;
Link: https://lore.kernel.org/r/20211207091838.39572-1-pawell@gli-login.cadence.com
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>usb: cdnsp: Fix issue in cdnsp_log_ep trace event</title>
<updated>2021-12-13T14:23:24Z</updated>
<author>
<name>Pawel Laszczak</name>
</author>
<published>2021-12-13T05:06:09Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=50931ba27d1665c8b038cd1d16c5869301f32fd6'/>
<id>urn:sha1:50931ba27d1665c8b038cd1d16c5869301f32fd6</id>
<content type='text'>
Patch fixes incorrect order of __entry-&gt;stream_id and __entry-&gt;state
parameters in TP_printk macro.

Fixes: 3d82904559f4 ("usb: cdnsp: cdns3 Add main part of Cadence USBSSP DRD Driver")
cc: &lt;stable@vger.kernel.org&gt;
Reviewed-by: Peter Chen &lt;peter.chen@kernel.org&gt;
Signed-off-by: Pawel Laszczak &lt;pawell@cadence.com&gt;
Link: https://lore.kernel.org/r/20211213050609.22640-1-pawell@gli-login.cadence.com
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>usb: cdnsp: Fix incorrect calling of cdnsp_died function</title>
<updated>2021-12-13T14:23:19Z</updated>
<author>
<name>Pawel Laszczak</name>
</author>
<published>2021-12-10T11:29:45Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=16f00d969afe60e233c1a91af7ac840df60d3536'/>
<id>urn:sha1:16f00d969afe60e233c1a91af7ac840df60d3536</id>
<content type='text'>
Patch restrict calling of cdnsp_died function during removing modules
or software disconnect.
This function was called because after transition controller to HALT
state the driver starts handling the deferred interrupt.
In this case such interrupt can be simple ignored.

Fixes: 3d82904559f4 ("usb: cdnsp: cdns3 Add main part of Cadence USBSSP DRD Driver")
cc: &lt;stable@vger.kernel.org&gt;
Reviewed-by: Peter Chen &lt;peter.chen@kernel.org&gt;
Signed-off-by: Pawel Laszczak &lt;pawell@cadence.com&gt;
Link: https://lore.kernel.org/r/20211210112945.660-1-pawell@gli-login.cadence.com
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
</feed>
