Received: by 2002:a05:6358:bb9e:b0:b9:5105:a5b4 with SMTP id df30csp4566157rwb; Tue, 6 Sep 2022 09:13:07 -0700 (PDT) X-Google-Smtp-Source: AA6agR7dpZ5B9bl2rbaxP+SKBPPsE3zmmXq0+bCvGCTO0IW2ANu4oJ5RUGsFbDKWXI318PnQ0boD X-Received: by 2002:a17:90b:3a89:b0:1fe:4d6d:bd75 with SMTP id om9-20020a17090b3a8900b001fe4d6dbd75mr26202884pjb.199.1662480787366; Tue, 06 Sep 2022 09:13:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662480787; cv=none; d=google.com; s=arc-20160816; b=loNVdtoTDnJo8ZnLSAKwbR216ekfPI8zPrSDPdGbd7c6PKwS4QCZL0/0MyBbjMXKTT qdSs5/Lw65mpi18awZWWMjU4858mVfoMRU+5DxqeAuiBUXdsrIIeZYHOK6f6VBSej8ox 9IMazeE9RBVjYg2sX7P42iW+GA5Yk78DCVTDnmqGZuVmFwvGeyYMrgfcUiM8ms6eysCX IJXuYQrvXWw5+qoav6Pjq1xlj/gEICt8GrTh7MGl6J3RZWVogkS9eSMTjsXT6/rL8vXi +LtpVoqp571kKudnKxoZFHYkCc/cjAaJAS+aGVs5OXOup1FbKTpA21Sg6XESSH+n326c TyJw== 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 :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=2tufqt6hRvw4ZCjcl0S8PqA9okU//2v9afvDFY8wrQU=; b=r4zySsPpK28gXdkIU7y1FE5HuNXRBtbSXw2Nxfwt8d9iaUrBv3kst/lVmuoIhzSkFl evgUq9clWkw0PNmSFk1905j8N5VQn684A54MeV39GD1m0JYXoq6e+op6L6bM2nsK+xct oxpAEHZtRf5dZeBtyp8FdYr/7lcmAmx7+Co2EAKOjRWlyMZOKx2IrK0dgSvexAEkgTPL D2qLDcaMPMhty6m6Ha7QUn8caaQPLq3YkPbLEsdZ/FnktQAfnW/Y/zw7vjNe37FvCLGs nlg+J4eX3rUabYjKjtPIZyhIrUjIsN/1hfKe/n/lAro4uo7R3FcJaCDmKclduUSah/DM uBjg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=cn351tdR; 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 c18-20020a17090a8d1200b001fe00373999si19739212pjo.11.2022.09.06.09.12.54; Tue, 06 Sep 2022 09:13:07 -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=cn351tdR; 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 S233328AbiIFPKz (ORCPT + 99 others); Tue, 6 Sep 2022 11:10:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54976 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234323AbiIFPKd (ORCPT ); Tue, 6 Sep 2022 11:10:33 -0400 Received: from mail-wm1-x332.google.com (mail-wm1-x332.google.com [IPv6:2a00:1450:4864:20::332]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F1DBB10AE for ; Tue, 6 Sep 2022 07:24:27 -0700 (PDT) Received: by mail-wm1-x332.google.com with SMTP id h204-20020a1c21d5000000b003a5b467c3abso9708319wmh.5 for ; Tue, 06 Sep 2022 07:24:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date; bh=2tufqt6hRvw4ZCjcl0S8PqA9okU//2v9afvDFY8wrQU=; b=cn351tdR+0cIDsmGptIae3AEmwZKqeJ7YSt0CUUmJooLYckje5U4WFDkn+WWqeETox xfFT2An0ClBMR6gNQDrAY+ZPvtoZm+xDgJVcq44aowTW8JH6gf0rjng1fDpsLErOYb6y 36ILp1o7m10fF1++Nmzzbj1zex4h8xxFlVPNpBno9e6gcB1TEDLb0Vz84NNnP/UyQodQ 0UYtUdEbFn6aU4KoFAhrXv20sKIRK+xV2fSkSS9vbI31kQVRXkdAWJugcPaeagyNUkfG 0s1LQhQfQ0wITCIP1SWmODLR5sr8CdDLqxW3dXQeYcjZMC/wmiCb/5AN2JE8izu1Disz 8ijg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date; bh=2tufqt6hRvw4ZCjcl0S8PqA9okU//2v9afvDFY8wrQU=; b=FwSO+yP073VPLwptUAAIwqUNFf0lXQ2H0tnRk9dd7HI22Xz9UtauwF5fkxLc55400m LIw9f+AevWxBkFweZJ+V2XYwCBW51P9+tsDoGMwamilWb69PTGsQk4TIWCZGeIDZo79G gkkXNFFqQC0X8ICaAui/B0pNKy6jnGUijov9bNw9iFB7xhCeyUkYk41p+QNorL3UByex ZQgNYpJH/VTioK8rBxHQ5tACCzVUhHMBYh/pG6j5jE0iu9CYGITMbP8t7f2HJVEMI4Br yTHY/+iWmy4UVBDh6mnWZQQ0gZS9bKyQx0HUmkbkEfyzQIz24jeZMXLZiP5sMK1GXg2B P+8g== X-Gm-Message-State: ACgBeo09q7Qfye9X3/ff7rrvO6VikjFJtTuGQwcWXmUt4ikpFcc5v27v jOm7XbA+zgnH2O8+UTen8H7mFNOHwqR7Jw== X-Received: by 2002:a05:600c:1c19:b0:3a5:51aa:d041 with SMTP id j25-20020a05600c1c1900b003a551aad041mr13889901wms.172.1662473561428; Tue, 06 Sep 2022 07:12:41 -0700 (PDT) Received: from [192.168.86.238] (cpc90716-aztw32-2-0-cust825.18-1.cable.virginm.net. [86.26.103.58]) by smtp.googlemail.com with ESMTPSA id az19-20020a05600c601300b003a342933727sm22294206wmb.3.2022.09.06.07.12.39 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 06 Sep 2022 07:12:40 -0700 (PDT) Message-ID: <87f59c6d-c2ad-25c2-a0cf-972b5df42bce@linaro.org> Date: Tue, 6 Sep 2022 15:12:39 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Subject: Re: [PATCH v2 00/10] misc: fastrpc: Add audiopd support Content-Language: en-US To: Abel Vesa , Amol Maheshwari , Andy Gross , Bjorn Andersson , Konrad Dybcio , Ekansh Gupta Cc: Rob Herring , Krzysztof Kozlowski , Arnd Bergmann , Greg Kroah-Hartman , linux-arm-msm@vger.kernel.org, Linux Kernel Mailing List , devicetree@vger.kernel.org References: <20220902154900.3404524-1-abel.vesa@linaro.org> From: Srinivas Kandagatla In-Reply-To: <20220902154900.3404524-1-abel.vesa@linaro.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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 Hi Abel, Thanks for picking up these patches and reworking. On 02/09/2022 16:48, Abel Vesa wrote: > This patchset adds audiopd support to fastrpc. > > The first version is here: > https://lore.kernel.org/all/20220902131344.3029826-1-abel.vesa@linaro.org/ > I have tested this on sm8450 with audiopd and loading Single MIC ECNS module to adsp. Which platforms did you test these patches on? Tested-by: Srinivas Kandagatla --srini > Changes since v1: > * dropped the patch 13: > "misc: fastrpc: Remove unnecessary if braces in fastrpc_internal_invoke" > * sent patches 1, 2 and 3 as a separate patchset > > Abel Vesa (10): > misc: fastrpc: Rename audio protection domain to root > misc: fastrpc: Add reserved mem support > dt-bindings: misc: fastrpc: Document memory-region property > misc: fastrpc: Add fastrpc_remote_heap_alloc > misc: fastrpc: Use fastrpc_map_put in fastrpc_map_create on fail > misc: fastrpc: Rework fastrpc_req_munmap > misc: fastrpc: Add support for audiopd > misc: fastrpc: Safekeep mmaps on interrupted invoke > misc: fastrpc: Add mmap request assigning for static PD pool > misc: fastrpc: Add dma_mask to fastrpc_channel_ctx > > .../devicetree/bindings/misc/qcom,fastrpc.txt | 5 + > drivers/misc/fastrpc.c | 267 +++++++++++++++--- > include/uapi/misc/fastrpc.h | 7 + > 3 files changed, 247 insertions(+), 32 deletions(-) >