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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 65E49C433EF for ; Mon, 25 Oct 2021 14:17:53 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 2C71860EC0 for ; Mon, 25 Oct 2021 14:17:53 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 2C71860EC0 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Content-Type: Content-Transfer-Encoding:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:From:References:Cc:To:Subject: MIME-Version:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=xTzwfYiCYTHN1yJsKjackhwYLi5zku3WGxSSxv5Q57E=; b=dQmd51OsuUIZnt NPSsCN2Z5Nus3KUbraEE7/EQ/5PoXJIkLtbK3U8GQc51QB2EzWvjCK+xMtTyUS0X7g9Wpng+E9K2e ksjWFyyB26bqRJjSqYTBsVxYCFPgAKLlkXJ6kILBNVkI592vgv6ZqOoc9w3mOBpbC7JHV1fOQcifJ f3j9bbYu2WoX+OeolIl5bJ77eBqR6ZbSAQs+FNLPmGdUfor1d6Dh/N6UeJcYQq2iLPwQe4XHsAGQx ry9z1Sq45oAshJ4sbCNTIQfOHHJHScVW4Z9Wlx/rzy2cBbebPje82vRy86dkmj07fwhydDJbdx+bH SL7pm3V33/6IIItnffng==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mf0mG-00Gee3-Uu; Mon, 25 Oct 2021 14:16:41 +0000 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mf0mC-00Gebr-PF for linux-arm-kernel@lists.infradead.org; Mon, 25 Oct 2021 14:16:38 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1635171395; 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: in-reply-to:in-reply-to:references:references; bh=1yBIeDqOkiGFurlFgD43y7wdSJN5RQI+Z9N38wXwm0c=; b=SUo34g/0kM1CYWnu/LExwYWV1SKFIlW8y+oySv51K1nK3/PPXv+QOi2Lbpq1HE6z3xXF7t zSHjExMDr5ZYlgOkDFONxkC/k8IVGLgl/arAl8biSmuA0uqFTWZZhuqheJda/oYoqHOMtZ cp5pxbm3hj6Sz0I0HUShmxhosa5rtuk= Received: from mail-ed1-f70.google.com (mail-ed1-f70.google.com [209.85.208.70]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-537-UXavw1qBN-i8U9hfdXMX_w-1; Mon, 25 Oct 2021 10:16:34 -0400 X-MC-Unique: UXavw1qBN-i8U9hfdXMX_w-1 Received: by mail-ed1-f70.google.com with SMTP id z20-20020a05640240d400b003dce046ab51so10001793edb.14 for ; Mon, 25 Oct 2021 07:16:34 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=1yBIeDqOkiGFurlFgD43y7wdSJN5RQI+Z9N38wXwm0c=; b=PEz1gabcGnSFARJsCD+POFwtQCtcq02HGtk7Oh8XPj4beBih4OHui7p1dA+yC0EacP QgzLnH7+K/xpUI1/FUbRLd/XH1ERU29rF07ml/qTHzbLzQh6ZjzNGXN8Pg0Xy48Ik0IU B7dywC0PS92t68IfWadu5i/eZ+xnaUC4uLFR6cL3ouHA4iyhFbO+OsQ8wkdCq5VSATY5 ETBdIMIp41RvFp9TU5A1QfWQ4NktH8TVRDCMEtC6WvvLL+tQ3iehtQhRHyiS08UR9UQz e8+78DjeDw4Uaw8yctoMyQpkhaCtDzsFzy9ySN5yVe1MIj4q68RGegbmmUN+89acQyu5 BqeA== X-Gm-Message-State: AOAM533ZKxBFbtTN7Sd9QwTKks4VScz6/W1jA7Gs8xU1734QBDIL/KrV tfj1/tQcvNilg4jn18LJ/4EOB8qyiIIEABq6sGmb1JrNg+IF6i3Q9R0ny6srbKYLAlcohZQLcpv Sx5d/s3S2W4s+x7wPiT/8ifsfEn2vk2cqj6I= X-Received: by 2002:aa7:c384:: with SMTP id k4mr20307556edq.281.1635171393295; Mon, 25 Oct 2021 07:16:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxy0DabLqT08o64mSEkgU1uBZtZezVv5apPrWyd4apSmXmCs+LkrkYQ/fnsjY0W8O5UT62zRA== X-Received: by 2002:aa7:c384:: with SMTP id k4mr20307513edq.281.1635171393133; Mon, 25 Oct 2021 07:16:33 -0700 (PDT) Received: from ?IPV6:2001:b07:6468:f312:c8dd:75d4:99ab:290a? ([2001:b07:6468:f312:c8dd:75d4:99ab:290a]) by smtp.gmail.com with ESMTPSA id bx2sm3600770edb.44.2021.10.25.07.16.31 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 25 Oct 2021 07:16:32 -0700 (PDT) Message-ID: <01b5edae-aaa9-e96d-daaa-197c0c3a0431@redhat.com> Date: Mon, 25 Oct 2021 16:16:30 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.1.0 Subject: Re: [PATCH v2 43/43] KVM: VMX: Don't do full kick when handling posted interrupt wakeup To: Sean Christopherson , Marc Zyngier , Huacai Chen , Aleksandar Markovic , Paul Mackerras , Anup Patel , Paul Walmsley , Palmer Dabbelt , Albert Ou , Christian Borntraeger , Janosch Frank Cc: James Morse , Alexandru Elisei , Suzuki K Poulose , Atish Patra , David Hildenbrand , Cornelia Huck , Claudio Imbrenda , Vitaly Kuznetsov , Wanpeng Li , Jim Mattson , Joerg Roedel , linux-arm-kernel@lists.infradead.org, kvmarm@lists.cs.columbia.edu, linux-mips@vger.kernel.org, kvm@vger.kernel.org, kvm-ppc@vger.kernel.org, kvm-riscv@lists.infradead.org, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, David Matlack , Oliver Upton , Jing Zhang References: <20211009021236.4122790-1-seanjc@google.com> <20211009021236.4122790-44-seanjc@google.com> From: Paolo Bonzini In-Reply-To: <20211009021236.4122790-44-seanjc@google.com> Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=pbonzini@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Language: en-US X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211025_071637_060464_60F1EE3C X-CRM114-Status: UNSURE ( 8.43 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 09/10/21 04:12, Sean Christopherson wrote: > When waking vCPUs in the posted interrupt wakeup handling, do exactly > that and no more. There is no need to kick the vCPU as the wakeup > handler just need to get the vCPU task running, and if it's in the guest > then it's definitely running. And more important, the transition from blocking to running will have gone through sync_pir_to_irr, thus checking ON and manually moving the vector from PIR to RVI. Paolo _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel