Received: by 2002:ab2:6991:0:b0:1f7:f6c3:9cb1 with SMTP id v17csp309789lqo; Tue, 7 May 2024 23:41:49 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVJrCeFK48UBB7B5Swzjla1FvH4pm4lNqSiL7vME3+PSf5Vd+nppUNh0/oLfaXRr/ZbJgokkpYf3qPsQWQd6FI1iEzWMzP/HOTHP4jwvA== X-Google-Smtp-Source: AGHT+IFrCkgN7Tq4LJ8JKkBCU4VAmKPzX+o+A9LVXU7uXyHnhE0JOgVOg0reoYLZwVj7oc1d5srZ X-Received: by 2002:a17:90b:3c8:b0:29c:5708:b922 with SMTP id 98e67ed59e1d1-2b6166bf20cmr1825626a91.26.1715150509500; Tue, 07 May 2024 23:41:49 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715150509; cv=pass; d=google.com; s=arc-20160816; b=dK1KEogsjx4E9lgnr7FxMOxBSZ+ZF8pdsmxSuBG6uHH1wuvkRy9tb4H/1psw1Eb3Jp q8qZJE9c2X5STy3yojJ2lYt1hHfDznLkp3ul9kvjoNOrMchccTsdvoJXqcylFmt4UFOc kuYDHTnOqAo+Qe17hYIdq8Fuu603adJMJXeH4wA/SAv1EATeXl1HfkYy37BRLyP/ILNU KcP2ZjE80Q9HmogNR3Pr6athRYh6a2ABHUfGOU2MPD4wZ5kXhQgAp2o+zDYvHQ1IqfSo fXDWr+lvbW1WXr02bOhF6LsPQdjD8ripCpXCYKVarksjEKLxHIsliZy5uq3jkEpkRJBz YSjg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-id:precedence:message-id:date :subject:cc:to:from:dkim-signature; bh=AtVVvz/7I9XiDC+czXIjx0YrOkyOzpZ8iiJaoIxCOzQ=; fh=mEh49SO2KtXzumLNTjzGK/xQv/Qr74JYyqrrI9PFq8E=; b=N4i8Q8qSWG6sm61ZcEAhs1HA8K5thfWB5MlTQx3zftdwZmkGyiLOR34HixVrmMgt2s xa0bYaWH3WyCC1C6iZd2woQ/tf5Wix3HGHH5JlNjOQmzTVRhlQ+C2zxh9SFobTFs+IIn OfK2btf4i0dxEpi4qN/5Ixslb1IL87JL4u9j5wkRaK3e9PKCe8uih3Ux++S6VN2hiTKa VwqHtNpLfYg9gbeJjzFE1osTbL81l2BNRSfkUaeSafpXzsn9hO0tan6d/JesI0nx4pY5 h4w7KTkOanvAlXmFtt6TA+zmd6H9hz9BpOt46G+KxcC1S1lJYp81RqB3fM+tod9kcGTx YmDw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=YP1fvyxp; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-172660-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-172660-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id e11-20020a170902784b00b001e3c77db29esi9291541pln.639.2024.05.07.23.41.48 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 May 2024 23:41:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-172660-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=YP1fvyxp; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-172660-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-172660-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com 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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 923F0B234B1 for ; Wed, 8 May 2024 03:37:51 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6466C1B809; Wed, 8 May 2024 03:37:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="YP1fvyxp" Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.18]) (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 DE2FD15E8C; Wed, 8 May 2024 03:37:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715139426; cv=none; b=f2EHESiCHc9WNmKqwJfy5p7v1QjQbZChR1P1j1tpTzGmyBw4ImEB03FQHnej/P0irwd8CBsECBr8j4YjiPcLQ40OMSnQvEXNHkoXY7Cg8ChSXUxLUxOo+rEzpL//8oo/K1qWPSYgoD4I62oZbDZyvQH3ykMK4oBxBKliY9HsKg0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715139426; c=relaxed/simple; bh=EteaDJy1TKeh8n+Vme3jSXeuit9WrXZ7u1nlAflDaYs=; h=From:To:Cc:Subject:Date:Message-Id; b=r2YrAoJVQwSWdJ2KEScs4oN6h9h21YOnNv/CYZ8qBNSo8bp+/i+VUeBJPaRm5tPA9bS2tYq4Ra85sF7ZfkN0BPP6jbjB2rT8xD1DtuhpNmM+Q95/rQlIQA1h+oA3H9yHPJJZJJoGBkPMdky+n++8CL9BNkv4J3gK37Jo8B/cAOk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com; spf=none smtp.mailfrom=linux.intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=YP1fvyxp; arc=none smtp.client-ip=192.198.163.18 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux.intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1715139425; x=1746675425; h=from:to:cc:subject:date:message-id; bh=EteaDJy1TKeh8n+Vme3jSXeuit9WrXZ7u1nlAflDaYs=; b=YP1fvyxpfIruUxE+yjDdCfSEKb0OTRCsfcs5hcnyz+wElJ5AdsUn2Mvx mO46IvDDZX1jNAoBBbqSfIYTM5YrA7WwHUG/zRZ63dRnLJkU7qCTThF0h 6veX/hYBGOC+Ci/VHSGayz/wJs3bx6VljT0qen8ZO1X74KHGQWPqrjkAR O7Qzst6VJDAZyrkFPTv2gDjOe2J107jBWt6aoZylN6E8RX8iPznlUwt7b sOfi0pIkCY+1fkmxji6LMhPnHO6J38M/voN58e8pUOLMDJXrdb9egtAfj 7jfXo4Mn3oE635tT92Wzfs2SG/fFiZ/q7UkPhpw8+0GKpCwi25nxCXDOM A==; X-CSE-ConnectionGUID: 3S7u5pwTQg6s9EMQBu7rsg== X-CSE-MsgGUID: ulkPbKiUQqGE8edMgQRwag== X-IronPort-AV: E=McAfee;i="6600,9927,11066"; a="10820906" X-IronPort-AV: E=Sophos;i="6.08,144,1712646000"; d="scan'208";a="10820906" Received: from orviesa005.jf.intel.com ([10.64.159.145]) by fmvoesa112.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 May 2024 20:36:54 -0700 X-CSE-ConnectionGUID: f9loJq4DQEaylO/uzZecrA== X-CSE-MsgGUID: 0w3bmhp2S2aUIEttUdlqCw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.08,144,1712646000"; d="scan'208";a="33551920" Received: from ranerica-svr.sc.intel.com ([172.25.110.23]) by orviesa005.jf.intel.com with ESMTP; 07 May 2024 20:36:52 -0700 From: Ricardo Neri To: "Rafael J. Wysocki" Cc: Zhang Rui , Srinivas Pandruvada , Len Brown , Stanislaw Gruszka , linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, Ricardo Neri Subject: [PATCH v2 0/4] thermal: intel: hfi: Update thermal netlink parameters Date: Tue, 7 May 2024 20:43:48 -0700 Message-Id: <20240508034352.18414-1-ricardo.neri-calderon@linux.intel.com> X-Mailer: git-send-email 2.17.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Hi, This is v2 of a series previously known as "Add debugfs files for tuning" [1]. Changes since v1: Rui and Rafael pointed out various problems with using debugfs for tuning how HFI uses thermal netlink. Instead, in this version I attempt to fix the issues that motivated v1 (see the cover letter of v1 for details). I update the two parameters that control how HFI uses thermal netlink: the delay between an HFI interrupt and the thermal netlink event as well as the size of the message payload. Added Acked-by: tag from Rui on patch 1 (thanks!). These patches apply cleanly on top of the testing branch of Rafael's linux-pm. Thanks and BR, Ricardo [1]. https://lore.kernel.org/linux-pm/20240429234152.16230-1-ricardo.neri-calderon@linux.intel.com/ Ricardo Neri (4): thermal: intel: hfi: Rename HFI_UPDATE_INTERVAL thermal: intel: hfi: Shorten the thermal netlink event delay to 100ms thermal: intel: hfi: Rename HFI_MAX_THERM_NOTIFY_COUNT thermal: intel: hfi: Increase the number of CPU capabilities per netlink event drivers/thermal/intel/intel_hfi.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) -- 2.34.1