From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-lf1-f50.google.com (mail-lf1-f50.google.com [209.85.167.50]) (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 D48E418030 for ; Fri, 2 Feb 2024 08:11:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.50 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706861512; cv=none; b=T8SEcBovuosjkoKiFSd+Slx9cn2oymyI3xz77YN0DVYzZDH8zAnfuRVnPG8GooQdG+ekII5i1FhVhWQVaD0rruPT3sFQz4xB5BtsUmYAKxEaiwmoU6iPSaipGXMqFqQlkb5qjqBfUErmVKzhciz2hUHydmhg6COn2rMzmIjPdWE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706861512; c=relaxed/simple; bh=bTtGqCgt8+lUk9uK976uGz7vMakgO575FyOGcuvJdr8=; h=Message-ID:Date:MIME-Version:From:Subject:To:Cc:References: In-Reply-To:Content-Type; b=Sf2bAqSsJnB3ZmSlaNnpQXjxWfr8VhIr9x1d8DjW4Zt+WWaBJRmxWnoYg9UmtyWdyAsxgKI3TB51A42X0X+0g4Uie8tUGxkxPkXVBcbdv8hGfRmBQfvYbjM6PdGaWUYHUMzqn0dByZqxdSGqAKJVoF+GnFTEiypT9i4t4qbZCMk= 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=EWH3J6gR; arc=none smtp.client-ip=209.85.167.50 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="EWH3J6gR" Received: by mail-lf1-f50.google.com with SMTP id 2adb3069b0e04-51032e62171so2515391e87.3 for ; Fri, 02 Feb 2024 00:11:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1706861509; x=1707466309; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:organization:autocrypt :references:cc:to:content-language:subject:reply-to:from:user-agent :mime-version:date:message-id:from:to:cc:subject:date:message-id :reply-to; bh=A+phSLkXQoy73qpLUNAhiP2lrCdlciG3yr5Wt06yo40=; b=EWH3J6gRwn6yKZMdRkqaTMfqRe1ttj/J40J2sCNUueMRjr0prC0g6/IzFfv1LwqqsG QtNAvueYYavk/N5+M7tBEx8LTF7XgEMp6258k+3OmJjUkOFE+ZaDLlcdOO6RcATbC03m +xp9O+i36hmaDZRmsfklsHQV23DYbg9Fj9tQrNhIlqoX2UUDoUZj1Cvxh06p0/Ffqqj2 dOhKwEdmLo7sKqlCNuYiXMqtdWC5Fq9cRxpLF1CeZisaaZHeL1kx3O0gahZfh+/twumO Ruh5Gbl+LkqCXIUaSP2ewvFHFBgfTO8twPiRs1aYPyvCCyQQhHt3FQRTk2PQB2x3ZrmG G7Xg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706861509; x=1707466309; h=content-transfer-encoding:in-reply-to:organization:autocrypt :references:cc:to:content-language:subject:reply-to:from:user-agent :mime-version:date:message-id:x-gm-message-state:from:to:cc:subject :date:message-id:reply-to; bh=A+phSLkXQoy73qpLUNAhiP2lrCdlciG3yr5Wt06yo40=; b=Xxd8B7RUeB0ayFO4PAvMqYrd2grjAiUUFsbtArvi2dVFi8SJO//iaG9lUOqCP0QFFe z0mXXMktpGKS5cmoDagSn/tPvJzXfNboyVD7xyRSgsdKVerKi5YTAoCQe1sNuFpFmHUi hp5SazCCjhmoASh8BFxeKkjb+4vV/3k0sqrWMGxkIZP9cY0G5fkEDzW01cPCyFhlid5k t8hQvlmKRqyqm1RYaOiMNeg+GFlftMpMBp2Hx5JLtz+9ncbH+2zAKLKuOWUnPxZAfy0F fN9EEY1D1ZBBuV6oEsb4tyQDX26yYpoHQ3q8rGJSNc0ZUVlsfEvIPgq3bMgehlXQG0Q3 vl/A== X-Gm-Message-State: AOJu0Yyw88dH0gTyAi2Rl+vmt3f742QBpL+iO/0Feh8xDSJBzw8gXP8L 0Wtgco2QqRqtogPWwOxWVdMfB0xQTbrDe3DkSLBN1dhYBDPyojfAez/34CB9NO+bFzx/4U+7t5v A7CI6VA== X-Google-Smtp-Source: AGHT+IFFRlYYbYbfxCl751fzPqVcTtiNOx74uwltdXB9jT1S9GqCxRnzy4+OMEE6v3Ty+Rp7w9Oj1g== X-Received: by 2002:ac2:442d:0:b0:511:2fd7:b0cb with SMTP id w13-20020ac2442d000000b005112fd7b0cbmr729854lfl.49.1706861508887; Fri, 02 Feb 2024 00:11:48 -0800 (PST) X-Forwarded-Encrypted: i=0; AJvYcCUnFuUOJ29IlEpe5oQXZvV9EUSS6+0XBTclwUAKeYrVhaEa/i37TuwOG5e4hptV3jvEelVhcZDgseWrWtxH74ltZjitsaU77bkS1JUpWsb6RNvdsmo4i2BrdOJPI2u7tKtIR5Hi3oOfrZ7ThHPksAaLtvQNs7RIs2UFXKndxmP775aMOknS7k28b6Nn Received: from ?IPV6:2a01:e0a:982:cbb0:560a:f70f:7627:2c48? ([2a01:e0a:982:cbb0:560a:f70f:7627:2c48]) by smtp.gmail.com with ESMTPSA id 13-20020a05600c228d00b0040fb0c90da6sm6547641wmf.14.2024.02.02.00.11.48 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 02 Feb 2024 00:11:48 -0800 (PST) Message-ID: Date: Fri, 2 Feb 2024 09:11:46 +0100 Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird From: neil.armstrong@linaro.org Reply-To: neil.armstrong@linaro.org Subject: Re: [PATCH v1 00/16] Add missing features to FastRPC driver Content-Language: en-US, fr To: Ekansh Gupta , srinivas.kandagatla@linaro.org, linux-arm-msm@vger.kernel.org Cc: gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org References: <20240202064039.15505-1-quic_ekangupt@quicinc.com> Autocrypt: addr=neil.armstrong@linaro.org; keydata= xsBNBE1ZBs8BCAD78xVLsXPwV/2qQx2FaO/7mhWL0Qodw8UcQJnkrWmgTFRobtTWxuRx8WWP GTjuhvbleoQ5Cxjr+v+1ARGCH46MxFP5DwauzPekwJUD5QKZlaw/bURTLmS2id5wWi3lqVH4 BVF2WzvGyyeV1o4RTCYDnZ9VLLylJ9bneEaIs/7cjCEbipGGFlfIML3sfqnIvMAxIMZrvcl9 qPV2k+KQ7q+aXavU5W+yLNn7QtXUB530Zlk/d2ETgzQ5FLYYnUDAaRl+8JUTjc0CNOTpCeik 80TZcE6f8M76Xa6yU8VcNko94Ck7iB4vj70q76P/J7kt98hklrr85/3NU3oti3nrIHmHABEB AAHNKk5laWwgQXJtc3Ryb25nIDxuZWlsLmFybXN0cm9uZ0BsaW5hcm8ub3JnPsLAkQQTAQoA OwIbIwULCQgHAwUVCgkICwUWAgMBAAIeAQIXgBYhBInsPQWERiF0UPIoSBaat7Gkz/iuBQJk Q5wSAhkBAAoJEBaat7Gkz/iuyhMIANiD94qDtUTJRfEW6GwXmtKWwl/mvqQtaTtZID2dos04 YqBbshiJbejgVJjy+HODcNUIKBB3PSLaln4ltdsV73SBcwUNdzebfKspAQunCM22Mn6FBIxQ GizsMLcP/0FX4en9NaKGfK6ZdKK6kN1GR9YffMJd2P08EO8mHowmSRe/ExAODhAs9W7XXExw UNCY4pVJyRPpEhv373vvff60bHxc1k/FF9WaPscMt7hlkbFLUs85kHtQAmr8pV5Hy9ezsSRa GzJmiVclkPc2BY592IGBXRDQ38urXeM4nfhhvqA50b/nAEXc6FzqgXqDkEIwR66/Gbp0t3+r yQzpKRyQif3OwE0ETVkGzwEIALyKDN/OGURaHBVzwjgYq+ZtifvekdrSNl8TIDH8g1xicBYp QTbPn6bbSZbdvfeQPNCcD4/EhXZuhQXMcoJsQQQnO4vwVULmPGgtGf8PVc7dxKOeta+qUh6+ SRh3vIcAUFHDT3f/Zdspz+e2E0hPV2hiSvICLk11qO6cyJE13zeNFoeY3ggrKY+IzbFomIZY 4yG6xI99NIPEVE9lNBXBKIlewIyVlkOaYvJWSV+p5gdJXOvScNN1epm5YHmf9aE2ZjnqZGoM Mtsyw18YoX9BqMFInxqYQQ3j/HpVgTSvmo5ea5qQDDUaCsaTf8UeDcwYOtgI8iL4oHcsGtUX oUk33HEAEQEAAcLAXwQYAQIACQUCTVkGzwIbDAAKCRAWmrexpM/4rrXiB/sGbkQ6itMrAIfn M7IbRuiSZS1unlySUVYu3SD6YBYnNi3G5EpbwfBNuT3H8//rVvtOFK4OD8cRYkxXRQmTvqa3 3eDIHu/zr1HMKErm+2SD6PO9umRef8V82o2oaCLvf4WeIssFjwB0b6a12opuRP7yo3E3gTCS KmbUuLv1CtxKQF+fUV1cVaTPMyT25Od+RC1K+iOR0F54oUJvJeq7fUzbn/KdlhA8XPGzwGRy 4zcsPWvwnXgfe5tk680fEKZVwOZKIEuJC3v+/yZpQzDvGYJvbyix0lHnrCzq43WefRHI5XTT QbM0WUIBIcGmq38+OgUsMYu4NzLu7uZFAcmp6h8g Organization: Linaro Developer Services In-Reply-To: <20240202064039.15505-1-quic_ekangupt@quicinc.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Hi, On 02/02/2024 07:40, Ekansh Gupta wrote: > This patch series adds the listed features that have been missing > in upstream fastRPC driver. > > - Redesign and improve remote heap management. > - Add static PD restart support for audio and sensors PD using > PDR framework. > - Add changes to support multimode invocation ioctl request. This > ioctl call facilitates multiple types of requests from user including > CRC check, performance counters, shared context bank usage, etc. > This series also carries patch to save and restore interrupted > context. > - Add early wakeup support to allow DSP user to send early response > to CPU and improve fastrpc performance. > - Add polling mode support with which driver polls on memory to avoid > CPU from going to low power modes. > - Add notifications frameworks to provide users with the DSP PD status > notifications. > - Add a control mechanism to allow users to clean up DSP user PD > - Add wakelock management support > - Add DSP signalling support > - Add check for untrusted applications and allow trusted processed to > offload to system unsigned PD. Could you precise: - Which workload are you fixing - Which platforms are concerned - Which platforms were tested So far I've been trying to run the "getserial" on SM8550-QRD and SM8650-QRD without success, would those changes fix this ? Is there any chance we could get an open-source minimal implementation of a fastRPC SDK using the open-source Hexagon LLVM like we have for the AIC100 ? It would definitely help validating the upstream fastRPC implementation. Thanks, Neil > > Ekansh Gupta (16): > misc: fastrpc: Redesign remote heap management > misc: fastrpc: Add support for unsigned PD > misc: fastrpc: Add static PD restart support > misc: fastrpc: Add fastrpc multimode invoke request support > misc: fastrpc: Add CRC support for remote buffers > misc: fastrpc: Capture kernel and DSP performance counters > misc: fastrpc: Add support to save and restore interrupted > misc: fastrpc: Add support to allocate shared context bank > misc: fastrpc: Add early wakeup support for fastRPC driver > misc: fastrpc: Add polling mode support for fastRPC driver > misc: fastrpc: Add DSP PD notification support > misc: fastrpc: Add support for users to clean up DSP user PD > misc: fastrpc: Add wakelock management support > misc: fastrpc: Add DSP signal support > misc: fastrpc: Restrict untrusted apk to spawn privileged PD > misc: fastrpc: Add system unsigned PD support > > drivers/misc/fastrpc.c | 1949 +++++++++++++++++++++++++++++++---- > include/uapi/misc/fastrpc.h | 112 ++ > 2 files changed, 1844 insertions(+), 217 deletions(-) >