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 EC670E7849A for ; Mon, 2 Oct 2023 11:58:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236827AbjJBL61 (ORCPT ); Mon, 2 Oct 2023 07:58:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55556 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236697AbjJBL6Z (ORCPT ); Mon, 2 Oct 2023 07:58:25 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 353B2A6 for ; Mon, 2 Oct 2023 04:57:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1696247853; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=xdEi4vgKgEG2jRiO+4XFkFqhlYVyHnR0EylKCN1L2xM=; b=HVLClJ43SrozpKrBOdVQWU0f0ZGiPuoBFbAMDBYpvCiuGpA9+cshGENJn2JLhEsHqVWtle P6UOj9p/anpNGon8tOso2dOfG25NBxDoAGP/l6nPGt1s2ds9X2RtPy572nv6ZHvlaBj+Wb 5LboKX1rrz/eMJDIHbzQaNG/OT63otY= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-134-PTuM0XbWONejxasCbmtAbA-1; Mon, 02 Oct 2023 07:57:29 -0400 X-MC-Unique: PTuM0XbWONejxasCbmtAbA-1 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.rdu2.redhat.com [10.11.54.7]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id B339197E40A; Mon, 2 Oct 2023 11:57:28 +0000 (UTC) Received: from localhost.localdomain (unknown [10.45.224.55]) by smtp.corp.redhat.com (Postfix) with ESMTP id 056A3140E950; Mon, 2 Oct 2023 11:57:24 +0000 (UTC) From: Maxim Levitsky To: kvm@vger.kernel.org Cc: Will Deacon , linux-kernel@vger.kernel.org, Borislav Petkov , Dave Hansen , x86@kernel.org, Ingo Molnar , "H. Peter Anvin" , Thomas Gleixner , Joerg Roedel , Suravee Suthikulpanit , Sean Christopherson , Maxim Levitsky , Robin Murphy , iommu@lists.linux.dev, Paolo Bonzini Subject: [PATCH v3 0/4] Allow AVIC's IPI virtualization to be optional Date: Mon, 2 Oct 2023 14:57:19 +0300 Message-Id: <20231002115723.175344-1-mlevitsk@redhat.com> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Scanned-By: MIMEDefang 3.1 on 10.11.54.7 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi!=0D =0D This patch allows AVIC's ICR emulation to be optional and thus allows=0D to workaround AVIC's errata #1235 by disabling this portion of the feature.= =0D =0D This is v3 of my patch series 'AVIC bugfixes and workarounds' including=0D review feedback.=0D =0D Best regards,=0D Maxim Levitsky=0D =0D Maxim Levitsky (4):=0D KVM: Add per vCPU flag specifying that a vCPU is loaded=0D x86: KVM: AVIC: stop using 'is_running' bit in avic_vcpu_put()=0D x86: KVM: don't read physical ID table entry in avic_pi_update_irte()=0D x86: KVM: SVM: allow optionally to disable AVIC's IPI virtualization=0D =0D arch/x86/kvm/svm/avic.c | 72 ++++++++++++++++++++++++++--------------=0D include/linux/kvm_host.h | 1 +=0D virt/kvm/kvm_main.c | 10 ++++++=0D 3 files changed, 59 insertions(+), 24 deletions(-)=0D =0D -- =0D 2.26.3=0D =0D