1. 11 6月, 2014 1 次提交
  2. 07 4月, 2014 1 次提交
  3. 05 12月, 2013 1 次提交
  4. 24 5月, 2013 1 次提交
  5. 02 5月, 2013 2 次提交
  6. 26 4月, 2013 2 次提交
  7. 18 4月, 2013 1 次提交
    • M
      powerpc: Setup in HFSCR for POWER8 · 2a3563b0
      Michael Neuling 提交于
      Setup the HFSCR (Hypervisor Facility Status and Control Register) for POWER8
      when running HV=1.  The HFSCR is the same as the FSCR except it's for
      hypervisors.  It controls the available of various facilities in OS and
      userspace levels.  It also indicates the cause of a hypervisor facility
      unavailable interrupt (although we are not using this here).
      
      This patch sets the facilities Linux knows about incase the firmware doesn't.
      Signed-off-by: NMichael Neuling <mikey@neuling.org>
      Signed-off-by: NMichael Ellerman <michael@ellerman.id.au>
      2a3563b0
  8. 05 3月, 2013 2 次提交
  9. 08 2月, 2013 1 次提交
  10. 15 11月, 2012 4 次提交
  11. 12 7月, 2011 2 次提交
    • P
      powerpc, KVM: Split HVMODE_206 cpu feature bit into separate HV and architecture bits · 969391c5
      Paul Mackerras 提交于
      This replaces the single CPU_FTR_HVMODE_206 bit with two bits, one to
      indicate that we have a usable hypervisor mode, and another to indicate
      that the processor conforms to PowerISA version 2.06.  We also add
      another bit to indicate that the processor conforms to ISA version 2.01
      and set that for PPC970 and derivatives.
      
      Some PPC970 chips (specifically those in Apple machines) have a
      hypervisor mode in that MSR[HV] is always 1, but the hypervisor mode
      is not useful in the sense that there is no way to run any code in
      supervisor mode (HV=0 PR=0).  On these processors, the LPES0 and LPES1
      bits in HID4 are always 0, and we use that as a way of detecting that
      hypervisor mode is not useful.
      
      Where we have a feature section in assembly code around code that
      only applies on POWER7 in hypervisor mode, we use a construct like
      
      END_FTR_SECTION_IFSET(CPU_FTR_HVMODE | CPU_FTR_ARCH_206)
      
      The definition of END_FTR_SECTION_IFSET is such that the code will
      be enabled (not overwritten with nops) only if all bits in the
      provided mask are set.
      
      Note that the CPU feature check in __tlbie() only needs to check the
      ARCH_206 bit, not the HVMODE bit, because __tlbie() can only get called
      if we are running bare-metal, i.e. in hypervisor mode.
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      Signed-off-by: NAlexander Graf <agraf@suse.de>
      969391c5
    • P
      powerpc: Set up LPCR for running guest partitions · 923c53ca
      Paul Mackerras 提交于
      In hypervisor mode, the LPCR controls several aspects of guest
      partitions, including virtual partition memory mode, and also controls
      whether the hypervisor decrementer interrupts are enabled.  This sets
      up LPCR at boot time so that guest partitions will use a virtual real
      memory area (VRMA) composed of 16MB large pages, and hypervisor
      decrementer interrupts are disabled.
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      Signed-off-by: NAlexander Graf <agraf@suse.de>
      923c53ca
  12. 20 4月, 2011 4 次提交