linux/drivers/usb
Sven Peter d6d0caff73 usb: dwc3: dwc3_power_off_all_roothub_ports: Use ioremap_np when required
commit 5ed9cc7143 upstream.

On Apple Silicon machines we can't use ioremap() / Device-nGnRE to map most
regions but must use ioremap_np() / Device-nGnRnE whenever
IORESOURCE_MEM_NONPOSTED is set. Make sure this is also done inside
dwc3_power_off_all_roothub_ports to prevent SErrors.

Fixes: 2d2a334952 ("usb: dwc3: Add workaround for host mode VBUS glitch when boot")
Cc: stable@kernel.org
Acked-by: Thinh Nguyen <Thinh.Nguyen@synopsys.com>
Reviewed-by: Neal Gompa <neal@gompa.dev>
Signed-off-by: Sven Peter <sven@kernel.org>
Link: https://patch.msgid.link/20251015-b4-aplpe-dwc3-v2-2-cbd65a2d511a@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
History 2025-12-18 14:03:42 +01:00
..
atm usb: atm: cxacru: Merge cxacru_upload_firmware() into cxacru_heavy_init() 2025-07-24 11:33:31 +02:00
c67x00 usb: Switch back to struct platform_driver::remove() 2024-10-04 15:13:03 +02:00
cdns3 usb: cdns3: Fix double resource release in cdns3_pci_probe 2025-10-28 15:46:16 +01:00
chipidea usb: chipidea: imx: improve usbmisc_imx7d_pullup() 2025-08-13 17:19:10 +02:00
class usb: usblp: Use min_t() to improve usblp_read() 2025-09-06 15:20:22 +02:00
common usb: common: usb-conn-gpio: use a unique name for usb connector device 2025-04-11 16:08:34 +02:00
core USB: Fix descriptor count when handling invalid MBIM extended descriptor 2025-12-18 14:02:27 +01:00
dwc2 usb: dwc2: fix hang during suspend if set as peripheral 2025-12-18 14:03:10 +01:00
dwc3 usb: dwc3: dwc3_power_off_all_roothub_ports: Use ioremap_np when required 2025-12-18 14:03:42 +01:00
early usb: early: xhci-dbc: Fix early_ioremap leak 2025-07-07 11:04:46 +02:00
fotg210 usb: fotg210-hcd: Switch to use hrtimer_setup() 2025-02-18 11:19:02 +01:00
gadget usb: gadget: tegra-xudc: Always reinitialize data toggle when clear halt 2025-12-18 14:03:41 +01:00
host xhci: dbgtty: fix device unregister 2025-11-21 15:15:39 +01:00
image scsi: Rename .slave_alloc() and .slave_destroy() 2024-12-04 15:34:28 -05:00
isp1760 treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
misc usb: chaoskey: fix locking for O_NONBLOCK 2025-12-18 14:03:10 +01:00
mon usb: mon: Increase BUFF_MAX to 64 MiB to support multi-MB URBs 2025-09-17 12:40:05 +02:00
mtu3 Driver core and debugfs updates 2025-01-28 12:25:12 -08:00
musb usb: musb: dsps: use platform_get_irq_byname_optional() for vbus IRQ 2025-09-06 15:22:20 +02:00
phy usb: phy: Initialize struct usb_phy list_head 2025-12-18 14:03:42 +01:00
renesas_usbhs usb: renesas_usbhs: Fix synchronous external abort on unbind 2025-10-28 15:45:22 +01:00
roles usb: roles: set switch registered flag early on 2025-02-14 09:26:25 +01:00
serial USB: serial: kobil_sct: fix TIOCMBIS and TIOCMBIC 2025-12-12 18:42:46 +01:00
storage USB: storage: Remove subclass and protocol overrides from Novatek quirk 2025-11-22 14:01:30 +01:00
typec usb: typec: ucsi: fix use-after-free caused by uec->work 2025-12-18 14:03:42 +01:00
usbip usb: vhci-hcd: Prevent suspending virtually attached devices 2025-09-25 18:52:32 +02:00
Kconfig usb: pci-quirks: handle HAS_IOPORT dependency for AMD quirk 2023-10-02 16:19:12 +02:00
Makefile USB: xen-hcd: Traverse host/ when CONFIG_USB_XEN_HCD is selected 2024-06-04 15:33:38 +02:00
usb-skeleton.c usb: add usb_set_intfdata() documentation 2022-11-29 08:56:09 +01:00