2016-10-18 12:09:16

by Mugunthan V N

[permalink] [raw]
Subject: seeing some junk characters on boot console with v4.9-rc1-3-g14155ca

Hi

I am seeing some junk characters on uart boot console on DRA72x platform
[1] and even on other TI platforms, did a bisect and found the commit
"761ed4a94582" broke it first.

By reverting below two commit, I don't see the issue logs [2].

761ed4a94582 "tty:serial_core: convert uart_close to use tty_port_close"
a5a2b13074fd "serial: core: fix potential NULL pointer dereference"

[1] - http://pastebin.ubuntu.com/23343431/
[2] - http://pastebin.ubuntu.com/23343435/

Regards
Mugunthan V N


2016-10-18 19:39:54

by Rob Herring (Arm)

[permalink] [raw]
Subject: Re: seeing some junk characters on boot console with v4.9-rc1-3-g14155ca

On Tue, Oct 18, 2016 at 7:08 AM, Mugunthan V N <[email protected]> wrote:
> Hi
>
> I am seeing some junk characters on uart boot console on DRA72x platform
> [1] and even on other TI platforms, did a bisect and found the commit
> "761ed4a94582" broke it first.
>
> By reverting below two commit, I don't see the issue logs [2].
>
> 761ed4a94582 "tty:serial_core: convert uart_close to use tty_port_close"
> a5a2b13074fd "serial: core: fix potential NULL pointer dereference"

Can you test with the patch titled "tty: serial_core: Fix serial
console crash on port shutdown"[1]? It may be disabling the console
when it shouldn't.

Rob

[1] http://www.gossamer-threads.com/lists/linux/kernel/2546399