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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id AB94AC433F5 for ; Fri, 11 Feb 2022 11:01:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1349305AbiBKLB1 (ORCPT ); Fri, 11 Feb 2022 06:01:27 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:59898 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1349279AbiBKLBX (ORCPT ); Fri, 11 Feb 2022 06:01:23 -0500 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id F00BED77 for ; Fri, 11 Feb 2022 03:01:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1644577282; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=hbSaPciou3jSEZDbn05WRk0NCLE3xSiIT9BU9P6WTsg=; b=g91Hj7BWczX3KYs21nP2Z+de2uFh8dqiueAGf2440/baLSaQG1BholtJhqwsYRqWDj406f AVdRgPBNOsPilGX92igjgkeDsW0vEKCXHyo6AMY8FzSxJOVjqdQK6q4beAy+q+2MBjW95F U/dZOJszGEHDcHWyqEG8U4+ENehjDRg= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-374-3c__71EoPsCVQclPSY2ong-1; Fri, 11 Feb 2022 06:01:19 -0500 X-MC-Unique: 3c__71EoPsCVQclPSY2ong-1 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 1B7001091DA6; Fri, 11 Feb 2022 11:01:18 +0000 (UTC) Received: from virtlab701.virt.lab.eng.bos.redhat.com (virtlab701.virt.lab.eng.bos.redhat.com [10.19.152.228]) by smtp.corp.redhat.com (Postfix) with ESMTP id BF91D7C0D1; Fri, 11 Feb 2022 11:01:17 +0000 (UTC) From: Paolo Bonzini To: linux-kernel@vger.kernel.org, kvm@vger.kernel.org Cc: mlevitsk@redhat.com Subject: [PATCH 0/3] KVM: SVM: fix race between interrupt delivery and AVIC inhibition Date: Fri, 11 Feb 2022 06:01:14 -0500 Message-Id: <20220211110117.2764381-1-pbonzini@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This is a split and cleaned-up version of Maxim's patch to fix the SVM race between interrupt delivery and AVIC inhibition. The final difference is just code movement and formatting. Maxim Levitsky (2): KVM: SVM: extract avic_ring_doorbell KVM: SVM: fix race between interrupt delivery and AVIC inhibition Paolo Bonzini (1): KVM: SVM: set IRR in svm_deliver_interrupt arch/x86/kvm/svm/avic.c | 73 ++++++++++++++--------------------------- arch/x86/kvm/svm/svm.c | 48 +++++++++++++++++++++++---- arch/x86/kvm/svm/svm.h | 4 ++- arch/x86/kvm/x86.c | 4 ++- 4 files changed, 72 insertions(+), 57 deletions(-) -- 2.31.1