Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp1194896rdb; Fri, 1 Dec 2023 09:16:23 -0800 (PST) X-Google-Smtp-Source: AGHT+IE5F6Ix5PRIlSuz0CHWS67/QfYbp80RyNwVzD57K6pYQPY7TxpmWgjW7yeJ8x4Mq5hXUVpB X-Received: by 2002:a05:6a20:7f99:b0:18d:64a:e125 with SMTP id d25-20020a056a207f9900b0018d064ae125mr11457534pzj.31.1701450983143; Fri, 01 Dec 2023 09:16:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701450983; cv=none; d=google.com; s=arc-20160816; b=DN05Q2WejSInjvTsycGKvFNd5JRM6DTslXZ06Q2g21eXCP10E2WhpQe1GNx3lJoUJm mMeveJsi/QLjcsjG3BGhLIVJBmm7Dhg/QUcF82gcNiYNFUvJY3TfSq7oEbT8Meiet37P O2iJ95SDkbpanz9sH1fxw7wneZ4bwaM2A+RsH6e4oninu9wBwsVlnSeu2BsxdI8YoqBz cJsstbJAhaNYQOr9EsmyIoW83CMKvrDrHElLGsl875Pbyond1aqltU+iEDjv328nRGb3 0rQ+mkGyquvaDeKQy5g10pYixlVaEu5Nb0tp8GaUsmjO7HT8HAADJpHvfOXREVmoCR8q vPog== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=U9YrGehpYfWEBF7wbABbqnDO1Qy8/mYDjxBD6KER0hw=; fh=IlSRtjbBnN5MaZOyNsJ9uwdF/wBbJUwJJGKo0+OUFas=; b=ZIKJSOZGHicg6pnO20K8xxwo3Ogz8KH1gT6gpel16TGrizNkoex/NF5sXfvexhVT0m WA4VxrSPuqXJW+lX9QGi2nknjq5TkyK1m0zQYRTGa545KIlSF69lbhKoyoe3djR5g3F7 z34x/C7hPefE1p/W5ww0FBxC60E+iSSN8SLgJ1ZtsbHP92AmWcWZv9wbJLlmwpZ/LdX/ MD0YBPeBoUfWf9GNwQSZqcy2GifheGFc+bf973WZ5Hp+/Azh1wTYO49sLai2XiME8/Im qAe/tTlplzf63RkBoltGIZLvl5QeyE3+gvytAUi56sKFp5yOOA47SmJzbpHXJmYTsd+o OXgw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id i17-20020a63d451000000b005c626072edfsi3661906pgj.773.2023.12.01.09.16.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Dec 2023 09:16:23 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 349758062BBD; Fri, 1 Dec 2023 09:16:04 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229568AbjLARPs (ORCPT + 99 others); Fri, 1 Dec 2023 12:15:48 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51302 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229504AbjLARPr (ORCPT ); Fri, 1 Dec 2023 12:15:47 -0500 Received: from mail11.truemail.it (mail11.truemail.it [IPv6:2001:4b7e:0:8::81]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 25005103 for ; Fri, 1 Dec 2023 09:15:54 -0800 (PST) Received: from gaggiata.pivistrello.it (93-49-2-63.ip317.fastwebnet.it [93.49.2.63]) by mail11.truemail.it (Postfix) with ESMTPA id 6F22E221BD; Fri, 1 Dec 2023 18:15:52 +0100 (CET) Received: from livingston (unknown [192.168.42.11]) by gaggiata.pivistrello.it (Postfix) with ESMTP id 2A3B57F8F3; Fri, 1 Dec 2023 18:15:52 +0100 (CET) Received: from pivi by livingston with local (Exim 4.96) (envelope-from ) id 1r977I-0000Us-02; Fri, 01 Dec 2023 18:15:52 +0100 From: Francesco Dolcini To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Arnd Bergmann , Nishanth Menon , Vignesh Raghavendra Cc: Francesco Dolcini , Catalin Marinas , Will Deacon , Tero Kristo , Tony Lindgren Subject: [PATCH v2] arm64: defconfig: increase SERIAL_8250_NR_UARTS Date: Fri, 1 Dec 2023 18:15:43 +0100 Message-Id: <20231201171544.1901-1-francesco@dolcini.it> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Fri, 01 Dec 2023 09:16:04 -0800 (PST) Increase CONFIG_SERIAL_8250_NR_UARTS from 4 to 8, the current legacy value is not adequate for embedded systems that use SoCs where it's common to have a large number of serial ports. No need to change CONFIG_SERIAL_8250_RUNTIME_UARTS, see commit 9d86719f8769 ("serial: 8250: Allow using ports higher than SERIAL_8250_RUNTIME_UARTS"). The need to increase this value was noticed while working with Toradex Verdin AM62, this board has 4 serial UART instances available to the user plus an internal one that is connected to a Bluetooth module. Without this change the fifth UART connected to the BT module is not instantiated and BT is not working. Instead of increasing the number to the bare minimum (5) that would be required to solve this specific issue, we increase this to 8 which seems a more reasonable number to have in the defconfig and should cover more valid use cases. Cc: Tony Lindgren Reviewed-by: Tony Lindgren Signed-off-by: Francesco Dolcini --- arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index b60aa1f89343..ecd365cd1d87 100644 --- a/arch/arm64/configs/defconfig +++ b/arch/arm64/configs/defconfig @@ -448,6 +448,7 @@ CONFIG_SERIO_AMBAKMI=y CONFIG_LEGACY_PTY_COUNT=16 CONFIG_SERIAL_8250=y CONFIG_SERIAL_8250_CONSOLE=y +CONFIG_SERIAL_8250_NR_UARTS=8 CONFIG_SERIAL_8250_EXTENDED=y CONFIG_SERIAL_8250_SHARE_IRQ=y CONFIG_SERIAL_8250_BCM2835AUX=y -- 2.39.2