From patchwork Tue Sep 28 16:48:41 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Gardner X-Patchwork-Id: 1533995 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.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=GT3Z0UBD; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.ubuntu.com (client-ip=91.189.94.19; helo=huckleberry.canonical.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=) Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4HJlp90j6pz9shn for ; Wed, 29 Sep 2021 02:49:04 +1000 (AEST) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.86_2) (envelope-from ) id 1mVGHh-00030X-RY; Tue, 28 Sep 2021 16:48:49 +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 1mVGHg-00030R-On for kernel-team@lists.ubuntu.com; Tue, 28 Sep 2021 16:48:48 +0000 Received: from mail-pf1-f197.google.com (mail-pf1-f197.google.com [209.85.210.197]) (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 82872402F7 for ; Tue, 28 Sep 2021 16:48:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1632847728; bh=OUMQJDSCjOVRWUV4qz21Zq7EVZ8jA9eRooJ6NUOb41k=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=GT3Z0UBDJaN9rPeOvgcuFFDPP96H1dcH9d9Nl3GJernurbhldwzk5EdyxoV7XDxWz SXjlZfppXXv/W/47gSom2inmDtKvQ6zUrEDsu7VbfnGJaAZEYtzuvT69/CoWv8kTZZ GvlF1PRnIVH9/zZe9VUSfPItve9fw9pkNlluKcjPy4l90VMi1lO0BgjNP3qVhMPpek gXxNLIE4al9zRX5TKh7P75XQwkPVbmyBGTRzzB84w04ynEthckncuR7HHq4YyFdESx BUhCkKgua1XiPM/vIBUaJdRXACbboXZRMcJ7yF6cL38KgKeZNN71zUYvcj8wmi3tHR jsilTwcC+AUfA== Received: by mail-pf1-f197.google.com with SMTP id j12-20020aa783cc000000b0044b702424b7so8051764pfn.6 for ; Tue, 28 Sep 2021 09:48:48 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=OUMQJDSCjOVRWUV4qz21Zq7EVZ8jA9eRooJ6NUOb41k=; b=N/tIYF7AcydYWAJ2PyjXFGnLyl7V8DhU0tudwDX5T9WJVkmIbCGc2fkCBQRY1lAqFl TvygSDovKTTvdhdD0Di7Nw0JddKSphV4esX7LsI+xWnLXs8DsI0fDwmjVsFels3NKBgx XPXQDP1DtXlb2LkZUcFeAfPZlBUWhJvDZqOZ54OnqWYHdnQRWyq1xZNQxFVTJMMB0rPY gA3V95n+vHld2XredWkceE/sRzYMV1Mt8dmrsVWLuzlJDtTo5dAKdgx/o8QxcBffcuqQ G8x6KfA/MKnjR1A2/HV0N54MofzIZBNxnBoclm4LBUvKXq7RG0lU4VS9Q8I+vaoPOsyn vlZQ== X-Gm-Message-State: AOAM532Ac7kKPg74D/cHZUNp0rPp7o2/sSMzTGRUfzeFV3CIC0zChLNe gYcZ5/J9IVZ6XhVrD+Qg96hjeVYjobTQ6TewXZGysqotz2c+7Pyp64n6RgOJKBqcTwbmRevnyU/ K2g0eNbvR/hLoJx/rqa007S5RGaBt3TCY/gDLLZzikQ== X-Received: by 2002:a63:590e:: with SMTP id n14mr5433032pgb.434.1632847726553; Tue, 28 Sep 2021 09:48:46 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzI3VBhvWBKaHfv3jtlXSd8o3dZ7LZZvE22etaEF2jy9IWIoIA4RRPVKCAFpAUeEPuA3UL4Nw== X-Received: by 2002:a63:590e:: with SMTP id n14mr5433010pgb.434.1632847726274; Tue, 28 Sep 2021 09:48:46 -0700 (PDT) Received: from localhost.localdomain ([69.163.84.166]) by smtp.gmail.com with ESMTPSA id p17sm16049669pfo.9.2021.09.28.09.48.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Sep 2021 09:48:45 -0700 (PDT) From: Tim Gardner To: kernel-team@lists.ubuntu.com Subject: [PATCH][hirsute/linux-oracle] UBUNTU: [config] oracle: Enable CONFIG_SERIAL_AMBA_PL011 Date: Tue, 28 Sep 2021 10:48:41 -0600 Message-Id: <20210928164841.17534-1-tim.gardner@canonical.com> X-Mailer: git-send-email 2.33.0 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" From: Khalid Elmously BugLink: https://bugs.launchpad.net/bugs/1925421 This option is always needed for arm64 images that will be used in VMs (for serial console to work) Enabled the option and annotated it. Signed-off-by: Khalid Elmously Acked-by: Khalid Elmously Acked-by: Thadeu Lima de Souza Cascardo --- This patch is on hirsute:linux-oracle without having gone through the kteam list and accruing proper acks. The bug references 'arm64 support', so it likely should have gone with those patches. However, that was April, this is now. Note that these config options are enabled for Focal and Impish linux-oracle as part of the initial arm64 enablement. I noted that the setting in Impish is different, e.g., CONFIG_SERIAL_AMBA_PL011=m. I assume that is intentional ? (becasue its different then master) rtg --- debian.oracle/config/annotations | 4 ++++ debian.oracle/config/config.common.ubuntu | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/debian.oracle/config/annotations b/debian.oracle/config/annotations index 396e71ee4179..6f75c945b581 100644 --- a/debian.oracle/config/annotations +++ b/debian.oracle/config/annotations @@ -51,3 +51,7 @@ CONFIG_ASHMEM policy<{'amd64': 'm', 'arm64': CONFIG_ASHMEM mark note CONFIG_ARM_SMMU_DISABLE_BYPASS_BY_DEFAULT policy<{'arm64': '-'}> CONFIG_ARM_SMMU_DISABLE_BYPASS_BY_DEFAULT mark note +CONFIG_SERIAL_AMBA_PL011 policy<{'arm64':'y'}> +CONFIG_SERIAL_AMBA_PL011 mark note +CONFIG_SERIAL_AMBA_PL011_CONSOLE policy<{'arm64':'y'}> +CONFIG_SERIAL_AMBA_PL011_CONSOLE mark note diff --git a/debian.oracle/config/config.common.ubuntu b/debian.oracle/config/config.common.ubuntu index 7676fca39d1e..7dd6285e98fb 100644 --- a/debian.oracle/config/config.common.ubuntu +++ b/debian.oracle/config/config.common.ubuntu @@ -7466,7 +7466,8 @@ CONFIG_SERIAL_ALTERA_UART=m CONFIG_SERIAL_ALTERA_UART_BAUDRATE=115200 CONFIG_SERIAL_ALTERA_UART_MAXPORTS=4 # CONFIG_SERIAL_AMBA_PL010 is not set -# CONFIG_SERIAL_AMBA_PL011 is not set +CONFIG_SERIAL_AMBA_PL011=y +CONFIG_SERIAL_AMBA_PL011_CONSOLE=y CONFIG_SERIAL_ARC=m CONFIG_SERIAL_ARC_NR_PORTS=1 # CONFIG_SERIAL_BCM63XX is not set