Received: by 2002:a89:48b:0:b0:1f5:f2ab:c469 with SMTP id a11csp388054lqd; Wed, 24 Apr 2024 05:46:10 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWSKXqxDkBnunvlRWD3Oy6WZrAZxsY3CtX8N5erTMrB5aHtaPQfMm1dqPEmBHz5gbeELYnQBr6zS3DqY9GMy2Q5yit2bAzotB/MLUOoUQ== X-Google-Smtp-Source: AGHT+IFQSTF3OX/hoXNdkT2UKygxNPTlk/1lAJC3GYFl1FfL+JTiOvD+xePF/a16TIuoRB1sWWw3 X-Received: by 2002:a17:902:c952:b0:1e3:e259:46c with SMTP id i18-20020a170902c95200b001e3e259046cmr3239298pla.67.1713962770284; Wed, 24 Apr 2024 05:46:10 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713962770; cv=pass; d=google.com; s=arc-20160816; b=mpk5wiBrBatSJkBOPo4w6MEhF/PFDiW1ZISCabc6dmhwcbatKjfL6YgQffBv1ZTlc3 zfqAEVciAL6FmnNhUhAQX8ljuR6RrapiNoIS+RRzBPMyhBcwDx403CmIIZUFQ0njAtCF SVeB8Iy3+sb4Dt6Hqa0yF464LjC1pU8KpxGfxgm/HbxCAGBH3yw5ejkA//zQ4kDwCi3D O4KqXRQe5n+rkOw112s7ZdY0xBUfV+9gT/b4KdEUhGi9CkEtdgcC1IQQ7QtDBoHMA7Pb V/BYnX8kxXjnxLB9t/SYj/TMJe/MM0xFLnWASHP7g/bVuCedBZ+hxUtFYbvkUwClsgXK uq0A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=Y9kdMVKHiAP1zSpHswbPKKYfi3WHHjOaEgGj1LB2NVA=; fh=hamL0ShrHJaC/OudajWuk274py5KWb7oyfk9tRwbXBE=; b=xiFTbwERyehCQ4WN37nyixLI6q3wDdMlQw5wVcC74izclQpYdGIFLP3a17K9l9uOvG 5aJ8DZ/v3BO6t7yNd7KMq9Y98VbiQ1G3BDcOluSDkELWTRfw10btHoaOhUp3CIlkWC7Z +FbNW4v1LPK36+97dShR/bek1RUY5p+H1XAf5uMpf1r1nm9zumiL+atOyGzsZiFCBjCw wMcpm+vT8lNrW2Uaw3yn9fyxyY46KWfWcCtI5Dqch6xYwIn9yddvkgcQeJV1fiYc4sUq DOHBVaLda960pRBgppcQsibONRA289yLuwAjWcrgBAi0MR22x6UJgpOw9P9rcSap4PWP oMKQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=KZ0cVilz; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-156802-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-156802-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 r10-20020a170902be0a00b001dd8be49c72si11292727pls.292.2024.04.24.05.46.09 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Apr 2024 05:46:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-156802-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=KZ0cVilz; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-156802-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-156802-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 22C65B2285C for ; Wed, 24 Apr 2024 11:32:45 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E67D115A4AD; Wed, 24 Apr 2024 11:32:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="KZ0cVilz" Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.9]) (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 A317A1598E6; Wed, 24 Apr 2024 11:32:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.9 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713958358; cv=none; b=ru9f0WDm9zuaD/tGqVcIiJbaPJadqUP96NWWRKMQ8dGwzuobywYL0FoqjnhatjnRIxd7oeFswY9TXJGnpySEGprCVqMEiatLhee3VdnpmlGxdaXQIDx13aJjvglRPaY9x6Rj11a02yvNFLNIdjmNtZA6tnTOUiv7TEApAA9UwHY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713958358; c=relaxed/simple; bh=Y9kdMVKHiAP1zSpHswbPKKYfi3WHHjOaEgGj1LB2NVA=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=tteuJv2Nr6WwCQRuAyjNbKAzn8DyZj1Q+pVqJtb0v5gnA6xIDDcDJo4GzU7Pq5yeZBSPGdycXLimQM8cJuJN3B3lWq7CX/aP6sibSi0ZAZglUQOGpVuED04w0M8VfB3EVleT/A63iuc2mD/+wEKYYINb9aEt607YOS8VNFHQPj8= 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=KZ0cVilz; arc=none smtp.client-ip=192.198.163.9 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=1713958357; x=1745494357; h=message-id:date:mime-version:subject:to:cc:references: from:in-reply-to:content-transfer-encoding; bh=Y9kdMVKHiAP1zSpHswbPKKYfi3WHHjOaEgGj1LB2NVA=; b=KZ0cVilz2mqLRXNxotA8qgjsnGGHtPm2MGOdyCEl1EVcAEo+MGCmvTKI 6284UiCB4RrpBL9WGI+sGpVP1dTTN/TNFbJAU+MzNZ0c8lkraC6jk3LGR TK8bPnKmX6IxBDOiICDiLj5bHVR3TlYQO4GzaVoQg83zHjIINdZv9J+u+ bI0vGKz3uUwkQNuyVzXTnwLpo3ANViL0g8TbWqNpwUz8EgDTk6cdXYPDS wTOHU9ygDNiZPn3Ii64eNBQFT7K0+vRzgYxZnBIzy/1/MTzuoC/HQjuCv +uxoYlxzvZ6Qp+oqTfqi5YLt+mG6TwqWKdbOdsrppNO8r/nEjipMkKGgy A==; X-CSE-ConnectionGUID: MSER4OpqTT+Qperd8Frtxw== X-CSE-MsgGUID: vWpgLBJzT2Wbc2bB65W4hg== X-IronPort-AV: E=McAfee;i="6600,9927,11053"; a="20278815" X-IronPort-AV: E=Sophos;i="6.07,226,1708416000"; d="scan'208";a="20278815" Received: from orviesa008.jf.intel.com ([10.64.159.148]) by fmvoesa103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Apr 2024 04:32:36 -0700 X-CSE-ConnectionGUID: tj9kQ+HMSXeDJxPM2ZuR4Q== X-CSE-MsgGUID: adCmwtbQSXaCJPrKolHRew== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.07,226,1708416000"; d="scan'208";a="25288492" Received: from spandruv-mobl4.amr.corp.intel.com (HELO [10.212.109.188]) ([10.212.109.188]) by orviesa008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Apr 2024 04:32:34 -0700 Message-ID: Date: Wed, 24 Apr 2024 04:32:32 -0700 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v1 14/16] thermal: gov_user_space: Use .trip_crossed() instead of .throttle() To: Daniel Lezcano , "Rafael J. Wysocki" Cc: Linux PM , LKML , Lukasz Luba References: <13515747.uLZWGnKmhe@kreacher> <15186663.tv2OnDr8pf@kreacher> Content-Language: en-US From: Srinivas Pandruvada In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 4/24/24 02:14, Daniel Lezcano wrote: > On Wed, Apr 10, 2024 at 07:03:10PM +0200, Rafael J. Wysocki wrote: >> From: Rafael J. Wysocki >> >> Notifying user space about trip points that have not been crossed is >> not particuarly useful, so modity the User Space governor to use the >> .trip_crossed() callback, which is only invoked for trips that have been >> crossed, instead of .throttle() that is invoked for all trips in a >> thermal zone every time the zone is updated. >> >> Signed-off-by: Rafael J. Wysocki >> --- > Acked-by: Daniel Lezcano > > I would also consider removing this governor which is pointless now that we > have the netlink notification mechanism That is a good goal, But, not there yet to deprecate. Thanks, Srinivas >