Re: [PATCH v2 04/33] xics: Eliminate reset hook

2019-09-27 Thread Greg Kurz
On Fri, 27 Sep 2019 15:49:59 +1000 David Gibson wrote: > Currently TYPE_XICS_BASE and TYPE_XICS_SIMPLE have their own reset methods, > using the standard technique for having the subtype call the supertype's > methods before doing its own thing. > > But TYPE_XICS_SIMPLE is the only subtype of TY

[PATCH v2 04/33] xics: Eliminate reset hook

2019-09-26 Thread David Gibson
Currently TYPE_XICS_BASE and TYPE_XICS_SIMPLE have their own reset methods, using the standard technique for having the subtype call the supertype's methods before doing its own thing. But TYPE_XICS_SIMPLE is the only subtype of TYPE_XICS_BASE ever instantiated, so there's no point having the spli