[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v5 01/15] cpufreq: Allow restricting to internal governors only


  • To: Jason Andryuk <jandryuk@xxxxxxxxx>
  • From: Jan Beulich <jbeulich@xxxxxxxx>
  • Date: Mon, 10 Jul 2023 13:41:54 +0200
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=suse.com; dmarc=pass action=none header.from=suse.com; dkim=pass header.d=suse.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=J4ChUr3+yTXCGAely9Zb2mn+pPQKiUfYt0OutNbQLEk=; b=NESaHzVriVU+U1PRHLUQoIC7ymLYKRN9YpzCPu4pZ4kWzK3qGsvyyeXLvMSjptuOg7XpH6/UDKC+ykPazWuzw6c8EbusANntVzulo+V7smW0MzoWisce4Eisb0/m2NM3Wp2TWAeDhevkIKt/fm/ltobX2hBMGS7ky7J9zNIwT9+yF0tlJ6m2m0c/+xJKtigW5kDHkGWcs9wFn/qbecSbHexlnVf9Wl43uQ+EcwHXOR9E4vBZ38fedEbi7D4Ke3iksdXzDGtrzNhdAE9iw7Yy1ggyLSjxs53trOaLFc+36rVjeEr2Yd9jQ6rmf+OxKnoAa4VDi7+WOIr//V0VnhemwA==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Jydgb0r15t4QzF3JFKXNqvmrH49YzT5HgkH25qmObzJIoDiY+e1f+6jDla6XdJ1TH17MXlNK48eytBGAfmDTs1sSzu6LUEnJYTSHrAu0BZx/mrdMD8tvO3JMIOgVCRkRd6HICkQHVx1vchULQmHCsTXUywpxhVVtG/2MlDqnf6nR7CFv3UQZrKM/NQdGpFt2rpxW+go7X1JuWGrsNh3aDuoNH0pJ9+h+v5ej251vgbIJ2vrE2BHrGi0c9UoG7xxCK23rUmhaCBCQ44a0e0yu2xx6XLuVA4oFbXNXtg9GweN3MrGaG0lEstD9qgubUdt/wsDNGKzeCV/nC3DKRcwdzg==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=suse.com;
  • Cc: xen-devel@xxxxxxxxxxxxxxxxxxxx
  • Delivery-date: Mon, 10 Jul 2023 11:42:11 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On 06.07.2023 20:54, Jason Andryuk wrote:
> For hwp, the standard governors are not usable, and only the internal
> one is applicable.  Add the cpufreq_governor_internal boolean to
> indicate when an internal governor, like hwp, will be used.  This is set
> during presmp_initcall, and governor registration can be skipped when
> called during initcall.
> 
> This way unusable governors are not registered, and only compatible
> governors are advertised to userspace.
> 
> Signed-off-by: Jason Andryuk <jandryuk@xxxxxxxxx>

Acked-by: Jan Beulich <jbeulich@xxxxxxxx>





 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.