Received: by 2002:ab2:2994:0:b0:1ef:ca3e:3cd5 with SMTP id n20csp118571lqb; Thu, 14 Mar 2024 07:03:45 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWLlFVjAuyIDt+n0MU1+UCejUuf4JWn/PNz1Y37KVwWAUCb4Jgg4OJZdSHFgRfyi2RrnqJn1E9wBKvorX+d8ixJI7Zpds5XpiAvCw73wA== X-Google-Smtp-Source: AGHT+IEOOZnsdPRu6RcOGinaKh3rt8D5jSmhnYQoc5n4KsRytwYjkv3pFsCgFwLQbaqNTX2+lvkr X-Received: by 2002:a17:906:d104:b0:a44:2ba0:8200 with SMTP id b4-20020a170906d10400b00a442ba08200mr1274977ejz.26.1710425024925; Thu, 14 Mar 2024 07:03:44 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710425024; cv=pass; d=google.com; s=arc-20160816; b=yaabyKaQ2gvbI2n011haLpvB7A/mEsCidgJg/4rjZu8SDxeug8GnAP2SxnvlPAzDDK I9xrdNJ4VsxlmmZbfuOvrkY288lKJbJ0ayiNfrTXakfCN9mcj4ohPCd13i621eJ1QYls +PjCAgQXwaRw7GgAf2IDURqYiECYaGjlTasDdLljHKpMQpTe90rZbi5A9jvIRjUDtQls d1c1hf09Crmyd0wQQlJ3b9w4pUkp6HqOGc/BpMV8Ve1mUWToNut0Xj5oA6Bltc4xyR1o TI9+xYAlDZvz3qbbRWz1jEeU9oFAzat/vsUyO+9zmnRC0zJ5RO83qIwI3S5lskmyhaDN X5hw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:reply-to:message-id :subject:cc:to:from:date:dkim-signature; bh=o7GBrMcPzngP4U6sWWGYm7z+ijUK0bJ/2hiko7djbao=; fh=Dml0xr6W9m0eGxCVz87SMG/89fyh4zMd52MRT1Yqxt4=; b=z9LxGCaJ3ZYPMgIvZ0DvdiA/IOoZbKf7ThPU4LiAV8E3egE6EEorT99vR5wevKitEe KnJzKTbtgrmaBwGpaWpClqdITU9bwCI3oHia9H+a3ilv2yMi38Cz8nTu4nP/s+uBGZwe Xnhz8mNV4DNRU4S9EFuyzpcM2kysU1U9GULac/IhdAlaqpm36J+jMrm6zhfhH8s6/vqi b5RQwK3PNMtiHtWC96laUe4Rjm7y/zhPiFSyMKNQzbANV+KXHPBD55gl4nXmw9qsEVS5 I2mzlqEQLpKf92FXC1S/Rjh3NIa9wUYSeWoYVDIxfAIawtcmski/5EVP9i/slG6WBdxl jSIA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=khLNianI; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-kernel+bounces-103340-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-103340-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. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id gs16-20020a170906f19000b00a45ac06b5b5si730129ejb.152.2024.03.14.07.03.44 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Mar 2024 07:03:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-103340-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=khLNianI; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-kernel+bounces-103340-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-103340-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 A1A3D1F219A1 for ; Thu, 14 Mar 2024 14:03:44 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E4AF26FE07; Thu, 14 Mar 2024 14:03:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="khLNianI" 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 B887F6F072; Thu, 14 Mar 2024 14:03:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.168.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710425015; cv=none; b=QiY+d+1ktdbowJczUlwoEoAI/btHZZ/jqdOPDpCJY0J5MRpgn99Pjh/GssW5siAw+3orBCIl84aVROncWMV6H5QvSZDGK2v/hR5ZsANa1ifYwSF1riEhVi6eeVGX42MLIGbpDIfHV+YJ+/3NHEWiFKD5pYcqec+YLiWJabBHJ/Y= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710425015; c=relaxed/simple; bh=aesfi8oefYhYmdpKKuIfCx9hvrvwyEQr5cI1AdIVrow=; h=Date:From:To:CC:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=En3PeKQUVKsnNJqYR7sLczHNmBT9yy2goHNlhGmJf1MsgkBFwcj5w1SdbcYvtviQQY7kiGUl25it5IjlrqJdpqE56Iihn4wWUZaghzMazZefysxlvutZSWAAhjwJCaA2e9wEQu+LxXdX9yhMmDaQx01x3DS7D5Ro2suvNiXWVYs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com; spf=pass smtp.mailfrom=quicinc.com; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b=khLNianI; arc=none smtp.client-ip=205.220.168.131 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 (m0279865.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 42EBoCHA025114; Thu, 14 Mar 2024 14:03:19 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= date:from:to:cc:subject:message-id:reply-to:references :mime-version:content-type:in-reply-to; s=qcppdkim1; bh=o7GBrMcP zngP4U6sWWGYm7z+ijUK0bJ/2hiko7djbao=; b=khLNianIE+BUkzG4EMYgP2GS 6Ne1RDe1n13SAnSbUNQi0G3w4GepbJ/Jtikyf3D8GPYUq2q3INSE1+6PCmbPxP/L +ERbgWN9M06pCovV1Ihx8mmeqZVYOk3ClgUD+mhNTnZjNpHG8EItls3RaaRHM5WY AdETE4uoiRoUjIs+NP4/j6HkpA6+4GGHoIo0/0e7txDkrm9bNZFmJg0+1dCfg1hc Ex/WvgdHt2+pegwuiNIzhnLqd60OhjoRhSHRIpK/3mosggTEKoZLY1Lhu/zGIQVv 2nT27Llr0BBxButpsyZpPHjp1NLS5opCa34rAkopiMX6V9jFB0EnJglSJJVCHg== Received: from nalasppmta04.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3wv0kjr9dh-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 14 Mar 2024 14:03:19 +0000 (GMT) Received: from nalasex01b.na.qualcomm.com (nalasex01b.na.qualcomm.com [10.47.209.197]) by NALASPPMTA04.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 42EE3IZ4032165 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 14 Mar 2024 14:03:18 GMT Received: from quicinc.com (10.80.80.8) by nalasex01b.na.qualcomm.com (10.47.209.197) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.40; Thu, 14 Mar 2024 07:03:10 -0700 Date: Thu, 14 Mar 2024 19:33:06 +0530 From: Srivatsa Vaddagiri To: Elliot Berman CC: Alex Elder , Srinivas Kandagatla , Murali Nalajal , Trilok Soni , 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" , , , , , , Subject: Re: [PATCH v17 30/35] virt: gunyah: Allow userspace to initialize context of primary vCPU Message-ID: <20240314140306.GW440762@quicinc.com> Reply-To: Srivatsa Vaddagiri References: <20240222-gunyah-v17-0-1e9da6763d38@quicinc.com> <20240222-gunyah-v17-30-1e9da6763d38@quicinc.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Disposition: inline In-Reply-To: <20240222-gunyah-v17-30-1e9da6763d38@quicinc.com> X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nalasex01b.na.qualcomm.com (10.47.209.197) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: 6n4UWSmvf6rCdvTU1ETqkT4qWFXOxJtM X-Proofpoint-ORIG-GUID: 6n4UWSmvf6rCdvTU1ETqkT4qWFXOxJtM X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1011,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-03-14_11,2024-03-13_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 adultscore=0 mlxscore=0 spamscore=0 bulkscore=0 impostorscore=0 phishscore=0 mlxlogscore=550 malwarescore=0 priorityscore=1501 suspectscore=0 clxscore=1015 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2402120000 definitions=main-2403140103 * Elliot Berman [2024-02-22 15:16:53]: > RM provides APIs to fill boot context the initial registers upon > starting the vCPU. Most importantly, this allows userspace to set the > initial PC for the primary vCPU when the VM starts to run. > > Signed-off-by: Elliot Berman Reviewed-by: Srivatsa Vaddagiri