Re: [PATCH] serial: forbid 8250 on s390

From: Christian Borntraeger
Date: Tue Dec 12 2017 - 03:56:21 EST




On 12/12/2017 09:48 AM, Greg Kroah-Hartman wrote:
> On Tue, Dec 12, 2017 at 09:08:35AM +0100, Christian Borntraeger wrote:
>> Using "make kvmconfig" results in a potentially unusable linux image
>> on s390. The reason is that both the (default on s390) sclp consoles
>> as well as the 8250 console register a ttyS<x> as console. Since there
>> will be no 8250 on s390 let's fence 8250. This will ensure that there
>> is always a working sclp console.
>>
>> Reported-by: Alice Frosi <alice@xxxxxxxxxxxxxxxxxx>
>> Signed-off-by: Christian Borntraeger <borntraeger@xxxxxxxxxx>
>> Reviewed-by: Hendrik Brueckner <brueckner@xxxxxxxxxxxxxxxxxx>
>> ---
>> drivers/tty/serial/8250/Kconfig | 1 +
>> 1 file changed, 1 insertion(+)
>
> Does this need to be backported to any stable kernels? Or does anyone
> who runs them on s390 already have this config option disabled?

All shipped s390 kernels have 8250 disabled anyway. A backport of this
patch could be helpful to let users who want to use "make kvmconfig" give
a working configuration but it is certainly not critical.

Christian