Received: by 2002:a25:2c96:0:0:0:0:0 with SMTP id s144csp1377050ybs; Mon, 25 May 2020 14:34:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzKXQkwrOeBj/cxZUdpld/Jh4fWaQCVo+gT9t1R8RidbQRe1hBFiD9YmcfyCwXJzneHk6qp X-Received: by 2002:a17:906:1857:: with SMTP id w23mr20682865eje.273.1590442473733; Mon, 25 May 2020 14:34:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590442473; cv=none; d=google.com; s=arc-20160816; b=tlr5qF+oPUNLxQOnepwA7DLRolN0mGJoUmfPdlTqT7P8bs1sWUD95BysuPXqRdWr0N OGrtkLkT8xEKEIXcxCRXib7xTbpWkveLSGwNMwbxAXyExuXq41TT5CXHzKyaIo32wUl3 pEELoVGNhilwmCTFF6NKPfQ0pWUlACUMutT180QdTMz1Q6ERpX6Xz3pN0EYogg6Z4MWc w68DIg39QVJZeF4X3+FQp3l73UtXkWwLjHhh0ljuyS+hoY9Aa+hMXa8AFyfVranhorXB DXLZumg14AOboU82Tmb7lAFGi/dVsctCDQy/zjqxlmhRjrWYJRWEh2lD9YhANrwBYuWr 7woA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=wuJcnO1Lj/wzwYvz/9PicRxKKCLhXYf6FkHwlLlTp5w=; b=ymIn7+qcPkEtoQg8M2JJrGvsTDM7wNITtn7vheeNtJoWMBwcHRhXBlGezlxXjiL8fR Sk+c836HHfKAFD7DA1H7tn3IIB/2Rth6snfwm8tywF1PyaAYnCtS5pAUjQFRyEXjHlyo nBHRsJxjMlsGB4Wo5nA0czPq5l1s8y6MKfxEgalNyuyW2r+BSVkrHduJTDO8s4bTpzyW s6AZnarmV7G3w8Js2DBNOyhl9qbD3uYxz5rEqZ4I+QNR2G/m9BWOwlZ8Xr1ndwe4YS2h xgEbbQ8l8hNtZGI7hx5rjFJltiY+PVlORE0E1ji+4gEZrv7FJmDBn8wnnuQ2s+z4HD6o hD3w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id jx1si10182783ejb.175.2020.05.25.14.34.11; Mon, 25 May 2020 14:34:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389399AbgEYR20 (ORCPT + 99 others); Mon, 25 May 2020 13:28:26 -0400 Received: from relay12.mail.gandi.net ([217.70.178.232]:42355 "EHLO relay12.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388480AbgEYR20 (ORCPT ); Mon, 25 May 2020 13:28:26 -0400 Received: from localhost (50-39-163-217.bvtn.or.frontiernet.net [50.39.163.217]) (Authenticated sender: josh@joshtriplett.org) by relay12.mail.gandi.net (Postfix) with ESMTPSA id 73A0220000C; Mon, 25 May 2020 17:28:18 +0000 (UTC) Date: Mon, 25 May 2020 10:28:15 -0700 From: Josh Triplett To: Vladimir Oltean Cc: gregkh@linuxfoundation.org, linux-serial@vger.kernel.org, jslaby@suse.com, andriy.shevchenko@linux.intel.com, lukas@wunner.de, heikki.krogerus@linux.intel.com, vigneshr@ti.com, linux-kernel@vger.kernel.org, fido_max@inbox.ru, radu-andrei.bulie@nxp.com Subject: Re: [PATCH] serial: 8250: probe all 16550A variants by default Message-ID: <20200525172815.GA445190@localhost> References: <20200525130238.3614179-1-olteanv@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200525130238.3614179-1-olteanv@gmail.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, May 25, 2020 at 04:02:38PM +0300, Vladimir Oltean wrote: > On NXP T1040, the UART is typically detected as 16550A_FSL64. After said > patch, it gets detected as plain 16550A and the Linux console is > completely garbled and missing characters. Interesting that there's *new* powerpc hardware that needs these variants. I based the patch on the fact that, on x86 at least, hardware using these variants hasn't been made for a long time. In the hopes of preserving at least part of the benefit of the patch, could you please change it to `default y if !X86_64`? > drivers/tty/serial/8250/Kconfig | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/tty/serial/8250/Kconfig b/drivers/tty/serial/8250/Kconfig > index af0688156dd0..89c7ecb55619 100644 > --- a/drivers/tty/serial/8250/Kconfig > +++ b/drivers/tty/serial/8250/Kconfig > @@ -63,6 +63,7 @@ config SERIAL_8250_PNP > config SERIAL_8250_16550A_VARIANTS > bool "Support for variants of the 16550A serial port" > depends on SERIAL_8250 > + default y > help > The 8250 driver can probe for many variants of the venerable 16550A > serial port. Doing so takes additional time at boot. > -- > 2.25.1 >