Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp1366827pxj; Fri, 18 Jun 2021 05:46:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx57SJnfsLQ3HgDFfZLka5kc+wk9ohmT7XsF7tc5n8Q3Jv/gzdna75ttA5Cvrd+HTToDNH/ X-Received: by 2002:a17:906:b0c4:: with SMTP id bk4mr10979286ejb.422.1624020386584; Fri, 18 Jun 2021 05:46:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624020386; cv=none; d=google.com; s=arc-20160816; b=0S82C/I/8BAH6RPDTdom2LRtMZvTWGsagzzbxgZ3GpzuweTynZ2EdhGMtFqAREcmfB NWxB4K2Ee69YBIBkJM8eb+zSpWc0RWpzzd4tIJVDvw8bcOp5bXTSyLxvPSt1Iem8S0SR pSsnKuv7I4h/b5XMOkTOGs/HlsJwvAceQpxRrkeoFmDiQWBIf7HT2QEBeN7z6Dvo2ScV 7GrybtH2D+e36eFKnvJh9zGBcQAj066uCkolDfAGhtfWxTqWYzHM8Nf6xY4RtockaGV/ 06fal6FALJ1m+rhjf4r0WkZqe+YfyYGzV++2wut3We7o/Juj3PYBeUVIqdOStdx86XqN I7Uw== 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=8GEVDgJ1TgK395d/92BKSFPymgJVsnlp5XdF/I3Ili0=; b=ArD3jrhboPVJBKeRtPJBTC5StNWicHRporTSftqsRx27D4sWJEbchJiVinEwXwefFI ldVupgF0W9rIHJNuSJMzD+7/HUPKHDuXSm8iWX216nOLYM0C+ng+389r7Vb3vHw2b890 AN6ljdbryPLgiwKBN2ecLGOgyT8FxFhQChM65UmowwY5m2gcgKZaGlan6JLca5T8czjJ H6mAUgCIWB/QDCl34aRPPczqzob3GfwgCGqHObOHtpyMLEKMdn0irKbf+i/ZcPg9b4wg 08VVN742NeWM4QbsKj+EjtSYr2CmtMkEBOXTsMBlp4QHG5yDV3cu0VQRyFtQfO59sRyL YKGA== 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 y22si8574325edv.206.2021.06.18.05.46.03; Fri, 18 Jun 2021 05:46:26 -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 S234069AbhFRLkp (ORCPT + 99 others); Fri, 18 Jun 2021 07:40:45 -0400 Received: from mail.kernel.org ([198.145.29.99]:38082 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231128AbhFRLkp (ORCPT ); Fri, 18 Jun 2021 07:40:45 -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 205E961260; Fri, 18 Jun 2021 11:38:36 +0000 (UTC) Received: from sofa.misterjones.org ([185.219.108.64] 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.2) (envelope-from ) id 1luCpV-008QYN-2u; Fri, 18 Jun 2021 12:38:33 +0100 From: Marc Zyngier To: linux-kernel@vger.kernel.org, Alexandru Elisei , Will Deacon , kvmarm@lists.cs.columbia.edu, linux-arm-kernel@lists.infradead.org, kvm@vger.kernel.org, Yanan Wang , Quentin Perret Cc: Julien Thierry , zhukeqian1@huawei.com, yuzenghui@huawei.com, Suzuki K Poulose , Gavin Shan , Catalin Marinas , James Morse , wanghaibin.wang@huawei.com Subject: Re: [PATCH v7 0/4] KVM: arm64: Improve efficiency of stage2 page table Date: Fri, 18 Jun 2021 12:38:27 +0100 Message-Id: <162401627606.3015641.17627283030372951514.b4-ty@kernel.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210617105824.31752-1-wangyanan55@huawei.com> References: <20210617105824.31752-1-wangyanan55@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-SA-Exim-Connect-IP: 185.219.108.64 X-SA-Exim-Rcpt-To: linux-kernel@vger.kernel.org, alexandru.elisei@arm.com, will@kernel.org, kvmarm@lists.cs.columbia.edu, linux-arm-kernel@lists.infradead.org, kvm@vger.kernel.org, wangyanan55@huawei.com, qperret@google.com, julien.thierry.kdev@gmail.com, zhukeqian1@huawei.com, yuzenghui@huawei.com, suzuki.poulose@arm.com, gshan@redhat.com, catalin.marinas@arm.com, james.morse@arm.com, wanghaibin.wang@huawei.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 Thu, 17 Jun 2021 18:58:20 +0800, Yanan Wang wrote: > This series makes some efficiency improvement of guest stage-2 page > table code, and there are some test results to quantify the benefit. > > Description for this series: > We currently uniformly permorm CMOs of D-cache and I-cache in function > user_mem_abort before calling the fault handlers. If we get concurrent > guest faults(e.g. translation faults, permission faults) or some really > unnecessary guest faults caused by BBM, CMOs for the first vcpu are > necessary while the others later are not. > > [...] Applied to next, thanks! [1/4] KVM: arm64: Introduce two cache maintenance callbacks commit: 6204004de3160900435bdb4b9a2fb8749a9277d2 [2/4] KVM: arm64: Introduce mm_ops member for structure stage2_attr_data commit: a4d5ca5c7cd8fe85056b8cb838fbcb7e5a05f356 [3/4] KVM: arm64: Tweak parameters of guest cache maintenance functions commit: 378e6a9c78a02b4b609846aa0afccf34d3038977 [4/4] KVM: arm64: Move guest CMOs to the fault handlers commit: 25aa28691bb960a76f0cffd8862144a29487f6ff Cheers, M. -- Without deviation from the norm, progress is not possible.