1. 22 5月, 2011 5 次提交
  2. 11 5月, 2011 1 次提交
    • B
      KVM: PPC: Fix issue clearing exit timing counters · 09000adb
      Bharat Bhushan 提交于
      Following dump is observed on host when clearing the exit timing counters
      
      [root@p1021mds kvm]# echo -n 'c' > vm1200_vcpu0_timing
      INFO: task echo:1276 blocked for more than 120 seconds.
      "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
      echo          D 0ff5bf94     0  1276   1190 0x00000000
      Call Trace:
      [c2157e40] [c0007908] __switch_to+0x9c/0xc4
      [c2157e50] [c040293c] schedule+0x1b4/0x3bc
      [c2157e90] [c04032dc] __mutex_lock_slowpath+0x74/0xc0
      [c2157ec0] [c00369e4] kvmppc_init_timing_stats+0x20/0xb8
      [c2157ed0] [c0036b00] kvmppc_exit_timing_write+0x84/0x98
      [c2157ef0] [c00b9f90] vfs_write+0xc0/0x16c
      [c2157f10] [c00ba284] sys_write+0x4c/0x90
      [c2157f40] [c000e320] ret_from_syscall+0x0/0x3c
      
              The vcpu->mutex is used by kvm_ioctl_* (KVM_RUN etc) and same was
      used when clearing the stats (in kvmppc_init_timing_stats()). What happens
      is that when the guest is idle then it held the vcpu->mutx. While the
      exiting timing process waits for guest to release the vcpu->mutex and
      a hang state is reached.
      
              Now using seprate lock for exit timing stats.
      Signed-off-by: NBharat Bhushan <Bharat.Bhushan@freescale.com>
      Acked-by: NAlexander Graf <agraf@suse.de>
      Signed-off-by: NAvi Kivity <avi@redhat.com>
      09000adb
  3. 06 5月, 2011 1 次提交
  4. 27 4月, 2011 1 次提交
  5. 25 4月, 2011 1 次提交
  6. 22 4月, 2011 1 次提交
    • A
      powerpc: Fix multicast problem in fs_enet driver · e2a85aec
      Andrea Galbusera 提交于
      mac-fec.c was setting individual UDP address registers instead of multicast
      group address registers when joining a multicast group.
      This prevented from correctly receiving UDP multicast packets.
      According to datasheet, replaced hash_table_high and hash_table_low
      with grp_hash_table_high and grp_hash_table_low respectively.
      Also renamed hash_table_* with grp_hash_table_* in struct fec declaration
      for 8xx: these registers are used only for multicast there.
      
      Tested on a MPC5121 based board.
      Build tested also against mpc866_ads_defconfig.
      Signed-off-by: NAndrea Galbusera <gizero@gmail.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      e2a85aec
  7. 18 4月, 2011 6 次提交
  8. 15 4月, 2011 1 次提交
  9. 12 4月, 2011 6 次提交
  10. 05 4月, 2011 5 次提交
  11. 04 4月, 2011 1 次提交
  12. 01 4月, 2011 11 次提交