Received: by 2002:a05:6358:700f:b0:131:369:b2a3 with SMTP id 15csp1001543rwo; Wed, 2 Aug 2023 07:22:29 -0700 (PDT) X-Google-Smtp-Source: APBJJlH2BtQXMqphR21ZXRvZn0V8zrjxCkoLVB4ZZB0Cy/rvAgaoD1uEkrL3GxQruthYH8kjt1Or X-Received: by 2002:a05:6a00:3a23:b0:687:2e26:9ca9 with SMTP id fj35-20020a056a003a2300b006872e269ca9mr13345306pfb.11.1690986149195; Wed, 02 Aug 2023 07:22:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690986149; cv=none; d=google.com; s=arc-20160816; b=AoT4EGD6w2RqF8CQOOXwja7QEOUZmiINpCr090JMjnHb5PNCR4zK/yeezEQw/W3zvP KTvOSRpOQMlXAnZc2fJDMaeIA/kybeUdqFx52kBHKLOw4ltxFmtYODtRs1fFVOaudsBV G8merCX9wEgzZEPnZRuFdFfHUyxz1H4q0sTCms+y80+uyDEQNLIJB5wykA3Mqeu143BD TTsUZQmukkAEOaagJnDP+9EvHwIczv69Ckw+ZijQeyX2Ul1P3jYDQzVuE1L3gZQE7ZwZ YQCFDe5JEH9N2w5JfxCmYbs+2spBAtcbG3h9hEXGUMhzBo5O5+jVyFBZYXZ6JjNZsZNK cZew== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version:date :message-id:subject:references:in-reply-to:cc:to:from:dkim-signature; bh=ddgIUD0rDs0iQp6Xqanj+k7iPT02ffInnJBk7Lua6Ck=; fh=L5tAJJQqCedCOirm7koT41PrglGMW6WRE0kT0nq8cKg=; b=x9H/LhMo/UxiWlHM1MG+RT1BKNpq5nia/8Y8PojX6fqzOkVGe0Ed0n8WkiIgWxht8l T6wuIZCXCj1ceuUiacsTMiU5MsI9yYIElTaR7ni8j2Yn23NzY4asTcdi/fFMNsb6H5wS Xl0CkGVlU6AGmcogXH1vAF5JCkNWgXcxil5EYrkD79lbrJOM/neJ3Fq96I/ahGl4P9iL axNLrvBXrRZczXQhsWaK1WNnjVdPnXlTo21bzobYw16k1FChva4GOE5kJZqeC8RODeEC KNlFO8zOSvqtEABUzsbubnkgP+1ufwLOzPz0hybTsvi7ShY+hHbvNHO3VRSGFH1BKflP NcgQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=EULXtpMF; 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 s7-20020a056a00194700b00682ad3475e2si11345472pfk.207.2023.08.02.07.22.09; Wed, 02 Aug 2023 07:22:29 -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=EULXtpMF; 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 S231509AbjHBNZQ (ORCPT + 99 others); Wed, 2 Aug 2023 09:25:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57224 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230239AbjHBNZO (ORCPT ); Wed, 2 Aug 2023 09:25:14 -0400 Received: from mail-wr1-x436.google.com (mail-wr1-x436.google.com [IPv6:2a00:1450:4864:20::436]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0F9F9E9 for ; Wed, 2 Aug 2023 06:25:13 -0700 (PDT) Received: by mail-wr1-x436.google.com with SMTP id ffacd0b85a97d-317744867a6so6080052f8f.1 for ; Wed, 02 Aug 2023 06:25:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1690982711; x=1691587511; h=content-transfer-encoding:mime-version:date:message-id:subject :references:in-reply-to:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=ddgIUD0rDs0iQp6Xqanj+k7iPT02ffInnJBk7Lua6Ck=; b=EULXtpMFcsKlQZhJVPGbXyLiKEPKcF3NQJxf+AQuGqBTwi0Dj5zyDx0cRiWLkcXE4M TqRPG/Qkk++0GBlN2s3W0mP2ynh9xKFcJ0fzbleo1n5hCjfpTuyPiqFpwNCvIM50aBoD /UluL3LkRuKkWngHIOvmn/MPEGzhoyPOQhZSaDVyA6hQG0pCRFjCiATYu2y7rajcxb3K tVFu4BkmtDg4Hb7pow/fLkosgzuqF14o+SWg2UacItLd6hpOX08AIBhkua7Z4BTIl22F e3JtJk5xuWAJGToaCz3GlU6+SSutUnoXW8vVtRTV9TB7EapHvKW41+kvgLXnImV6SNPi aC9w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690982711; x=1691587511; h=content-transfer-encoding:mime-version:date:message-id:subject :references:in-reply-to:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ddgIUD0rDs0iQp6Xqanj+k7iPT02ffInnJBk7Lua6Ck=; b=RLUExtBpAby6h10BhGv+yq2oRJPNk6lePvJFMWA9rLHDRBpySXOHdYFv5o4LEr/iRb 0EOchvGC/d3KCfMiaYkLfYIh5DM15w5HbtJSNSeWV1kRlf6OO12IDGj6xKv5OaFJJzdH nEva6NTBcjgQt74XCNkiScz2SuYooZ6g4vOrLC/ysqNYePHN87KMj5FGmv+hlCIlRcQI dLZmE19QC6wywtgSnsSzwTXj9KY/DC66/BaXF/38t5ftWXvYlZSggZYnKosjVacMcjwE 6m6s0DNR/nHHQlZGCmbSS852v1r3KRmDjqOrdAByBaoIAQlllvDgwlMWeM8bopikafeO rL2Q== X-Gm-Message-State: ABy/qLZln1RavAsGNJ9iyWMGlnAfvTERq+XjNeIZMNAsUdriHkhptG2q SLViT0rtz/lYJ6is1dsORuSVvBextaP8ACSXfhs= X-Received: by 2002:a5d:608c:0:b0:315:9021:6dc3 with SMTP id w12-20020a5d608c000000b0031590216dc3mr4435521wrt.27.1690982711521; Wed, 02 Aug 2023 06:25:11 -0700 (PDT) Received: from [192.168.1.195] ([5.133.47.210]) by smtp.gmail.com with ESMTPSA id s11-20020adfeb0b000000b003176a4394d7sm19071719wrn.24.2023.08.02.06.25.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Aug 2023 06:25:10 -0700 (PDT) From: Srinivas Kandagatla To: linux-arm-msm@vger.kernel.org, Ekansh Gupta Cc: ekangupt@qti.qualcomm.com, gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org, fastrpc.upstream@qti.qualcomm.com, stable In-Reply-To: <1690952258-31364-1-git-send-email-quic_ekangupt@quicinc.com> References: <1690952258-31364-1-git-send-email-quic_ekangupt@quicinc.com> Subject: Re: [PATCH v3] misc: fastrpc: Fix remote heap allocation request Message-Id: <169098271060.74094.14059863905248122475.b4-ty@linaro.org> Date: Wed, 02 Aug 2023 14:25:10 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Mailer: b4 0.12.2 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 On Wed, 02 Aug 2023 10:27:38 +0530, Ekansh Gupta wrote: > Remote heap is used by DSP audioPD on need basis. This memory is > allocated from reserved CMA memory region and is then shared with > audioPD to use it for it's functionality. > > Current implementation of remote heap is not allocating the memory > from CMA region, instead it is allocating the memory from SMMU > context bank. The arguments passed to scm call for the reassignment > of ownership is also not correct. Added changes to allocate CMA > memory and have a proper ownership reassignment. > > [...] Applied, thanks! [1/1] misc: fastrpc: Fix remote heap allocation request commit: 098316374fead0383431cf678709f5609485ee21 Best regards, -- Srinivas Kandagatla