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=-8.5 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE, SPF_PASS,USER_AGENT_SANE_1 autolearn=ham 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 7709CC433E1 for ; Thu, 13 Aug 2020 10:50:07 +0000 (UTC) Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (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 481EB20781 for ; Thu, 13 Aug 2020 10:50:07 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 481EB20781 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=xen.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1k6Any-00045y-Cn; Thu, 13 Aug 2020 10:49:54 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1k6Anx-00045s-1Q for xen-devel@lists.xenproject.org; Thu, 13 Aug 2020 10:49:53 +0000 X-Inumbo-ID: a5d48a8e-ed4d-43f8-9e41-55bf88ae330a Received: from mail-wr1-f68.google.com (unknown [209.85.221.68]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id a5d48a8e-ed4d-43f8-9e41-55bf88ae330a; Thu, 13 Aug 2020 10:49:52 +0000 (UTC) Received: by mail-wr1-f68.google.com with SMTP id c15so4813391wrs.11 for ; Thu, 13 Aug 2020 03:49:52 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=yRt180X45kgnvPHtfW7+9lf1geEYXtrtk50GfYbMfh4=; b=b/mVzELaxSzgn3Z5EyPWgkaPhWeyTxFqvpwZh1uO9PteUrpWljk4gEU9CP0rwsXpuN ndcTW7CWTTndgjuxctIhKW1aQ5ivZf1agnoDCQIjAusgUgFsoiDLU6z/UwKAi7W+xMVX ur6AmN2TSM6WzrmUNa4JCRl1QoV2c8v+/zwV6YgXwGtCRxA+gkCI31rti3DUClEjdb9/ W5zmCKU3KmLKWW14P+4xF1IM7O3Lyrtdu6GsZQ4J5gav5Fp2Ij0vZsa4CXhTM4MFmg4t ikg/zpeEHWx7KSr/SOwejIGehkqsm2/LUjT/o9mHvnxFbBD279KykKIolK7rZrml91C0 KuVg== X-Gm-Message-State: AOAM531W2wRL5Oe93hx8+DRM0RiSTZwYkjD7KOdB2f9qEfIkKeCq9+gf jvv6FDpu2Csvpyo/1APXU9Q= X-Google-Smtp-Source: ABdhPJzohISv9BMmVc0FjLlFb6whjt3AU3su8DZGpZYb3sm6Eabs+YH5SPJgslfpqW47ISs5YiWGZQ== X-Received: by 2002:adf:90d1:: with SMTP id i75mr3342367wri.278.1597315791384; Thu, 13 Aug 2020 03:49:51 -0700 (PDT) Received: from liuwe-devbox-debian-v2 ([51.145.34.42]) by smtp.gmail.com with ESMTPSA id m16sm9065943wrr.71.2020.08.13.03.49.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 Aug 2020 03:49:50 -0700 (PDT) Date: Thu, 13 Aug 2020 10:49:49 +0000 From: Wei Liu To: Paul Durrant Cc: xen-devel@lists.xenproject.org, Paul Durrant , Roger Pau =?utf-8?B?TW9ubsOp?= , Wei Liu , Jan Beulich , Andrew Cooper Subject: Re: [PATCH v2] x86 / viridian: remove the viridian_vcpu msg_pending bit mask Message-ID: <20200813104949.cfllpdvmh5tfupi3@liuwe-devbox-debian-v2> References: <20200813103553.29177-1-paul@xen.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20200813103553.29177-1-paul@xen.org> User-Agent: NeoMutt/20180716 X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" On Thu, Aug 13, 2020 at 11:35:53AM +0100, Paul Durrant wrote: > From: Paul Durrant > > The mask does not actually serve a useful purpose as we only use the SynIC > for timer messages. Dropping the mask means that the EOM MSR handler > essentially becomes a no-op. This means we can avoid setting 'message_pending' > for timer messages and hence avoid a VMEXIT for the EOM. > > Signed-off-by: Paul Durrant > Reviewed-by: "Roger Pau Monné" Acked-by: Wei Liu