NetBSD Problem Report #57139

From www@netbsd.org  Tue Dec 27 20:57:46 2022
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 6D67E1A9239
	for <gnats-bugs@gnats.NetBSD.org>; Tue, 27 Dec 2022 20:57:46 +0000 (UTC)
Message-Id: <20221227205745.954F21A923A@mollari.NetBSD.org>
Date: Tue, 27 Dec 2022 20:57:45 +0000 (UTC)
From: cryintothebluesky@gmail.com
Reply-To: cryintothebluesky@gmail.com
To: gnats-bugs@NetBSD.org
Subject: CPU frequency setting does not seem to work on Raspberry Pi 4
X-Send-Pr-Version: www-1.0

>Number:         57139
>Category:       port-arm
>Synopsis:       CPU frequency setting does not seem to work on Raspberry Pi 4
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-arm-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Dec 27 21:00:01 +0000 2022
>Originator:     Sad Clouds
>Release:        10.0_BETA
>Organization:
>Environment:
NetBSD rp4-netbsd 10.0_BETA NetBSD 10.0_BETA (GENERIC64) #0: Fri Dec 23 11:21:46 GMT 2022
>Description:
Setting CPU frequency to 600 does not seem to be supported, as the current frequency is still reported as 1500

# sysctl -w machdep.cpu.frequency.target=600
machdep.cpu.frequency.target: 1500 -> 600

# sysctl machdep.cpu.frequency
machdep.cpu.frequency.target = 1500
machdep.cpu.frequency.current = 1500
machdep.cpu.frequency.min = 600
machdep.cpu.frequency.max = 1500
machdep.cpu.frequency.available = 600 1500

>How-To-Repeat:

>Fix:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.47 2022/09/11 19:34:41 kim Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2022 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.