Received: by 2002:a05:7412:2a8a:b0:fc:a2b0:25d7 with SMTP id u10csp197048rdh; Wed, 7 Feb 2024 01:53:56 -0800 (PST) X-Google-Smtp-Source: AGHT+IECqjGjV3PI9p3REoFsxVG2FR8/X+jzy44tfX7MCQ726gQKU2VgEUJYZcTkT15CEoqbbCeB X-Received: by 2002:a2e:3611:0:b0:2d0:892b:d85a with SMTP id d17-20020a2e3611000000b002d0892bd85amr3891485lja.27.1707299636263; Wed, 07 Feb 2024 01:53:56 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707299636; cv=pass; d=google.com; s=arc-20160816; b=tAR+7dNVCj0mmNF7/kY6t8XURH+uQD4KwLtrMrOf2drbYmBmIhBeqlUs8qDq+5LsAA 3AJEQosK15e8wxly0B1aZXvyDZ7UHAzcDr/ghd1k84lrbxn0qWI4TXtCJiSs0zAKYQ4u HylA2Jyf0GicRuqEJw6U85FT9tS+j/7f0L5or4hZwxQlgZ2ajerZJE9sufulDV758CBs /f9Xk2LN9tB+Z0cLrupAUAjpOcjgxfCg8v4uzZwTMqVbnQWiNjADnFMEeCJWQMVneqXf wU9ke0P4ZtxYHsZ0auE06epBQ0zQ2oz/t56Gq2aT2ThmA5ASPqxMt9QNNryHPwKpSB9t 46ZQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :dkim-signature; bh=D48j7hXU3glDBmXxDOFw5bCwEMnSogYiPviREFd32FQ=; fh=8RP4ZuyfFqf9zQiXFu2bL1mW3O+ao1bayYActcpFb1I=; b=OMZB/qoMJROUhR1qsNoetSCMJfRrgj2oy+jByaR/nK7782K11qvNylvwaat9Jz8z+U oDQNllTUo2W+MWIP/xFxyRtf5FgH4GTSpnhl/XZT4rBGliWqytKFUPFtCm3v2RFcAX01 6LzO0hIEaSPiVPRrtn/sLJ5oxSZe1plBx/MedxzrL6jcj1yZ8r6k9lRoVDbp2pn24HCq Blke62rxDYuxDkuV7LlKHYvrs1petwxa96E23olXZW4+HYci44Tezowr6hUN031s3RBK DLATuhQbVBAiyK0zk2buAfd29XSDd4csBlEbMwUl1XB1NB9qWpUXhMY95syC5rci1rVW NlEw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=GzQiPDNF; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-56259-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-56259-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org X-Forwarded-Encrypted: i=2; AJvYcCW2FQw08eECI4jufxepYARaWVTguLZavX9q75U4UTD9qQYlM8097SQk2C+GbyAzviJ1ZJ/2df9mhUquLnw9PjLOkiwORlgwLER+dKhO9g== Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id r16-20020a056402235000b00560dc955058si584301eda.393.2024.02.07.01.53.56 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Feb 2024 01:53:56 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-56259-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=@linaro.org header.s=google header.b=GzQiPDNF; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-56259-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-56259-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org 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 B61A51F24363 for ; Wed, 7 Feb 2024 09:53:44 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id AC38224B2C; Wed, 7 Feb 2024 09:53:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="GzQiPDNF" Received: from mail-yw1-f173.google.com (mail-yw1-f173.google.com [209.85.128.173]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 474D022F1E for ; Wed, 7 Feb 2024 09:53:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.173 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707299592; cv=none; b=E3Ecla1XhpokpFIfjgGuJDRLyzxK1eZ/V/64RkO+ppCGE7MQk12fg394ncBjf+9DpwxMVnZRiGIoNjeTqt1HxImSPeS5Z7VsHcLLnZpKLhdq1vjfdeWTmoHQcMGmp7Z48yOucSmE+d34bMEinqPzkreJ4igi+b7NvIzxwBfhbbg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707299592; c=relaxed/simple; bh=fBagnQpf9lsurAdCpTPPCwp0zC2lC8ox5gnQI1Q20r0=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=XaYomt4/N00RNad83njifUxmaW+apbMFiWUG2m8PBRB1BazQVwVcbjMl7ZvCAsdjCfBGuZV5nVSEeiapQWNZ3YSHJmXrrD2Ulkp0rtEe9CV5YmOPjeyTFCwQcrg5R6Lg77fJlgLEs+zWdzcWY/u+UMBFvpmDyl0xwC26VgpdxHM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=GzQiPDNF; arc=none smtp.client-ip=209.85.128.173 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-yw1-f173.google.com with SMTP id 00721157ae682-60491b1fdeaso3485227b3.3 for ; Wed, 07 Feb 2024 01:53:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1707299590; x=1707904390; darn=vger.kernel.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=D48j7hXU3glDBmXxDOFw5bCwEMnSogYiPviREFd32FQ=; b=GzQiPDNFGzV+WacOxV2qmKnevKuNYdxne9ZZf2GPguun7J2rV5ep60zPImNMx1tVMd FPt5dKM3bcUx7hOWghjP+f7V7T8AZlu/rmJuH8i+IB/vX/hA2tkaiMT8i2A5v9s8LzAB cF0sDnRNQK4G3d4zw2FicrJcJDC5521gaQ1Xlt0uOtLqgthqLhBljxqQ28ngwY2qo7+1 8NSFjvK4f179Lg38idDuML0rIlQVOm+sb+fSIYk78PjtDWkPWV/DJ6IwFdP5eTxkJ4oa LBC7LkP1s62rD7gWyXeqKZc7RlrE+oAmVigSDOVO+El8zL25BoPnIPZvI7wtXL3zVoBW g6SA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707299590; x=1707904390; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=D48j7hXU3glDBmXxDOFw5bCwEMnSogYiPviREFd32FQ=; b=Cz19P10yxn+WIjSYY2qHQV9Jrmu5+d7XldZNWh5PNFFRLIexgTGyDHpmUSRWpBIdTC TjXj71KHvjjfLHdLYyNB1lBAaG6gG4bbpRGPO4hAtJO+j/lU+h62LePxzb/nKxRlzfJD D2LVBwf3jbDo7k5w6cl8Eg+H5Mt3eF4RpwNs7qL/wjx7QcFS4cbfwT4Uo/GDCIQ5p3VF awv8fFydP4aSK0D2Q7RIGbAq4ADOloLEy2zPmm8B1kKhCkDNXMKqRNLB87hIQEG9Seaa A0zb1g/IXGu7zmoOuqnZuut3QE69SqB5GBasQJfZSlx95q0T8BTm7lSIjN9ixOPxHhcG KLBQ== X-Gm-Message-State: AOJu0YzmdsZO9c5fiPGPaiyDGGvpA9B/zX8AurBZwkFLhZlmChjBoRH1 O1sFC3P575hhNKGzgetiVoH5OcWBqAcbYnnTnTMVXTIAsEktYFOEJgNOJj3DTYonAyttd1ML1Cv s842bAdHXGUPcEh0MakAYp5sxrZL+64q9NiHnqw== X-Received: by 2002:a81:e60c:0:b0:5fa:5251:2332 with SMTP id u12-20020a81e60c000000b005fa52512332mr4349582ywl.32.1707299590157; Wed, 07 Feb 2024 01:53:10 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240202064039.15505-1-quic_ekangupt@quicinc.com> <20240202064039.15505-3-quic_ekangupt@quicinc.com> <2024020248-improving-algorithm-a5f0@gregkh> In-Reply-To: From: Dmitry Baryshkov Date: Wed, 7 Feb 2024 11:52:59 +0200 Message-ID: Subject: Re: [PATCH v1 02/16] misc: fastrpc: Add support for unsigned PD To: Ekansh Gupta Cc: Greg KH , srinivas.kandagatla@linaro.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" On Wed, 7 Feb 2024 at 10:57, Ekansh Gupta wrote: > > > 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. All such details must be described in commit messages for the patches. > > 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. And this should be a part of the cover letter. > > Please let me know if you have any other queries. > > Thanks > --ekansh > > -- With best wishes Dmitry