From: Giulio Benetti <giulio.benetti@micronovasrl.com>
To: Andy Shevchenko <andriy.shevchenko@linux.intel.com>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Jiri Slaby <jslaby@suse.com>, Kees Cook <keescook@chromium.org>,
Matthias Brugger <mbrugger@suse.com>,
Allen Pais <allen.lkml@gmail.com>, Sean Young <sean@mess.org>,
Ed Blake <ed.blake@sondrel.com>,
Stefan Potyra <Stefan.Potyra@elektrobit.com>,
Philipp Zabel <p.zabel@pengutronix.de>,
Joshua Scott <joshua.scott@alliedtelesis.co.nz>,
Vignesh R <vigneshr@ti.com>,
Rolf Evers-Fischer <rolf.evers.fischer@aptiv.com>,
Aaron Sierra <asierra@xes-inc.com>,
Rafael Gago <rafael.gago@gmail.com>,
Joel Stanley <joel@jms.id.au>, Sean Wang <sean.wang@mediatek.com>,
linux-serial@vger.kernel.org, linux-kernel@vger.kernel.org,
Yegor Yefremov <yegorslists@googlemail.com>
Subject: Re: [PATCH 1/2] serial: 8250: enable SERIAL_MCTRL_GPIO by default.
Date: Mon, 4 Jun 2018 20:57:15 +0200 [thread overview]
Message-ID: <7f4d688c-095a-d056-1edd-430bfc4e00da@micronovasrl.com> (raw)
In-Reply-To: <b850a3cf565a24414d3290f6699f5a040bf61223.camel@linux.intel.com>
Il 04/06/2018 13:49, Andy Shevchenko ha scritto:
> On Fri, 2018-06-01 at 16:11 +0200, Giulio Benetti wrote:
>> It can be useful to override 8250 mctrl lines with gpios, for rts on
>> rs485 for example, when rts is not mapped correctly to HW RTS pin.
>>
>> Enable SERIAL_MCTRL_GPIO by default.
>>
>
> Unfortunately NAK, see
>
> commit 5db4f7f80d165fc9725f356e99feec409e446baa
> Author: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
> Date: Tue Aug 16 15:06:54 2016 +0300
>
> Revert "tty/serial/8250: use mctrl_gpio helpers"
>
> for the details.
>
> I would love to see a solution that will satisfy everyone, though I have
> only means to test proposals for now.
Thanks for pointing me that.
I would try to solve serial breakage on intel with already extisting
patches dropping this one.
I'm going to try.
I can't understand if it's enough using qemu x86 to reproduce the bug.
If so I'm going to debug and check what makes driver to fail.
Do you think it makes sense? Would it be accepted after bug fixing?
Thanks
Best regards
--
Giulio Benetti
CTO
MICRONOVA SRL
Sede: Via A. Niedda 3 - 35010 Vigonza (PD)
Tel. 049/8931563 - Fax 049/8931346
Cod.Fiscale - P.IVA 02663420285
Capitale Sociale € 26.000 i.v.
Iscritta al Reg. Imprese di Padova N. 02663420285
Numero R.E.A. 258642
>
>> Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
>> ---
>> drivers/tty/serial/8250/Kconfig | 1 +
>> 1 file changed, 1 insertion(+)
>>
>> diff --git a/drivers/tty/serial/8250/Kconfig
>> b/drivers/tty/serial/8250/Kconfig
>> index f005eaf8bc57..c7992b94fece 100644
>> --- a/drivers/tty/serial/8250/Kconfig
>> +++ b/drivers/tty/serial/8250/Kconfig
>> @@ -7,6 +7,7 @@ config SERIAL_8250
>> tristate "8250/16550 and compatible serial support"
>> depends on !S390
>> select SERIAL_CORE
>> + select SERIAL_MCTRL_GPIO if GPIOLIB
>> ---help---
>> This selects whether you want to include the driver for the
>> standard
>> serial ports. The standard answer is Y. People who might
>> say N
>
next prev parent reply other threads:[~2018-06-04 18:57 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-06-01 14:11 Giulio Benetti
2018-06-01 14:11 ` [PATCH 2/2] serial: 8250: Add SERIAL_MCTRL_GPIO support to 8250 Giulio Benetti
2018-06-04 11:49 ` [PATCH 1/2] serial: 8250: enable SERIAL_MCTRL_GPIO by default Andy Shevchenko
2018-06-04 18:57 ` Giulio Benetti [this message]
2018-06-05 10:00 ` Andy Shevchenko
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=7f4d688c-095a-d056-1edd-430bfc4e00da@micronovasrl.com \
--to=giulio.benetti@micronovasrl.com \
--cc=Stefan.Potyra@elektrobit.com \
--cc=allen.lkml@gmail.com \
--cc=andriy.shevchenko@linux.intel.com \
--cc=asierra@xes-inc.com \
--cc=ed.blake@sondrel.com \
--cc=gregkh@linuxfoundation.org \
--cc=joel@jms.id.au \
--cc=joshua.scott@alliedtelesis.co.nz \
--cc=jslaby@suse.com \
--cc=keescook@chromium.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-serial@vger.kernel.org \
--cc=mbrugger@suse.com \
--cc=p.zabel@pengutronix.de \
--cc=rafael.gago@gmail.com \
--cc=rolf.evers.fischer@aptiv.com \
--cc=sean.wang@mediatek.com \
--cc=sean@mess.org \
--cc=vigneshr@ti.com \
--cc=yegorslists@googlemail.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
all inboxes | Powered by JetHome®