Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Mar 2019 10:37:53 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 236513] HP Thin clients T620/T730 ACPI:  Only CPU core 0 detects C2 state
Message-ID:  <bug-236513-227-xp88YCKMGg@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-236513-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-236513-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D236513

--- Comment #38 from stockhausen@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) =3D=3D devclass_find("cpu")) {
            flags =3D RF_SHAREABLE;
    }
    else {
            flags =3D 0;
    }

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

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

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

Nevertheless CPU C states seem to register correctly:

root@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

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-236513-227-xp88YCKMGg>