Received: by 2002:ab2:3319:0:b0:1ef:7a0f:c32d with SMTP id i25csp613447lqc; Fri, 8 Mar 2024 07:06:14 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXYe3iizU8pgx04nBUDrdeDTE9xipqrGxuGVccPa0Dh9DHR+k0MFcMyKlJJ/LcraIwc+vptvydRw4nFAGxuRLA1MgzhJzqIeG560i+9KA== X-Google-Smtp-Source: AGHT+IHkpwGtLAtixJKso1EvWnD/Iclp9wAnM/JVQBuNRmnO6pYea01EyG1F26ZJ+W3akPn1fysT X-Received: by 2002:a17:906:ff53:b0:a3e:c818:b7f with SMTP id zo19-20020a170906ff5300b00a3ec8180b7fmr15593275ejb.29.1709910374780; Fri, 08 Mar 2024 07:06:14 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709910374; cv=pass; d=google.com; s=arc-20160816; b=bkgG0PF7ospdzpqUBkG3F3VQAsVA8S3hpCBxkZreIDd2wuZz81PvfZt0G1N02kF9Ap hTbTrbofEyD7LvNkisLy0tKTYAxfCofIhG/zA5xOMpEaVLrRi4JiIGf5AzI9ZJifXG6/ iXqNk3w1wrjU2yeWYtAy8BYJfyAeUhTA+NKKvDOlv2dUmfBHjkoF7dapm5W+Ry8tfjFM OZZUzRfuZK19GMUNo8hMFb7aIdRuhdaaAoMfTBPk1OkSEqtXF5fypM2MNwLNWuIflcAc sAVGMFcjLMKXISHaCIzcZ9GiuqZDbdeNpsCGgl6OD3VdvFXHMuAs88Yl/MK7LUlhywAr 2JXQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=date:message-id:user-agent:cc:to:references:in-reply-to:from :subject:content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:dkim-signature; bh=woIf9T8uSlpVHu/7H0wt/8FmJV/bkGZ12WLIZF6/swc=; fh=CB9N3jO11LvWP9Hs8xMOGxwFL2vNSt7fmz7iv4Cedsc=; b=Ywa5vZNJiatnqpc+j0hMCaBgmjYlvcQ7eVWkmKDRzV5yF2CsRWz7+UPnZnvx2tYxhr QCucuZug3xrdzAxyPGiIjbU+YJuFl2QL+EGY1BrnTuswWpLIjOvs0iWknADofxg0RgTr 2Mm1iELhxE6HU9J5bcki1R67U/P7GTjss1H1sgrhTTvMDkr8523jxf7pbkMXnSBZYpvI 22AGtka84lshP4yBEo2P1PLUrLGQepiX25LEmYtxte86q0XGP3wzqRR9Ebz5Th7sFkm7 lbZM/t2lh/cPWx2AimnElXev0q8UsUclQ5mbGrayd6xg0Rg2GWsVM96+HO89xVJfhsU4 hakA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ZtGcnHti; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-wireless+bounces-4493-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-wireless+bounces-4493-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id a4-20020a170906684400b00a4320892ccfsi8117596ejs.964.2024.03.08.07.06.14 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Mar 2024 07:06:14 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless+bounces-4493-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ZtGcnHti; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-wireless+bounces-4493-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-wireless+bounces-4493-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 4AFB31F22502 for ; Fri, 8 Mar 2024 15:06:14 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id CD5771D558; Fri, 8 Mar 2024 15:06:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="ZtGcnHti" X-Original-To: linux-wireless@vger.kernel.org Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A38C31D554; Fri, 8 Mar 2024 15:06:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709910369; cv=none; b=BVvbKxsrtD+JDZCtJZNFNB5WExQ/Ld8NWkNleCJENF32/w0fXy692ZJkLqNykJ35DjSobUtaRZGHkn9iLfjIMtszJ7Z6tYUXZHUI/48QtMSV71OSGN1y1HN+zUmQxD0vsYpK2j8u1Vbo/r7ZDqqZF0R3ENaIDHiGfTHr6FyuciU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709910369; c=relaxed/simple; bh=K47phgkDZNLRQ1Cerqn/YO0B/e7+sDQNzjKODd9H+eo=; h=Content-Type:MIME-Version:Subject:From:In-Reply-To:References:To: Cc:Message-ID:Date; b=fG+IhG5/TeKov6a+f10Eg7VosmJDMvDw4xNtB6R9fEeh9Zr/yf7c3eanwLSnv7MPehYGfgiwezqYGbIsih+o584bm3YfipwWRW00XKV3npDo3dOLNH2ViRoHV38CDfrggKvnSkXp3kBwZcopkPSsuPrJdxiiFvnmv5KjzDp1w9g= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=ZtGcnHti; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 10628C433F1; Fri, 8 Mar 2024 15:06:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1709910369; bh=K47phgkDZNLRQ1Cerqn/YO0B/e7+sDQNzjKODd9H+eo=; h=Subject:From:In-Reply-To:References:To:Cc:Date:From; b=ZtGcnHti66X/DljK+xp8+Cd7ys/5i3rMLmiURoCflEE3GePKT0Z5XCpcHkEWLs1oG l2/zXlaH3ynKhWz7s5fN0pXOd/f8v0VjWaXd4ghd+5By67oeb7T6liJreLN0cqlfNS Abi/LsQnbjVR61DwaUiSINWDmISKRm8znQbuQd1gVGeCEOkrvGDktE/wdt8YQy+CuF fF8oj5dH+AM6Nr1OQeE7qdpjjUTulsKLAk/RgcksjUep6G+03Ubrf2bEGDPBUx6hoT S/tBIjkKPN5yxcCks1DvM5QBRqSk+BhtAm+X7EzvGxbQk6urXbWJGn3L4n9tz6G+s0 gpMVGaxjKstaQ== Content-Type: text/plain; charset="utf-8" Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [PATCH] wifi: ath11k: fix soc_dp_stats debugfs file permission From: Kalle Valo In-Reply-To: <20240305-fix-soc_dp_stats-permission-v1-1-2ec10b42f755@quicinc.com> References: <20240305-fix-soc_dp_stats-permission-v1-1-2ec10b42f755@quicinc.com> To: Jeff Johnson Cc: Jeff Johnson , , , User-Agent: pwcli/0.1.1-git (https://github.com/kvalo/pwcli/) Python/3.11.2 Message-ID: <170991036603.1311983.8197697439450200231.kvalo@kernel.org> Date: Fri, 8 Mar 2024 15:06:07 +0000 (UTC) Jeff Johnson wrote: > Currently the soc_dp_stats debugfs file has the following permissions: > > # ls -l /sys/kernel/debug/ath11k/pci-0000:03:00.0/soc_dp_stats > -rw------- 1 root root 0 Mar 4 15:04 /sys/kernel/debug/ath11k/pci-0000:03:00.0/soc_dp_stats > > However this file does not actually support write operations -- no .write() > method is registered. Therefore use the correct permissions when creating > the file. > > After the change: > > # ls -l /sys/kernel/debug/ath11k/pci-0000:03:00.0/soc_dp_stats > -r-------- 1 root root 0 Mar 4 15:15 /sys/kernel/debug/ath11k/pci-0000:03:00.0/soc_dp_stats > > Tested-on: WCN6855 hw2.1 PCI WLAN.HSP.1.1-03125-QCAHSPSWPL_V1_V2_SILICONZ_LITE-3.6510.30 > > Signed-off-by: Jeff Johnson > Signed-off-by: Kalle Valo Patch applied to ath-next branch of ath.git, thanks. fa645e663165 wifi: ath11k: fix soc_dp_stats debugfs file permission -- https://patchwork.kernel.org/project/linux-wireless/patch/20240305-fix-soc_dp_stats-permission-v1-1-2ec10b42f755@quicinc.com/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches