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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 0EE57EB64D8 for ; Wed, 14 Jun 2023 16:07:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Subject:Cc:To:From:Message-ID:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=sgcMopNQ571O8ZUlHDTfMDlBn4uv57ZpmTfVSzfJM98=; b=LfMHXhPBSy1nWh egzI7bpUzyf5Zn0oaeqlnMDpMG91nGB35JU/p1fiaLBSSh0Qsxhuy1NW9X5Gn7BE3yD1L3NDs8Ioi veiume34Ii5Yw9fb3uUBcsf7RHtp0XhGlre5nZRJTfXmrRlrBe9wLATlbxj/VfxeR5L1oAKFrzM+8 sq315AL6Bd4+dlA7T3YRg61KvP9FNbT04ZplHTKj1dG8BYJOaHptgCAfMCBZQfnuGaoQFb78tNepd SbaufATv/Y0IEiUXcWQElNub/JfRkBhZzb635VtbyjMAHgHk/tESFJysHt4fioaf8yPwk/hEWka4d puJ9c7Fv1Wc/VtILNuJg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1q9T1V-00C9wm-31; Wed, 14 Jun 2023 16:07:05 +0000 Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1q9T1S-00C9w1-1Q for linux-arm-kernel@lists.infradead.org; Wed, 14 Jun 2023 16:07:04 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 8EF8E63C4F; Wed, 14 Jun 2023 16:07:01 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E8C7BC433C8; Wed, 14 Jun 2023 16:07:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1686758821; bh=/r6fdKCJUAuhajNoRQPQaUxEvrIU0vHzZIEJ1GzJpnE=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=qbK5EooCYLobN7jXxYBxiPx9/iHnGqXfD7liRUJcIZkCiw5Czt6Dvs1rhyIS5d1Fc +MLZkaA9MgnB7fpUKtFfiHjpBi74vwnsCNnPj0Rodte4O9VtJOshjylallZx/8fRB1 IuNuq9ugLk8l/CfNHu/gKoejq8UvCbuJp4tG9vXLTtMGnO00BKBYFiXvIVxjIttLuS 1FZHEwvR2MzizQj80KYXE4CVyL3w4EEYJvfuQG7BnI4YxQOj0aK31cnzV4o2e23b2l 3NXbrNJNEVcKOWfPCm/1HyWpP9bqjrlAZBTUHgphsFaXp6bH+pRBFEATHu0hZ4hAJL rvGqRpIG1g6cQ== Received: from [77.240.177.73] (helo=wait-a-minute.misterjones.org) by disco-boy.misterjones.org with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1q9T1O-005NTK-E2; Wed, 14 Jun 2023 17:06:58 +0100 Date: Wed, 14 Jun 2023 17:06:58 +0100 Message-ID: <87bkhiqb8d.wl-maz@kernel.org> From: Marc Zyngier To: Shaoqin Huang Cc: kvmarm@lists.linux.dev, kvm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, James Morse , Suzuki K Poulose , Oliver Upton , Zenghui Yu , Quentin Perret , Will Deacon , Fuad Tabba Subject: Re: [PATCH v3 04/17] arm64: Add KVM_HVHE capability and has_hvhe() predicate In-Reply-To: <8f7d7285-b21d-23b0-793b-70ee008cb45b@redhat.com> References: <20230609162200.2024064-1-maz@kernel.org> <20230609162200.2024064-5-maz@kernel.org> <8f7d7285-b21d-23b0-793b-70ee008cb45b@redhat.com> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM-LB/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL-LB/10.8 EasyPG/1.0.0 Emacs/28.2 (x86_64-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") X-SA-Exim-Connect-IP: 77.240.177.73 X-SA-Exim-Rcpt-To: shahuang@redhat.com, kvmarm@lists.linux.dev, kvm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, james.morse@arm.com, suzuki.poulose@arm.com, oliver.upton@linux.dev, yuzenghui@huawei.com, qperret@google.com, will@kernel.org, tabba@google.com X-SA-Exim-Mail-From: maz@kernel.org X-SA-Exim-Scanned: No (on disco-boy.misterjones.org); SAEximRunCond expanded to false X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230614_090702_527284_70F9DA70 X-CRM114-Status: GOOD ( 21.49 ) 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-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Wed, 14 Jun 2023 08:35:13 +0100, Shaoqin Huang wrote: > > Hi Marc, > > Should we have a document about the hVHE? Because it's a sw feature, > there is no spec about it. And later people may need to read the code > itself to understand what is hVHE. I'm planning to eventually do that once the hVHE code actually does something useful. So far, it doesn't really do much. But what I really want is to *hide* this low level option, and have it driven by something like "kvm-arm.mode=hvhe,protected". It is just that writing a parser is hard at the point where this is evaluated (we don't have much of the kernel running). > > On 6/10/23 00:21, Marc Zyngier wrote: > > Expose a capability keying the hVHE feature as well as a new > > predicate testing it. Nothing is so far using it, and nothing > > is enabling it yet. > > > > Signed-off-by: Marc Zyngier > Besides that, the code itself LGTM. > > Reviewed-by: Shaoqin Huang Thanks, M. -- Without deviation from the norm, progress is not possible. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel