Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753905AbbKJPi1 (ORCPT ); Tue, 10 Nov 2015 10:38:27 -0500 Received: from goliath.siemens.de ([192.35.17.28]:52520 "EHLO goliath.siemens.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753842AbbKJPiH (ORCPT ); Tue, 10 Nov 2015 10:38:07 -0500 Subject: Re: [PATCH 0/3] Infinite loops in microcode while running guests To: Paolo Bonzini , linux-kernel@vger.kernel.org, kvm@vger.kernel.org References: <1447158174-10484-1-git-send-email-pbonzini@redhat.com> Cc: digitaleric@google.com From: Jan Kiszka Message-ID: <56420F59.7080506@siemens.com> Date: Tue, 10 Nov 2015 16:38:01 +0100 User-Agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); de; rv:1.8.1.12) Gecko/20080226 SUSE/2.0.0.12-1.1 Thunderbird/2.0.0.12 Mnenhy/0.7.5.666 MIME-Version: 1.0 In-Reply-To: <1447158174-10484-1-git-send-email-pbonzini@redhat.com> Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1499 Lines: 42 On 2015-11-10 13:22, Paolo Bonzini wrote: > Yes, these can happen. The issue is that benign exceptions are > delivered serially, but two of them (#DB and #AC) can also happen > during exception delivery itself. The subsequent infinite stream > of exceptions causes the processor to never exit guest mode. > > Paolo > > Eric Northup (1): > KVM: x86: work around infinite loop in microcode when #AC is delivered > > Paolo Bonzini (2): > KVM: svm: unconditionally intercept #DB > KVM: x86: rename update_db_bp_intercept to update_bp_intercept > > arch/x86/include/asm/kvm_host.h | 2 +- > arch/x86/include/uapi/asm/svm.h | 1 + > arch/x86/kvm/svm.c | 22 +++++++++++----------- > arch/x86/kvm/vmx.c | 7 +++++-- > arch/x86/kvm/x86.c | 2 +- > 5 files changed, 19 insertions(+), 15 deletions(-) > So this affects both Intel and AMD CPUs equally? Nice cross-vendor "compatibility". And it can only be triggered via #AC and #DB, or also other exceptions (that KVM already happens to intercept)? You may guess why I'm asking... Is any of the issues already documented in a vendor errata? Thanks, Jan -- Siemens AG, Corporate Technology, CT RTC ITP SES-DE Corporate Competence Center Embedded Linux -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/