mbox series

[v2,0/3] powerpc/fsl: Speculation barrier for NXP PowerPC Book3E

Message ID 1528721608-15443-1-git-send-email-diana.craciun@nxp.com (mailing list archive)
Headers show
Series powerpc/fsl: Speculation barrier for NXP PowerPC Book3E | expand

Message

Diana Craciun June 11, 2018, 12:53 p.m. UTC
Implement barrier_nospec for NXP PowerPC Book3E processors. 

Diana Craciun (3):
  Disable the speculation barrier from the command line
  Add barrier_nospec implementation for NXP PowerPC Book3E
  Implement cpu_show_spectre_v1/v2 for NXP PowerPC Book3E

 arch/powerpc/Kconfig               |  2 +-
 arch/powerpc/include/asm/barrier.h | 10 +++++++++
 arch/powerpc/include/asm/setup.h   |  2 +-
 arch/powerpc/kernel/Makefile       |  2 +-
 arch/powerpc/kernel/module.c       |  5 +++--
 arch/powerpc/kernel/security.c     | 42 +++++++++++++++++++++++++++++++++++++-
 arch/powerpc/kernel/setup_32.c     |  5 +++++
 arch/powerpc/kernel/setup_64.c     |  6 ++++++
 arch/powerpc/kernel/vmlinux.lds.S  |  4 +++-
 arch/powerpc/lib/feature-fixups.c  | 35 ++++++++++++++++++++++++++++++-
 10 files changed, 105 insertions(+), 8 deletions(-)

--
History:

v1 --> v2
- added implementation for cpu_show_spectre_x functions
- the mitigation is no longer enabled through device tree options
2.5.5

Comments

Diana Craciun June 29, 2018, 2:34 p.m. UTC | #1
Hi,

Should I rebase the series on top of the latest kernel?

Diana

On 6/11/2018 3:53 PM, Diana Craciun wrote:
> Implement barrier_nospec for NXP PowerPC Book3E processors. 
>
> Diana Craciun (3):
>   Disable the speculation barrier from the command line
>   Add barrier_nospec implementation for NXP PowerPC Book3E
>   Implement cpu_show_spectre_v1/v2 for NXP PowerPC Book3E
>
>  arch/powerpc/Kconfig               |  2 +-
>  arch/powerpc/include/asm/barrier.h | 10 +++++++++
>  arch/powerpc/include/asm/setup.h   |  2 +-
>  arch/powerpc/kernel/Makefile       |  2 +-
>  arch/powerpc/kernel/module.c       |  5 +++--
>  arch/powerpc/kernel/security.c     | 42 +++++++++++++++++++++++++++++++++++++-
>  arch/powerpc/kernel/setup_32.c     |  5 +++++
>  arch/powerpc/kernel/setup_64.c     |  6 ++++++
>  arch/powerpc/kernel/vmlinux.lds.S  |  4 +++-
>  arch/powerpc/lib/feature-fixups.c  | 35 ++++++++++++++++++++++++++++++-
>  10 files changed, 105 insertions(+), 8 deletions(-)
>
> --
> History:
>
> v1 --> v2
> - added implementation for cpu_show_spectre_x functions
> - the mitigation is no longer enabled through device tree options
> 2.5.5
>
>