Re: [PATCH v4 0/3] Cortex-A77 erratum 1508412 workaround

2020-08-21 Thread Catalin Marinas
On Mon, 3 Aug 2020 13:31:24 -0600, Rob Herring wrote:
> This series implements the work-around for Cortex-A77 erratum 1508412.
> KVM guests which don't implement the workaround can still deadlock the
> system. This is also the case with the existing Cortex-A57 erratum 832075,
> so we add a warning message if an erratum can cause deadlock.
> 
> Changes detailed in patches.
> 
> [...]

Applied to arm64 (for-next/fixes), thanks!

[1/3] KVM: arm64: Print warning when cpu erratum can cause guests to deadlock
  https://git.kernel.org/arm64/c/abf532cceaca

-- 
Catalin

___
kvmarm mailing list
kvmarm@lists.cs.columbia.edu
https://lists.cs.columbia.edu/mailman/listinfo/kvmarm


Re: [PATCH v4 0/3] Cortex-A77 erratum 1508412 workaround

2020-08-21 Thread Will Deacon
On Mon, Aug 03, 2020 at 01:31:24PM -0600, Rob Herring wrote:
> This series implements the work-around for Cortex-A77 erratum 1508412.
> KVM guests which don't implement the workaround can still deadlock the
> system. This is also the case with the existing Cortex-A57 erratum 832075,
> so we add a warning message if an erratum can cause deadlock.

For the series:

Acked-by: Will Deacon 

I'm a bit worried about how we'll get on maintaining this, given that we
need to make sure that all new users of read_sysreg(par_el1) use
read_sysreg_par() instead, but oh well.

Will
___
kvmarm mailing list
kvmarm@lists.cs.columbia.edu
https://lists.cs.columbia.edu/mailman/listinfo/kvmarm


[PATCH v4 0/3] Cortex-A77 erratum 1508412 workaround

2020-08-03 Thread Rob Herring
This series implements the work-around for Cortex-A77 erratum 1508412.
KVM guests which don't implement the workaround can still deadlock the
system. This is also the case with the existing Cortex-A57 erratum 832075,
so we add a warning message if an erratum can cause deadlock.

Changes detailed in patches.

Rob

v3: 
https://lore.kernel.org/linux-arm-kernel/20200717205233.903344-1-r...@kernel.org/
v2: 
https://lore.kernel.org/linux-arm-kernel/20200701215308.3715856-1-r...@kernel.org/
v1: 
https://lore.kernel.org/linux-arm-kernel/20200629213321.2953022-1-r...@kernel.org/


Rob Herring (3):
  KVM: arm64: Print warning when cpu erratum can cause guests to
deadlock
  arm64: Add part number for Arm Cortex-A77
  arm64: Add workaround for Arm Cortex-A77 erratum 1508412

 Documentation/arm64/silicon-errata.rst |  2 ++
 arch/arm64/Kconfig | 20 
 arch/arm64/include/asm/cpucaps.h   |  3 ++-
 arch/arm64/include/asm/cputype.h   |  2 ++
 arch/arm64/include/asm/kvm_hyp.h   |  1 -
 arch/arm64/include/asm/sysreg.h|  9 +
 arch/arm64/kernel/cpu_errata.c | 10 ++
 arch/arm64/kvm/arm.c   |  5 +
 arch/arm64/kvm/hyp/switch.c|  7 ---
 arch/arm64/kvm/hyp/sysreg-sr.c |  2 +-
 arch/arm64/kvm/sys_regs.c  |  2 +-
 arch/arm64/mm/fault.c  |  2 +-
 12 files changed, 57 insertions(+), 8 deletions(-)

--
2.25.1
___
kvmarm mailing list
kvmarm@lists.cs.columbia.edu
https://lists.cs.columbia.edu/mailman/listinfo/kvmarm