Project

General

Profile

Actions

Bug #2814

closed

No CPU P-state support for AMD FX-4170

Added by shamaz almost 9 years ago. Updated almost 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
05/17/2015
Due date:
% Done:

0%

Estimated time:

Description

Hello. This is related to master. I have AMD FX-4170 CPU with 6 P-states.
For some reason, DragonFlyBSD can work with maximum of 5 for some CPUs.

See
http://gitweb.dragonflybsd.org/dragonfly.git/blob/HEAD:/sys/platform/pc64/acpica/acpi_pstate_machdep.c

I get a message "cpu3: only P0-P4 is allowed" and there are no frequency
related sysctls in hw.acpi.cpu

I suggest an attached patch, which works for me. Further testing requested.

wbr, Vasily.


Files

pstate.patch (1.34 KB) pstate.patch shamaz, 05/17/2015 11:34 AM
Actions #1

Updated by sepherosa over 8 years ago

Fix on the latest master.

On Mon, May 18, 2015 at 2:34 AM,
<> wrote:

Issue #2814 has been reported by shamaz.

----------------------------------------
Bug #2814: No CPU P-state support for AMD FX-4170
http://bugs.dragonflybsd.org/issues/2814

  • Author: shamaz
  • Status: New
  • Priority: Normal
  • Assignee:
  • Category:
  • Target version:
    ----------------------------------------
    Hello. This is related to master. I have AMD FX-4170 CPU with 6 P-states.
    For some reason, DragonFlyBSD can work with maximum of 5 for some CPUs.

See
http://gitweb.dragonflybsd.org/dragonfly.git/blob/HEAD:/sys/platform/pc64/acpica/acpi_pstate_machdep.c

I get a message "cpu3: only P0-P4 is allowed" and there are no frequency
related sysctls in hw.acpi.cpu

I suggest an attached patch, which works for me. Further testing requested.

wbr, Vasily.

--
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account

--
Tomorrow Will Never Die

Actions #2

Updated by swildner almost 8 years ago

  • Status changed from New to Closed

Fixed according to sephe. Closing.

Actions

Also available in: Atom PDF