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

From: Philipp Hahn
Date: Tue Sep 09 2014 - 09:40:53 EST


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@xxxxxxxxxx>
>>> 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@xxxxxxxxxx>
>>> Signed-off-by: Gleb Natapov <gleb@xxxxxxxxxx>
...
>> Tested-by: Philipp Hahn <hahn@xxxxxxxxxxxxx>
...
> 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@xxxxxxxxxxxxxxx>.

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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/