From patchwork Thu Jan 19 16:26:08 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jeffrey Hugo X-Patchwork-Id: 45850 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp425031wrn; Thu, 19 Jan 2023 08:32:34 -0800 (PST) X-Google-Smtp-Source: AMrXdXtDOGPdBteUHFCfZpAhD+htL5zInaT1q99oPRFK9p4zgESRd0jskeAa/c9x7Ps7I8qJHiVb X-Received: by 2002:a17:90a:51e4:b0:219:818f:9da3 with SMTP id u91-20020a17090a51e400b00219818f9da3mr12645178pjh.17.1674145953764; Thu, 19 Jan 2023 08:32:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674145953; cv=none; d=google.com; s=arc-20160816; b=GxzqFmszxEXnlFe6/pl339VWjG+jcYd+T+fWFGLqD6wbSJdJchZ2HcBKctx82rEMa0 eTYe8WgBVMCP9Gbzzs8gXRDVp2njnT/nNOYOU+1XHZX/eYSxM17+fnDgsbSLRphrKIfc NEkYh077UGlTuRlgrFt5GlLJq+G5aOlLZ+QQKl9J/daJtN/zn5A0s2CoKRAuzJqA0BmR IIvnucZ/yB9h1qW1y8sWIOb6jw5ScxiPhTAgsCSrP6o/K4XttSniUPk3Col6UdWBY9FG CEFuMbgGDg1RDJoXm1plnJJPVk/E/pH0YmUfhzIMSgm6jHslhx2lj1cwhBYWzyeKm54v Atdg== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=fxEqCJ6Eyu2B6HdFbbL+rFgS3BmR8Vw49sjAoVUA4N4=; b=onJbDni9Mc5dkunFReafLSlSJ8eSLh0Km97bWkKVeZ0t8yvIxQf6Vtf1usRwzcACOe pN4do6IvHANdfG+DFL+P31iBuDckuVFb2XzIq7m9HBs+MBYIjW/aCJLe0UXyOb1+JZZc MAAOI3F76xd7SyJG+uTvQgQczDdTAuKgNeokY52OXpjbsOdEKsAIBDz5u3FFtD2WrrmU mjuByRdD+Qz6o6Sea1p7ZmIRI3mQyCKa+SnXeFiKOogWemXhxXXu4iBg1q3eCJpj7pRG IFfRCIVxcE/aEumiCRN/Zt1Vye33fYf8ae0YFbZbcM7UMCHSbh4Z7BfbBeJRWFjLwITL 7Oxw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=CPp2SRiF; 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 mn9-20020a17090b188900b00225a37e6dc9si528362pjb.4.2023.01.19.08.32.21; Thu, 19 Jan 2023 08:32:33 -0800 (PST) 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=CPp2SRiF; 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 S229626AbjASQ0j (ORCPT + 99 others); Thu, 19 Jan 2023 11:26:39 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50420 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229468AbjASQ0h (ORCPT ); Thu, 19 Jan 2023 11:26:37 -0500 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 579BA4F34A; Thu, 19 Jan 2023 08:26:36 -0800 (PST) Received: from pps.filterd (m0279864.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 30JD1ldf019543; Thu, 19 Jan 2023 16:26:33 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-transfer-encoding : content-type; s=qcppdkim1; bh=fxEqCJ6Eyu2B6HdFbbL+rFgS3BmR8Vw49sjAoVUA4N4=; b=CPp2SRiFMICzKgyXstwlmkYo69M2W2b2YVJKjG121BECw/S5g1JvK5Q4dk7IQM7iPkqE vq9blWFbFgNZziBkAV15WqR0zDTTKGScQz62vuvvomgngTTKTWnYuoyv2JUuGl6Kk8Sq vsdDUsMX9NmGEIwJUvFr43X2Wxhm5JYOMDxqBlc4h/fPhJRMlAVzOmLML+TQJvfZoGON jM9uUAzGVhrzzmSuIi4iIJCez+qRzgJeOEht8daTeDBnOBeoWeqddqcvdGHNyv/MDBYJ 9dWS38hRPYd5hkJDftNQQIblY93fwiUIxsTJs90/M0LOsY313mhvmfMCLo6WZIuK/JwB wg== Received: from nalasppmta01.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3n6vjbhwcd-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 19 Jan 2023 16:26:33 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA01.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 30JGQWLD008720 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 19 Jan 2023 16:26:32 GMT Received: from jhugo-lnx.qualcomm.com (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.36; Thu, 19 Jan 2023 08:26:31 -0800 From: Jeffrey Hugo To: , CC: , , , Jeffrey Hugo Subject: [PATCH] docs: accel: Fix debugfs path Date: Thu, 19 Jan 2023 09:26:08 -0700 Message-ID: <1674145568-31513-1-git-send-email-quic_jhugo@quicinc.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nalasex01a.na.qualcomm.com (10.47.209.196) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: eLVhhrsWMJ-Ci9r95qLTQ4tkkxiMBWBD X-Proofpoint-GUID: eLVhhrsWMJ-Ci9r95qLTQ4tkkxiMBWBD X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.219,Aquarius:18.0.930,Hydra:6.0.562,FMLib:17.11.122.1 definitions=2023-01-19_10,2023-01-19_01,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 suspectscore=0 priorityscore=1501 clxscore=1011 phishscore=0 malwarescore=0 mlxscore=0 spamscore=0 impostorscore=0 mlxlogscore=808 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2301190133 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 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-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1755469267115872749?= X-GMAIL-MSGID: =?utf-8?q?1755469267115872749?= The device specific directory in debugfs does not have "accel". For example, the documentation says device 0 should have a debugfs entry as /sys/kernel/debug/accel/accel0/ but in reality the entry is /sys/kernel/debug/accel/0/ Fix the documentation to match the implementation. Fixes: 8c5577a5ccc6 ("doc: add documentation for accel subsystem") Signed-off-by: Jeffrey Hugo Reviewed-by: Oded Gabbay --- Documentation/accel/introduction.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/accel/introduction.rst b/Documentation/accel/introduction.rst index 6f31af1..11cade5 100644 --- a/Documentation/accel/introduction.rst +++ b/Documentation/accel/introduction.rst @@ -69,7 +69,7 @@ The accelerator devices will be exposed to the user space with the dedicated - device char files - /dev/accel/accel* - sysfs - /sys/class/accel/accel*/ -- debugfs - /sys/kernel/debug/accel/accel*/ +- debugfs - /sys/kernel/debug/accel/*/ Getting Started ===============