Received: by 2002:a05:7412:40d:b0:e2:908c:2ebd with SMTP id 13csp262293rdf; Tue, 21 Nov 2023 01:49:15 -0800 (PST) X-Google-Smtp-Source: AGHT+IES9Bf+8I9B0UOP7/73sgxMzdvSHDh4rpoGgZrIMyzFssHCVadhcXubNqxketV7t0jpivEb X-Received: by 2002:a05:6a00:2450:b0:6b6:e754:9e02 with SMTP id d16-20020a056a00245000b006b6e7549e02mr8768526pfj.12.1700560154688; Tue, 21 Nov 2023 01:49:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700560154; cv=none; d=google.com; s=arc-20160816; b=vIypvul1NLCMVZQHQwE5eJsLA6LCkSwGfVBBBbSBkM32YLZUcSX141GvjFNncnIUR/ cQTlOu2epW04NHbb10NU9XriUZwqLb0b24dxgXqZulmaHzdTdhjWv9VIZ72E7NvewBiJ BlRDtOeO+kq0xtk6zz8XheJwbIU/hOYMwszuIuzfVR0X1q9Vgp4q5aDfh0rtmA0C9vw1 nlmqeBiTeCxquNRFOgfdpOGHwuALRRKtGfZj82Z+DeX9xgTqwBYzqobKVzTt2gQF91c9 rt+GCFLT70UzNPaqg51J2TVk9YQzaTrHoS8LqRZJNvzG0DydqM7dv2s0KbuCdLOLuYlF OcZw== 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=uWNXEsW4UPrIPDWbwrtq4QRl5WYpPTZC8CrYutDPGl0=; fh=qZfm2gxVFKi5OFpGqqouvPKfcV9/1EOj1DTqrfs2EPk=; b=NG9x8WcBb5li0+vzADua4+R86PZ+vet4BdW3kEmqvl5TmWTuH+foS570ZGMZ1af/u6 AZMfCXQiFhpKay0XEg0qafVAMeeLmr0TSIi4WJ4/3gSwrkDM/QHbUQefBKSDgwFhNVH3 gyxfV+OIfTUd2yWIbQZQfvLxVbWeN+DocAaBvi6gLzWkfrQEODBgaTvr5Y0Ln7qtVFJw /VAoD7X5LUHxSV25HhHlBP0M+DwtEbFNzgkII62Eyx32yAMTjBVIXdNzZUYCqFgR+Otg +9sitYCW/E0cUxSB+K0AkEj7eHa56gpcbMIsJP1RaBcc8YtsX3vp7mso8f6i6Q7tiGoP Wnjw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=J52GaVal; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id k76-20020a62844f000000b006bdaa24308fsi9873688pfd.105.2023.11.21.01.49.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Nov 2023 01:49:14 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=J52GaVal; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 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 (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 7A3F780EE0F2; Tue, 21 Nov 2023 01:49:13 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234111AbjKUJtH (ORCPT + 99 others); Tue, 21 Nov 2023 04:49:07 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36874 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234086AbjKUJtE (ORCPT ); Tue, 21 Nov 2023 04:49:04 -0500 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 64F8310E; Tue, 21 Nov 2023 01:48:57 -0800 (PST) Received: from pps.filterd (m0279862.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3AL9ASxM002325; Tue, 21 Nov 2023 09:48:55 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=uWNXEsW4UPrIPDWbwrtq4QRl5WYpPTZC8CrYutDPGl0=; b=J52GaValdXZ4Psm+CTx5PZ0qUqkZw1UE/S4XL9z31G/dHVETcxpyBVmE0SFiHPThVUah IDxQJpJJZgJ+IXtOcwmxaHepSUCPphvtJhSyIocWdl6gYB097YamcTCk5HKPtToMWblQ ibz2/jcEm+fVwloOrrN0r3h+BuRprC6lJ5DyJ60WIAKzn+UKDn5KLoQdINLQ3WSnshMO Ei177N0S6d59AVbMUZaPdyWTSx/QIkCUqIdHj0kiScxjivH26AFxglZyb1T9Nl9AuWql 6O5VBgyBtP1d23QF7woBskOV9UQQ3TvZEOlU2cIDtmEMvbvsmRCxipPvKs+IBXHO7hCx MQ== Received: from nalasppmta05.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3ugrk207ra-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 21 Nov 2023 09:48:54 +0000 Received: from nalasex01b.na.qualcomm.com (nalasex01b.na.qualcomm.com [10.47.209.197]) by NALASPPMTA05.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 3AL9ms8V017382 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 21 Nov 2023 09:48:54 GMT Received: from hu-ekangupt-hyd.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.40; Tue, 21 Nov 2023 01:48:52 -0800 From: Ekansh Gupta To: , CC: , Subject: [PATCH v7 0/5] Add multimode invoke request IOCTL support Date: Tue, 21 Nov 2023 15:18:39 +0530 Message-ID: <20231121094844.5764-1-quic_ekangupt@quicinc.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) 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-GUID: G4QPtF32-lcrxQnurKHWgxNJ57icjA72 X-Proofpoint-ORIG-GUID: G4QPtF32-lcrxQnurKHWgxNJ57icjA72 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.987,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-11-21_03,2023-11-20_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 malwarescore=0 suspectscore=0 spamscore=0 lowpriorityscore=0 impostorscore=0 adultscore=0 clxscore=1011 bulkscore=0 priorityscore=1501 phishscore=0 mlxscore=0 mlxlogscore=484 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2311060000 definitions=main-2311210076 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 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Tue, 21 Nov 2023 01:49:13 -0800 (PST) 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. Ekansh Gupta (5): 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 drivers/misc/fastrpc.c | 492 +++++++++++++++++++++++++++++------- include/uapi/misc/fastrpc.h | 52 ++++ 2 files changed, 459 insertions(+), 85 deletions(-) -- 2.17.1