linux/drivers
Vidya Sagar 74ce81de32 PCI: tegra194: Disable direct speed change for Endpoint mode
[ Upstream commit 976f6763f5 ]

Pre-silicon simulation showed the controller operating in Endpoint mode
initiating link speed change after completing Secondary Bus Reset. Ideally,
the Root Port or the Switch Downstream Port should initiate the link speed
change post SBR, not the Endpoint.

So, as per the hardware team recommendation, disable direct speed change
for the Endpoint mode to prevent it from initiating speed change after the
physical layer link is up at Gen1, leaving speed change ownership with the
host.

Fixes: c57247f940 ("PCI: tegra: Add support for PCIe endpoint mode in Tegra194")
Signed-off-by: Vidya Sagar <vidyas@nvidia.com>
Signed-off-by: Manikanta Maddireddy <mmaddireddy@nvidia.com>
[mani: commit log]
Signed-off-by: Manivannan Sadhasivam <mani@kernel.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Tested-by: Jon Hunter <jonathanh@nvidia.com>
Reviewed-by: Jon Hunter <jonathanh@nvidia.com>
Reviewed-by: Vidya Sagar <vidyas@nvidia.com>
Link: https://patch.msgid.link/20260324190755.1094879-8-mmaddireddy@nvidia.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
History 2026-06-01 17:35:32 +02:00
..
accessibility speakup: Fix sizeof() vs ARRAY_SIZE() bug 2024-06-16 13:39:11 +02:00
acpi ACPI: video: force native backlight on HP OMEN 16 (8A44) 2026-06-01 17:35:19 +02:00
amba amba: tegra-ahb: Fix device leak on SMMU enable 2026-01-19 13:09:54 +01:00
android binder: don't use %pK through printk 2026-03-04 07:20:16 -05:00
ata ata: ahci: force 32-bit DMA for JMicron JMB582/JMB585 2026-06-01 17:35:01 +02:00
atm atm: fore200e: fix use-after-free in tasklets during device removal 2026-03-04 07:20:36 -05:00
auxdisplay auxdisplay: arm-charlcd: fix release_mem_region() size 2026-03-04 07:19:20 -05:00
base devres: fix missing node debug info in devm_krealloc() 2026-06-01 17:35:27 +02:00
bcma Driver core update for 5.15-rc1 2021-09-01 08:44:42 -07:00
block drbd: Balance RCU calls in drbd_adm_dump_devices() 2026-06-01 17:35:27 +02:00
bluetooth Bluetooth: hci_ldisc: Clear HCI_UART_PROTO_INIT on error 2026-06-01 17:35:29 +02:00
bus fsl-mc: Use driver_set_override() instead of open-coding 2026-06-01 17:35:05 +02:00
cdrom scsi: sr: cdrom: Move cdrom_read_cdda_bpc() into the sr driver 2021-07-30 22:13:09 -04:00
char ipmi:ssif: NULL thread on error 2026-06-01 17:35:20 +02:00
clk clk: tegra: tegra124-emc: fix device leak on set_rate() 2026-04-18 10:33:07 +02:00
clocksource clocksource/drivers/timer-integrator-ap: Add missing Kconfig dependency on OF 2026-03-04 07:20:00 -05:00
comedi comedi: me4000: Fix potential overrun of firmware buffer 2026-04-18 10:33:34 +02:00
connector net/connector: Add const qualifier to cb_id 2020-12-16 11:06:49 -08:00
counter counter: interrupt-cnt: Drop IRQF_NO_THREAD flag 2026-01-19 13:10:18 +01:00
cpufreq cpufreq: governor: fix double free in cpufreq_dbs_governor_init() error path 2026-06-01 17:35:11 +02:00
cpuidle cpuidle: powerpc: avoid double clear when breaking snooze 2026-06-01 17:35:22 +02:00
crypto crypto: atmel-tdes - fix DMA sync direction 2026-06-01 17:35:18 +02:00
cxl cxl/mem: Fix shutdown order 2023-11-20 11:08:27 +01:00
dax dax/kmem: Pass valid argument to memory_group_register_static 2023-07-23 13:47:17 +02:00
dca dca: Use PTR_ERR_OR_ZERO() to simplify code 2020-05-15 16:25:20 +02:00
devfreq PM / devfreq: governor: Replace sscanf() with kstrtoul() in set_freq_store() 2025-08-28 16:24:17 +02:00
dio drivers: dio: fix possible memory leak in dio_init() 2022-12-31 13:14:27 +01:00
dma dmaengine: mmp_pdma: Fix race condition in mmp_pdma_residue() 2026-06-01 17:35:09 +02:00
dma-buf dma-buf: insert memory barrier before updating num_fences 2025-09-09 18:50:23 +02:00
edac EDAC/i5400: Fix snprintf() limit calculation in calculate_dimm_size() 2026-03-04 07:19:27 -05:00
eisa EISA: use DEVICE_ATTR_RO() helper macro 2021-06-04 15:28:34 +02:00
extcon extcon: ptn5150: handle pending IRQ events during system resume 2026-06-01 17:35:22 +02:00
firewire firewire: nosy: Fix dma_free_coherent() size 2026-01-19 13:09:57 +01:00
firmware pmdomain: imx: scu-pd: Fix device_node reference leak during ->probe() 2026-06-01 17:35:31 +02:00
fpga fpga: dfl: use subsys_initcall to allow built-in drivers to be added 2026-03-04 07:20:25 -05:00
fsi fsi: aspeed: Reset master errors after CFAM reset 2023-09-19 12:22:46 +02:00
gnss treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
gpio gpio: tegra: fix irq_release_resources calling enable instead of disable 2026-06-01 17:35:03 +02:00
gpu drm/msm/a6xx: Use barriers while updating HFI Q headers 2026-06-01 17:35:31 +02:00
greybus greybus: Fix use-after-free bug in gb_interface_release due to race condition. 2024-07-05 09:14:23 +02:00
hid HID: core: clamp report_size in s32ton() to avoid undefined shift 2026-06-01 17:35:04 +02:00
hsi HSI: ssi_protocol: Fix use after free vulnerability in ssi_protocol Driver Due to Race Condition 2025-05-02 07:44:06 +02:00
hv Drivers: hv: vmbus: Add utility function for querying ring size 2025-07-10 15:57:36 +02:00
hwmon hwmon: (corsair-psu) Close HID device on probe errors 2026-06-01 17:35:22 +02:00
hwspinlock hwspinlock: Introduce hwspin_lock_bust() 2024-09-12 11:07:41 +02:00
hwtracing coresight: etm3x: Fix cpulocked warning on cpuhp 2026-03-04 07:19:46 -05:00
i2c i2c: s3c24xx: check the size of the SMBUS message before using it 2026-06-01 17:35:04 +02:00
i3c i3c: fix uninitialized variable use in i2c setup 2026-06-01 17:35:03 +02:00
idle intel_idle: Allow loading ACPI tables for any family 2025-08-28 16:24:16 +02:00
iio iio: adc: ad7768-1: fix one-shot mode data acquisition 2026-06-01 17:35:15 +02:00
infiniband RDMA/vmw_pvrdma: Fix double free on pvrdma_alloc_ucontext() error path 2026-06-01 17:35:24 +02:00
input Input: uinput - take event lock when submitting FF request "event" 2026-04-18 10:33:35 +02:00
interconnect interconnect: qcom: sc7280: Add missing num_links to xm_pcie3_1 node 2025-08-28 16:24:03 +02:00
iommu iommu: fix a reference count leak in iommu_sva_bind_device() 2026-06-01 17:35:12 +02:00
ipack ipack: ipoctal: fix module reference leak 2021-09-27 17:38:49 +02:00
irqchip irqchip/irq-pic32-evic: Address warning related to wrong printf() formatter 2026-06-01 17:35:27 +02:00
isdn mISDN: annotate data-race around dev->work 2026-02-06 16:41:55 +01:00
leds leds: led-class: Only Add LED to leds_list when it is fully ready 2026-02-06 16:41:56 +01:00
macintosh macintosh/mac_hid: fix race condition in mac_hid_toggle_emumouse 2026-01-19 13:09:28 +01:00
mailbox mailbox: Prevent out-of-bounds access in of_mbox_index_xlate() 2026-06-01 17:35:09 +02:00
mcb mcb: fix a double free bug in chameleon_parse_gdd() 2025-05-02 07:44:31 +02:00
md dm init: ensure device probing has finished in dm-mod.waitfor= 2026-06-01 17:35:30 +02:00
media media: i2c: imx412: Assert reset GPIO during probe 2026-06-01 17:35:25 +02:00
memory memory: mtk-smi: fix device leak on larb probe 2026-04-18 10:33:06 +02:00
memstick memstick: Add timeout to prevent indefinite waiting 2025-12-07 06:09:16 +09:00
message scsi: fusion: Remove unused variable 'rc' 2024-12-14 19:51:02 +01:00
mfd mfd: omap-usb-host: Fix OF populate on driver rebind 2026-04-18 10:33:07 +02:00
misc ibmasm: fix heap over-read in ibmasm_send_i2o_message() 2026-06-01 17:35:13 +02:00
mmc mmc: block: use single block write in retry 2026-06-01 17:35:16 +02:00
most most: usb: fix double free on late probe failure 2025-12-07 06:09:35 +09:00
mtd mtd: docg3: fix use-after-free in docg3_release() 2026-06-01 17:35:17 +02:00
mux mux: gpio: Simplify code by using dev_err_probe() 2021-04-02 16:28:53 +02:00
net net: phy: qcom: at803x: Use the correct bit to disable extended next page 2026-06-01 17:35:29 +02:00
nfc nfc: s3fwrn5: allocate rx skb before consuming bytes 2026-06-01 17:35:02 +02:00
ntb NTB: ntb_transport: Fix too small buffer for debugfs_name 2026-03-04 07:20:37 -05:00
nubus nubus: Partially revert proc_create_single_data() conversion 2023-07-05 18:25:05 +01:00
nvdimm nvdimm/bus: Fix potential use after free in asynchronous initialization 2026-04-18 10:33:17 +02:00
nvme nvmet: avoid recursive nvmet-wq flush in nvmet_ctrl_free 2026-06-01 17:35:23 +02:00
nvmem nvmem: core: improve range check for nvmem_cell_write() 2025-03-13 12:50:32 +01:00
of device property: Make modifications of fwnode "flags" thread safe 2026-06-01 17:35:13 +02:00
opp OPP: debugfs: Fix warning around icc_get_name() 2024-03-26 18:21:23 -04:00
parisc parisc: Fix IRQ leak in LASI driver 2026-06-01 17:35:21 +02:00
parport parport_pc: add support for ASIX AX99100 2025-03-13 12:50:46 +01:00
pci PCI: tegra194: Disable direct speed change for Endpoint mode 2026-06-01 17:35:32 +02:00
pcmcia pcmcia: omap_cf: Mark driver struct with __refdata to prevent section mismatch 2025-10-02 13:39:05 +02:00
perf perf: arm_spe: Prevent overflow in PERF_IDX2OFF() 2025-10-19 16:21:29 +02:00
phy phy: renesas: rcar-gen3-usb2: Assert PLL reset on PHY power off 2026-04-18 10:33:33 +02:00
pinctrl pinctrl: intel: Fix the revision for new features (1kOhm PD, HW debouncer) 2026-06-01 17:35:01 +02:00
platform platform/x86: hp-wmi: Ignore backlight and FnLock events 2026-06-01 17:35:24 +02:00
pnp PNP: ACPI: fix fortify warning 2024-02-23 08:54:38 +01:00
power power: supply: max17042: avoid overflow when determining health 2026-06-01 17:35:23 +02:00
powercap powercap: fix sscanf() error return value handling 2026-01-19 13:10:19 +01:00
pps pps: fix warning in pps_register_cdev when register device fail 2025-10-19 16:21:33 +02:00
ps3 powerpc/ps3: Warn on PS3 device errors 2021-06-10 21:44:58 +10:00
ptp ptp: Add PHC file mode checks. Allow RO adjtime() without FMODE_WRITE. 2026-02-06 16:41:51 +01:00
pwm pwm: stm32: Always program polarity 2026-01-19 13:10:12 +01:00
rapidio rapidio: replace rio_free_net() with kfree() in rio_scan_alloc_net() 2026-03-04 07:20:32 -05:00
ras RAS/CEC: Correct ce_add_elem()'s returned values 2021-04-07 11:52:26 +02:00
regulator regulator: bd9571mwv: fix OF node reference imbalance 2026-06-01 17:35:25 +02:00
remoteproc remoteproc: mediatek: Unprepare SCP clock during system suspend 2026-04-18 10:33:11 +02:00
reset reset: brcmstb: Enable reset drivers for ARCH_BCM2835 2025-08-28 16:24:18 +02:00
rpmsg rpmsg: core: fix race in driver_override_show() and use core helper 2026-03-04 07:20:25 -05:00
rtc rtc: ntxec: fix OF node reference imbalance 2026-06-01 17:35:16 +02:00
s390 s390/cio: Fix device lifecycle handling in css_alloc_subchannel() 2026-03-04 07:19:23 -05:00
sbus module: remove never implemented MODULE_SUPPORTED_DEVICE 2021-03-17 13:16:18 -07:00
scsi scsi: ufs: core: Fix use-after free in init error and remove paths 2026-06-01 17:35:13 +02:00
sh sh: clk: Fix clk_enable() to return 0 on NULL clk 2025-01-09 13:28:34 +01:00
siox siox: fix possible memory leak in siox_device_add() 2022-11-26 09:24:36 +01:00
slimbus slimbus: core: fix device reference leak on report present 2026-02-06 16:41:57 +01:00
soc pmdomain: ti: omap_prm: Fix a reference leak on device node 2026-06-01 17:35:31 +02:00
soundwire soundwire: stream: restore params when prepare ports fail 2025-08-28 16:24:10 +02:00
spi spi: hisi-kunpeng: prevent infinite while() loop in hisi_spi_flush_fifo 2026-06-01 17:35:30 +02:00
spmi spmi: hisi-spmi-controller: Do not override device identifier 2024-07-05 09:14:20 +02:00
ssb ssb: Fix division by zero issue in ssb_calc_clock_rate 2024-09-04 13:23:20 +02:00
staging staging: media: atomisp: Disallow all private IOCTLs 2026-06-01 17:35:24 +02:00
target scsi: target: configfs: Bound snprintf() return in tg_pt_gp_members_show() 2026-06-01 17:35:19 +02:00
tc The main MIPS changes for 5.6: 2020-01-31 11:28:31 -08:00
tee tee: allow a driver to allocate a tee_device without a pool 2025-12-07 06:09:17 +09:00
thermal thermal/drivers/spear: Fix error condition for reading st,thermal-flags 2026-06-01 17:35:27 +02:00
thunderbolt thunderbolt: Fix property read in nhi_wake_supported() 2026-04-18 10:33:34 +02:00
tty tty: n_gsm: fix flow control handling in tx path 2026-06-01 17:35:13 +02:00
uio uio: uio_fsl_elbc_gpcm:: Add null pointer check to uio_fsl_elbc_gpcm_probe 2026-01-19 13:09:23 +01:00
usb usb: ulpi: fix memory leak on ulpi_register() error paths 2026-06-01 17:35:20 +02:00
vdpa vdpa: Add max vqp attr to vdpa_nl_policy for nlattr length check 2026-06-01 17:35:11 +02:00
vfio vfio/type1: Fix error unwind in migration dirty bitmap allocation 2025-06-27 11:05:13 +01:00
vhost vhost/vsock: improve RCU read sections around vhost_vsock_get() 2026-01-19 13:09:48 +01:00
video fbdev: matroxfb: Mark variable with __maybe_unused to avoid W=1 build break 2026-06-01 17:35:30 +02:00
virt minmax: add in_range() macro 2025-10-19 16:21:28 +02:00
virtio mm/balloon_compaction: convert balloon_page_delete() to balloon_page_finalize() 2026-01-19 13:10:10 +01:00
visorbus visorbus: fix error return code in visorchipset_init() 2021-06-04 15:27:26 +02:00
vlynq bus: Make remove callback return void 2021-07-21 11:53:42 +02:00
vme vme: Fix error not catched in fake_init() 2022-12-31 13:14:30 +01:00
w1 w1: therm: Fix off-by-one buffer overflow in alarms_store 2026-02-06 16:42:02 +01:00
watchdog fix it87_wdt early reboot by reporting running timer 2026-03-04 07:20:16 -05:00
xen xen/privcmd: fix double free via VMA splitting 2026-04-30 11:24:38 +02:00
zorro zorro: Drop useless (and hardly used) .driver member in struct zorro_dev 2021-08-05 14:37:04 +02:00
Kconfig firmware: include drivers/firmware/Kconfig unconditionally 2021-10-07 16:51:26 +02:00
Makefile virtio: always enter drivers/virtio/ 2021-12-22 09:32:39 +01:00