1. 07 12月, 2015 1 次提交
    • D
      e1000: fix hang of win2k12 shutdown with flood ping · 9596ef7c
      Denis V. Lunev 提交于
      e1000 driver in Win2k12 is really well rotten. It 100% hangs on shutdown
      of UP VM under flood ping. The guest checks card state and reinjects
      itself interrupt in a loop. This is fatal for UP machine.
      
      There is no good way to fix this misbehavior but to kludge it. The
      emulation has interrupt throttling register aka ITR which limits
      interrupt rate and allows the guest to proceed this phase.
      There is no problem with this kludge for Linux guests - it adjust the
      value of it itself.
      
      On the other hand according to the initial research in
          commit e9845f09
          Author: Vincenzo Maffione <v.maffione@gmail.com>
          Date:   Fri Aug 2 18:30:52 2013 +0200
      
          e1000: add interrupt mitigation support
      
          ...
      
          Interrupt mitigation boosts performance when the guest suffers from
          an high interrupt rate (i.e. receiving short UDP packets at high packet
          rate). For some numerical results see the following link
          http://info.iet.unipi.it/~luigi/papers/20130520-rizzo-vm.pdf
      
      this should also boost performance a bit.
      
      See https://bugzilla.redhat.com/show_bug.cgi?id=874406 for additional
      details.
      Signed-off-by: NDenis V. Lunev <den@openvz.org>
      CC: Vincenzo Maffione <v.maffione@gmail.com>
      CC: Stefan Hajnoczi <stefanha@redhat.com>
      Signed-off-by: NJason Wang <jasowang@redhat.com>
      9596ef7c
  2. 28 10月, 2015 1 次提交
    • P
      Merge remote-tracking branch 'remotes/pmaydell/tags/pull-target-arm-20151027-1' into staging · c012e1b7
      Peter Maydell 提交于
      target-arm queue:
       * more EL2 preparation: handling for stage 2 translations
       * standardize debug macros in i.MX devices
       * improve error message in a corner case for virt board
       * disable live migration of KVM GIC if the kernel can't handle it
       * add SPSR_(ABT|UND|IRQ|FIQ) registers
       * handle non-executable page-straddling Thumb instructions
       * fix a "no 64-bit EL2" assumption in arm_excp_unmasked()
      
      # gpg: Signature made Tue 27 Oct 2015 16:03:31 GMT using RSA key ID 14360CDE
      # gpg: Good signature from "Peter Maydell <peter.maydell@linaro.org>"
      # gpg:                 aka "Peter Maydell <pmaydell@gmail.com>"
      # gpg:                 aka "Peter Maydell <pmaydell@chiark.greenend.org.uk>"
      
      * remotes/pmaydell/tags/pull-target-arm-20151027-1: (27 commits)
        target-arm: Add support for S1 + S2 MMU translations
        target-arm: Route S2 MMU faults to EL2
        target-arm: Add S2 translation to 32bit S1 PTWs
        target-arm: Add S2 translation to 64bit S1 PTWs
        target-arm: Add ARMMMUFaultInfo
        target-arm: Avoid inline for get_phys_addr
        target-arm: Add support for S2 page-table protection bits
        target-arm: Add computation of starting level for S2 PTW
        target-arm: lpae: Rename granule_sz to stride
        target-arm: lpae: Replace tsz with computed inputsize
        target-arm: Add support for AArch32 S2 negative t0sz
        target-arm: lpae: Move declaration of t0sz and t1sz
        target-arm: lpae: Make t0sz and t1sz signed integers
        target-arm: Add HPFAR_EL2
        i.MX: Standardize i.MX GPT debug
        i.MX: Standardize i.MX EPIT debug
        i.MX: Standardize i.MX FEC debug
        i.MX: Standardize i.MX CCM debug
        i.MX: Standardize i.MX AVIC debug
        i.MX: Standardize i.MX I2C debug
        ...
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      c012e1b7
  3. 27 10月, 2015 38 次提交