From owner-freebsd-acpi@freebsd.org Thu Aug 18 10:07:48 2016 Return-Path: Delivered-To: freebsd-acpi@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7CAB5BBE0ED for ; Thu, 18 Aug 2016 10:07:48 +0000 (UTC) (envelope-from am_dxer@fastmail.fm) Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 542C1158F for ; Thu, 18 Aug 2016 10:07:47 +0000 (UTC) (envelope-from am_dxer@fastmail.fm) Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 5074B204A3 for ; Thu, 18 Aug 2016 06:07:45 -0400 (EDT) Received: from web3 ([10.202.2.213]) by compute6.internal (MEProxy); Thu, 18 Aug 2016 06:07:45 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=fastmail.fm; h= content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-sasl-enc :x-sasl-enc; s=mesmtp; bh=8QmPwUg8Uwmw9djW1R9UL3krFH4=; b=iHz6um JhAkpgqwO+xahIkWU733mc8GQF1tuv9peYzRi2WaEcfgMfT7cQz1c1CwRwUfTttK 9bVZInaw2twNnSxz/l22crhuKgCFygIDHx3fL6UtnuO7d748SnaX8zgcDnc9/rr0 sVnefSeKvq2ZyrPVIBDiO5L+sVY2Mc83P48fI= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-sasl-enc:x-sasl-enc; s=smtpout; bh=8QmPwUg8Uwmw9dj W1R9UL3krFH4=; b=jNRS6T4d2g4/iv52SgP3W5Uc9Eggx9gB1UwvDcH/wOyWeoB Q4YWBksx2E2LArGNfX+xLBtQpN4KAmfx2aKV5JuDCIZhUgKV5JBEjEXVw9eq3vkj tdWXcMIW3PJeLkulKR9rRvWaZK3z6JRtuJy9SO/G+O049ZFP4FsGtRaulfyM= Received: by mailuser.nyi.internal (Postfix, from userid 99) id 1DEB6168AE; Thu, 18 Aug 2016 06:07:45 -0400 (EDT) Message-Id: <1471514865.2276129.698913209.3B7A5306@webmail.messagingengine.com> X-Sasl-Enc: fvilCEmTSEl4QyQo4AOJQOMEOO1+uXq8dyepOam3+Hxd 1471514865 From: am_dxer@fastmail.fm To: freebsd-acpi@freebsd.org MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain X-Mailer: MessagingEngine.com Webmail Interface - html Subject: Re: Problems with CPU throttling on HP 15-n066us laptop Date: Thu, 18 Aug 2016 06:07:45 -0400 In-Reply-To: <20160818074609.GV83214@kib.kiev.ua> References: <1471488612.2196853.698646081.0844D23B@webmail.messagingengine.com> <20160818074609.GV83214@kib.kiev.ua> X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Aug 2016 10:07:48 -0000 On Thu, Aug 18, 2016, at 03:46 AM, Konstantin Belousov wrote: > On Wed, Aug 17, 2016 at 10:50:12PM -0400, am_dxer@fastmail.fm wrote: > > Hello, > > I purchased a new laptop for FreeBSD and am having some problems with > > CPU throttling. This laptop has an aMD a10-5745m processor. I cannot > > start powerd and the frequency levels in dev.cpu are absent. I tried > > with 11 and when that didn't work, I upgraded to Current. The laptop is > > running very hot and the fans are often running at a high speed so I > > think the cpu is running near full speed. This is the only issue I am > > having in general use of the laptop. I will include the url for my asl > > below as well as the output of dmesg after boot -v and sysctl hw.acpi. I > > noticed messages like "acpi_ec0: EcCommand: no response to 0x84" near > > the bottom of the dmesg but honestly don't know enough about acpi to say > > whether this could be causing the problem. I tried Googling the error > > and found people who seemed to be having trouble with temperature > > readings and battery status. For me, the battery status is working fine > > when I check it via acpiconf although I did notice some unusual > > temperature readings in the dmesg output. There are some other > > temperature readings that appear in sysctl but I would have to study > > them more during a work session to see if they remain reasonable. Thanks > > in advance for any help. > > > > > > asl url: http://pasted.co/5770b687 > > > > boot-v output: http://pasted.co/c8e9fb89 > > > > hw.acpi output: http://pasted.co/cc611266 > > It is more useful to show sysctl dev.cpu. I suspect your bios > reports C-states in a way which we do not parse properly. > > I am not aware of AMD-specific analog for the Intel' document 'Processor > Vendor-Specific ACPI Interface Specification'. If somebody has a pointer > to AMD version and wants to test, I am willing to code that. I will include the output of dev.cpu below. One observation that I made is that it seems that the Cool'n'Quiet driver is not attaching. I used FreeBSD on a laptop with a newer apu once which was the amd a4-5000 from the Kabini generation and the Cool'n'Quiet 2.0 driver attached on that machine. I would be willing to perform any testing that you would find helpful. output from dev.cpu: dev.cpu.3.cx_method: C1/hlt C2/i dev.cpu.3.cx_usage_counters: 2260 5108 dev.cpu.3.cx_usage: 30.67% 69.32% last 2992us dev.cpu.3.cx_lowest: C8 dev.cpu.3.cx_supported: C1/1/0 C2/2/100 dev.cpu.3.%parent: acpi0 dev.cpu.3.%pnpinfo: _HID=none _UID=0 dev.cpu.3.%location: handle=\_PR_.C003 dev.cpu.3.%driver: cpu dev.cpu.3.%desc: ACPI CPU dev.cpu.2.cx_method: C1/hlt C2/io dev.cpu.2.cx_usage_counters: 2301 5183 dev.cpu.2.cx_usage: 30.74% 69.25% last 1038us dev.cpu.2.cx_lowest: C8 dev.cpu.2.cx_supported: C1/1/0 C2/2/100 dev.cpu.2.%parent: acpi0 dev.cpu.2.%pnpinfo: _HID=none _UID=0 dev.cpu.2.%location: handle=\_PR_.C002 dev.cpu.2.%driver: cpu dev.cpu.2.%desc: ACPI CPU dev.cpu.1.cx_method: C1/hlt C2/io dev.cpu.1.cx_usage_counters: 2001 6785 dev.cpu.1.cx_usage: 22.77% 77.22% last 568us dev.cpu.1.cx_lowest: C8 dev.cpu.1.cx_supported: C1/1/0 C2/2/100 dev.cpu.1.%parent: acpi0 dev.cpu.1.%pnpinfo: _HID=none _UID=0 dev.cpu.1.%location: handle=\_PR_.C001 dev.cpu.1.%driver: cpu dev.cpu.1.%desc: ACPI CPU dev.cpu.0.cx_method: C1/hlt C2/io dev.cpu.0.cx_usage_counters: 1541 5804 dev.cpu.0.cx_usage: 20.98% 79.01% last 2975us dev.cpu.0.cx_lowest: C8 dev.cpu.0.cx_supported: C1/1/0 C2/2/100 dev.cpu.0.%parent: acpi0 dev.cpu.0.%pnpinfo: _HID=none _UID=0 dev.cpu.0.%location: handle=\_PR_.C000 dev.cpu.0.%driver: cpu dev.cpu.0.%desc: ACPI CPU dev.cpu.%parent: