From patchwork Mon Oct 7 08:45:14 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ekansh Gupta X-Patchwork-Id: 13824353 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id AE7D3CFB43F for ; Mon, 7 Oct 2024 08:45:38 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 387A810E1F0; Mon, 7 Oct 2024 08:45:38 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=quicinc.com header.i=@quicinc.com header.b="SAq2J+9Y"; dkim-atps=neutral Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by gabe.freedesktop.org (Postfix) with ESMTPS id 88AD110E1F0 for ; Mon, 7 Oct 2024 08:45:36 +0000 (UTC) Received: from pps.filterd (m0279864.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 4974TOdP021817; Mon, 7 Oct 2024 08:45:30 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= cc:content-transfer-encoding:content-type:date:from:message-id :mime-version:subject:to; s=qcppdkim1; bh=+ZgYl8T5ptwcFitlQ0hIY6 OM8Ievj52yKKmQtqQSxzk=; b=SAq2J+9YOeBejqaNouuqAZ/tD8iHTwI7fmsELH zOzgdWAafeHmba4NB7CdeHfyFHz+uMhPw34pLN3t5tn7oiQ4lCTl2pWSMDEAYUJZ 6MeIUZI+CUr/VMeqmzkARYxszZmrW27ysqOwdUYjJjsySxRJ984skYdO8yDgjVfV MEXps6/UPk001dqPeic+0ibF/sAuDraapDOpnXKgaTm+wjZIFL+5o1wG5owWIsXj 98GxT91Vw+reqiRE6naRWqUaDZE2oMYu5q0u0DpRBuGWFhCq0ueZ614W9ehhNII4 79YML7R+nZZK5z1GWG0ejzHJ7EXpkHnzjo/FYKLb4eIEWNlA== Received: from nalasppmta03.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 422xr5kgj8-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 07 Oct 2024 08:45:30 +0000 (GMT) Received: from nalasex01b.na.qualcomm.com (nalasex01b.na.qualcomm.com [10.47.209.197]) by NALASPPMTA03.qualcomm.com (8.18.1.2/8.18.1.2) with ESMTPS id 4978jT46024703 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 7 Oct 2024 08:45:29 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.1544.9; Mon, 7 Oct 2024 01:45:27 -0700 From: Ekansh Gupta To: , CC: , , , , , Subject: [PATCH v1 0/4] Add invokeV2 to support new features Date: Mon, 7 Oct 2024 14:15:14 +0530 Message-ID: <20241007084518.3649876-1-quic_ekangupt@quicinc.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 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-GUID: B0ryBzcniQOwxEg3MCWdDvcZJWagyruh X-Proofpoint-ORIG-GUID: B0ryBzcniQOwxEg3MCWdDvcZJWagyruh X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.60.29 definitions=2024-09-06_09,2024-09-06_01,2024-09-02_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 suspectscore=0 clxscore=1011 mlxlogscore=896 priorityscore=1501 impostorscore=0 adultscore=0 mlxscore=0 phishscore=0 malwarescore=0 lowpriorityscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2409260000 definitions=main-2410070061 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" This patch series adds the listed features that have been missing in upstream fastRPC driver. - Add changes to support new enhanced invocation ioctl request. - Add support for CRC check. - Add support for DSP and kernel performance counters. - Add polling mode support. Userspace change: https://github.com/quic/fastrpc/pull/73 Ekansh Gupta (4): misc: fastrpc: Add CRC support using invokeV2 request misc: fastrpc: Capture kernel and DSP performance counters misc: fastrpc: Modify context id calculation for poll mode misc: fastrpc: Add polling mode support for fastRPC driver drivers/misc/fastrpc.c | 435 ++++++++++++++++++++++++++++++------ include/uapi/misc/fastrpc.h | 10 + 2 files changed, 376 insertions(+), 69 deletions(-)