From patchwork Wed Dec 11 00:05:33 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kamal Mostafa X-Patchwork-Id: 1207333 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org 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=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=canonical.com 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 ozlabs.org (Postfix) with ESMTPS id 47Xcdj1CVPz9sR0; Wed, 11 Dec 2019 11:05:45 +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 1iepVY-0008OK-SD; Wed, 11 Dec 2019 00:05:36 +0000 Received: from youngberry.canonical.com ([91.189.89.112]) by huckleberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1iepVX-0008OB-H8 for kernel-team@lists.ubuntu.com; Wed, 11 Dec 2019 00:05:35 +0000 Received: from [192.188.9.3] (helo=fourier) by youngberry.canonical.com with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1iepVX-00028r-7M for kernel-team@lists.ubuntu.com; Wed, 11 Dec 2019 00:05:35 +0000 Received: from kamal by fourier with local (Exim 4.90_1) (envelope-from ) id 1iepVV-00086B-3Y for kernel-team@lists.ubuntu.com; Tue, 10 Dec 2019 16:05:33 -0800 From: Kamal Mostafa To: kernel-team@lists.ubuntu.com Subject: [SRU][linux-aws-bionic][PULL] ARM CPU erratum Neoverse-N1 #1542419 Date: Tue, 10 Dec 2019 16:05:33 -0800 Message-Id: <20191211000533.31064-1-kamal@canonical.com> X-Mailer: git-send-email 2.17.1 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: , MIME-Version: 1.0 Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" BugLink: https://bugs.launchpad.net/bugs/1855729 To support the latest AWS ARM instance types, linux-aws-bionic needs the mainline patch set for ARM CPU erratum "Neoverse-N1 #1542419" and its prerequisites. -Kamal ----- The following changes since commit 89f4bb71357cb264ee36ea5eda2ca6bc27181951: UBUNTU: Ubuntu-aws-4.15.0-1057.59 (2019-12-03 14:14:15 +0100) are available in the Git repository at: git://git.launchpad.net/~kamalmostafa/ubuntu/+source/linux-aws/+git/bionic arm-erratum-1542419 for you to fetch changes up to f7967adbd7f5ac01e154860b754481fbf9d79db2: UBUNTU: aws: [Config] updateconfigs for ARM64_ERRATUM_1542419 (2019-12-10 16:00:38 -0800) ---------------------------------------------------------------- James Morse (3): arm64: errata: Hide CTR_EL0.DIC on systems affected by Neoverse-N1 #1542419 arm64: Fake the IminLine size on systems affected by Neoverse-N1 #1542419 arm64: compat: Workaround Neoverse-N1 #1542419 for compat user-space Kamal Mostafa (1): UBUNTU: aws: [Config] updateconfigs for ARM64_ERRATUM_1542419 Marc Zyngier (2): arm64: Add support for new control bits CTR_EL0.DIC and CTR_EL0.IDC arm64: Add part number for Neoverse N1 Suzuki K Poulose (1): arm64: cpufeature: Trap CTR_EL0 access only where it is necessary arch/arm64/Kconfig | 16 +++++++++++ arch/arm64/include/asm/assembler.h | 21 ++++++++++++++ arch/arm64/include/asm/cache.h | 6 +++- arch/arm64/include/asm/cacheflush.h | 10 +++++++ arch/arm64/include/asm/cpucaps.h | 5 +++- arch/arm64/include/asm/cputype.h | 2 ++ arch/arm64/include/asm/kvm_mmu.h | 4 +-- arch/arm64/kernel/cpu_errata.c | 39 ++++++++++++++++++++++++-- arch/arm64/kernel/cpufeature.c | 34 +++++++++++++++++++---- arch/arm64/kernel/sys_compat.c | 11 ++++++++ arch/arm64/kernel/traps.c | 9 ++++++ arch/arm64/mm/cache.S | 51 +++++++++++++++++++++++++++------- debian.aws/config/config.common.ubuntu | 1 + 13 files changed, 188 insertions(+), 21 deletions(-) Acked-by: Connor Kuehl Acked-by: Kleber Sacilotto de Souza