From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6F93FC4332F for ; Tue, 22 Nov 2022 07:51:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232585AbiKVHvP (ORCPT ); Tue, 22 Nov 2022 02:51:15 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60994 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232373AbiKVHvO (ORCPT ); Tue, 22 Nov 2022 02:51:14 -0500 Received: from muru.com (muru.com [72.249.23.125]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 124B332B8C; Mon, 21 Nov 2022 23:51:14 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTPS id AEEB78061; Tue, 22 Nov 2022 07:40:59 +0000 (UTC) Date: Tue, 22 Nov 2022 09:51:12 +0200 From: Tony Lindgren To: Andrew Davis Cc: Nishanth Menon , Apurva Nandan , Vignesh Raghavendra , Tero Kristo , Rob Herring , Krzysztof Kozlowski , Linus Walleij , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, Hari Nagalla Subject: Re: [PATCH v3 4/4] arm64: dts: ti: Add support for J784S4 EVM board Message-ID: References: <20221116130428.161329-1-a-nandan@ti.com> <20221116130428.161329-5-a-nandan@ti.com> <20221118174754.y37pq77drvla2uxj@tinderbox> <8c123fa2-caab-d2dd-5eb4-688f1c6abb33@ti.com> <20221118180808.wnel7d6gswsnooww@junkman> <93242211-95e7-09a0-fced-5ef2deb9fc08@ti.com> <20221118192744.wish2vrxgy7dg7c2@unnerving> <3d5e41f6-16a8-4298-ccd3-6db60f94eb47@ti.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3d5e41f6-16a8-4298-ccd3-6db60f94eb47@ti.com> Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org * Andrew Davis [221118 21:05]: > Why do we need SERIAL_8250_NR_UARTS at all, might be a better question. > These should be dynamically allocated if the number goes over the > default count imposed by the TTY framework. Maybe folks are still a > bit too afraid to touch the TTY subsystem core, I don't blame them.. The 8250 core preallocates a number of ports for use, see serial8250_isa_init_ports() and serial8250_register_8250_port(). As the serial port driver probes, the preallocated ports get re-assigned to the port driver. Maybe we could keep the static serial8250_ports[] and add those ports to a list where also the dynamically allocated ports would go.. Regards, Tony From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 6FEE6C433FE for ; Tue, 22 Nov 2022 07:52:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=BA6Dre8P5xjjJ3g6pivwLMWLYxM17AIqTrh07EMjEDs=; b=CwHjAe7UAdvS4T S1ovlDG1ZYfrO2qMSYbpQxMoTN4cqZB++iUOH3jCvXcwiJaNvNzZRICEDgdVPCns8bXABN2dxhXEh Fo4UufeKq7pNgHruKrfGKV2seeMnkjXnVEkXk+MofT3OzHJblb+dCyz918XdhB5KOW5U8GqvtFrIS 4O2gXMuRDMYAuQEI8jNaRIVjVrN6HMp7cia59QHAcwnwL421HpIp6UQ4yTcCKWBrjlL9GlU6JyAD0 ddwUKsF2AI1Qz5gi82ax6+K0TEIajdhlNm5f6i14EBfNAhqxQIAAHE/ueoS8m0Pe8hU5zMXXXpQg7 mnNE2vAn7cSIk5k9r01Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oxO3u-005wux-19; Tue, 22 Nov 2022 07:51:22 +0000 Received: from muru.com ([72.249.23.125]) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oxO3m-005wrP-JB for linux-arm-kernel@lists.infradead.org; Tue, 22 Nov 2022 07:51:15 +0000 Received: from localhost (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTPS id AEEB78061; Tue, 22 Nov 2022 07:40:59 +0000 (UTC) Date: Tue, 22 Nov 2022 09:51:12 +0200 From: Tony Lindgren To: Andrew Davis Cc: Nishanth Menon , Apurva Nandan , Vignesh Raghavendra , Tero Kristo , Rob Herring , Krzysztof Kozlowski , Linus Walleij , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, Hari Nagalla Subject: Re: [PATCH v3 4/4] arm64: dts: ti: Add support for J784S4 EVM board Message-ID: References: <20221116130428.161329-1-a-nandan@ti.com> <20221116130428.161329-5-a-nandan@ti.com> <20221118174754.y37pq77drvla2uxj@tinderbox> <8c123fa2-caab-d2dd-5eb4-688f1c6abb33@ti.com> <20221118180808.wnel7d6gswsnooww@junkman> <93242211-95e7-09a0-fced-5ef2deb9fc08@ti.com> <20221118192744.wish2vrxgy7dg7c2@unnerving> <3d5e41f6-16a8-4298-ccd3-6db60f94eb47@ti.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <3d5e41f6-16a8-4298-ccd3-6db60f94eb47@ti.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221121_235114_726768_8D40A71E X-CRM114-Status: GOOD ( 10.97 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org * Andrew Davis [221118 21:05]: > Why do we need SERIAL_8250_NR_UARTS at all, might be a better question. > These should be dynamically allocated if the number goes over the > default count imposed by the TTY framework. Maybe folks are still a > bit too afraid to touch the TTY subsystem core, I don't blame them.. The 8250 core preallocates a number of ports for use, see serial8250_isa_init_ports() and serial8250_register_8250_port(). As the serial port driver probes, the preallocated ports get re-assigned to the port driver. Maybe we could keep the static serial8250_ports[] and add those ports to a list where also the dynamically allocated ports would go.. Regards, Tony _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel