linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] powerpc: Make sstep.c more generally useful
@ 2014-08-18 12:13 Paul Mackerras
  2014-08-18 12:13 ` [PATCH 1/3] powerpc: Split out instruction analysis part of emulate_step() Paul Mackerras
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Paul Mackerras @ 2014-08-18 12:13 UTC (permalink / raw)
  To: linuxppc-dev

This patch series modifies the code in arch/powerpc/lib/sstep.c so
that it can be used by KVM in its instruction emulation, thereby
reducing the number of different PowerPC instruction emulators that we
have in the kernel.  It does this by splitting the existing
emulate_step() function into two: an analyse_instr() function that
decodes an instruction and executes the easy ones, and an
emulate_step() function that uses analyse_instr() and then executes
the loads and stores.  The subsequent two patches add emulation of
some extra instructions.

The patch series is against v3.17-rc1.

 arch/powerpc/include/asm/sstep.h |  62 +++
 arch/powerpc/lib/sstep.c         | 992 +++++++++++++++++++++++++--------------
 2 files changed, 694 insertions(+), 360 deletions(-)

^ permalink raw reply	[flat|nested] 6+ messages in thread
* [PATCH v2 0/3] powerpc: Make sstep.c more generally useful
@ 2014-09-02  4:35 Paul Mackerras
  2014-09-02  4:35 ` [PATCH 1/3] powerpc: Split out instruction analysis part of emulate_step() Paul Mackerras
  0 siblings, 1 reply; 6+ messages in thread
From: Paul Mackerras @ 2014-09-02  4:35 UTC (permalink / raw)
  To: linuxppc-dev

This patch series modifies the code in arch/powerpc/lib/sstep.c so
that it can be used by KVM in its instruction emulation, thereby
reducing the number of different PowerPC instruction emulators that we
have in the kernel.  It does this by splitting the existing
emulate_step() function into two: an analyse_instr() function that
decodes an instruction and executes the easy ones, and an
emulate_step() function that uses analyse_instr() and then executes
the loads and stores.  The subsequent two patches add emulation of
some extra instructions.

v2: add #ifdef CONFIG_ALTIVEC around do_vec_{load,store} calls.

The patch series is against v3.17-rc1.

 arch/powerpc/include/asm/sstep.h |  62 +++
 arch/powerpc/lib/sstep.c         | 996 +++++++++++++++++++++++++--------------
 2 files changed, 698 insertions(+), 360 deletions(-)

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

end of thread, other threads:[~2014-09-02  4:35 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-18 12:13 [PATCH 0/3] powerpc: Make sstep.c more generally useful Paul Mackerras
2014-08-18 12:13 ` [PATCH 1/3] powerpc: Split out instruction analysis part of emulate_step() Paul Mackerras
2014-08-21  6:38   ` Michael Ellerman
2014-08-18 12:13 ` [PATCH 2/3] powerpc: Emulate icbi, mcrf and conditional-trap instructions Paul Mackerras
2014-08-18 12:13 ` [PATCH 3/3] powerpc: Implement emulation of string loads and stores Paul Mackerras
  -- strict thread matches above, loose matches on Subject: below --
2014-09-02  4:35 [PATCH v2 0/3] powerpc: Make sstep.c more generally useful Paul Mackerras
2014-09-02  4:35 ` [PATCH 1/3] powerpc: Split out instruction analysis part of emulate_step() Paul Mackerras

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).