From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.0 required=3.0 tests=BAYES_00,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 39319C43461 for ; Thu, 10 Sep 2020 12:14:46 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id E959320C09 for ; Thu, 10 Sep 2020 12:14:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726989AbgIJMO1 convert rfc822-to-8bit (ORCPT ); Thu, 10 Sep 2020 08:14:27 -0400 Received: from mail.kernel.org ([198.145.29.99]:44092 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730450AbgIJMNm (ORCPT ); Thu, 10 Sep 2020 08:13:42 -0400 From: bugzilla-daemon@bugzilla.kernel.org To: kvm@vger.kernel.org Subject: [Bug 209155] KVM Linux guest with more than 1 CPU panics after commit 404d5d7bff0d419fe11c7eaebca9ec8f25258f95 on old CPU (Phenom x4) Date: Thu, 10 Sep 2020 12:12:58 +0000 X-Bugzilla-Reason: None X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: AssignedTo virtualization_kvm@kernel-bugs.osdl.org X-Bugzilla-Product: Virtualization X-Bugzilla-Component: kvm X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: kronenpj@kronenpj.dyndns.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: virtualization_kvm@kernel-bugs.osdl.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT X-Bugzilla-URL: https://bugzilla.kernel.org/ Auto-Submitted: auto-generated MIME-Version: 1.0 Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org https://bugzilla.kernel.org/show_bug.cgi?id=209155 --- Comment #14 from Paul K. (kronenpj@kronenpj.dyndns.org) --- I'm having a bit of a problem applying the patches cleanly. Working with both v5.9-rc3 and 5.9-rc4 give the same: Patch 1/3 goes fine: $ patch -p1 < /net/phenom/export/home2/users/kronenpj/tmp/patch1-3.txt patching file arch/x86/kvm/svm/svm.c Patch 2/3 fails on hunk #3: $ patch -p1 < /net/phenom/export/home2/users/kronenpj/tmp/patch2-3.txt patching file arch/x86/kvm/svm/svm.c Hunk #1 succeeded at 3349 (offset 2 lines). Hunk #2 succeeded at 3504 (offset 4 lines). Hunk #3 FAILED at 3533. 1 out of 3 hunks FAILED -- saving rejects to file arch/x86/kvm/svm/svm.c.rej $ cat svm.c.rej --- arch/x86/kvm/svm/svm.c +++ arch/x86/kvm/svm/svm.c @@ -3533,6 +3537,7 @@ static __no_kcsan fastpath_t svm_vcpu_run(struct kvm_vcpu *vcpu) svm_handle_mce(svm); svm_complete_interrupts(svm); + exit_fastpath = svm_exit_handlers_fastpath(vcpu); vmcb_mark_all_clean(svm->vmcb); return exit_fastpath; Adding that line manually and continuing with the third patch: $ patch -p1 < /net/phenom/export/home2/users/kronenpj/tmp/patch3-3.txt patching file arch/x86/kvm/svm/svm.c Hunk #2 succeeded at 3536 with fuzz 2 (offset 8 lines). The patch against v5.9-rc4+ works as expected. -- You are receiving this mail because: You are watching the assignee of the bug.