[Bug 236513] HP Thin clients T620/T730 ACPI: Only CPU core 0 detects C2 state

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Mar 29 10:37:55 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=236513

--- Comment #38 from stockhausen at collogia.de ---
Sorry not quite yet... The only call to acpi_set_resource() during _CST port
setup has the following input:

class of dev: "acpi"
class of child: "cpu"

A slight modification gives:

    if (device_get_devclass(child) == devclass_find("cpu")) {
            flags = RF_SHAREABLE;
    }
    else {
            flags = 0;
    }

Ports are now registered per CPU (which is fine), but devinfo gives different
output:

nexus0
      I/O ports:
        < no port 0x1771 here ...>

    cpu0 pnpinfo _HID=none _UID=0 at handle=\_PR_.P000
        I/O ports:  <---- Port without ACPI flag
            0x1771
      acpi_perf0
      acpi_throttle0
      hwpstate0
      cpufreq0
    cpu1 pnpinfo _HID=none _UID=0 at handle=\_PR_.P001
        I/O ports:
            0x1771

Nevertheless CPU C states seem to register correctly:

root at freebsd:~ # sysctl -a | grep cx_supp
dev.cpu.3.cx_supported: C1/1/0 C2/2/400
dev.cpu.2.cx_supported: C1/1/0 C2/2/400
dev.cpu.1.cx_supported: C1/1/0 C2/2/400
dev.cpu.0.cx_supported: C1/1/0 C2/2/400

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list