linux/drivers/usb
Sven Peter 8404a1b1f5 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 13:55:23 +01:00
..
atm usb: atm: cxacru: Merge cxacru_upload_firmware() into cxacru_heavy_init() 2025-08-28 16:30:54 +02:00
c67x00 USB: c67x00: Remove unused declaration c67x00_hcd_msg_received() 2023-10-02 16:42:33 +02:00
cdns3 usb: cdns3: Fix double resource release in cdns3_pci_probe 2025-12-07 06:25:00 +09:00
chipidea usb: chipidea: udc: disconnect/reconnect from host when do suspend/resume 2025-07-10 16:05:11 +02:00
class cdc-acm: fix race between initial clearing halt and open 2025-08-20 18:30:52 +02:00
common usb: common: usb-conn-gpio: use a unique name for usb connector device 2025-07-06 11:01:35 +02:00
core USB: Fix descriptor count when handling invalid MBIM extended descriptor 2025-12-18 13:54:40 +01:00
dwc2 usb: dwc2: fix hang during suspend if set as peripheral 2025-12-18 13:55:04 +01:00
dwc3 usb: dwc3: dwc3_power_off_all_roothub_ports: Use ioremap_np when required 2025-12-18 13:55:23 +01:00
early usb: early: xhci-dbc: Fix early_ioremap leak 2025-08-15 12:13:36 +02:00
fotg210 move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
gadget usb: gadget: tegra-xudc: Always reinitialize data toggle when clear halt 2025-12-18 13:55:22 +01:00
host xhci: dbgtty: fix device unregister 2025-12-07 06:25:01 +09:00
image scsi: core: Add a dma_alignment field to the host and host template 2024-04-11 21:37:48 -04:00
isp1760 move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
misc usb: chaoskey: fix locking for O_NONBLOCK 2025-12-18 13:55:04 +01:00
mon usb: mon: Increase BUFF_MAX to 64 MiB to support multi-MB URBs 2025-11-13 15:34:26 -05:00
mtu3 tracing/treewide: Remove second parameter of __assign_str() 2024-05-22 20:14:47 -04:00
musb usb: musb: omap2430: fix device leak at unbind 2025-08-28 16:30:54 +02:00
phy usb: phy: Initialize struct usb_phy list_head 2025-12-18 13:55:23 +01:00
renesas_usbhs usb: renesas_usbhs: Fix synchronous external abort on unbind 2025-12-07 06:25:00 +09:00
roles usb: roles: set switch registered flag early on 2025-02-21 14:01:30 +01:00
serial USB: serial: kobil_sct: fix TIOCMBIS and TIOCMBIC 2025-12-12 18:37:19 +01:00
storage usb: uas: fix urb unmapping issue when the uas device is remove during ongoing data transfer 2025-12-07 06:25:00 +09:00
typec usb: typec: ucsi: psy: Set max current to zero when disconnected 2025-12-07 06:25:02 +09:00
usbip usb: vhci-hcd: Prevent suspending virtually attached devices 2025-10-15 12:00:16 +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