twx-linux/drivers
Andy Shevchenko a7f9991e4e usb: dwc3: gadget: Avoid using reserved endpoints on Intel Merrifield
[ Upstream commit 461f24bff86808ee5fbfe74751a825f8a7ab24e0 ]

Intel Merrifield SoC uses these endpoints for tracing and they cannot
be re-allocated if being used because the side band flow control signals
are hard wired to certain endpoints:

• 1 High BW Bulk IN (IN#1) (RTIT)
• 1 1KB BW Bulk IN (IN#8) + 1 1KB BW Bulk OUT (Run Control) (OUT#8)

In device mode, since RTIT (EP#1) and EXI/RunControl (EP#8) uses
External Buffer Control (EBC) mode, these endpoints are to be mapped to
EBC mode (to be done by EXI target driver). Additionally TRB for RTIT
and EXI are maintained in STM (System Trace Module) unit and the EXI
target driver will as well configure the TRB location for EP #1 IN
and EP#8 (IN and OUT). Since STM/PTI and EXI hardware blocks manage
these endpoints and interface to OTG3 controller through EBC interface,
there is no need to enable any events (such as XferComplete etc)
for these end points.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Tested-by: Ferry Toth <fntoth@gmail.com>
Acked-by: Thinh Nguyen <Thinh.Nguyen@synopsys.com>
Link: https://lore.kernel.org/r/20250212193116.2487289-5-andriy.shevchenko@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2025-05-02 07:50:54 +02:00
..
accel accel/qaic: Fix integer overflow in qaic_validate_req() 2025-03-28 21:59:54 +01:00
accessibility
acpi ACPI: platform-profile: Fix CFI violation when accessing sysfs files 2025-04-25 10:45:37 +02:00
amba
android
ata ata: libata-scsi: Fix ata_msense_control_ata_feature() 2025-05-02 07:50:48 +02:00
atm
auxdisplay auxdisplay: hd44780: Fix an API misuse in hd44780.c 2025-05-02 07:50:38 +02:00
base drivers: base: devres: Allow to release group on device release 2025-04-25 10:45:18 +02:00
bcma
block loop: LOOP_SET_FD: send uevents for partitions 2025-04-25 10:45:48 +02:00
bluetooth Bluetooth: vhci: Avoid needless snprintf() calls 2025-04-25 10:45:47 +02:00
bus bus: mhi: host: Fix race between unprepare and queue_buf 2025-04-25 10:45:26 +02:00
cache
cdrom
cdx cdx: Fix possible UAF error in driver_override_show() 2025-03-13 12:58:36 +01:00
char char: misc: register chrdev region with all possible minors 2025-05-02 07:50:49 +02:00
clk clk: check for disabled clock-provider in of_clk_get_hw_from_clkspec() 2025-05-02 07:50:53 +02:00
clocksource clocksource/drivers/stm32-lptimer: Use wakeup capable instead of init wakeup 2025-04-25 10:45:25 +02:00
comedi
connector
counter counter: microchip-tcb-capture: Fix undefined counter channel state on probe 2025-04-07 10:06:37 +02:00
cpufreq cpufreq: cppc: Fix invalid return value in .get() callback 2025-05-02 07:50:42 +02:00
cpuidle cpuidle: riscv-sbi: fix device node release in early exit of for_each_possible_cpu 2025-01-17 13:36:16 +01:00
crypto crypto: ccp - Add support for PCI device 0x1134 2025-05-02 07:50:52 +02:00
cxl cxl/core/regs.c: Skip Memory Space Enable check for RCD and RCH Ports 2025-05-02 07:50:47 +02:00
dax
dca
devfreq
dio
dma dmaengine: fsl-edma: cleanup chan after dma_async_device_unregister 2025-04-10 14:37:33 +02:00
dma-buf udmabuf: also check for F_SEAL_FUTURE_WRITE 2024-12-27 13:58:56 +01:00
edac EDAC/ie31200: Fix the error path order of ie31200_init() 2025-04-10 14:37:26 +02:00
eisa
extcon
firewire
firmware efi/libstub: Bump up EFI_MMAP_NR_SLACK_SLOTS to 32 2025-04-25 10:45:55 +02:00
fpga
fsi
gnss
gpio gpio: zynq: Fix wakeup source leaks on device unbind 2025-04-25 10:45:34 +02:00
gpu drm/amd/display: Force full update in gpu reset 2025-05-02 07:50:46 +02:00
greybus
hid HID: pidff: Fix null pointer dereference in pidff_find_fields 2025-04-25 10:45:12 +02:00
hsi HSI: ssi_protocol: Fix use after free vulnerability in ssi_protocol Driver Due to Race Condition 2025-04-25 10:45:38 +02:00
hte
hv Drivers: hv: vmbus: Don't release fb_mmio resource in vmbus_free_mmio() 2025-03-22 12:50:38 -07:00
hwmon hwmon: (nct6775-core) Fix out of bounds access for NCT679{8,9} 2025-04-10 14:37:38 +02:00
hwspinlock
hwtracing coresight-etm4x: add isb() before reading the TRCSTATR 2025-04-10 14:37:32 +02:00
i2c i2c: cros-ec-tunnel: defer probe if parent EC is not present 2025-04-25 10:45:47 +02:00
i3c i3c: Add NULL pointer check in i3c_master_queue_ibi() 2025-04-25 10:45:28 +02:00
idle intel_idle: Handle older CPUs, which stop the TSC in deeper C states, correctly 2025-03-07 16:45:49 +01:00
iio iio: adc: ad7768-1: Fix conversion result sign 2025-05-02 07:50:39 +02:00
infiniband RDMA/cma: Fix workqueue crash in cma_netevent_work_handler 2025-04-25 10:45:51 +02:00
input Input: i8042 - swap old quirk combination with new quirk for more devices 2025-03-22 12:50:46 -07:00
interconnect
iommu iommu/amd: Return an error if vCPU affinity is set for non-vCPU IRTE 2025-05-02 07:50:45 +02:00
ipack
irqchip irqchip/gic-v2m: Prevent use after free of gicv2m_get_fwnode() 2025-05-02 07:50:46 +02:00
isdn
leds leds: rgb: leds-qcom-lpg: Fix calculation of best period Hi-Res PWMs 2025-04-25 10:45:28 +02:00
macintosh
mailbox mailbox: pcc: Always clear the platform ack interrupt first 2025-05-02 07:50:54 +02:00
mcb mcb: fix a double free bug in chameleon_parse_gdd() 2025-05-02 07:50:47 +02:00
md md: fix mddev uaf while iterating all_mddevs list 2025-04-25 10:45:54 +02:00
media media: vimc: skip .s_stream() for stopped entities 2025-05-02 07:50:37 +02:00
memory memory: omap-gpmc: drop no compatible check 2025-04-10 14:37:38 +02:00
memstick memstick: rtsx_usb_ms: Fix slab-use-after-free in rtsx_usb_ms_drv_remove 2025-04-07 10:06:37 +02:00
message
mfd mfd: ene-kb3930: Fix a potential NULL pointer dereference 2025-04-25 10:45:28 +02:00
misc misc: microchip: pci1xxxx: Fix incorrect IRQ status handling during ack 2025-05-02 07:50:49 +02:00
mmc mmc: sdhci-msm: fix dev reference leaked through of_qcom_ice_get 2025-05-02 07:50:38 +02:00
most
mtd mtd: rawnand: Add status chack in r852_ready() 2025-04-25 10:45:29 +02:00
mux
net net: phy: microchip: force IRQ polling mode for lan88xx 2025-05-02 07:50:46 +02:00
nfc
ntb ntb: use 64-bit arithmetic for the MSI doorbell mask 2025-04-25 10:45:35 +02:00
nubus
nvdimm nvdimm: rectify the illogical code within nd_dax_probe() 2024-12-14 20:00:13 +01:00
nvme nvmet-fc: Remove unused functions 2025-04-25 10:45:57 +02:00
nvmem nvmem: imx-ocotp-ele: fix MAC address byte order 2025-02-27 04:10:47 -08:00
of of: resolver: Fix device node refcount leakage in of_resolve_phandles() 2025-05-02 07:50:41 +02:00
opp OPP: OF: Fix an OF node leak in _opp_add_static_v2() 2025-02-08 09:51:55 +01:00
parisc
parport
pci PCI: Fix reference leak in pci_register_host_bridge() 2025-05-02 07:50:41 +02:00
pcmcia
peci
perf perf: arm_pmu: Don't disable counter in armpmu_add() 2025-04-25 10:45:10 +02:00
phy phy: freescale: imx8m-pcie: assert phy reset and perst in power off 2025-04-25 10:45:36 +02:00
pinctrl pinctrl: renesas: rza2: Fix potential NULL pointer dereference 2025-05-02 07:50:52 +02:00
platform asus-laptop: Fix an uninitialized variable 2025-04-25 10:45:46 +02:00
pmdomain pmdomain: imx8mp-blk-ctrl: add missing loop break condition 2025-01-23 17:21:17 +01:00
pnp
power power: supply: max77693: Fix wrong conversion of charge input threshold value 2025-04-10 14:37:31 +02:00
powercap powercap: call put_device() on an error path in powercap_register_control_type() 2025-03-22 12:50:40 -07:00
pps pps: Fix a use-after-free 2025-02-08 09:52:38 +01:00
ps3
ptp ptp: ocp: fix start time alignment in ptp_ocp_signal_set 2025-04-25 10:45:44 +02:00
pwm pwm: fsl-ftm: Handle clk_get_rate() returning 0 2025-04-25 10:45:21 +02:00
rapidio rapidio: fix an API misues when rio_add_net() fails 2025-03-13 12:58:27 +01:00
ras
regulator regulator: check that dummy regulator has been probed before using it 2025-03-28 21:59:54 +01:00
remoteproc remoteproc: qcom_q6v5_mss: Handle platforms with one power domain 2025-04-10 14:37:31 +02:00
reset reset: starfive: jh71x0: Fix accessing the empty member on JH7110 SoC 2025-04-07 10:06:36 +02:00
rpmsg
rtc rtc: zynqmp: Fix optional clock name property 2025-02-17 09:40:41 +01:00
s390 s390/tty: Fix a potential memory leak bug 2025-05-02 07:50:53 +02:00
sbus
scsi scsi: Improve CDL control 2025-05-02 07:50:48 +02:00
sh
siox
slimbus slimbus: messaging: Free transaction ID in delayed interrupt scenario 2025-03-13 12:58:37 +01:00
soc soc: qcom: ice: introduce devm_of_qcom_ice_get 2025-05-02 07:50:37 +02:00
soundwire soundwire: slave: fix an OF node reference leak in soundwire slave device 2025-04-10 14:37:32 +02:00
spi spi: cadence-qspi: Fix probe on AM62A LP SK 2025-04-25 10:45:23 +02:00
spmi
ssb
staging staging: rtl8723bs: select CONFIG_CRYPTO_LIB_AES 2025-04-10 14:37:34 +02:00
target scsi: target: spc: Fix RSOC parameter data header size 2025-04-25 10:45:14 +02:00
tc
tee tee: optee: Fix supplicant wait loop 2025-02-27 04:10:51 -08:00
thermal thermal/drivers/rockchip: Add missing rk3328 mapping entry 2025-04-25 10:45:32 +02:00
thunderbolt thunderbolt: Don't display nvm_version unless upgrade supported 2025-01-09 13:31:49 +01:00
tty serial: sifive: lock port in startup()/shutdown() callbacks 2025-05-02 07:50:49 +02:00
ufs scsi: ufs: mcq: Add NULL check in ufshcd_mcq_abort() 2025-05-02 07:50:42 +02:00
uio
usb usb: dwc3: gadget: Avoid using reserved endpoints on Intel Merrifield 2025-05-02 07:50:54 +02:00
vdpa vdpa/mlx5: Fix oversized null mkey longer than 32bit 2025-04-25 10:45:27 +02:00
vfio Revert "vfio/platform: check the bounds of read/write syscalls" 2025-02-21 13:57:27 +01:00
vhost vhost-scsi: Fix handling of multiple calls to vhost_scsi_set_endpoint 2025-04-10 14:37:32 +02:00
video backlight: led_bl: Hold led_access lock when calling led_sysfs_disable() 2025-04-25 10:45:30 +02:00
virt drivers: virt: acrn: hsm: Use kzalloc to avoid info leak in pmcmd_ioctl 2025-03-13 12:58:37 +01:00
virtio
vlynq
w1
watchdog watchdog: rti_wdt: Fix an OF node leak in rti_wdt_probe() 2025-02-08 09:52:25 +01:00
xen x86/xen: fix balloon target initialization for PVH dom0 2025-04-25 10:45:32 +02:00
zorro
Kconfig
Makefile