mbox series

[SRU,linux-aws-bionic,PULL] ARM CPU erratum Neoverse-N1 #1542419

Message ID 20191211000533.31064-1-kamal@canonical.com
State New
Headers show
Series [SRU,linux-aws-bionic,PULL] ARM CPU erratum Neoverse-N1 #1542419 | expand

Pull-request

git://git.launchpad.net/~kamalmostafa/ubuntu/+source/linux-aws/+git/bionic arm-erratum-1542419

Message

Kamal Mostafa Dec. 11, 2019, 12:05 a.m. UTC
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(-)

Comments

Connor Kuehl Dec. 11, 2019, 12:32 a.m. UTC | #1
On 12/10/19 4:05 PM, Kamal Mostafa wrote:
> 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
>
Lots of cherry picks and the backported patches look good to me + 
positive test results!

Acked-by: Connor Kuehl <connor.kuehl@canonical.com>
Kleber Sacilotto de Souza Jan. 6, 2020, 3:28 p.m. UTC | #2
On 2019-12-11 01:05, Kamal Mostafa wrote:
> 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)

Mostly cherry-picks, limited to a single arquitecture and custom kernel.

Acked-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>

> 
> ----------------------------------------------------------------
> 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(-)
>
Kleber Sacilotto de Souza Jan. 6, 2020, 3:31 p.m. UTC | #3
On 2019-12-11 01:05, Kamal Mostafa wrote:
> 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)

Applied to bionic/linux-aws.

Thanks,
Kleber

> 
> ----------------------------------------------------------------
> 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(-)
>