Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp1415322rwl; Sun, 26 Mar 2023 01:56:50 -0700 (PDT) X-Google-Smtp-Source: AKy350bcrF3F1arqkERTd+Uxs3Tqzxqju+HJxQYV3r/31bZLaKNpXerpO+Ke54/EPPUeUG8NjtqN X-Received: by 2002:aa7:9424:0:b0:626:1c2a:2805 with SMTP id y4-20020aa79424000000b006261c2a2805mr7934396pfo.25.1679821010241; Sun, 26 Mar 2023 01:56:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679821010; cv=none; d=google.com; s=arc-20160816; b=Gt+pXOcoQo7+pBHzjBRVrqr40ADem0w0PBqhHPq+ShvDaE8yLau2kqXvBtOYVbNWqL vw99o/0PO7jbPVU3DYDIYbkZiWU6uVuVhNtsWn/yU1a0pVVYpwyL6JArHuQ/L5fxeBIp JEFDQ/h2em2yYWzt6/2Nok2xuwgfPD/t3TD56HmGye0UQdhgYxrcdp8aWab5Avg08qUQ mGejsaSiQZb7ZkpWlXorb5rT62zx3CjfVnwqWjuAU4nd8sV8KbZVnNh3tO4mNjZ7uhB8 Iwsu200t/xxzDybykalg40EOj5r7vnqbFLcDLcheqPwl+WEiMDZV4KUltumBg0Agcn9O bsmA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=p1G5XuG2O44rhuRS+cdtjXkMOG1YaLkvmFPo9d6ePeQ=; b=xmw3N278j2rK7ADsNLmOl0vRHQ6Xzk13qfXsTks5KN0R9k5qSBUmRlFGiHR6JCkLQM vJmskqfrJgZtkJt9n600ITRgVwzXjgYoLlI2jldIqShKgwjylpF9RH7Qa5kLFFVkXAcm vrAR57xtYrW5bY5DXnIQLepY5e+i1LDftnid5ZCRJVj1AwBONLgrereeKurTF4Ukugq5 lKhBKpHZLQ5VD+Uao5vG7kWjxxmp4ILHtCRe/Tswo99LNgBTUUlquDqxz6PfRTibZfyo 5pYVbje5kOY2TQRfyBof/qkMPtEqx7LxWOe4LCZnFjJoPVQNcZDGTVpvnKfMEZk2bY7F +VpA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=kt9fmK2m; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id o34-20020a634e62000000b004fcdbd4f9desi24812959pgl.351.2023.03.26.01.56.38; Sun, 26 Mar 2023 01:56:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=kt9fmK2m; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231875AbjCZIwT (ORCPT + 99 others); Sun, 26 Mar 2023 04:52:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48962 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231841AbjCZIwS (ORCPT ); Sun, 26 Mar 2023 04:52:18 -0400 Received: from mail-ed1-x534.google.com (mail-ed1-x534.google.com [IPv6:2a00:1450:4864:20::534]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D548E7EF9 for ; Sun, 26 Mar 2023 01:52:16 -0700 (PDT) Received: by mail-ed1-x534.google.com with SMTP id h8so24115651ede.8 for ; Sun, 26 Mar 2023 01:52:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1679820735; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=p1G5XuG2O44rhuRS+cdtjXkMOG1YaLkvmFPo9d6ePeQ=; b=kt9fmK2m0EiBdcWA/bhdn34lSYAf9VIEFlhYgE1guZ9rrBz7zO8tOE0YsSuDxaXLsd AystX85dhnq9pPaS7QQuGJMwhiuROindN2L2dpc4nO42bq5kRAxoxRDK/3N0i+vG4tm1 zbrr4ToalhuObWk3ViDoIXBekoMpMcXhohlEStpxktqu9111oPyW3tv7ASk2ZUZz0M1j TeHqYdi2W7gCNoa6xMu6oxFYzVgv2yU2xY0Di7UT3SLKdYq8+MTnqZe0524j/vJN/PSJ GL3Av5csVCx8cCCK40uWMI5k002k6P4y+ZQb0sM4CHKWKghWwW+jIG7dVpwrV5ELIv/0 k+pQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679820735; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=p1G5XuG2O44rhuRS+cdtjXkMOG1YaLkvmFPo9d6ePeQ=; b=IROlMq9DcNkExRhtA7+1MrJBpoAP+Go4nM520oLD5IkHt2yPSdLvmuYxjlGcCRVLqC m+YPujcdMpz104BixpRH5/3lnu7ekLe8eRqkARMT+PWgoq7Vyb/9Njj5VsvnWK1IVbwG vCH9wMuYDEW1fnNXGJ6shMQ0UxpvkP6xWzaLIegHR45tVJCbmUUepPyub9niq/L0URxl MEfJxZsX1AOAof7Var6SeO4jYyAxg5XsldhUOOPzRGSqCl1YL3+unNfSXXnI5ji3Gdgo tk6eKZ0w/VCv6A3TAn2ZwDWQVLwxX74x9yka5hlrgjNYovwX864Pd3aaXjhOdAx2serF /q5A== X-Gm-Message-State: AAQBX9e3/XcgPedXURTOgLBPHn9lgjOAw8UtuM1rDNztFp/36FyjZub8 8Mv8Rlu2hwPXfN9nm9c2HGTcuwM2i0EKmCAFpYY= X-Received: by 2002:a05:6402:1390:b0:502:2382:5c24 with SMTP id b16-20020a056402139000b0050223825c24mr7067869edv.39.1679820735349; Sun, 26 Mar 2023 01:52:15 -0700 (PDT) Received: from ?IPV6:2a02:810d:15c0:828:6cac:926d:a4f2:aa09? ([2a02:810d:15c0:828:6cac:926d:a4f2:aa09]) by smtp.gmail.com with ESMTPSA id z17-20020a5096d1000000b004aee4e2a56esm13223831eda.0.2023.03.26.01.52.14 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 26 Mar 2023 01:52:14 -0700 (PDT) Message-ID: Date: Sun, 26 Mar 2023 10:51:56 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0 Subject: Re: [PATCH 0/2] Qualcomm SDM845 SLPI DSP driver support To: Dylan Van Assche , Andy Gross , Bjorn Andersson , Mathieu Poirier , Rob Herring , Krzysztof Kozlowski Cc: Konrad Dybcio , Manivannan Sadhasivam , linux-arm-msm@vger.kernel.org, linux-remoteproc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org References: <20230325132117.19733-1-me@dylanvanassche.be> Content-Language: en-US From: Krzysztof Kozlowski In-Reply-To: <20230325132117.19733-1-me@dylanvanassche.be> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 25/03/2023 14:21, Dylan Van Assche wrote: > The Qualcomm SDM845 SoC has a separate SLPI (Sensor Low Power Island) > DSP for sensors connected to the SoC which is responsible for exposing > sensors to userspace, power saving, and other features. > While sensors are connected to GPIOs of the SoC, they cannot be used > because the hypervisor blocks direct access to the sensors, thus the > DSP must be used to access any sensor on this SoC. The SLPI DSP uses a > GLink edge (dsps) to communicate with the host and has a FastRPC interface > to load files from the host filesystem such as sensor configuration files. > The FastRPC interface does not use regular FastRPC Compute Banks > but instead uses an allocated CMA region through which communication happens. > > This set of patches adds support to drivers for the SLPI DSP: > 1. Configure the permissions of assigned DSP memory through the hypervisor. > 2. Allocate a remote heap when the FastRPC session ID is 0 instead of using > a Compute Bank directly. > 3. Add the SLPI remoteproc resource to the q6v5_pas driver to enable support > for it in the driver. > over QRTR. > > DTS changes to enable the SLPI DSP in the SDM845 DTS and hardware > e.g. Oneplus 6 and SHIFTPHONES SHIFT6mq will be send once the driver changes > are applied. No, as we explained on IRC, we expect DTS to be sent the same time. Best regards, Krzysztof