Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752259AbdGDVP4 (ORCPT ); Tue, 4 Jul 2017 17:15:56 -0400 Received: from Galois.linutronix.de ([146.0.238.70]:50194 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752169AbdGDVPz (ORCPT ); Tue, 4 Jul 2017 17:15:55 -0400 Date: Tue, 4 Jul 2017 23:15:49 +0200 (CEST) From: Thomas Gleixner To: Marc Zyngier cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, kvmarm@lists.cs.columbia.edu, Christoffer Dall , Jason Cooper , Eric Auger , Shanker Donthineni , Mark Rutland Subject: Re: [PATCH v2 01/52] genirq: Let irq_set_vcpu_affinity() iterate over hierarchy In-Reply-To: <20170628150411.15846-2-marc.zyngier@arm.com> Message-ID: References: <20170628150411.15846-1-marc.zyngier@arm.com> <20170628150411.15846-2-marc.zyngier@arm.com> User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 487 Lines: 15 On Wed, 28 Jun 2017, Marc Zyngier wrote: > When assigning an interrupt to a vcpu, it is not unlikely that > the level of the hierarchy implementing irq_set_vcpu_affinity > is not the top level (think a generic MSI domain on top of a > virtualization aware interrupt controller). > > In such a case, let's iterate over the hierarchy until we find > an irqchip implementing it. > > Signed-off-by: Marc Zyngier Reviewed-by: Thomas Gleixner