Received: by 2002:a05:7412:e794:b0:fa:551:50a7 with SMTP id o20csp666816rdd; Tue, 9 Jan 2024 16:29:26 -0800 (PST) X-Google-Smtp-Source: AGHT+IFtuMLsAlstVMucbCWNc1AQtwT3WHzbut738Qzo+8EPyQtURHSXOy06lSjRr/qU9FCBNo78 X-Received: by 2002:a17:907:6d15:b0:a28:b554:f400 with SMTP id sa21-20020a1709076d1500b00a28b554f400mr82575ejc.143.1704846566761; Tue, 09 Jan 2024 16:29:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704846566; cv=none; d=google.com; s=arc-20160816; b=sxktFwpQTCnr/wEX4OAMD2b6h4kfelpF3//N/xK02xYrKgOYUkjpv8LUtYgN3rE/Nb O9Is3CLWy+8MUvlNDTHOJRwAq7L41T0HXCBRdjcWAnGLt+4l6tbiXhbOM6Ccqq6SYtT2 feujxx4O7GbkS8RZIEL8tJPNxCGL3zgDdFAVmbCwhQLh73MLlYQg82yV8vNjFcLpOxQ1 ZHj5Uhnmemf+X5JJ5SLk0MXhFqbdHv8+4rnkiUOsDemlnhAXDcniqtsPSCJv5P45CGAG FR41CS3hIxMgknF3d7/WedCbWlmUNnY2Q2TVj8VbWdiEgFd+BNudVuTgF5XaL8RaUavm kEjA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=fcdpkler2Rec7WUNPC8tXx/5Sp8IWWTCEuuRDbJEpAI=; fh=8NuOUBTpZCuNC0eSOqQoHB26qtjQCPhm0B8plbpzxOY=; b=XHhheLmMEvV4zXtZPMLvb7YbU8tGHfNhqx042zENDl7qEOcmHL1kaEDMWos/PQ1o4f wD/0kFGsk3X7CKTcoOwBuAROE1CDC9DmWKYLDSduQR7XTzVTseifYi+WX0Bh0EK6JjCP pfnHfKE4OtCBPzTlLtNW7NmtN4CDd/4Dc0DaI7CoLXHMAERmSBmSU16dRgnv97vqGKPJ 51EuaAoCOXqZ0QTFcmsFQDLln2I2EkpOhRoZzAK7FFY7tEI43TlpUKHDKI0796bFDnBs C2WRkRSIqnNOYa3pyf9nXYnkRSsVGln2N0UxeI+B5hKYLAQLtrSyuP5usWeplyntHYLc NQQg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=UG0OGwXh; spf=pass (google.com: domain of linux-kernel+bounces-21576-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-21576-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id k10-20020a170906054a00b00a27c7dc1f6esi1198681eja.477.2024.01.09.16.29.26 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Jan 2024 16:29:26 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-21576-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=UG0OGwXh; spf=pass (google.com: domain of linux-kernel+bounces-21576-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-21576-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 9616E1F26973 for ; Wed, 10 Jan 2024 00:29:25 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0F295656; Wed, 10 Jan 2024 00:29:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="UG0OGwXh" Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BED757EF; Wed, 10 Jan 2024 00:29:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=quicinc.com Received: from pps.filterd (m0279863.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 40A08SZZ015550; Wed, 10 Jan 2024 00:28:48 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= message-id:date:mime-version:subject:to:cc:references:from :in-reply-to:content-type:content-transfer-encoding; s= qcppdkim1; bh=fcdpkler2Rec7WUNPC8tXx/5Sp8IWWTCEuuRDbJEpAI=; b=UG 0OGwXhCZ7UsyphKBnOOZRqvCtGZENhg///tuunm3BpEqr4YdmOqa2pijyqYZWoA6 sFvrduplD1RZ4zkZxom/JIWFtsIdpPRseXBrXZDfUYBvTjnSmPHUo5gS7wZS6c75 ZjGT6Zi6shBAAQPaEWCD54KNxuftM8IkaQWPuq+fThrMzE3gdqk9Kuyc+YGiRlDv gIXgVWjXAWbm6zrCS3UI4WOISwFG7xonBGIke5xemo/T05EFeBozHGyBPGsUQUk5 Q8mShkVnzCy2WVCy23QxX8dWx+xOYR6QTTWXEGgwHlNgJgqwh5liu22iM+3EzfxO J83ABf+fNjL0zlQ0Rv7Q== Received: from nasanppmta04.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3vh9bmh04c-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 10 Jan 2024 00:28:48 +0000 (GMT) Received: from nasanex01b.na.qualcomm.com (nasanex01b.na.qualcomm.com [10.46.141.250]) by NASANPPMTA04.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 40A0SlYq027252 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 10 Jan 2024 00:28:47 GMT Received: from [10.71.108.105] (10.80.80.8) by nasanex01b.na.qualcomm.com (10.46.141.250) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.40; Tue, 9 Jan 2024 16:28:46 -0800 Message-ID: <731ee7a9-72c8-4ae7-8fcd-2c9bb07b09ac@quicinc.com> Date: Tue, 9 Jan 2024 16:28:46 -0800 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v16 01/34] docs: gunyah: Introduce Gunyah Hypervisor Content-Language: en-US To: Randy Dunlap , Alex Elder , Srinivas Kandagatla , Murali Nalajal , Trilok Soni , "Srivatsa Vaddagiri" , Carl van Schaik , Philip Derrin , Prakruthi Deepak Heragu , Jonathan Corbet , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Catalin Marinas , Will Deacon , Konrad Dybcio , Bjorn Andersson , Dmitry Baryshkov , "Fuad Tabba" , Sean Christopherson , "Andrew Morton" CC: , , , , , References: <20240109-gunyah-v16-0-634904bf4ce9@quicinc.com> <20240109-gunyah-v16-1-634904bf4ce9@quicinc.com> From: Elliot Berman In-Reply-To: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) To nasanex01b.na.qualcomm.com (10.46.141.250) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: -UClUus9G_GkxMyCJNYM4wqqYC_paeay X-Proofpoint-GUID: -UClUus9G_GkxMyCJNYM4wqqYC_paeay X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.997,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-12-09_01,2023-12-07_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 mlxscore=0 clxscore=1011 spamscore=0 priorityscore=1501 malwarescore=0 mlxlogscore=652 adultscore=0 bulkscore=0 suspectscore=0 lowpriorityscore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2311290000 definitions=main-2401100002 On 1/9/2024 3:31 PM, Randy Dunlap wrote: > > > On 1/9/24 11:37, Elliot Berman wrote: >> Gunyah is an open-source Type-1 hypervisor developed by Qualcomm. It >> does not depend on any lower-privileged OS/kernel code for its core >> functionality. This increases its security and can support a smaller >> trusted computing based when compared to Type-2 hypervisors. >> >> Add documentation describing the Gunyah hypervisor and the main >> components of the Gunyah hypervisor which are of interest to Linux >> virtualization development. >> >> Signed-off-by: Elliot Berman >> --- >> Documentation/virt/gunyah/index.rst | 134 ++++++++++++++++++++++++++++ >> Documentation/virt/gunyah/message-queue.rst | 68 ++++++++++++++ >> Documentation/virt/index.rst | 1 + >> 3 files changed, 203 insertions(+) >> >> diff --git a/Documentation/virt/gunyah/index.rst b/Documentation/virt/gunyah/index.rst >> new file mode 100644 >> index 000000000000..da8e5e4b9cac >> --- /dev/null >> +++ b/Documentation/virt/gunyah/index.rst >> @@ -0,0 +1,134 @@ >> +.. SPDX-License-Identifier: GPL-2.0 >> + >> +================= >> +Gunyah Hypervisor >> +================= >> + >> +.. toctree:: >> + :maxdepth: 1 >> + >> + message-queue >> + >> +Gunyah is a Type-1 hypervisor which is independent of any OS kernel, and runs in >> +a higher CPU privilege level. It does not depend on any lower-privileged > > Is this the usual meaning of higher and lower? Seems backwards to me. > Hmm, I guess this x86 having ring 0 as most privileged and arm using EL3 as most privileged. I'll switch to "more" and "less" privilege rather than implying a numbering scheme. Thanks for the rest of suggestions, applied those! - Elliot