[Cbe-oss-dev] [PATCH] axonram: 1st version

Olof Johansson olof at lixom.net
Sat Feb 17 02:55:31 EST 2007


On Fri, Feb 16, 2007 at 03:57:57PM +0100, Jean-Christophe Dubois wrote:
> On Friday 16 February 2007 15:36, Olof Johansson wrote:
> > Nvram or device tree support for how to partition it would probably work
> > OK. Device tree plus an of_platform layer for the driver would be a tidy
> > solution, at least if you expect the layout to stay consistent between
> > reboots and not needing to be changed from within the OS of the card.
> 
> Well device tree is not accessible from the Intel/AMD host. NVRAM can be read 
> from the host through PCI-E without the Cell participating.

Right. But firmware could parse the nvram settings and adjust the device
tree accordingly.

Anyway, that's mostly a matter of preference. I would think it's easier
to maintain the data structure compatibility between firmware and
the host-side driver, than between the linux kernel and the host-side
driver. Especially in case of changes/upgrades in the future. But then
I don't know how you package things and how much you expect to change
things over time.


-Olof



More information about the cbe-oss-dev mailing list