Re: [PATCH 1/6] ppc: Add intc_destroy() handlers to SpaprInterruptController/PnvChip

2019-10-24 Thread Greg Kurz
On Thu, 24 Oct 2019 13:50:25 +1100 David Gibson wrote: > On Wed, Oct 23, 2019 at 04:51:59PM +0200, Greg Kurz wrote: > > SpaprInterruptControllerClass and PnvChipClass have an intc_create() method > > that calls the appropriate routine, ie. icp_create() or xive_tctx_create(), > > to establish the

Re: [PATCH 1/6] ppc: Add intc_destroy() handlers to SpaprInterruptController/PnvChip

2019-10-23 Thread David Gibson
On Wed, Oct 23, 2019 at 04:51:59PM +0200, Greg Kurz wrote: > SpaprInterruptControllerClass and PnvChipClass have an intc_create() method > that calls the appropriate routine, ie. icp_create() or xive_tctx_create(), > to establish the link between the VCPU and the presenter component of the >

[PATCH 1/6] ppc: Add intc_destroy() handlers to SpaprInterruptController/PnvChip

2019-10-23 Thread Greg Kurz
SpaprInterruptControllerClass and PnvChipClass have an intc_create() method that calls the appropriate routine, ie. icp_create() or xive_tctx_create(), to establish the link between the VCPU and the presenter component of the interrupt controller during realize. There aren't any symmetrical call