[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <0c217693-7c73-1696-8a86-e81dbabefe02@c-s.fr>
Date: Thu, 13 Feb 2020 07:17:01 +0100
From: Christophe Leroy <christophe.leroy@....fr>
To: Qiang Zhao <qiang.zhao@....com>,
Rasmus Villemoes <linux@...musvillemoes.dk>,
Leo Li <leoyang.li@....com>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Cc: Scott Wood <oss@...error.net>,
"linuxppc-dev@...ts.ozlabs.org" <linuxppc-dev@...ts.ozlabs.org>,
LKML <linux-kernel@...r.kernel.org>,
"linux-arm-kernel@...ts.infradead.org"
<linux-arm-kernel@...ts.infradead.org>
Subject: Re: [Regression 5.6-rc1][Bisected b6231ea2b3c6] Powerpc 8xx doesn't
boot anymore
Le 13/02/2020 à 04:35, Qiang Zhao a écrit :
> On 02/12/2020 22:50 PM, Christophe Leroy wrote:
>> -----Original Message-----
>> From: Christophe Leroy <christophe.leroy@....fr>
>> Sent: 2020年2月12日 22:50
>> To: Rasmus Villemoes <linux@...musvillemoes.dk>; Leo Li
>> <leoyang.li@....com>; Qiang Zhao <qiang.zhao@....com>; Greg
>> Kroah-Hartman <gregkh@...uxfoundation.org>
>> Cc: Scott Wood <oss@...error.net>; linuxppc-dev@...ts.ozlabs.org; LKML
>> <linux-kernel@...r.kernel.org>; linux-arm-kernel@...ts.infradead.org
>> Subject: Re: [Regression 5.6-rc1][Bisected b6231ea2b3c6] Powerpc 8xx doesn't
>> boot anymore
>>
>> ---
>> diff --git a/drivers/tty/serial/cpm_uart/cpm_uart_core.c
>> b/drivers/tty/serial/cpm_uart/cpm_uart_core.c
>> index 4cabded8390b..341d682ec6eb 100644
>> --- a/drivers/tty/serial/cpm_uart/cpm_uart_core.c
>> +++ b/drivers/tty/serial/cpm_uart/cpm_uart_core.c
>> @@ -1351,6 +1351,7 @@ static int __init cpm_uart_console_setup(struct
>> console *co, char *options)
>> clrbits32(&pinfo->sccp->scc_gsmrl, SCC_GSMRL_ENR |
>> SCC_GSMRL_ENT);
>> }
>>
>> + cpm_muram_init();
>> ret = cpm_uart_allocbuf(pinfo, 1);
>>
>> if (ret)
>>
> How about the patch like below? Just a draft.
Yes, I see the idea. I think we could go for something like that.
But in the powerpc 8xx case, we are talking about cpm_init(), not qe_init().
And maybe the return code should be checked, because if it's not 0,
cpm_muram_init() won't have been called.
Thanks,
Christophe
Powered by blists - more mailing lists