Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp315785pxb; Mon, 25 Oct 2021 08:51:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwaesBsEgY2lGOd3Y+5E8l0MJ9xlcA4qRsCz3KcQKt7cvwswv5unp+AIG2/unuuVhTglHvY X-Received: by 2002:a17:907:7785:: with SMTP id ky5mr23372886ejc.247.1635177063281; Mon, 25 Oct 2021 08:51:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635177063; cv=none; d=google.com; s=arc-20160816; b=m1hAAyrissu+wi0cYqKLq6Nt4vEGYX2YZVcC+9Zrv7wfKT05WYemkm49QB89crehHi tO1lO7jjazvwNc2gW66piCxIKstk1vMF/7yT6gLzC9UkCz8gtIVerfQqL+JJ/hgD1oKK JtgoVUbp16c3/HnwNn9iUjhHg/k0o6st4n4iYZwaL3wwXDIk3ptgfMeCnvHN2oSQz46s /er/ZC6/9rugmQ3BC+OzPtAy2vXgQA+8IE3VwTPZqqJWv1N98udLOXGX+mICR6kpDovk KtnreEW1Auz76Sv09cA2p5/0b7PUUhjmpHHuVkOGDtzPduNwl+f7cVkan3NaM3ybpPMu HoXA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=0lZC/4YVNiq6m54gciVPWUG9HJx9IWHvMOAiOdASGoo=; b=h3GnXHSapHH16ps1DVp4lg8F85/X4DpHtHE4L66qOIJ2vx4n3JyZKCWnUmbCFNKBxK oDaELXGmcL9FwpW9jn63Iedyk3djYxEjQ8PPtztA/4AKTPPSKJ0lczogcPIbuGvChlLs 8UbZGShTiV1SFw7J6bwDn4P9Gh1sgAGuerUvu0cl6ZYyKE5mKDsY9+7054yZ/dPA5V1O 3MMcMZMfBnhKEM5avNS7SuMY/+eIMKxgRO3G+wyndFPmB9ePZyVIUiPqEQ4tmDKxGic6 9rykHPP2CZK/pHD138+rBNjyU1YPEROIFcGbCBVXyxeJjyEi5eXp1iFLdY4p/s+wdB5V CrAQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=QyfrOXYX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id cu17si22523002ejb.676.2021.10.25.08.50.35; Mon, 25 Oct 2021 08:51:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=QyfrOXYX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232909AbhJYPu4 (ORCPT + 99 others); Mon, 25 Oct 2021 11:50:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58772 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232776AbhJYPuv (ORCPT ); Mon, 25 Oct 2021 11:50:51 -0400 Received: from mail-pj1-x102b.google.com (mail-pj1-x102b.google.com [IPv6:2607:f8b0:4864:20::102b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B2D28C061767 for ; Mon, 25 Oct 2021 08:48:29 -0700 (PDT) Received: by mail-pj1-x102b.google.com with SMTP id q2-20020a17090a2e0200b001a0fd4efd49so214233pjd.1 for ; Mon, 25 Oct 2021 08:48:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=0lZC/4YVNiq6m54gciVPWUG9HJx9IWHvMOAiOdASGoo=; b=QyfrOXYXYzIEyrLD44pl5e5qrBHvKskln3PRReuWzpAgV2++kLJzI050rqe2oVwX2v /YSSz3klIowpfUugVLMls4E5ALzM885A+JjaGYEd8dI6xPFGzSKWWGCwhTUoU1wJJ2+4 q6QXjhMZdsCR4vmwSFpvR/7/SOjlriEKOoj6W/QPj/mWp9yfleITVSt3gv9SSl80X7Ip BvJTrYEOJKTHV3pbSlO8IHWn3hT4T3KR9LJVANxEXG1UOo91F4D+Bcp+BL0MB5OCLaKP Mo/ai6V2iZC0VqjsN2MnwKzxW/qxPY5ehn5rtVsOHSmvZ7PywSIV88EiySKFBzouQ+tc 9/iA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=0lZC/4YVNiq6m54gciVPWUG9HJx9IWHvMOAiOdASGoo=; b=N0xtWbYh6annShsBoJhRmBWo7DKdYLsOE9Ndotgac1VWzKwFh+WQ3BPzNKMiz0jTNw YiBiHYC3fxEQ7y74Mk8redMGvqx03Ou4z/Si7GJ60kFF+36R9o/DT1iUqzq+sIGHxNkD HkZfY+SBInODqy+7VY7U8LamnpYwyfkIrvfDfu0YR/CzbTWs3SbVgdV49BmS5sDKua1U Gv8MNOuEFfA670mgnBHp2hj4xKhAAnnqSgW8A3GMw0Dc8CJA4RkSNj4maHA9fbjajpW8 +PTlFMafO/eWyqqdj/GkaN1+UAr1fqlYt2UEWpFiDVq7PlOCEic6XkEdB72Wz8vSNWdw uJPQ== X-Gm-Message-State: AOAM533dXKYFs0wgTqeEqkE1NQnYRvVDT99kfdQCUUYbpnulD/tvdd+F bi9aSZuKCMbzs2xO2Mvc6S5Zyg== X-Received: by 2002:a17:90a:bf0e:: with SMTP id c14mr5921807pjs.180.1635176908950; Mon, 25 Oct 2021 08:48:28 -0700 (PDT) Received: from google.com (157.214.185.35.bc.googleusercontent.com. [35.185.214.157]) by smtp.gmail.com with ESMTPSA id g5sm11457677pfc.65.2021.10.25.08.48.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Oct 2021 08:48:28 -0700 (PDT) Date: Mon, 25 Oct 2021 15:48:24 +0000 From: Sean Christopherson To: Paolo Bonzini Cc: Marc Zyngier , Huacai Chen , Aleksandar Markovic , Paul Mackerras , Anup Patel , Paul Walmsley , Palmer Dabbelt , Albert Ou , Christian Borntraeger , Janosch Frank , 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 Subject: Re: [PATCH v2 37/43] KVM: SVM: Unconditionally mark AVIC as running on vCPU load (with APICv) Message-ID: References: <20211009021236.4122790-1-seanjc@google.com> <20211009021236.4122790-38-seanjc@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Oct 25, 2021, Paolo Bonzini wrote: > On 09/10/21 04:12, Sean Christopherson wrote: > > + /* TODO: Document why the unblocking path checks for updates. */ > > Is that a riddle or what? :) Yes? I haven't been able to figure out why the unblocking path explicitly checks and handles an APICv update.