Lucas De Marchi
d12d31cd5b
usb: early: xhci-dbc: Fix early_ioremap leak
[ Upstream commit 2b7eec2ec3015f52fc74cf45d0408925e984ecd1 ]
Using the kernel param earlyprintk=xdbc,keep without proper hardware
setup leads to this:
[ ] xhci_dbc:early_xdbc_parse_parameter: dbgp_num: 0
...
[ ] xhci_dbc:early_xdbc_setup_hardware: failed to setup the connection to host
...
[ ] calling kmemleak_late_init+0x0/0xa0 @ 1
[ ] kmemleak: Kernel memory leak detector initialized (mem pool available: 14919)
[ ] kmemleak: Automatic memory scanning thread started
[ ] initcall kmemleak_late_init+0x0/0xa0 returned 0 after 417 usecs
[ ] calling check_early_ioremap_leak+0x0/0x70 @ 1
[ ] ------------[ cut here ]------------
[ ] Debug warning: early ioremap leak of 1 areas detected.
please boot with early_ioremap_debug and report the dmesg.
[ ] WARNING: CPU: 11 PID: 1 at mm/early_ioremap.c:90 check_early_ioremap_leak+0x4e/0x70
When early_xdbc_setup_hardware() fails, make sure to call
early_iounmap() since xdbc_init() won't handle it.
Signed-off-by: Lucas De Marchi <[email protected]>
Fixes: aeb9dd1de9 ("usb/early: Add driver for xhci debug capability")
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Signed-off-by: Sasha Levin <[email protected]>
|
2025-08-28 16:21:19 +02:00 |
| .. |
|
atm
|
usb: atm: cxacru: fix a flaw in existing endpoint checks
|
2025-03-13 12:43:31 +01:00 |
|
c67x00
|
|
|
|
cdns3
|
usb: cdns3: Fix deadlock when using NCM gadget
|
2025-05-02 07:39:27 +02:00 |
|
chipidea
|
usb: chipidea: add USB PHY event
|
2025-08-28 16:21:18 +02:00 |
|
class
|
usb: cdc-wdm: avoid setting WDM_READ for ZLP-s
|
2025-07-17 18:24:50 +02:00 |
|
common
|
|
|
|
core
|
usb: hub: Fix flushing and scheduling of delayed work that tunes runtime pm
|
2025-08-28 16:21:17 +02:00 |
|
dwc2
|
usb: dwc2: gadget: remove of_node reference upon udc_stop
|
2025-03-13 12:43:14 +01:00 |
|
dwc3
|
usb: dwc3: qcom: Don't leave BCR asserted
|
2025-08-28 16:21:16 +02:00 |
|
early
|
usb: early: xhci-dbc: Fix early_ioremap leak
|
2025-08-28 16:21:19 +02:00 |
|
gadget
|
usb: gadget: configfs: Fix OOB read on empty string write
|
2025-08-28 16:21:13 +02:00 |
|
host
|
xhci: Disable stream for xHC controller with XHCI_BROKEN_STREAMS
|
2025-08-28 16:21:17 +02:00 |
|
image
|
|
|
|
isp1760
|
|
|
|
misc
|
USB: chaoskey: Fix possible deadlock chaoskey_list_lock
|
2024-12-14 19:44:34 +01:00 |
|
mon
|
|
|
|
mtu3
|
|
|
|
musb
|
usb: musb: fix gadget state on disconnect
|
2025-08-28 16:21:16 +02:00 |
|
phy
|
usb: phy: mxs: disconnect line when USB charger is attached
|
2025-08-28 16:21:18 +02:00 |
|
renesas_usbhs
|
usb: renesas_usbhs: Reorder clock handling and power management in probe
|
2025-06-27 11:02:48 +01:00 |
|
roles
|
usb: roles: set switch registered flag early on
|
2025-03-13 12:43:14 +01:00 |
|
serial
|
USB: serial: ftdi_sio: add support for NDI EMGUIDE GEMINI
|
2025-08-28 16:21:13 +02:00 |
|
storage
|
usb: storage: Ignore UAS driver for SanDisk 3.2 Gen2 storage device
|
2025-06-27 11:02:44 +01:00 |
|
typec
|
usb: typec: displayport: Fix potential deadlock
|
2025-07-17 18:25:00 +02:00 |
|
usbip
|
usbip: Don't submit special requests twice
|
2024-09-12 11:03:50 +02:00 |
|
Kconfig
|
|
|
|
Makefile
|
|
|
|
usb-skeleton.c
|
|
|