linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 00/11] powerpc/fsl: NXP PowerPC Spectre variant 2 workarounds
@ 2018-12-12 14:02 Diana Craciun
  2018-12-12 14:03 ` [PATCH 01/11] powerpc/fsl: Add infrastructure to fixup branch predictor flush Diana Craciun
                   ` (10 more replies)
  0 siblings, 11 replies; 14+ messages in thread
From: Diana Craciun @ 2018-12-12 14:02 UTC (permalink / raw)
  To: linuxppc-dev; +Cc: Diana Craciun

Implement Spectre variant 2 workarounds for NXP PowerPC Book3E
processors.

Diana Craciun (11):
  Add infrastructure to fixup branch predictor flush
  Add macro to flush the branch predictor
  Fix spectre_v2 mitigations reporting
  Emulate SPRN_BUCSR register
  Add nospectre_v2 command line argument
  Flush the branch predictor at each kernel entry (64bit)
  Flush the branch predictor at each kernel entry (32 bit)
  Flush branch predictor when entering KVM
  Enable runtime patching if nospectre_v2 boot arg is used
  Update Spectre v2 reporting
  Add FSL_PPC_BOOK3E as supported arch for nospectre_v2 boot arg

 Documentation/admin-guide/kernel-parameters.txt |  2 +-
 arch/powerpc/include/asm/feature-fixups.h       | 12 +++++++++++
 arch/powerpc/include/asm/ppc_asm.h              | 10 +++++++++
 arch/powerpc/include/asm/setup.h                |  7 +++++++
 arch/powerpc/kernel/entry_64.S                  |  5 +++++
 arch/powerpc/kernel/exceptions-64e.S            | 26 ++++++++++++++++++++++-
 arch/powerpc/kernel/head_booke.h                |  6 ++++++
 arch/powerpc/kernel/head_fsl_booke.S            | 15 +++++++++++++
 arch/powerpc/kernel/security.c                  | 28 +++++++++++++++++++++++--
 arch/powerpc/kernel/setup-common.c              |  1 +
 arch/powerpc/kernel/vmlinux.lds.S               |  8 +++++++
 arch/powerpc/kvm/bookehv_interrupts.S           |  4 ++++
 arch/powerpc/kvm/e500_emulate.c                 |  5 +++++
 arch/powerpc/lib/feature-fixups.c               | 21 +++++++++++++++++++
 arch/powerpc/mm/tlb_low_64e.S                   |  7 +++++++
 15 files changed, 153 insertions(+), 4 deletions(-)

-- 
2.5.5


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2018-12-22 10:25 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-12-12 14:02 [PATCH 00/11] powerpc/fsl: NXP PowerPC Spectre variant 2 workarounds Diana Craciun
2018-12-12 14:03 ` [PATCH 01/11] powerpc/fsl: Add infrastructure to fixup branch predictor flush Diana Craciun
2018-12-22  9:54   ` [01/11] " Michael Ellerman
2018-12-12 14:03 ` [PATCH 02/11] powerpc/fsl: Add macro to flush the branch predictor Diana Craciun
2018-12-12 14:03 ` [PATCH 03/11] powerpc/fsl: Fix spectre_v2 mitigations reporting Diana Craciun
2018-12-12 14:03 ` [PATCH 04/11] powerpc/fsl: Emulate SPRN_BUCSR register Diana Craciun
2018-12-12 14:03 ` [PATCH 05/11] powerpc/fsl: Add nospectre_v2 command line argument Diana Craciun
2018-12-12 14:03 ` [PATCH 06/11] powerpc/fsl: Flush the branch predictor at each kernel entry (64bit) Diana Craciun
2018-12-12 14:03 ` [PATCH 07/11] powerpc/fsl: Flush the branch predictor at each kernel entry (32 bit) Diana Craciun
2018-12-19  9:42   ` kbuild test robot
2018-12-12 14:03 ` [PATCH 08/11] powerpc/fsl: Flush branch predictor when entering KVM Diana Craciun
2018-12-12 14:03 ` [PATCH 09/11] powerpc/fsl: Enable runtime patching if nospectre_v2 boot arg is used Diana Craciun
2018-12-12 14:03 ` [PATCH 10/11] powerpc/fsl: Update Spectre v2 reporting Diana Craciun
2018-12-12 14:03 ` [PATCH 11/11] powerpc/fsl: Add FSL_PPC_BOOK3E as supported arch for nospectre_v2 boot arg Diana Craciun

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).