Re: [PATCH v2 tty-next] 8250: microchip: pci1xxxx: Add PCIe Hot reset disable support for Rev C0 and later devices

From: Jiri Slaby
Date: Thu Apr 24 2025 - 04:46:29 EST


On 24. 04. 25, 5:59, Rengarajan S wrote:
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.

v2
Retained the original writel and simplified the hot reset condition
v1
Initial Commit.

This should have been under the --- line below.

Signed-off-by: Rengarajan S <rengarajan.s@xxxxxxxxxxxxx>

Reviewed-by: Jiri Slaby <jirislaby@xxxxxxxxxx>

---

vvvvv here

drivers/tty/serial/8250/8250_pci1xxxx.c | 10 ++++++++++
1 file changed, 10 insertions(+)

thanks,
--
js
suse labs