Message ID | 1690356959-1968-1-git-send-email-quic_ekangupt@quicinc.com |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:a985:0:b0:3e4:2afc:c1 with SMTP id t5csp261427vqo; Wed, 26 Jul 2023 01:47:46 -0700 (PDT) X-Google-Smtp-Source: APBJJlGe9l0+Tf6vZobbtXbmcsG9uR42laYPfiTRRuq9a/SumfHzzmH4kN0VSFpvtMeM+J50Zd5R X-Received: by 2002:a05:6a20:42a9:b0:13a:6bca:7a84 with SMTP id o41-20020a056a2042a900b0013a6bca7a84mr1722206pzj.44.1690361266100; Wed, 26 Jul 2023 01:47:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690361266; cv=none; d=google.com; s=arc-20160816; b=yBI7vBFUpJShQgN6p1yZcwtkVZpqirZxNyrzni8vSWFr4V/tSDu6R3/9wQaI+lFMNW s8K+QfKvu9UKjgnnwV8l7B7Xq7GUkHaDl4KnHmzlQv/sNlMc4e4iUl6BQJtWrKouKfwZ Dhec9e72ma4toh/7eYR90dn8Q+NEeyJAb/wxXuSAB9Iyy1NHJUSisQp8fHSAMkT6mWpT p1GweiN65SHJzcCrgkZdthe6lKKnytFNZ+kWEt5zPI6uoyXctblk8kPFSixLqGgXToj3 pUkOfWQbL021RT4ASg6x6gSdM2E2TUQc+FhJmYUFSNGVVf8RAj6t7r9jbvuzX+YBFmal m47A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from :dkim-signature; bh=m9b+5Gq8yMg9eoXXcnMA5iUgneZ9clnsM+KE3aEAK1A=; fh=O89gU8TaI8Vvi776drJhcCy3jy1Ps7gqRKp2e21JGME=; b=pvh8+gKN7OPupNXa/yZOgAtruQmDROcx690EE0gJ9dwuA6vzspWx/XyHPqIQCbUOti nQuf6nUnY/1tWzbqESfaOeoGj1MbzN1E7BcshsUgR+5Cs0jNjHCMjNCOTtrlzBzDQGPD 8kdKEfBPQ0msi+obsZXlK7Zhi91ilAdormGjTv7jpWlAdkrNN1DGOfIRp7u6eWCOXKc8 fmiTEFGqIPPlYvR9HHzxWifiNZh+0V6+l6h9Do3cg0UgBNNyzj94gNEoFEBQV58ZsM+m fxO/jzfcHPYPm2IV+LTm8pCl8cSMMt3v2dORz8i4XM5uPckuoLjkMph3/ask8/SMZsiq bYjg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=cVTUbz2b; 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=quicinc.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n4-20020a637204000000b005600a533c7dsi12195405pgc.161.2023.07.26.01.47.23; Wed, 26 Jul 2023 01:47:46 -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=@quicinc.com header.s=qcppdkim1 header.b=cVTUbz2b; 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=quicinc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231867AbjGZHiq (ORCPT <rfc822;hanasaki@gmail.com> + 99 others); Wed, 26 Jul 2023 03:38:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60946 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232895AbjGZHiD (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 26 Jul 2023 03:38:03 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9E7932D4F; Wed, 26 Jul 2023 00:36:11 -0700 (PDT) Received: from pps.filterd (m0279866.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 36Q55GGv010023; Wed, 26 Jul 2023 07:36:08 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=from : to : cc : subject : date : message-id : mime-version : content-type; s=qcppdkim1; bh=m9b+5Gq8yMg9eoXXcnMA5iUgneZ9clnsM+KE3aEAK1A=; b=cVTUbz2bOFFMHzkD9Nzw/V7a2VxitM4+dwMlBl3iBBxuZOekJ56GQ2k4L+yX87jGUUHe CTmfoJEEDHOlJPx1FoEUxtegv9BP6EgtFSpN3Zs9pk+bdEjBo3WtysXSRDf5OekW7ZBY 6I/IyeoY+4v6xR1pZ+OHoTYVp/JGNNFGIurAnI6dsSPyOvMohmkAfiiOQGld7tx/fvuq 1GBZ2uE8eTXfRIyTCGplYjF3I3mQi1yaB4VfZTEk0zIG5ae5gBQU6zf+aWPFojAMD8l4 RlNE6BBFQWNoH5GaqQ2Dtszx2012ytw2PTnYZwQxjKb5UTO0imn5aE3MM9rjZ4fXNCTu 9g== Received: from nalasppmta04.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3s2cf8th74-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 26 Jul 2023 07:36:07 +0000 Received: from nalasex01b.na.qualcomm.com (nalasex01b.na.qualcomm.com [10.47.209.197]) by NALASPPMTA04.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 36Q7a6hj015261 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 26 Jul 2023 07:36:06 GMT Received: from ekangupt-linux.qualcomm.com (10.80.80.8) by nalasex01b.na.qualcomm.com (10.47.209.197) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.30; Wed, 26 Jul 2023 00:36:03 -0700 From: Ekansh Gupta <quic_ekangupt@quicinc.com> To: <srinivas.kandagatla@linaro.org>, <linux-arm-msm@vger.kernel.org> CC: Ekansh Gupta <quic_ekangupt@quicinc.com>, <ekangupt@qti.qualcomm.com>, <gregkh@linuxfoundation.org>, <linux-kernel@vger.kernel.org>, <fastrpc.upstream@qti.qualcomm.com> Subject: [PATCH v1 0/2] Static PD restart support and remote heap management redesign Date: Wed, 26 Jul 2023 13:05:57 +0530 Message-ID: <1690356959-1968-1-git-send-email-quic_ekangupt@quicinc.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) To nalasex01b.na.qualcomm.com (10.47.209.197) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: ZZcsO_XJsM41BzvOVSkdTy6jowfIUZSv X-Proofpoint-GUID: ZZcsO_XJsM41BzvOVSkdTy6jowfIUZSv X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.591,FMLib:17.11.176.26 definitions=2023-07-26_01,2023-07-25_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxscore=0 impostorscore=0 suspectscore=0 spamscore=0 adultscore=0 bulkscore=0 mlxlogscore=763 lowpriorityscore=0 malwarescore=0 phishscore=0 clxscore=1015 priorityscore=1501 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2306200000 definitions=main-2307260066 X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1772472254769427801 X-GMAIL-MSGID: 1772472254769427801 |
Series |
Static PD restart support and remote heap management redesign
|
|
Message
Ekansh Gupta
July 26, 2023, 7:35 a.m. UTC
Static PDs need to support restart feature where it can be restarted affecting other PDs running on the same subsystem. For this support fastrpc driver needs to handle events of PD down and up. This requires addition of a service locator to get the event notifications for audio and sensor domain static PDs. On different events, fastrpc needs to take care of cleaning up resources and notifying the user daemon process. Ekansh Gupta (2): misc: fastrpc: Redesign remote heap management misc: fastrpc: Add static PD restart support drivers/misc/fastrpc.c | 386 +++++++++++++++++++++++++++++++++++++++++++------ 1 file changed, 338 insertions(+), 48 deletions(-)