Re: [PATCH 3/6] ppc: Reparent presenter objects to the interrupt controller object

2019-10-27 Thread David Gibson
On Thu, Oct 24, 2019 at 11:04:53AM +0200, Greg Kurz wrote: > On Thu, 24 Oct 2019 13:58:41 +1100 > David Gibson wrote: > > > On Wed, Oct 23, 2019 at 04:52:10PM +0200, Greg Kurz wrote: > > > Each VCPU is associated to a presenter object within the interrupt > > > controller, ie. TCTX for XIVE and

Re: [PATCH 3/6] ppc: Reparent presenter objects to the interrupt controller object

2019-10-24 Thread Greg Kurz
On Thu, 24 Oct 2019 13:58:41 +1100 David Gibson wrote: > On Wed, Oct 23, 2019 at 04:52:10PM +0200, Greg Kurz wrote: > > Each VCPU is associated to a presenter object within the interrupt > > controller, ie. TCTX for XIVE and ICP for XICS, but our current > > models put these objects below the

Re: [PATCH 3/6] ppc: Reparent presenter objects to the interrupt controller object

2019-10-23 Thread David Gibson
On Wed, Oct 23, 2019 at 04:52:10PM +0200, Greg Kurz wrote: > Each VCPU is associated to a presenter object within the interrupt > controller, ie. TCTX for XIVE and ICP for XICS, but our current > models put these objects below the VCPU, and we rely on CPU_FOREACH() > to do anything that involves

[PATCH 3/6] ppc: Reparent presenter objects to the interrupt controller object

2019-10-23 Thread Greg Kurz
Each VCPU is associated to a presenter object within the interrupt controller, ie. TCTX for XIVE and ICP for XICS, but our current models put these objects below the VCPU, and we rely on CPU_FOREACH() to do anything that involves presenters. This recently bit us with the CAM line matching logic