On Mar 31, 2008, at 11:15 PM, Josh Boyer wrote:
On Tue, 2008-04-01 at 12:04 +1100, Michael Ellerman wrote:
I'm assuming you pass a dtb to the virtual guest when you start
it up.
Could you define a property in the CPU node there that can be
parsed to
use the power_save function instead of always making it the
default?
Actually, you probably don't want this as a property in the device
tree. It doesn't describe hardware. A Kconfig option might be
warranted though.
I'll go with the Kconfig option.
Go with a device-tree check. The pseries kernel supports both bare-
metal
and hypervisor in the same kernel image, and it works out which it's
running on by looking at the device-tree. This seems equivalent to
me?
After some back and forth on IRC, we decided on that as well. I love
being right, then wrong, then right again.
Awesome, can you summarize for the rest of us?
-JX
_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-dev