Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp43015pxf; Wed, 24 Mar 2021 20:23:46 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwjo17ytDScra28yVa8+fIEn7u0XobMoKLKXLN6yKKaZ+JMYz0xAwT60nedmkEqlhoogKf3 X-Received: by 2002:a05:6402:1393:: with SMTP id b19mr6669289edv.333.1616642625915; Wed, 24 Mar 2021 20:23:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616642625; cv=none; d=google.com; s=arc-20160816; b=HI3erMvt0r25u/KQF9I5YCY0Jp69rCGlxwunkvGPgN+88J1VxtVzfdZM9JZI0mp+pG p6izl/SkCgPVY0ebMkznbAHQiE5cSXmePMI2mjVyhaoWZeFpITsE+AQ/+yMW9uIoKtiv hDvgiIILpdQp98PIHUZMVQ+K/I5qGVM5PsYYqFjzLHnw0cwWD0DKSsiG88JabwVAb5ks IcfV8CYCve6/i4r3o1WS8yJGYgzHuI5yq5OnHwyHOB6Hy3T9w22THHKfkmO/uQJTlud3 ThOa/htbEh2fG7E5rHMwJxoQrgYrweYwdPoRZhEVckvUCRR2VjktSLZWDj0QsGAnRlIO 17lQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=v4JSA4BQ37J4uohV3xnfL5Ve1KAoB6UGhvfScuNhFnM=; b=DDc3mW6WpWgSDVD+v4XfPMwUVR5Ncabs+oZIOsO0nr33zvgh0qc/DYBWTycAp8nNvt QkCc8QgU4UCGE8O13jLbEZCoIR531SYsYr0DPLA6s3uWwLQoufgL2HknkLMj8UoK8NmO qnZlDW6X2zzrHemLGxIHqXPp5/zJT2nHJm4b8Tv7A+iNBJUWAjLO6GMVloTVmctszj3N a5qRxmUua3CZxbLWTQTXQ/bqAXreVbrdomyS5ssOI3Ez0PklvrW4prnrBUiNshsVc5gg ybIaJGcKb9gcV93n48jFoVl4Ry7DuaQMO5uhMGPfSb+3kfyyTt5fEGbgdyGE1uFKY8kn qn3Q== ARC-Authentication-Results: i=1; mx.google.com; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g8si3529795ejm.206.2021.03.24.20.23.23; Wed, 24 Mar 2021 20:23:45 -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; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237478AbhCXST4 (ORCPT + 99 others); Wed, 24 Mar 2021 14:19:56 -0400 Received: from mail.kernel.org ([198.145.29.99]:42902 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237530AbhCXSTa (ORCPT ); Wed, 24 Mar 2021 14:19:30 -0400 Received: from disco-boy.misterjones.org (disco-boy.misterjones.org [51.254.78.96]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 34BD361A0E; Wed, 24 Mar 2021 18:19:30 +0000 (UTC) Received: from 78.163-31-62.static.virginmediabusiness.co.uk ([62.31.163.78] helo=hot-poop.lan) by disco-boy.misterjones.org with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94) (envelope-from ) id 1lP86K-003a1f-4q; Wed, 24 Mar 2021 18:19:28 +0000 From: Marc Zyngier To: Will Deacon , linux-kernel@vger.kernel.org, kvm@vger.kernel.org, Eric Auger , kvmarm@lists.cs.columbia.edu, linux-arm-kernel@lists.infradead.org, Shenming Lu Cc: Alex Williamson , yuzenghui@huawei.com, wanghaibin.wang@huawei.com, Lorenzo Pieralisi , Cornelia Huck Subject: Re: [PATCH v5 0/6] KVM: arm64: Add VLPI migration support on GICv4.1 Date: Wed, 24 Mar 2021 18:19:25 +0000 Message-Id: <161660992482.2080654.11109199563385851665.b4-ty@kernel.org> X-Mailer: git-send-email 2.30.0 In-Reply-To: <20210322060158.1584-1-lushenming@huawei.com> References: <20210322060158.1584-1-lushenming@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-SA-Exim-Connect-IP: 62.31.163.78 X-SA-Exim-Rcpt-To: will@kernel.org, linux-kernel@vger.kernel.org, kvm@vger.kernel.org, eric.auger@redhat.com, kvmarm@lists.cs.columbia.edu, linux-arm-kernel@lists.infradead.org, lushenming@huawei.com, alex.williamson@redhat.com, yuzenghui@huawei.com, wanghaibin.wang@huawei.com, lorenzo.pieralisi@arm.com, cohuck@redhat.com X-SA-Exim-Mail-From: maz@kernel.org X-SA-Exim-Scanned: No (on disco-boy.misterjones.org); SAEximRunCond expanded to false Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 22 Mar 2021 14:01:52 +0800, Shenming Lu wrote: > In GICv4.1, migration has been supported except for (directly-injected) > VLPI. And GICv4.1 Spec explicitly gives a way to get the VLPI's pending > state (which was crucially missing in GICv4.0). So we make VLPI migration > capable on GICv4.1 in this series. > > In order to support VLPI migration, we need to save and restore all > required configuration information and pending states of VLPIs. But > in fact, the configuration information of VLPIs has already been saved > (or will be reallocated on the dst host...) in vgic(kvm) migration. > So we only have to migrate the pending states of VLPIs specially. > > [...] Applied to next, thanks! [1/6] irqchip/gic-v3-its: Add a cache invalidation right after vPE unmapping commit: 301beaf19739cb6e640ed44e630e7da993f0ecc8 [2/6] irqchip/gic-v3-its: Drop the setting of PTZ altogether commit: c21bc068cdbe5613d3319ae171c3f2eb9f321352 [3/6] KVM: arm64: GICv4.1: Add function to get VLPI state commit: 80317fe4a65375fae668672a1398a0fb73eb9023 [4/6] KVM: arm64: GICv4.1: Try to save VLPI state in save_pending_tables commit: f66b7b151e00427168409f8c1857970e926b1e27 [5/6] KVM: arm64: GICv4.1: Restore VLPI pending state to physical side commit: 12df7429213abbfa9632ab7db94f629ec309a58b [6/6] KVM: arm64: GICv4.1: Give a chance to save VLPI state commit: 8082d50f4817ff6a7e08f4b7e9b18e5f8bfa290d Cheers, M. -- Without deviation from the norm, progress is not possible.