From: "gregkh@linuxfoundation.org" <gregkh@linuxfoundation.org>
To: "Miao, Jun" <jun.miao@intel.com>
Cc: "andriy.shevchenko@linux.intel.com"
<andriy.shevchenko@linux.intel.com>,
"linux-serial@vger.kernel.org" <linux-serial@vger.kernel.org>
Subject: Re: [BUG report]: serial8250 unbind/bind failture
Date: Mon, 20 Dec 2021 10:57:24 +0100 [thread overview]
Message-ID: <YcBThJYwRk1i9emo@kroah.com> (raw)
In-Reply-To: <DM6PR11MB47391ECD2402AB4F521DAC869A7B9@DM6PR11MB4739.namprd11.prod.outlook.com>
On Mon, Dec 20, 2021 at 09:54:41AM +0000, Miao, Jun wrote:
> [Hardware]
> Intel Corporation Alder Lake Client Platform/AlderLake-M LP5 RVP, BIOS ADLPFWI1.R00.2265.A01.2107010436 07/01/2021
> About x86 old UART, not the PNP device.
>
> [how to reproduce]
> root@ALD-M:/sys/devices/platform/serial8250/tty/ttyS0/device/driver# echo -n "serial8250" > unbind
> root@ALD-M:/sys/devices/platform/serial8250/tty/ttyS0/device/driver# echo -n "serial8250" > bind
After you unbound, this device is gone, so how does this path still
work?
> [What`s my Confusion]
> After the unbind and bind the serial8250_probe cannot register ttyS0.
Then do not do that :)
> And there is not dmesg like this: "serial8250: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 16550A".
>
> Any one have some advice about 8250 serial ? It is a common operation if we believe that the old UART which don`t support like this unbind. Or we ignore about this really bug before?
What are you trying to do here exactly? Why are you wanting to unbind
the driver from this device? Why do you then want to bind it again?
What problem are you trying to solve by doing this?
thanks,
greg k-h
next parent reply other threads:[~2021-12-20 9:57 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <DM6PR11MB47391ECD2402AB4F521DAC869A7B9@DM6PR11MB4739.namprd11.prod.outlook.com>
2021-12-20 9:57 ` gregkh [this message]
2021-12-20 13:08 ` [BUG report]: serial8250 unbind/bind failture Jun Miao
2021-12-20 10:42 ` gregkh
2021-12-20 10:45 ` andriy.shevchenko
[not found] ` <DM6PR11MB473969422B9287F28907CF8F9A7B9@DM6PR11MB4739.namprd11.prod.outlook.com>
2021-12-20 12:58 ` andriy.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=YcBThJYwRk1i9emo@kroah.com \
--to=gregkh@linuxfoundation.org \
--cc=andriy.shevchenko@linux.intel.com \
--cc=jun.miao@intel.com \
--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