[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH v6 0/7] xen/arm: Introduce alternative runtime patching on ARM64
Hello, Some of the processor errata will require to modify code sequence. As those modifications may impact the performance, they should only be enabled on affected cores. Furthermore, Xen may also want to take advantage of new hardware features coming up with v8.1 and v8.2. The first part of the series adds the alternative infrastructure, most of the code is based on Linux v4.6-rc3. The rest of the series implements errata for Cortex-A57 and Cortex-A53. A branch with all the patches can be found here: git://xenbits.xen.org/people/julieng/xen-unstable.git branch alternative-v6 For all the changes, see in each patch. Yours sincerely, Julien Grall (7): xen/arm: Introduce alternative runtime patching xen/arm: cpufeature: Provide an helper to check if a capability is supported xen/arm: Detect silicon revision and set cap bits accordingly xen/arm: Document the errata implemented in Xen xen/arm: arm64: Add Cortex-A53 cache errata workaround xen/arm: arm64: Add cortex-A57 erratum 832075 workaround xen/arm: traps: Don't inject a fault if the translation VA -> IPA fails docs/misc/arm/silicon-errata.txt | 49 +++++++++ xen/arch/arm/Kconfig | 96 ++++++++++++++++ xen/arch/arm/Makefile | 2 + xen/arch/arm/alternative.c | 224 ++++++++++++++++++++++++++++++++++++++ xen/arch/arm/arm64/cache.S | 2 + xen/arch/arm/cpuerrata.c | 60 ++++++++++ xen/arch/arm/cpufeature.c | 16 +++ xen/arch/arm/setup.c | 10 ++ xen/arch/arm/smpboot.c | 3 + xen/arch/arm/traps.c | 5 +- xen/arch/arm/xen.lds.S | 9 ++ xen/include/asm-arm/alternative.h | 165 ++++++++++++++++++++++++++++ xen/include/asm-arm/arm64/insn.h | 16 +++ xen/include/asm-arm/arm64/io.h | 21 +++- xen/include/asm-arm/arm64/page.h | 7 +- xen/include/asm-arm/cpuerrata.h | 14 +++ xen/include/asm-arm/cpufeature.h | 20 +++- xen/include/asm-arm/processor.h | 8 ++ 18 files changed, 718 insertions(+), 9 deletions(-) create mode 100644 docs/misc/arm/silicon-errata.txt create mode 100644 xen/arch/arm/alternative.c create mode 100644 xen/arch/arm/cpuerrata.c create mode 100644 xen/include/asm-arm/alternative.h create mode 100644 xen/include/asm-arm/cpuerrata.h -- 1.9.1 _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx https://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |