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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 45857C77B61 for ; Thu, 13 Apr 2023 12:55:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229888AbjDMMzt (ORCPT ); Thu, 13 Apr 2023 08:55:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59392 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229908AbjDMMzs (ORCPT ); Thu, 13 Apr 2023 08:55:48 -0400 Received: from mail-ej1-x635.google.com (mail-ej1-x635.google.com [IPv6:2a00:1450:4864:20::635]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F375F10D9 for ; Thu, 13 Apr 2023 05:55:45 -0700 (PDT) Received: by mail-ej1-x635.google.com with SMTP id q23so27694519ejz.3 for ; Thu, 13 Apr 2023 05:55:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1681390544; x=1683982544; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=JKDpCHN/kgo2iQp2g4qhoxMVcmKDMoJPQnBxMP1+5vM=; b=Ke1Rh1M2Q+Qi9I+j1GbmlcgZ1DefGCk8QFxo1zlZ8zmeiI75OWilUELEnZ/d7wbbMp jPsXSaAB+VuZRFKLQUU/EQy9b3pQjg3E6Kjk9rsI+t4w21KI+EwKS3tmKC/MyBDY96+9 xU1/n5RCVLcl0emlCFV0JEp7WL89LABLevv9X7Xa//OWGwD2cgsbUI5YhBNkAO330c+O 2tKEtEo2J5oiyUc0iPriiKjjsV7ymH4rtXUye5k8WYrTsN0qJp3DU+mGAgXib2F/BUft qiHKtjY5V8nM8ix0m8pzNbpAg7xpvrvJurIq4crceDF1kv+GXlXzlrid51b8u7lmJ8pS DVPg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1681390544; x=1683982544; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=JKDpCHN/kgo2iQp2g4qhoxMVcmKDMoJPQnBxMP1+5vM=; b=fLiwm5lX0MlefUIQhPkFfQjB7+MAoAkIL2XTHumeDp5MGIgIE9d8MGm/M1Eplti/yp iRqqA5kD3AuClCwAwVXBv1kjmop5rfPbiO+UKtDPN9MKDCj2h8WUm7Hs+dgpiMzQnBNV 8RoT/R9eUjimAV9zuWAUv9utRMJYR9A6e1ut648IFkUO+f83JM5/hz9q2JQ8jw8cK7kj 2PAdsVql+z1NwFwBGpXvbPqLJWnXILgCt1scXpaTDszKMpb6g6xif3TuSEiev8DX9N48 CzJVrKkGpGerq+amVcFf3lzYutXyfUpEJ8JeeXSyFbCz4k4WG4PpW9YvGBAIXA35f+dy 8EHg== X-Gm-Message-State: AAQBX9cicy1FQiCPgOyF+Rpp5pij6PagbyVc4eAGmnld70bOF3ZVY/2s EqPWw+sr7wwR7mG5G6ZpRUSM8g== X-Google-Smtp-Source: AKy350Z0+dflVnjZ0jpKTbNMgeagHtwdUE6J25Gnvam5A3Tg8zMrKQnUkwAZug3p4UoCkhg/vaTq9w== X-Received: by 2002:a17:907:8b06:b0:93f:2256:fc05 with SMTP id sz6-20020a1709078b0600b0093f2256fc05mr2615430ejc.55.1681390544511; Thu, 13 Apr 2023 05:55:44 -0700 (PDT) Received: from ?IPV6:2a02:810d:15c0:828:5032:d2d4:ece5:b035? ([2a02:810d:15c0:828:5032:d2d4:ece5:b035]) by smtp.gmail.com with ESMTPSA id jw18-20020a17090776b200b0094a8b47d360sm958812ejc.177.2023.04.13.05.55.43 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 13 Apr 2023 05:55:44 -0700 (PDT) Message-ID: <1aa701cc-92ca-71be-0663-df4bfae66c2f@linaro.org> Date: Thu, 13 Apr 2023 14:55:42 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.1 Subject: Re: [PATCH v1 3/6] soc: mediatek: virt: geniezone: Introduce GenieZone hypervisor support Content-Language: en-US To: Yi-De Wu , Rob Herring , Krzysztof Kozlowski , Jonathan Corbet , Catalin Marinas , Will Deacon , Matthias Brugger , AngeloGioacchino Del Regno , Yingshiuan Pan Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, Jades Shih , Miles Chen , Ivan Tseng , My Chuang , Shawn Hsiao , PeiLun Suei , Ze-Yu Wang , Liju Chen References: <20230413090735.4182-1-yi-de.wu@mediatek.com> <20230413090735.4182-4-yi-de.wu@mediatek.com> From: Krzysztof Kozlowski In-Reply-To: <20230413090735.4182-4-yi-de.wu@mediatek.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org On 13/04/2023 11:07, Yi-De Wu wrote: > From: "Yingshiuan Pan" > > GenieZone is MediaTek proprietary hypervisor solution, and it is running > in EL2 stand alone as a type-I hypervisor. This patch exports a set of > ioctl interfaces for userspace VMM (e.g., crosvm) to operate guest VMs > lifecycle (creation, running, and destroy) on GenieZone. > > Signed-off-by: Yingshiuan Pan > Signed-off-by: Yi-De Wu > --- > arch/arm64/include/uapi/asm/gzvm_arch.h | 79 ++++ > drivers/soc/mediatek/Kconfig | 2 + > drivers/soc/mediatek/Makefile | 1 + > drivers/soc/mediatek/virt/geniezone/Kconfig | 17 + Hypervisor drivers do not go to soc. Stop shoving there everything from your downstream. Find appropriate directory, e.g. maybe drivers/virt. See: https://lore.kernel.org/all/20230304010632.2127470-1-quic_eberman@quicinc.com/ You should follow that discussion as well and be sure that all concerns raised for Gunyah are solved also here. Best regards, Krzysztof