]> www.infradead.org Git - users/jedix/linux-maple.git/commit
8250: microchip: pci1xxxx: Add PCIe Hot reset disable support for Rev C0 and later...
authorRengarajan S <rengarajan.s@microchip.com>
Fri, 25 Apr 2025 14:55:00 +0000 (20:25 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 1 May 2025 15:20:33 +0000 (17:20 +0200)
commitc40b91e38eb8d4489def095d62ab476d45871323
tree9c39f9fa699a4fc31e58174120ef6ada84ef126f
parentf51159c05137dda05b425be70cd6c05f54a997c0
8250: microchip: pci1xxxx: Add PCIe Hot reset disable support for Rev C0 and later devices

Systems that issue PCIe hot reset requests during a suspend/resume
cycle cause PCI1XXXX device revisions prior to C0 to get its UART
configuration registers reset to hardware default values. This results
in device inaccessibility and data transfer failures. Starting with
Revision C0, support was added in the device hardware (via the Hot
Reset Disable Bit) to allow resetting only the PCIe interface and its
associated logic, but preserving the UART configuration during a hot
reset. This patch enables the hot reset disable feature during suspend/
resume for C0 and later revisions of the device.

Signed-off-by: Rengarajan S <rengarajan.s@microchip.com>
Reviewed-by: Jiri Slaby <jirislaby@kernel.org>
Link: https://lore.kernel.org/r/20250425145500.29036-1-rengarajan.s@microchip.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/8250_pci1xxxx.c