Received: by 2002:a05:7412:2a8a:b0:fc:a2b0:25d7 with SMTP id u10csp172965rdh; Wed, 7 Feb 2024 00:57:54 -0800 (PST) X-Google-Smtp-Source: AGHT+IHfnJYC6IdeY3e5KONr/hCXosPhCcHNNf21NMtvOlDbiYYVs/XzvlfZ2/k0BE0PPv8iHezW X-Received: by 2002:a17:906:a412:b0:a2f:d73d:e99c with SMTP id l18-20020a170906a41200b00a2fd73de99cmr3351421ejz.14.1707296274240; Wed, 07 Feb 2024 00:57:54 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707296274; cv=pass; d=google.com; s=arc-20160816; b=hA8yNmuIExa+60Bn5mZbycPY932VR1HOGCtjVjWOrbNLSul3VtiavlSteAm7Uqfsy/ c7yrbw1DgpmjQCFoOhenQltQ4q8TyObYvZYMnodRNXMPkKzcqCm7Rfgx6Ozw4g8LlcWF CRfb4gu82/CUyyfIUq1pDp4h1o/eMgzRUFo8QqxlfT72XQAB9c2c3iSaLZynFR+i4A+M f6JyOYc3A4PbdV10/Pj8P3RoWTOhWwTXCVPHbAhG0aX9RuavDzhMW2SZfmDStLUlHHoy o6VhEdsOyCCvoQpKVi3QeqSNxD5/VdFoXMs+JztOQa0Wf5aRKjHzOikhThb+JHl8yv0I 7tJA== ARC-Message-Signature: i=2; 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=dtxrc2rAMyKVPz/unNsYEeFvD+b+Jdpn1j6aMu+PtME=; fh=uei6RAdBnhoYvc3k1G9Z2A+BflRENyO2RfVB635T6ys=; b=FwuKycjt1Kxs78P5Megy5LBRIg4TVGk7doY2+ee/XwFaTVZ7m6XIpbmRFCTm+PE5Dz +wYt1RLAt5D6+89GZcbfNEiL1sqw9u4UjYX+17wav0O1IIAx0McvnmoOeHLItImovtiE nzAdhCswuejTVMLTjXxPwg3lqypw+OJyQXjbOuVvKDlitAZjBkEUXQOMdpHoPB9AhFn6 9YhkV+sIxAuoKwFHIIVaU458FkQYHIxUqHe/Ik8s28HvcKMlSOiyptBlvV4Ino2Whf5o gQ4fJPoBk/acb6YBEHosOHNyKxN38h1ba/QVALJ3Qcz3UDHLOEBYv2JDPh0dIbnrJ2d5 z29Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=XH0+mwju; 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-56154-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-56154-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com X-Forwarded-Encrypted: i=2; AJvYcCXjKDbRYrb7hZQNxmgeXEunbeVLw7PzOBIbXzbgcI/e9FgiG3iRsqLhO/FulSDmauha4G/sQwUb3hfZ9kXp5Wjy3iVOwtkVFcE/1oZtRg== Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id qx1-20020a170906fcc100b00a38274c55c1si686124ejb.0.2024.02.07.00.57.54 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Feb 2024 00:57:54 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-56154-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=XH0+mwju; 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-56154-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-56154-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 04A7A1F260D0 for ; Wed, 7 Feb 2024 08:57:35 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id CD89B208D6; Wed, 7 Feb 2024 08:57:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="XH0+mwju" 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 70F2A200A8; Wed, 7 Feb 2024 08:57:24 +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=1707296247; cv=none; b=kP7FFb9U9eW7qWauGzUZlUQjALTSKYwFGyrTf+gehC04aaazh5vx2vGRMVoosf7TjV72Z0FZwPZhVbqo+9y9RDHhWuIsCzM0mrGrFv+dtCP6gpw4d0rUdZzqJex2PVxpt4mbaHf8Q0qLLgUjORvV5Doud600/ezWJPmSKXwJqGM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707296247; c=relaxed/simple; bh=dtxrc2rAMyKVPz/unNsYEeFvD+b+Jdpn1j6aMu+PtME=; h=Message-ID:Date:MIME-Version:Subject:To:CC:References:From: In-Reply-To:Content-Type; b=CfgxptfLyyfLD+PVRKydwWUNioWOLW3MmvbUSC/vhv9SN5Uka++KBctvEPeeiJiXc1TWI9QwVx8HvkcT7nInu1L3uSE+NFutsBkZ+8m563TwDV8yzM9SyhTFtIt7lBw6hJdFEKsQvkZOtND/McOiTHPBHvYG89N4bn0w76fxJPY= 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=XH0+mwju; 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 4178cQao024425; Wed, 7 Feb 2024 08:57:22 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=dtxrc2rAMyKVPz/unNsYEeFvD+b+Jdpn1j6aMu+PtME=; b=XH 0+mwju/F7nYHyG6SFbSVzgBZ/2hILnayCqo3ijqgor1AAUhndXuZqIiEMxBxvEC2 7dLf5OGqLyaG5o2KiPeX34Uly+SOZOF93GjJt+Un/V+3fKk4t8UWL1W5jklFZpSd 8a0QcQyiuj6bYEA0U7rltMw04Zuhz0qlO3DMAat1tLOTzQzSjr69gg8y0G/LRhHU 0huQqGTauohbUfXzmwdGgubB5gJEii2iUQbzxnS2naA1u6HA0ItSZRqabop7VMrQ 2OA6qKi5XpRvHPxro6Ey60wl80bIM2+h2yTUe6z8vHi5bciSA3HBk0BkscQTtCLi 68HRgVkImDkhpgj54fwA== Received: from nalasppmta05.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3w42earh06-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 07 Feb 2024 08:57:21 +0000 (GMT) Received: from nalasex01b.na.qualcomm.com (nalasex01b.na.qualcomm.com [10.47.209.197]) by NALASPPMTA05.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 4178vLNb025439 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 7 Feb 2024 08:57:21 GMT Received: from [10.204.67.150] (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; Wed, 7 Feb 2024 00:57:19 -0800 Message-ID: Date: Wed, 7 Feb 2024 14:27:16 +0530 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 v1 02/16] misc: fastrpc: Add support for unsigned PD Content-Language: en-US To: Greg KH CC: , , References: <20240202064039.15505-1-quic_ekangupt@quicinc.com> <20240202064039.15505-3-quic_ekangupt@quicinc.com> <2024020248-improving-algorithm-a5f0@gregkh> From: Ekansh Gupta In-Reply-To: <2024020248-improving-algorithm-a5f0@gregkh> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) 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: kLoix7wrTK-sjhTOHGvJ76ZeqgZgxupK X-Proofpoint-ORIG-GUID: kLoix7wrTK-sjhTOHGvJ76ZeqgZgxupK 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-02-07_02,2024-01-31_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 suspectscore=0 bulkscore=0 malwarescore=0 mlxlogscore=503 phishscore=0 adultscore=0 clxscore=1015 priorityscore=1501 spamscore=0 mlxscore=0 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2401310000 definitions=main-2402070066 On 2/2/2024 8:13 PM, Greg KH wrote: > On Fri, Feb 02, 2024 at 12:10:25PM +0530, Ekansh Gupta wrote: >> Unsigned PD requires more initial memory to spawn. > What exactly is "Unsigned PD"? > > And where are all of the userspace changes for this series so we can > verify they work properly? > > thanks, > > greg k-h Hi Greg, Unsigned PDs are sandboxed DSP processes used to offload computation workloads to the DSP. Unsigned PD have less privileges in terms of DSP resource access as compared to Signed PD. Unsigned PD can be enabled using userspace API: https://git.codelinaro.org/linaro/qcomlt/fastrpc/-/blob/master/src/fastrpc_apps_user.c?ref_type=heads#L1173 For multimode invoke request(other feature) also I've shared the userspace changes with Srini which he will be pulling to userspace project. Please let me know if you have any other queries. Thanks --ekansh