Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp240512ybb; Tue, 24 Mar 2020 21:27:18 -0700 (PDT) X-Google-Smtp-Source: ADFU+vtAd7Upeexcixt2NqNGV3cA8Fp8rYjkNkTEwbWP13eQLiBU4XlWyJDToL1bpBce1MZttyhC X-Received: by 2002:a9d:5a9:: with SMTP id 38mr1022506otd.331.1585110437906; Tue, 24 Mar 2020 21:27:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585110437; cv=none; d=google.com; s=arc-20160816; b=T9PT3PX18IoJ67Bg4Qoh3Gx/ZZJNxWpoRMrdMONPpAsIxjPogUvy/F5WdrHFOMANC0 8oINCc5JMOoRpVmU/4eX3oBBYdEVLI0YROqdvXF+lT7yIFoBL/wNukyf0/Tbf/cNAp6F KGEJ+jk7okZEAt+CfF4eq8XyYpZBRJ0U99lLGXz9JB49kPtBMOpC5/8Ru8KarmGifN5L o/YIccDMf0VnGMRmOqMjkIir8CKFm9a5CYR0Q7yCpGnS+YVV6mKZjqneQbTkRidMM5n8 Qyhs8p10ZAgtm7fTHnK7y4HPd44koeo06HVc94J7P0rySN5dsIA5DiqCcmBL27ZELMJm Qh1Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=io9JNZItkS6Q6ytjXkvbXjNuoA5OmmW/sAm7Mp9Gbtg=; b=sb59Uam8hr3430ZecCZIPXUkOA3IM46gH7cOzqVXQsbyZck8uzAZgIIm9+Igp/X/it vBW4N3tlP86zMrB/E2umOewTwALx7rp7O1xsH916bLDIc0+CTxrDGy+oVzPx/6TLHBsz Swv/zBYDdA68avo2tQ7MxYH/5aCSiS9n/fWkjPmZOPIzXaIcsd/uuQI2+CHYez7DN81/ a5zzHPOHqWmy6dOvMNO7vX+kD5F4IUrxFHyrp1zgK+vSOC3ZcgVRi73AWTvvLCF3nU6I 1RIu656PzC03I7qW3LxCQbc74LheFJGEW1gTV2E/GryWCHo0XRUaK/oIIeeeHhpzXmsT ZiCw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c8si4593558otk.67.2020.03.24.21.27.04; Tue, 24 Mar 2020 21:27:17 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726098AbgCYE0m (ORCPT + 99 others); Wed, 25 Mar 2020 00:26:42 -0400 Received: from szxga04-in.huawei.com ([45.249.212.190]:12124 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725781AbgCYE0m (ORCPT ); Wed, 25 Mar 2020 00:26:42 -0400 Received: from DGGEMS408-HUB.china.huawei.com (unknown [172.30.72.58]) by Forcepoint Email with ESMTP id EBDB983B08E26A5DEBB8; Wed, 25 Mar 2020 12:26:38 +0800 (CST) Received: from linux-kDCJWP.huawei.com (10.175.104.212) by DGGEMS408-HUB.china.huawei.com (10.3.19.208) with Microsoft SMTP Server id 14.3.487.0; Wed, 25 Mar 2020 12:26:28 +0800 From: Keqian Zhu To: , , , CC: Marc Zyngier , Paolo Bonzini , "James Morse" , Julien Thierry , Will Deacon , Suzuki K Poulose , Sean Christopherson , Jay Zhou , , Keqian Zhu Subject: [PATCH 0/3] KVM: arm64: Some optimizations about enabling dirty log Date: Wed, 25 Mar 2020 12:24:20 +0800 Message-ID: <20200325042423.12181-1-zhukeqian1@huawei.com> X-Mailer: git-send-email 2.19.1 MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [10.175.104.212] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch series is for "queue" branch of [1] and based on patches[2]. It brings obvious time decreasement for migration with different page size. The QEMU counterpart will be sent out later, thanks. [1] git://git.kernel.org/pub/scm/virt/kvm/kvm.git [2] https://lore.kernel.org/kvm/20200227013227.1401-1-jianjay.zhou@huawei.com/ Keqian Zhu (3): KVM/memslot: Move the initial set of dirty bitmap to arch KVM/arm64: Support enabling dirty log graually in small chunks KVM/arm64: Only set bits of dirty bitmap with valid translation entries Documentation/virt/kvm/api.rst | 2 +- arch/arm/include/asm/kvm_host.h | 2 - arch/arm64/include/asm/kvm_host.h | 5 +- arch/x86/kvm/x86.c | 3 + virt/kvm/arm/mmu.c | 175 +++++++++++++++++++++++++----- virt/kvm/kvm_main.c | 3 - 6 files changed, 157 insertions(+), 33 deletions(-) -- 2.19.1