Re: [PATCH 1/4] xics: Eliminate 'reject', 'resend' and 'eoi' class hooks

2019-09-24 Thread Greg Kurz
On Tue, 24 Sep 2019 14:59:49 +1000 David Gibson wrote: > Currently ics_reject(), ics_resend() and ics_eoi() indirect through > class methods. But there's only one implementation of each method, > the one in TYPE_ICS_SIMPLE. TYPE_ICS_BASE has no implementation, but > it's never instantiated, and

Re: [PATCH 1/4] xics: Eliminate 'reject', 'resend' and 'eoi' class hooks

2019-09-23 Thread Cédric Le Goater
On 24/09/2019 06:59, David Gibson wrote: > Currently ics_reject(), ics_resend() and ics_eoi() indirect through > class methods. But there's only one implementation of each method, > the one in TYPE_ICS_SIMPLE. TYPE_ICS_BASE has no implementation, but > it's never instantiated, and has no other su

[PATCH 1/4] xics: Eliminate 'reject', 'resend' and 'eoi' class hooks

2019-09-23 Thread David Gibson
Currently ics_reject(), ics_resend() and ics_eoi() indirect through class methods. But there's only one implementation of each method, the one in TYPE_ICS_SIMPLE. TYPE_ICS_BASE has no implementation, but it's never instantiated, and has no other subtypes. So clean up by eliminating the method an