[PATCH 2/3] powerpc: Move pSeries firmware feature setup into platforms/pseries

Olof Johansson olof at lixom.net
Fri Feb 10 10:25:12 EST 2006


On Thu, Feb 09, 2006 at 05:03:33PM +1100, Michael Ellerman wrote:
> Currently we have some stuff in firmware.h and kernel/firmware.c that is
> #ifdef CONFIG_PPC_PSERIES. Move it all into platforms/pseries.

I suggest renaming it to something like fw_set_hv_features()
while you're at it, since all features it parses and sets are
hypervisor-related.

There are other, not yet fully merged hypervisor guest ports that might
want to share this code (Xen, rhype) for non-pseries machines, so there's
a chance that a move into platforms will just need to be undone down the
road. However, since that code isn't merged yet, let's worry about that
then instead of now.


-Olof




More information about the Linuxppc64-dev mailing list