[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <cover.1520965380.git.msuchanek@suse.de>
Date: Tue, 13 Mar 2018 19:32:58 +0100
From: Michal Suchanek <msuchanek@...e.de>
To: linuxppc-dev@...ts.ozlabs.org
Cc: Benjamin Herrenschmidt <benh@...nel.crashing.org>,
Paul Mackerras <paulus@...ba.org>,
Michael Ellerman <mpe@...erman.id.au>,
Peter Zijlstra <peterz@...radead.org>,
Michal Suchanek <msuchanek@...e.de>,
Kate Stewart <kstewart@...uxfoundation.org>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Philippe Ombredanne <pombredanne@...b.com>,
Nicholas Piggin <npiggin@...il.com>,
"Tobin C. Harding" <me@...in.cc>,
Mahesh Salgaonkar <mahesh@...ux.vnet.ibm.com>,
David Gibson <david@...son.dropbear.id.au>,
Al Viro <viro@...iv.linux.org.uk>,
Michael Neuling <mikey@...ling.org>,
"Oliver O'Halloran" <oohall@...il.com>,
"Naveen N. Rao" <naveen.n.rao@...ux.vnet.ibm.com>,
Madhavan Srinivasan <maddy@...ux.vnet.ibm.com>,
Masami Hiramatsu <mhiramat@...nel.org>,
Andrew Morton <akpm@...ux-foundation.org>,
Balbir Singh <bsingharora@...il.com>,
Sergey Senozhatsky <sergey.senozhatsky@...il.com>,
Christophe Leroy <christophe.leroy@....fr>,
Andrew Donnellan <andrew.donnellan@....ibm.com>,
Daniel Axtens <dja@...ens.net>,
Russell Currey <ruscur@...sell.cc>,
Joe Perches <joe@...ches.com>,
"Bryant G. Ly" <bryantly@...ux.vnet.ibm.com>,
Cédric Le Goater <clg@...d.org>,
linux-kernel@...r.kernel.org
Subject: [PATCH RFC 0/8] powerpc barrier_nospec
Hello,
this is patchset adding barrier_nospec on powerpc. It is based on the
out-of-tree gmb() patch and the existing rfi patches.
I do not have the tests for the Spectre/Meltdown issues available so this is
untested.
Feedback on the general approach as well as actual effectivity is welcome.
Thanks
Michal
Michal Suchanek (8):
powerpc: Add barrier_nospec
powerpc: Use barrier_nospec in copy_from_user
powerpc/64: Use barrier_nospec in syscall entry
powerpc/64s: Add support for ori barrier_nospec
powerpc/64: Patch barrier_nospec in modules
powerpc/64: barrier_nospec: Add debugfs trigger
powerpc/64s: barrier_nospec: Add hcall triggerr
powerpc/64: barrier_nospec: Add commandline trigger
arch/powerpc/include/asm/barrier.h | 9 ++++
arch/powerpc/include/asm/feature-fixups.h | 9 ++++
arch/powerpc/include/asm/setup.h | 11 +++++
arch/powerpc/include/asm/uaccess.h | 11 ++++-
arch/powerpc/kernel/entry_64.S | 3 ++
arch/powerpc/kernel/module.c | 6 +++
arch/powerpc/kernel/setup_64.c | 72 +++++++++++++++++++++++++++++++
arch/powerpc/kernel/vmlinux.lds.S | 7 +++
arch/powerpc/lib/feature-fixups.c | 38 ++++++++++++++++
arch/powerpc/platforms/pseries/setup.c | 38 ++++++++++------
10 files changed, 190 insertions(+), 14 deletions(-)
--
2.13.6
Powered by blists - more mailing lists