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 EEB62C001B0 for ; Tue, 15 Aug 2023 09:54:27 +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:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Vf0fmaB2SiDAyetCBav0c/8GV3BQM4LmUAs1aCCoK6M=; b=UqywIrUDyP8wha FeCU/E3VpdS9jZ+znihEoZ3qvgLsfGPG0TO8FZNcK4LF+8mqtnvoUN5YiUNI/KLVH8s+vZ/I1IK+C asRGPKiHAwIcYTCKl5FZwtjC6BH0K1Sc7M3FBM7E+2N+r36LliYTRm7iYk871yuRHD92VpP/O/4j4 Yd0n8F2QPn/zoI8/WrQiRge6K3u+bCl/H+/vt8Qs0CvNJZwnea2HfrwekqaBJ0IaLxMoTq9dbp9Wr 4IcE2FN/6Mi/kW4Wn6cy+24iuiI3hkZSFc5ge0fg0jfAKDms/+1dugEPyiABORhIG0+DyGzoQUMKF OLcPXg2bJhtn38CnB7vw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qVqkS-001FB6-0y; Tue, 15 Aug 2023 09:54:00 +0000 Received: from dfw.source.kernel.org ([139.178.84.217]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qVqkQ-001FAd-03; Tue, 15 Aug 2023 09:53:59 +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 A9A00653E1; Tue, 15 Aug 2023 09:53:56 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6926DC433C8; Tue, 15 Aug 2023 09:53:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1692093235; bh=kvaqJ2sBEkbN7oMgKvzp6aMeCbQ6lN6aEQjyWQJ5X6s=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Uqw5AIwCq5p7sCinwmmp/Lqz+8nGO5myfGcZEaCsclPS+/Dq5OkqZIWvlAsVY8uxR FL5dgh/XWOTklxmPq9FDZW5xT31bE/WIg6siTr5DLREiB2Zv7srizXhQIOcqQiDaS4 PCZjYG6f3/OWUWTxkKEwh7oAlcEAZU/xrZ/iMoTlKvu1SjYYeqP4Uf5CwHYCvOgzjK rYulG/3FrqS9u8zCuJPbKQNYtQMWuPv1dS8t0eV05/iK8WzCJTpWThBQjtR4cOKgrU qCM6KGWyF2pkR9NkX9uqoHqsfYuQ4rVzrshHKaBe0jrpTTYMdWS100Oykaz9q5eP8k GMSfRQ3v6Nhuw== Date: Tue, 15 Aug 2023 10:53:47 +0100 From: Will Deacon To: Rob Herring Cc: Yi-De Wu , Yingshiuan Pan , Ze-Yu Wang , Krzysztof Kozlowski , Conor Dooley , Jonathan Corbet , Catalin Marinas , Arnd Bergmann , Matthias Brugger , AngeloGioacchino Del Regno , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-arch@vger.kernel.org, linux-mediatek@lists.infradead.org, David Bradil , Trilok Soni , Ivan Tseng , Jade Shih , My Chuang , Shawn Hsiao , PeiLun Suei , Liju Chen , Willix Yeh Subject: Re: [PATCH v5 04/12] virt: geniezone: Add vcpu support Message-ID: <20230815095346.GA11083@willie-the-truck> References: <20230727080005.14474-1-yi-de.wu@mediatek.com> <20230727080005.14474-5-yi-de.wu@mediatek.com> <20230811170054.GB3593414-robh@kernel.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20230811170054.GB3593414-robh@kernel.org> User-Agent: Mutt/1.10.1 (2018-07-13) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230815_025358_118266_FB5DC0E2 X-CRM114-Status: GOOD ( 16.67 ) 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 Fri, Aug 11, 2023 at 11:00:54AM -0600, Rob Herring wrote: > On Thu, Jul 27, 2023 at 03:59:57PM +0800, Yi-De Wu wrote: > > From: "Yingshiuan Pan" > > > > VMM use this interface to create vcpu instance which is a fd, and this > > fd will be for any vcpu operations, such as setting vcpu registers and > > accepts the most important ioctl GZVM_VCPU_RUN which requests GenieZone > > hypervisor to do context switch to execute VM's vcpu context. > > > > Signed-off-by: Yingshiuan Pan > > Signed-off-by: Jerry Wang > > Signed-off-by: Liju Chen > > Signed-off-by: Yi-De Wu > > --- > > arch/arm64/geniezone/Makefile | 2 +- > > arch/arm64/geniezone/gzvm_arch_common.h | 20 ++ > > arch/arm64/geniezone/vcpu.c | 88 +++++++++ > > arch/arm64/geniezone/vm.c | 11 ++ > > arch/arm64/include/uapi/asm/gzvm_arch.h | 30 +++ > > I'm almost certain that the arm64 maintainers will reject putting this > here. What is the purpose of the split with drivers/virt/? Do you plan > to support another arch in the near future? Thanks, Rob. You're absolutely right that this doesn't belong in the architecture code. Will _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel