public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: <Rengarajan.S@microchip.com>
To: <gregkh@linuxfoundation.org>
Cc: <jirislaby@kernel.org>, <linux-serial@vger.kernel.org>,
	<UNGLinuxDriver@microchip.com>,
	<Kumaravel.Thiagarajan@microchip.com>,
	<linux-kernel@vger.kernel.org>,
	<Tharunkumar.Pasumarthi@microchip.com>
Subject: Re: [PATCH v2 tty-next] 8250: microchip: pci1xxxx: Add PCIe Hot reset disable support for Rev C0 and later devices
Date: Fri, 25 Apr 2025 13:39:46 +0000	[thread overview]
Message-ID: <fe7b07d35ded71e71ab892909284727a57604bdb.camel@microchip.com> (raw)
In-Reply-To: <2025042553-skinless-magazine-6cb9@gregkh>

Hi Greg,

Thanks for reviewing the patch.

On Fri, 2025-04-25 at 13:45 +0200, Greg KH wrote:
> EXTERNAL EMAIL: Do not click links or open attachments unless you
> know the content is safe
> 
> On Thu, Apr 24, 2025 at 09:29:13AM +0530, 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.
> > 
> > Signed-off-by: Rengarajan S <rengarajan.s@microchip.com>
> > ---
> >  drivers/tty/serial/8250/8250_pci1xxxx.c | 10 ++++++++++
> >  1 file changed, 10 insertions(+)
> > 
> > diff --git a/drivers/tty/serial/8250/8250_pci1xxxx.c
> > b/drivers/tty/serial/8250/8250_pci1xxxx.c
> > index e9c51d4e447d..61849312393b 100644
> > --- a/drivers/tty/serial/8250/8250_pci1xxxx.c
> > +++ b/drivers/tty/serial/8250/8250_pci1xxxx.c
> > @@ -115,6 +115,7 @@
> > 
> >  #define UART_RESET_REG                               0x94
> >  #define UART_RESET_D3_RESET_DISABLE          BIT(16)
> > +#define UART_RESET_HOT_RESET_DISABLE            BIT(17)
> 
> You forgot to use tabs here :(

Apologies, will update in the next revision.

> 

      reply	other threads:[~2025-04-25 13:39 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-04-24  3:59 [PATCH v2 tty-next] 8250: microchip: pci1xxxx: Add PCIe Hot reset disable support for Rev C0 and later devices Rengarajan S
2025-04-24  8:44 ` Jiri Slaby
2025-04-25 13:38   ` Rengarajan.S
2025-04-25 11:45 ` Greg KH
2025-04-25 13:39   ` Rengarajan.S [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=fe7b07d35ded71e71ab892909284727a57604bdb.camel@microchip.com \
    --to=rengarajan.s@microchip.com \
    --cc=Kumaravel.Thiagarajan@microchip.com \
    --cc=Tharunkumar.Pasumarthi@microchip.com \
    --cc=UNGLinuxDriver@microchip.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=jirislaby@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-serial@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox