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 A8EEFC433F5 for ; Mon, 25 Oct 2021 13:23:31 +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 6CCD160724 for ; Mon, 25 Oct 2021 13:23:31 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 6CCD160724 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=1hZlkSOXWLeh89FDvL7JyFcvrYa8TJBKTBMK/Mz1i3Q=; b=4DH5+S8WuTr9GF Oo5/CrYKngPDb0ELFMOfu8s2GQPNsO6Xsp9bt9pvIBgT2WZcbN2KMVPAEkXoxcBQSZ54AUO04N1tJ XMvH1kVDa7GCfN72srS6D7GDeqouFNweeZinYvNCerlAfZ8HIX4mI2dh2geNl5C4J44BK91OIPf57 eURtlNRcuUcOZyYcWv3ar3TomKTAFq1QSVVIVrt4zEL3X7pJS7GYZL4s5r/uYQvOjPXUiTIE8A8+h YaTTftRwLwZywmvWj+yy0VLaZjD38oshq0LHR628x5/WsDUpu+qWxa9tPN8mQj2Elr4bDIrUwiL6Y 5IKKoDVdw7wBJgEoL1HQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mezvd-00GWK2-5r; Mon, 25 Oct 2021 13:22:17 +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 1mezvW-00GWGA-W5 for linux-arm-kernel@lists.infradead.org; Mon, 25 Oct 2021 13:22:12 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1635168129; 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=48+IikSlKyqTNmxyr4q4VEcqSYZJGRNhdXCK/IFcjJk=; b=KE/riBNfAXvmdioUpEupdNXCo16fRq3CU6y433SjTnpscTb3trlrymitszXrkgp+SEiGpy IGGDdOs7tgVpF7D1koLvgvjkFQKxcb+ae8BAvfZAtAiPQnnSY7t0w4DQ9M14UID9quLJ6O qMkZ0+yPB8SV6/WH/73VfrMRwVbUjyY= Received: from mail-ed1-f69.google.com (mail-ed1-f69.google.com [209.85.208.69]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-293-_6Mi-M7vMHWrxjrtxz1O2Q-1; Mon, 25 Oct 2021 09:22:08 -0400 X-MC-Unique: _6Mi-M7vMHWrxjrtxz1O2Q-1 Received: by mail-ed1-f69.google.com with SMTP id o22-20020a056402439600b003dd4f228451so3388796edc.16 for ; Mon, 25 Oct 2021 06:22:07 -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=48+IikSlKyqTNmxyr4q4VEcqSYZJGRNhdXCK/IFcjJk=; b=kOCOhdMB2HUZUD3l98r9k6gLuzUgVc4VQvkkc01mFTkznXJzOhosyI1x9UW+0VzBTb HFC6SF8E5etGKUub/BVCgpcJMN8HzHayDoHDobg5tysFiQZCsiDDx4rve91fyGNM0VoV Cw2xj6QMfFVUrD/+h5h5PkMM/u+P9oPz6zm94Aq7swxnuJoeXi8ybUk8QmTkjMhJnqs6 gPwVsqYmyukSVGpyyNs7YEMUy4cNqJvbVFsU5GPaZQGeRlhSZKx4sEP+Vx6z+qcin1w/ 6+mYIej01jpfR3jQY5AyyvXn+ZXhUGzs3Vjz8nQAQBpQnPtqiSIp2mYGlG+P7LxMmzAc +7Tg== X-Gm-Message-State: AOAM5316Iho6hrXjOXlcjHLAlLOvnIbV1ktf8IDpW7z4VPHrBLT4cOHz oftdCmHFrtmkCJv+lGAnzGuV7BzfGAgu45otoQbs/f3pZ7Y0548y4m39YaGhSP9oJpbeJ0+kN5a jwQgBkInSkDvI3fWGMZkTdmKn/FsDbiJP4Eo= X-Received: by 2002:a50:d783:: with SMTP id w3mr20253063edi.380.1635168126980; Mon, 25 Oct 2021 06:22:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzfRKsXz9JGMpnMaISmnOtZN3rndX1G8rsIOCD7EyDtzp44dz76SyjuCafVUoIKeNPaL6dxIA== X-Received: by 2002:a50:d783:: with SMTP id w3mr20253015edi.380.1635168126752; Mon, 25 Oct 2021 06:22:06 -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 j15sm9152968edl.34.2021.10.25.06.22.00 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 25 Oct 2021 06:22:06 -0700 (PDT) Message-ID: Date: Mon, 25 Oct 2021 15:21:59 +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 02/43] KVM: SVM: Ensure target pCPU is read once when signalling AVIC doorbell 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-3-seanjc@google.com> From: Paolo Bonzini In-Reply-To: <20211009021236.4122790-3-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_062211_114216_938F8E9F X-CRM114-Status: UNSURE ( 8.68 ) 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:11, Sean Christopherson wrote: > + * point, which could result in signalling the wrong/previous > + * pCPU. But if that happens the vCPU is guaranteed to do a > + * VMRUN (after being migrated) and thus will process pending > + * interrupts, i.e. a doorbell is not needed (and the spurious) ... one is harmless, I suppose. Paolo _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel