[PATCH] KVM: x86: handle idiv overflow at kvm_write_tsc

2014-09-22 Thread Philipp Hahn
khz check), and interpret it accordingly (delta is larger than USEC_PER_SEC). Fixes https://bugzilla.redhat.com/show_bug.cgi?id=969644 Cc: # v3.10 Signed-off-by: Marcelo Tosatti Signed-off-by: Gleb Natapov Signed-off-by: Philipp Hahn Tested-by: Philipp Hahn --- Cherry pick into 3.10. --- arch/

[PATCH] KVM: x86: handle idiv overflow at kvm_write_tsc

2014-09-03 Thread Philipp Hahn
khz check), and interpret it accordingly (delta is larger than USEC_PER_SEC). Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=969644 Signed-off-by: Marcelo Tosatti Signed-off-by: Gleb Natapov Tested-by: Philipp Hahn --- arch/x86/kvm/x86.c | 23 --- 1 file changed,

KVM: x86: handle idiv overflow at kvm_write_tsc for stable-3.10

2014-09-03 Thread Philipp Hahn
24 18 8b 44 24 18 89 54 24 1c 8b 54 24 1c > 7c 24 28 31 d2 89 54 24 1c 8b 54 24 20 2b 54 24 10 1b 4c 24 > [196075.519318] EIP: [] kvm_write_tsc+0xcd/0x3df [kvm] SS:ESP > 0068:e96d7d60 > [196075.525677] ---[ end trace 70946d57c8795610 ]--- The patch went into 3.11, RedHat seems to have put i

Re: [Xen-devel] [PATCH] Kernel OOPS in xen_netbk_rx_action / xenvif_gop_skb

2014-07-11 Thread Philipp Hahn
Hello Wei Liu, On 11.07.2014 12:32, Wei Liu wrote: > On Fri, Jul 11, 2014 at 11:41:22AM +0200, Philipp Hahn wrote: >> On 10.07.2014 14:41, Wei Liu wrote: >>> On Wed, Jul 02, 2014 at 09:45:44AM +0200, Philipp Hahn wrote: >>>> @Wei Liu: You said that the patch is onl

Re: [PATCH] Kernel OOPS in xen_netbk_rx_action / xenvif_gop_skb

2014-07-11 Thread Philipp Hahn
Hello Wei Liu, On 10.07.2014 14:41, Wei Liu wrote: > On Wed, Jul 02, 2014 at 09:45:44AM +0200, Philipp Hahn wrote: >> @Wei Liu: You said that the patch is only a quick hack to detect, if my >> analysis is correct and a proper fix would be needed. For us the >> attached patch

Re: [PATCH] Kernel OOPS in xen_netbk_rx_action / xenvif_gop_skb

2014-07-02 Thread Philipp Hahn
Hello Wei Liu, On 27.06.2014 20:24, Philipp Hahn wrote: > On 27.06.2014 19:48, Philipp Hahn wrote:> I guess we found the problem > ourselves: For thus removed skb's the >> reference counter on the associated vif was not decremented, as it is >> normally done in two l

[2.6.32.y][PATCH] fix pgd_lock deadlock

2012-04-23 Thread Philipp Hahn
; or from the Debian BTS at <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=669335>. I have no easy test case, but running multiple parallel builds inside the VM normally triggers the bug within seconds to minutes. With the patch applied the VM survived a night building packages without any