Re: [PATCH] tty: serial: 8250_core: restore the LCR register in set_sleep
From: Sudhir Sreedharan
Date: Thu Oct 16 2014 - 06:15:28 EST
Hi Kevin,
On Thu, Oct 16, 2014 at 12:51 PM, Kevin Hilman <khilman@xxxxxxxxxx> wrote:
> Sudhir Sreedharan <ssreedharan@xxxxxxxxxx> writes:
>
>> In ST16650V2 based serial uarts, while initalizing the PM state,
>> LCR registers are being initialized to 0 in serial8250_set_sleep().
>> If console port is already initialized and being used, this will
>> throws garbage in the console.
>>
>> Signed-off-by: Sudhir Sreedharan <ssreedharan@xxxxxxxxxx>
>
> Since this caused regressions in -next last time, could you describe how
> this was tested, and on what platforms?
I have tested this on arm64 board((U6_16550A)),PowerPC P5040
board(16550A)), x86-64 (haswell(ST16650V2), Rangeley(16550A)) board.
This patch will modify only for the 8250 based serial devices.
Test Case : Booting Multiple times, suspend-resume.
Thanks,
Sudhir
>
> Thanks,
>
> Kevin
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/