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 0A841C48286 for ; Thu, 1 Feb 2024 09:44:56 +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-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=yioNWt7ITai2SJT23n6pYxwvFgtRLE3bmaGkNDoAJgk=; b=j4clfftSC7eDZO BZZcP5bvV4T2LP6K7ppkK0Uf6cdaEkN8LwuKs8Zat6DmxJOa5ZrKq47nnV8Bjag6mreuw71IWEqF9 /IK/u26QrBaN4ey3UGcc5HPDX1ccgK8vqbMQVDBoeuaPAgfjlMHtZCLbMAGPQtCZw1lKrTYMP6C/y de7nrfI4APXGcWakYaswIgJkFehnTGdATbYZC7NfCW4Jg5fUyE1b8p+P8fLdFayjbFx0WFxwWxmiK Ux6pz1gkzlxpK4EUFGLqFw2M089qX4WL722UwV5UAEa7ad1GfhiIrdGrk/hD0zD0vSg4aTutyepeA lIRyNgrdOVRI2I1egdbA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rVTch-00000007KcY-2ESs; Thu, 01 Feb 2024 09:44:43 +0000 Received: from madrid.collaboradmins.com ([2a00:1098:ed:100::25]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rVTcC-00000007K8W-3wJU; Thu, 01 Feb 2024 09:44:14 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1706780651; bh=CQ+G0j9FxKWITjhQFY4SwZZur7CT0j14ogDVrgi21NA=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=s/tsIeBSYEvrkvPa88cGQTK3vogxX2XYOiVZ7T2WQ5TTGXK0MTMj7ojoG5gvtGqbq ScJHUt3KfpVJvV6ulBryKd6p15MCT+DKAElOyaVqJ2Do7hv8cVSuTevLIKPmuJRsnn DNThtdUYQWjgC6K6l5F4gzofQBDwIB8Nrp808kxdi0q9Q86qMvo/tCf1DHOh9MNQ2/ tdCP4O4FdNtIHPoBgzzUAgMrZT2k3QxtCxFcDABONArRHjCm/b8+PlZt3Uh+nBCC6l oYnTOrBdZcUuv+gQ2AaGsSN+3F6cR6ansvsTsaIvRpIxyEIDdQEL5rDi7sXasvHuOI VUWV53PLn2DWg== Received: from [100.113.186.2] (cola.collaboradmins.com [195.201.22.229]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: kholk11) by madrid.collaboradmins.com (Postfix) with ESMTPSA id 40B02378208E; Thu, 1 Feb 2024 09:44:10 +0000 (UTC) Message-ID: Date: Thu, 1 Feb 2024 10:44:10 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v9 07/21] virt: geniezone: Add vm capability check Content-Language: en-US To: Yi-De Wu , Yingshiuan Pan , Ze-Yu Wang , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Jonathan Corbet , Catalin Marinas , Will Deacon , Richard Cochran , Matthias Brugger Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, netdev@vger.kernel.org, linux-mediatek@lists.infradead.org, David Bradil , Trilok Soni , My Chuang , Shawn Hsiao , PeiLun Suei , Liju Chen , Willix Yeh , Kevenny Hsieh References: <20240129083302.26044-1-yi-de.wu@mediatek.com> <20240129083302.26044-8-yi-de.wu@mediatek.com> From: AngeloGioacchino Del Regno In-Reply-To: <20240129083302.26044-8-yi-de.wu@mediatek.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240201_014413_282959_FC01B134 X-CRM114-Status: GOOD ( 12.45 ) 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 Il 29/01/24 09:32, Yi-De Wu ha scritto: > From: "Yingshiuan Pan" > > Inquire the `capability support` on GenieZone hypervisor. > Example: > `GZVM_CAP_PROTECTED_VM` or `GZVM_CAP_VM_GPA_SIZE`. > > Signed-off-by: Yingshiuan Pan > Signed-off-by: Jerry Wang > Signed-off-by: kevenny hsieh > Signed-off-by: Liju Chen > Signed-off-by: Yi-De Wu > --- > arch/arm64/geniezone/gzvm_arch_common.h | 2 + > arch/arm64/geniezone/vm.c | 122 ++++++++++++++++++++++++ > drivers/virt/geniezone/gzvm_main.c | 27 ++++++ > drivers/virt/geniezone/gzvm_vm.c | 21 ++++ > include/linux/gzvm_drv.h | 5 + > include/uapi/linux/gzvm.h | 31 ++++++ > 6 files changed, 208 insertions(+) > > diff --git a/arch/arm64/geniezone/gzvm_arch_common.h b/arch/arm64/geniezone/gzvm_arch_common.h > index 2f66e496dfae..383af0829f11 100644 > --- a/arch/arm64/geniezone/gzvm_arch_common.h > +++ b/arch/arm64/geniezone/gzvm_arch_common.h > @@ -13,6 +13,7 @@ enum { > GZVM_FUNC_DESTROY_VM = 1, > GZVM_FUNC_SET_MEMREGION = 4, > GZVM_FUNC_PROBE = 12, > + GZVM_FUNC_ENABLE_CAP = 13, GZVM_FUNC_PROBE = 12, GZVM_FUNC_ENABLE_CAP, > NR_GZVM_FUNC, > }; > Regards, Angelo _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel