public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "Ilpo Järvinen" <ilpo.jarvinen@linux.intel.com>
To: Andy Shevchenko <andy.shevchenko@gmail.com>
Cc: Tharunkumar.Pasumarthi@microchip.com,
	Kumaravel.Thiagarajan@microchip.com,
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	Jiri Slaby <jirislaby@kernel.org>,
	u.kleine-koenig@pengutronix.de, johan@kernel.org,
	wander@redhat.com, etremblay@distech-controls.com,
	macro@orcam.me.uk, geert+renesas@glider.be, jk@ozlabs.org,
	phil.edworthy@renesas.com, Lukas Wunner <lukas@wunner.de>,
	LKML <linux-kernel@vger.kernel.org>,
	linux-serial <linux-serial@vger.kernel.org>,
	UNGLinuxDriver@microchip.com
Subject: Re: [PATCH v2 tty-next 2/3] 8250: microchip: pci1xxxx: Add rs485 support to quad-uart driver.
Date: Tue, 1 Nov 2022 17:49:55 +0200 (EET)	[thread overview]
Message-ID: <2646f5e7-7f26-e748-8812-f1d17c799b8a@linux.intel.com> (raw)
In-Reply-To: <CAHp75VeuYDbjvShTTW5797opunO4DvGSLQG3Aiv0pTpx-6ZZXg@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1440 bytes --]

On Tue, 1 Nov 2022, Andy Shevchenko wrote:

> On Tue, Nov 1, 2022 at 5:25 PM Ilpo Järvinen
> <ilpo.jarvinen@linux.intel.com> wrote:
> > On Tue, 1 Nov 2022, Tharunkumar.Pasumarthi@microchip.com wrote:
> 
> ...
> 
> > > I went through the code and it seems like this is not taken care by the core.
> > > Do you suggest calling 'serial8250_em485_config' inside 'pci1xxxx_rs485_config' callback?
> > > This has not been done since we do not need all the configurations done inside 'serial8250_em485_config'.
> >
> > It has nothing to do with serial8250_em485_config.
> >
> > It is very hard to believe you couldn't find
> > uart_sanitize_serial_rs485() and uart_set_rs485_config() yourself, the
> > latter calls your driver specific rs485 handler.
> 
> Which version has this API? If it's v6.1-rc1 and patches are made
> against v6.0, it's possible to miss something.
> 
> In any case, the patches to the serial subsystem should always be done
> against the tty/tty-next branch.

It has been for multiple stable kernel version already. It was moved to 
own function by this commit:

git describe --contains 2dbd0c14ebe8836eaf890c7f50f3fc5d26d67d95
v6.0-rc1~64^2~129

Originally introduced here:
git describe --contains 0ed12afa5655512ee418047fb3546d229df20aa1
v5.19-rc1~47^2~142

There have been perhaps one of those things I pointed out that was added 
later than the others but it won't explain why nothing was found from the 
code.


-- 
 i.

  reply	other threads:[~2022-11-01 15:50 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-01  6:15 [PATCH v2 tty-next 0/3] 8250: microchip: pci1xxxx: Add driver for the pci1xxxx's quad-uart function Kumaravel Thiagarajan
2022-10-01  6:15 ` [PATCH v2 tty-next 1/3] 8250: microchip: pci1xxxx: Add driver for quad-uart support Kumaravel Thiagarajan
2022-10-03  9:18   ` Ilpo Järvinen
2022-10-03  9:22   ` Andy Shevchenko
2022-10-05  9:51     ` Kumaravel.Thiagarajan
2022-10-26 10:54     ` Tharunkumar.Pasumarthi
2022-10-31  9:24     ` Tharunkumar.Pasumarthi
2022-10-31 14:37       ` Andy Shevchenko
2022-11-01 15:04         ` Tharunkumar.Pasumarthi
2022-11-01 15:17           ` Andy Shevchenko
2022-11-01 17:54             ` Kumaravel.Thiagarajan
2022-10-03 19:36   ` Christophe JAILLET
2022-10-04  9:46     ` Andy Shevchenko
2022-10-26 11:12     ` Tharunkumar.Pasumarthi
2022-10-26 20:10       ` Christophe JAILLET
2022-10-01  6:15 ` [PATCH v2 tty-next 2/3] 8250: microchip: pci1xxxx: Add rs485 support to quad-uart driver Kumaravel Thiagarajan
2022-10-03  9:04   ` Ilpo Järvinen
2022-11-01 14:53     ` Tharunkumar.Pasumarthi
2022-11-01 15:25       ` Ilpo Järvinen
2022-11-01 15:35         ` Andy Shevchenko
2022-11-01 15:49           ` Ilpo Järvinen [this message]
2022-11-01 18:10             ` Tharunkumar.Pasumarthi
2022-10-03  9:20   ` Ilpo Järvinen
2022-10-04 17:51     ` Kumaravel.Thiagarajan
2022-10-05  9:43       ` Ilpo Järvinen
2022-10-01  6:15 ` [PATCH v2 tty-next 3/3] 8250: microchip: pci1xxxx: Add power management functions " Kumaravel Thiagarajan
2022-10-03  9:26   ` Andy Shevchenko
2022-10-04 17:20     ` Kumaravel.Thiagarajan
2022-10-26 11:03     ` Tharunkumar.Pasumarthi
2022-10-31  9:41     ` Tharunkumar.Pasumarthi
2022-11-04 10:23     ` Tharunkumar.Pasumarthi
2022-11-04 12:50       ` Andy Shevchenko
2022-10-03  9:51   ` Ilpo Järvinen
2022-10-04 19:01     ` Kumaravel.Thiagarajan

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=2646f5e7-7f26-e748-8812-f1d17c799b8a@linux.intel.com \
    --to=ilpo.jarvinen@linux.intel.com \
    --cc=Kumaravel.Thiagarajan@microchip.com \
    --cc=Tharunkumar.Pasumarthi@microchip.com \
    --cc=UNGLinuxDriver@microchip.com \
    --cc=andy.shevchenko@gmail.com \
    --cc=etremblay@distech-controls.com \
    --cc=geert+renesas@glider.be \
    --cc=gregkh@linuxfoundation.org \
    --cc=jirislaby@kernel.org \
    --cc=jk@ozlabs.org \
    --cc=johan@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-serial@vger.kernel.org \
    --cc=lukas@wunner.de \
    --cc=macro@orcam.me.uk \
    --cc=phil.edworthy@renesas.com \
    --cc=u.kleine-koenig@pengutronix.de \
    --cc=wander@redhat.com \
    /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