lkml.org 
[lkml]   [2014]   [Sep]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: KVM: x86: handle idiv overflow at kvm_write_tsc for stable-3.10
Hello Marcelo,

On 03.09.2014 20:42, Marcelo Tosatti wrote:
> On Wed, Sep 03, 2014 at 10:16:40AM +0200, Philipp Hahn wrote:
>> can we please 8915aa27d5efbb9185357175b0acf884325565f9 get applied to
>> 3.10 too?
>>
>>> commit 8915aa27d5efbb9185357175b0acf884325565f9
>>> Author: Marcelo Tosatti <mtosatti@redhat.com>
>>> Date: Tue Jun 11 23:31:12 2013 -0300
>>>
>>> KVM: x86: handle idiv overflow at kvm_write_tsc
>>>
>>> Its possible that idivl overflows (due to large delta stored in
>> usdiff,
>>> valid scenario).
>>>
>>> Create an exception handler to catch the overflow exception
>> (division by zero
>>> is protected by vcpu->arch.virtual_tsc_khz check), and interpret
>> it accordingly
>>> (delta is larger than USEC_PER_SEC).
>>>
>>> Fixes https://bugzilla.redhat.com/show_bug.cgi?id=969644
>>>
>>> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
>>> Signed-off-by: Gleb Natapov <gleb@redhat.com>
...
>> Tested-by: Philipp Hahn <hahn@univention.de>
...
> Yes, can you send the patch accordingly to the stable guidelines please?

Maybe I'm to stupid right now, but I find
linux/Documentation/stable_kernel_rules.txt unclear on what I'm supposed
to do:

1. cherry-pick the patch myself?
2. amend the commit message by adding the original commit it
3. where should the name of the stable branch go?
4. amend the commit message by adding myself as a tester? Or do I need
to sign it off?
5. send that patch to <mailto:stable@vger.kernel.org>.

It did seem to have worked, as I never received an acknowledgement nor
is it listed in
<http://git.kernel.org/cgit/linux/kernel/git/stable/stable-queue.git>.
Maybe you can do it and cc: me so I can do it right next time myself.

Thanks.

Philipp


\
 
 \ /
  Last update: 2014-09-09 16:21    [W:0.023 / U:0.448 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site