lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Tue, 24 Feb 2009 08:24:31 -0800
From:	Jesse Barnes <jbarnes@...tuousgeek.org>
To:	luis6674@...oo.com
Cc:	Eric Anholt <eric@...olt.net>,
	Nick Piggin <nickpiggin@...oo.com.au>,
	Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
	"Rafael J. Wysocki" <rjw@...k.pl>,
	Kernel Testers List <kernel-testers@...r.kernel.org>
Subject: Re: [Bug #12337] ~100 extra wakeups reported by powertop

On Tuesday, February 24, 2009 5:50:34 am Alberto Gonzalez wrote:
> --- On Tue, 2/24/09, Nick Piggin <nickpiggin@...oo.com.au> wrote:
> > > I really wish I could do more, but learning to compile
> >
> > a custom kernel for
> >
> > > my hardware and do a git bisect is something I just
> >
> > can't afford now. If
> >
> > > relevant people try to reproduce it but can't, and
> >
> > say only possible
> >
> > > solution would be for me to bisect it I guess I could
> >
> > try to give it a go
> >
> > > when I get some spare time.
> >
> > Fair enough. Reporting a problem is always very
> > appreciated.
> >
> > Pinging Eric and Jesse ;)
>
> Thank you Nick.
>
> Since Arch Linux is not popular among kernel developers I just tested
> Fedora 10 Live-CD (KDE) and I can reproduce the exact same problem, even if
> Fedora 10 has kernel 2.6.27 and for me the problem appeared in .28 (but I
> guess Fedora adds many patches, so probably the "guilty" commit was
> backported to 2.6.27.5-117-FC10-i686).
>
> Steps:
> - Boot into Fedora 10 Live CD (obviously, into the default graphical mode)
> - Install Powertop (yum install powertop) and run it
> - I get about 60 wakeups per second from i915@....... leaving the system
> idle - Switch to console and back to X. The wakeups are gone.

Ah ok, it sounds like you're getting vblank interrupts at startup time, but 
once you VT switch the kernel figures out that you don't need them, so it 
disables them.  I think this is a bug in the 2D driver; it has an ioctl it 
uses when doing modesetting which doubles as a "disabling the irq is ok" 
signal, but we call it at a time when the corresponding pipe is off, so the 
kernel ignores the call.

Can you file a bug for this at bugs.freedesktop.org?  Is it easy for you to 
rebuild & test xf86-video-intel driver patches?

Thanks,
-- 
Jesse Barnes, Intel Open Source Technology Center
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ