Re: [Balloon] 2.6.29-rc7 kernel power management

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Jonathan McDowell
Date:  
To: Chris Jones
CC: balloon
Subject: Re: [Balloon] 2.6.29-rc7 kernel power management
On Thu, Apr 02, 2009 at 09:12:25AM +0100, Chris Jones wrote:
> Jonathan McDowell wrote:
> > On Wed, Apr 01, 2009 at 07:18:50PM +0100, Chris Jones wrote:

[power saving]
> > Is this code in SVN now? I'm currently concentrating on getting the base
> > balloon3 support into mainline kernels, but I'll have a look if that
> > ever gets done.
>
> Yes - I folded the changes into balloon3.patch.


Ah, simple enough then.

> >> The same issue arises with the Samosa bus - did parking the bus lines
> >> ever get in after the grand TCL kernel hacking session? I can't see it
> >> in the code.
> >
> > No, this didn't get added so you're not missing anything.
>
> OK. If I was to put in the relevant code, I assume it would go at the
> tail end of samosa_suspend_late() and the head end of
> samosa_resume_early(), bracketing the power management of the devices on
> the bus.


Hmm. I think that'll probably work ok. From my reading of
Documentation/power/devices.txt bus->suspend_late/bus->suspend_early get
called for each device on the bus, but after suspend/before resume is
called for any of them.

> I propose making the registers set/reset, since:
> - it uses less logic resource in the hardware than making them readable
> - I've already got a VHDL module which does the job
> - it makes changing individual bits an atomic operation, leaving no gap
> between a read and a writeback which could get interrupted


Sounds reasonable.

> There are a couple of bits we need to be able to read, as well. Hold
> tight for a Balloon 3 register remap.


On a sort of related note, can someone provide me with a known good
built copy of bootldr/the FPGA code to put on my loon3? I seem to be
running a bootldr from last May or so and I don't have JTAG so can't
afford to get it wrong.

J.

-- 
Web [      Keyboard: Used for entering errors into a system.       ]
site: http:// [                                          ]       Made by
www.earth.li/~noodles/  [                      ]         HuggieTag 0.0.23