From owner-freebsd-current@freebsd.org Wed Apr 26 21:15:24 2017 Return-Path: Delivered-To: freebsd-current@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 AD23FD51021 for ; Wed, 26 Apr 2017 21:15:24 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-wr0-x231.google.com (mail-wr0-x231.google.com [IPv6:2a00:1450:400c:c0c::231]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 31E99F21 for ; Wed, 26 Apr 2017 21:15:24 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by mail-wr0-x231.google.com with SMTP id l9so6810442wre.1 for ; Wed, 26 Apr 2017 14:15:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-transfer-encoding; bh=+SGtb9s1Qn0P6px4kpnNw4lhqfXTRQhbzC7hOJNlFt4=; b=P0pywTJNFJdgAQimqhAVzc2YqcHpsC0kCYJvUWEJ88KuJP7E1NwjlMElZNgeJRMvSr pMUjVjDB2dIPJPjfpQqrUeGBDCb+6Ul9K3nyFiGmHwsSb9LQtIszT53bd9xYbty4/o+3 cMRaKYTg2tmSF88XkT5Dw6agebkWSxY4s+IuErMvReHcvwXZ7uqUhCqhy4H1LyPAKAc2 ypBn/gOJOgg79B8YCbQc4XFLthhs3bAkuHUd/bGoQ/wHojQK1poc1t5rcJELDuhKv8Zp J7ceRLdsPPF2/YFYZBSRBaPcTfN6Gm3+lEAZAxruv7ZGvfRtcha4ZNnb0XPmh8hYzr8R 1wDw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc:content-transfer-encoding; bh=+SGtb9s1Qn0P6px4kpnNw4lhqfXTRQhbzC7hOJNlFt4=; b=L85r0lBvva4DG/7tsbpGpttkRMUv2fa8luQ7RuD++vAqutthsLI3tC8MVYFjZ1AdjR iDAhdTa76VK6hdd/bVKwGb8vWgouxY7oaQrqUJrtA13oGLteXRfR7FsPxWooUGsWclDC BhztYlBABekEuOCFxg6E1T37on0QFcTyyYuYR8Zc5j3E7oQp2/QnWHkzsTg7+osxg59R YW6pvdCx9VKul7tjmB9WlnO01TIACX5a7Z7WIq9jEe2Wf/WtrSFig+UdXlkGVXpc7OC8 5ijvIMOYRh8RyP/bmuC4/iV0nlVdanIHDPYeGHFtpGXkFwXPIi1SjMPr+Ql71wdnHbJ7 6mXg== X-Gm-Message-State: AN3rC/4Yp43CWi5rU4CdXRoKGErWYPlEyL1DNYOVmPqBM2OeKEYIK/lT v4YOCpP3MKbE59VamEZpeAMnoDuTrA== X-Received: by 10.223.164.148 with SMTP id g20mr1186660wrb.89.1493241322528; Wed, 26 Apr 2017 14:15:22 -0700 (PDT) MIME-Version: 1.0 Sender: adrian.chadd@gmail.com Received: by 10.28.172.197 with HTTP; Wed, 26 Apr 2017 14:15:21 -0700 (PDT) In-Reply-To: References: From: Adrian Chadd Date: Wed, 26 Apr 2017 14:15:21 -0700 X-Google-Sender-Auth: GyhFabEawqZLJAh3kEO4x8utObw Message-ID: Subject: Re: increased power consumption lately? To: Johannes Lundberg Cc: "Ngie Cooper (yaneurabeya)" , freebsd-current Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Apr 2017 21:15:24 -0000 can you file a bugzilla bug with this information in it? What's triggering the interrupt? -a On 20 April 2017 at 02:05, Johannes Lundberg wrote: > I found another solution. Modifying the DSDT file by removing > > Method (_L06, 0, NotSerialized) // _Lxx: Level-Triggered GPE > { > If (LAnd (\_SB.PCI0.IGPU.GSSE, LNot (GSMI))) > { > \_SB.PCI0.IGPU.GSCI () > } > Else > { > Store (0x00, \_SB.PCI0.IGPU.GEFC) > Store (0x01, SCIS) /* \SCIS */ > Store (0x00, \_SB.PCI0.IGPU.GSSE) > Store (0x00, \_SB.PCI0.IGPU.SCIE) > } > } > > seem to solve the problem, as discussed here > https://bugs.freedesktop.org/show_bug.cgi?id=3D98501 > > I will keep an eye on that bug report and see what happens. > I should also mention that I am running the Linux i915kms driver > https://github.com/FreeBSDDesktop/freebsd-base-graphics > > Since we're constantly merging updates from Linux maybe there will be a f= ix > for this soon. > > > > On Thu, Apr 20, 2017 at 10:35 AM, Johannes Lundberg > wrote: >> >> Seem like a temporary solution on Linux is to disable the interrupt. Can >> this be done on FreeBSD somehow? >> >> On Thu, Apr 20, 2017 at 10:09 AM, Johannes Lundberg >> wrote: >>> >>> Thanks Ngie, that was a good one! (I really need to learn dtrace...) >>> >>> Got this among other: >>> >>> AcpiNsLookup:entry PathInfo: \/ _SB_PCI0IGPUGSSE=EF=BF=BDGSMI\/ >>> _SB_PCI0IGPUGSCI=EF=BF=BDK p >>> >>> Might be related to: >>> https://bugs.freedesktop.org/show_bug.cgi?id=3D98501 >>> >>> >>> >>> On Wed, Apr 5, 2017 at 8:15 PM, Ngie Cooper (yaneurabeya) >>> wrote: >>>> >>>> >>>> > On Apr 5, 2017, at 10:39, Adrian Chadd wrote: >>>> > >>>> > hm, you could use dtrace to find what's calling that function and >>>> > print out the call stack? >>>> >>>> *does shrug* something like this (I realize it=E2=80=99s not p= rinting >>>> out arg0 =E2=80=94 arg0 is a union that would need decoding)? >>>> Thanks, >>>> -Ngie >>>> >>>> $ cat AcpiNsLookup.d >>>> fbt:kernel:AcpiNsLookup:entry >>>> { >>>> printf("PathInfo: %s\nType: %d\nFlags: %u", >>>> stringof(arg1), arg2, arg3); >>>> } >>>> $ sudo dtrace -s AcpiNsLookup.d >>> >>> >> >