From patchwork Fri Mar 10 18:36:56 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrea Righi X-Patchwork-Id: 1755501 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ubuntu.com (client-ip=91.189.94.19; helo=huckleberry.canonical.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=) Authentication-Results: legolas.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=canonical.com header.i=@canonical.com header.a=rsa-sha256 header.s=20210705 header.b=NO/sYkSs; dkim-atps=neutral Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4PYFCR1DB9z2472 for ; Sat, 11 Mar 2023 05:37:21 +1100 (AEDT) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.86_2) (envelope-from ) id 1pahc3-0000n3-32; Fri, 10 Mar 2023 18:37:07 +0000 Received: from smtp-relay-internal-0.internal ([10.131.114.225] helo=smtp-relay-internal-0.canonical.com) by huckleberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1pahc0-0000kJ-Kr for kernel-team@lists.ubuntu.com; Fri, 10 Mar 2023 18:37:05 +0000 Received: from mail-ed1-f71.google.com (mail-ed1-f71.google.com [209.85.208.71]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-0.canonical.com (Postfix) with ESMTPS id 1B5AD3F592 for ; Fri, 10 Mar 2023 18:37:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1678473423; bh=sfc2pPCNnrHEqlkbt6CCfrAHCgnmhds8RHYsMy3Avsk=; h=From:To:Subject:Date:Message-Id:MIME-Version; b=NO/sYkSsT7zhjEc/oaGn3Z8eX+gRcUYCuGd/LOD0dCZ1RwoQxAsnfvfXvbIKf1ZBq e7C9tjzRWwVmEkx2ucEzjqS6iK66BcvYJt+lt692paskocpp04KZ3dgPv6XKfNT/tE B5qqfW6/1uFbsEgixX8IFhQ3kfKqfOIIJ1Kxv849bWK2ITYo8q0as5Y+uAktfmUtdb wcBzEkBnTaljLKDN07pM4FZhBiq6lWbF6EQfI0wT6mrprfhAVR9scJmL86uDbEQRcY NWZExAX+m1y09NUAO+Qy/4mHn2EPQdLecIUW2r8v535MsLWGsat7uLWtEcLXTCARtz jgTFVycPbQWAQ== Received: by mail-ed1-f71.google.com with SMTP id en6-20020a056402528600b004fa01232e6aso454629edb.16 for ; Fri, 10 Mar 2023 10:37:03 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678473422; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=sfc2pPCNnrHEqlkbt6CCfrAHCgnmhds8RHYsMy3Avsk=; b=3Tl8RmK99NMP6BpUlSP7yyBNZXl4OrLix+bbdoW1vKnaivpoZFJh70PRSl0YsqD+k1 FfuaxZButSDyKZdNm6TxavsiC1b+neBvQ2UZj6MGgP+HDIljC+Q/kRUovaJ6uZSVTAk7 nsG96hMG4/Q5tCvD8fSQF2DZuK9ePc4ZaSRvYkXXzi0PoQKJNbpwidV2xvLefefIx+XM DORSJWnBWzA9woM73lUl2hkUcPNdpMaKocWADVTg+fWb1oZMZUv8BELYfvMmIglkbVzC Ityuoj73tzcaXiBBKgyPlgSlJjXnSg5/kiBO/ZmBGWoEHkBmCfybJG0gwD2WCDMxZm4Q Iw4g== X-Gm-Message-State: AO0yUKVSpI23YP5MlqRwsDKJe3btTDbgKrbKOPLItTzw168N7BqKjI3J zVixj9L5j9EfzAv7FTr4GLimdowNo8Ct/mwwXwvCouL/+LQdJJp/ADLgzzHH8yOIU/83pYz2fPW AvLX6Ux+4xnRO33uASslVZoZgF8rWXw7HRT4KbIuj2W0c1hKUCg== X-Received: by 2002:a50:fc02:0:b0:4be:d5b8:c00d with SMTP id i2-20020a50fc02000000b004bed5b8c00dmr24969614edr.25.1678473421924; Fri, 10 Mar 2023 10:37:01 -0800 (PST) X-Google-Smtp-Source: AK7set9JH2NyPOztzb7jWvPuMG4K08cmpSGMaFG9mp108LBnNOkFS1XQk9C5Rg/yEgMrgGZ9QLS8Aw== X-Received: by 2002:a50:fc02:0:b0:4be:d5b8:c00d with SMTP id i2-20020a50fc02000000b004bed5b8c00dmr24969605edr.25.1678473421686; Fri, 10 Mar 2023 10:37:01 -0800 (PST) Received: from righiandr-XPS-13-7390.homenet.telecomitalia.it (host-79-53-23-214.retail.telecomitalia.it. [79.53.23.214]) by smtp.gmail.com with ESMTPSA id t27-20020a50ab5b000000b004d8d2735251sm331019edc.43.2023.03.10.10.37.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 Mar 2023 10:37:01 -0800 (PST) From: Andrea Righi To: kernel-team@lists.ubuntu.com Subject: [SRU][K][PATCH 0/1] enable CONFIG_SERIAL_8250_MID=y Date: Fri, 10 Mar 2023 19:36:56 +0100 Message-Id: <20230310183657.209971-1-andrea.righi@canonical.com> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" BugLink: https://bugs.launchpad.net/bugs/2009283 [Impact] CONFIG_SERIAL_8250_MID=y is required to properly use the serial console on some platforms that are using the "mid" serial driver (such as some Intel SoC platforms). The generic kernel should build this driver statically to make sure we properly support these platforms. [Test case] Boot the Ubuntu generic kernel on a system that is using the "mid" serial driver (e.g, no PCI serial). [Fix] Enable CONFIG_SERIAL_8250_MID=y. [Regression potential] Kernel footprint is increased a bit with this change (around +9K), so we may see little performance regressions at boot time in really small platforms (additional memory usage is probably negligible), but it is worth it, otherwise we won't be able to properly support these platforms. NOTE: we may want to disable this option in the could kernels and derivatives and keep it only for the generic. ---------------------------------------------------------------- Andrea Righi (1): UBUNTU: [Config] enable CONFIG_SERIAL_8250_MID=y debian.master/config/annotations | 5 ++++- debian.master/config/config.common.ubuntu | 4 ++-- 2 files changed, 6 insertions(+), 3 deletions(-) Acked-by: Luke Nowakowski-Krijger Acked-by: Stefan Bader