On Thu, Apr 19, 2018 at 10:30:19AM +0200, Igor Mammedov wrote: > On Thu, 19 Apr 2018 14:15:20 +1000 > David Gibson <da...@gibson.dropbear.id.au> wrote: > > > On Wed, Apr 18, 2018 at 04:28:02PM +0200, Igor Mammedov wrote: > > > Convert PPCE500Params to PCCE500MachineClass which it essentially is, > > > and introduce PCCE500MachineState to keep track of E500 specific > > > state instead of adding global variables or extra parameters to > > > functions when we need to keep data beyond machine init > > > (i.e. make it look like typical fully defined machine). > > > > > > It's pretty shallow conversion instead of currently used trivial > > > DEFINE_MACHINE() macro. It adds extra 60LOC of boilerplate code > > > of full machine definition. > > > > > > The patch on top[1] will use PCCE500MachineState to keep track of > > > platform_bus device and add E500Plate specific machine class > > > to use HOTPLUG_HANDLER for explicitly initializing dynamic > > > sysbus devices at the time they are added instead of delaying > > > it to machine done time by platform_bus_init_notify() which is > > > being removed. > > > > > > 1) <1523551221-11612-3-git-send-email-imamm...@redhat.com> > > > > > > Signed-off-by: Igor Mammedov <imamm...@redhat.com> > > > Suggested-by: David Gibson <da...@gibson.dropbear.id.au> > > > > As noted elsewhere, I've already merged this into my ppc-for-2.13 > > tree. However, don't let that stop you from posting and/or queueing > > it elsewhere. Whoever ends up merging first once 2.13 opens, it > > should be easy to resolve. > Yep, that's been intention, i.e. have whole series on list so > reader won't have to hunt for queued dependencies in different trees. > After all it's trivial to fix merge conflict when path is merged > in several trees.
Right, I figured. Just making sure it was clear that me merging it didn't mean I wanted you to exclude it from your own queue. -- David Gibson | I'll have my music baroque, and my code david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_ | _way_ _around_! http://www.ozlabs.org/~dgibson
signature.asc
Description: PGP signature