1. 20 4月, 2011 2 次提交
  2. 17 5月, 2010 2 次提交
    • A
      KVM: PPC: Make Alignment interrupts work again · 6fc55825
      Alexander Graf 提交于
      In the process of merging Book3S_32 and 64 I somehow ended up having the
      alignment interrupt handler take last_inst, but the fetching code not
      fetching it. So we ended up with stale last_inst values.
      
      Let's just enable last_inst fetching for alignment interrupts too.
      Signed-off-by: NAlexander Graf <agraf@suse.de>
      Signed-off-by: NAvi Kivity <avi@redhat.com>
      6fc55825
    • A
      KVM: PPC: Add generic segment switching code · 07372794
      Alexander Graf 提交于
      This is the code that will later be used instead of book3s_64_slb.S. It
      does the last step of guest entry and the first generic steps of guest
      exiting, once we have determined the interrupt is a KVM interrupt.
      
      It also reads the last used instruction from the guest virtual address
      space if necessary, to speed up that path.
      
      The new thing about this file is that it makes use of generic long load
      and store functions and calls a macro to fill in the actual segment
      switching code. That still needs to be done differently for book3s_32 and
      book3s_64.
      Signed-off-by: NAlexander Graf <agraf@suse.de>
      Signed-off-by: NAvi Kivity <avi@redhat.com>
      07372794