From patchwork Wed Apr 13 17:28:44 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joseph Salisbury X-Patchwork-Id: 1616913 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=N3lxzfpp; dkim-atps=neutral Authentication-Results: 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=) 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 4KdqMG2kTWz9sGT for ; Thu, 14 Apr 2022 03:28:57 +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 1negnR-0006k6-7b; Wed, 13 Apr 2022 17:28:49 +0000 Received: from smtp-relay-canonical-1.internal ([10.131.114.174] helo=smtp-relay-canonical-1.canonical.com) by huckleberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1negnP-0006iW-5Y for kernel-team@lists.ubuntu.com; Wed, 13 Apr 2022 17:28:47 +0000 Received: from jupiter.. (097-089-247-249.biz.spectrum.com [97.89.247.249]) (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-canonical-1.canonical.com (Postfix) with ESMTPSA id B871B3F774 for ; Wed, 13 Apr 2022 17:28:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1649870927; bh=LPHmYLCcsBk1oOA9qQ5UjlQwUUZnaeEmgODc+Yp6ktQ=; h=From:To:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=N3lxzfppuplmSyAkOiEw3Sc2xQx6VT48mr6RBP/540uIa8SAAItcUfFs1v5G+XMId FkEJ3Ety8bkbymu/ymp4UaHEnE5zVRpIye7XllzO4FCu0v7VTj5Zt+D8ACknug4sSg 71ja7eZCoELygbRcht7UTSDu5eR7hUOJS5lZ2vDmnMpQpAnZOiqcWofVd78OkqefNY tEXhuG1gdzwCVoouG9rAE2gN11UgGNwWi69MKmsm3ov3wwXhqEi5giQXLIwXPhvO5d kZ0kE6LzLkMsQuwKwAv/2IeDRSEFNpj6Yu/0rklN5hao7nmgKE5Cjz7KnbP2pppx4V XBPfAEfAoqdgg== From: Joseph Salisbury To: kernel-team@lists.ubuntu.com Subject: [SRU Focal][linux-oracle][PATCH 1/1] UBUNTU: [config] oracle: Enable CONFIG_ARM64_SW_TTBR0_PAN Date: Wed, 13 Apr 2022 13:28:44 -0400 Message-Id: <20220413172844.169298-2-joseph.salisbury@canonical.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220413172844.169298-1-joseph.salisbury@canonical.com> References: <20220413172844.169298-1-joseph.salisbury@canonical.com> 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/1968902 Re-enable CONFIG_ARM64_SW_TTBR0_PAN which was unintentionally disabled in the linux-oracle kernels by the following commit: c25f2bf469b3 ("UBUNTU: [config] oracle: Bring-up for arm64 support") Signed-off-by: Joseph Salisbury --- debian.oracle/config/annotations | 3 +++ debian.oracle/config/config.common.ubuntu | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/debian.oracle/config/annotations b/debian.oracle/config/annotations index a7e59e2ca0f1..b612119d2451 100644 --- a/debian.oracle/config/annotations +++ b/debian.oracle/config/annotations @@ -56,3 +56,6 @@ 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 + +# Menu: Processor type and features >> Architecture: arm64 +CONFIG_ARM64_SW_TTBR0_PAN policy<{'arm64': 'y'}> diff --git a/debian.oracle/config/config.common.ubuntu b/debian.oracle/config/config.common.ubuntu index 3b5b02f60c11..f76f26f02220 100644 --- a/debian.oracle/config/config.common.ubuntu +++ b/debian.oracle/config/config.common.ubuntu @@ -482,7 +482,7 @@ CONFIG_ARM64_RAS_EXTN=y # CONFIG_ARM64_RELOC_TEST is not set CONFIG_ARM64_SSBD=y CONFIG_ARM64_SVE=y -# CONFIG_ARM64_SW_TTBR0_PAN is not set +CONFIG_ARM64_SW_TTBR0_PAN=y CONFIG_ARM64_TAGGED_ADDR_ABI=y CONFIG_ARM64_UAO=y CONFIG_ARM64_VA_BITS=48