[PATCH 0/8 stable-v3.18.y] ARM64 errata infrastructure and fixes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Kevin Hilman <khilman@xxxxxxxxxx>

To support arm64 errata fixes upstream, a generic "alternatives"
framework was introduced in v3.19 to support runtime patching based on
CPU revision.

This series backports that framework to stable/v3.18.y as well as some
important errata fixes which use the framework.

Andre Przywara (6):
  arm64: add cpu_capabilities bitmap
  arm64: add alternative runtime patching
  arm64: detect silicon revisions and set cap bits accordingly
  arm64: add Cortex-A53 cache errata workaround
  arm64: add Cortex-A57 erratum 832075 workaround
  arm64: protect alternatives workarounds with Kconfig options

Bo Yan (1):
  arm64: fix midr range for Cortex-A57 erratum 832075

Will Deacon (1):
  arm64: errata: add workaround for cortex-a53 erratum #845719

 arch/arm64/Kconfig                       | 129 +++++++++++++++++++++++++++++++
 arch/arm64/include/asm/alternative-asm.h |  29 +++++++
 arch/arm64/include/asm/alternative.h     |  43 +++++++++++
 arch/arm64/include/asm/cpufeature.h      |  30 +++++++
 arch/arm64/include/asm/cputype.h         |   5 ++
 arch/arm64/include/asm/io.h              |  23 +++++-
 arch/arm64/kernel/Makefile               |   2 +-
 arch/arm64/kernel/alternative.c          |  64 +++++++++++++++
 arch/arm64/kernel/cpu_errata.c           | 120 ++++++++++++++++++++++++++++
 arch/arm64/kernel/cpuinfo.c              |   3 +
 arch/arm64/kernel/entry.S                |  20 +++++
 arch/arm64/kernel/setup.c                |   3 +
 arch/arm64/kernel/smp.c                  |   2 +
 arch/arm64/kernel/vmlinux.lds.S          |  11 +++
 arch/arm64/mm/cache.S                    |   4 +-
 arch/arm64/mm/init.c                     |   2 +
 16 files changed, 484 insertions(+), 6 deletions(-)
 create mode 100644 arch/arm64/include/asm/alternative-asm.h
 create mode 100644 arch/arm64/include/asm/alternative.h
 create mode 100644 arch/arm64/kernel/alternative.c
 create mode 100644 arch/arm64/kernel/cpu_errata.c

-- 
2.3.1

--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]