From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753907AbdKAAN0 (ORCPT ); Tue, 31 Oct 2017 20:13:26 -0400 Received: from usa-sjc-mx-foss1.foss.arm.com ([217.140.101.70]:42566 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750764AbdKAANY (ORCPT ); Tue, 31 Oct 2017 20:13:24 -0400 From: Marc Zyngier To: Paul Burton Cc: Jason Cooper , Thomas Gleixner , , Subject: Re: [PATCH v2 0/8] irqchip: mips-gic: Cleanups, fixes, prep for multi-cluster In-Reply-To: <20171031164151.6357-1-paul.burton@mips.com> (Paul Burton's message of "Tue, 31 Oct 2017 09:41:43 -0700") Organization: ARM Ltd References: <867evc5cc9.fsf@arm.com> <20171031164151.6357-1-paul.burton@mips.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) Date: Wed, 01 Nov 2017 00:13:16 +0000 Message-ID: <86efpi3lgj.fsf@arm.com> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Oct 31 2017 at 9:41:43 am GMT, Paul Burton wrote: > This series continues cleaning & fixing up the MIPS GIC irqchip driver > whilst laying groundwork to support multi-cluster systems. > > Patch 1 refactors in order to reduce some duplication and prepare us for > the following patches. > > Patches 2-4 move per-CPU GIC configuration away from being performed all > at once when the driver is probed or when interrupts are masked & > unmasked, instead performing configuration as CPUs are brought online. > This allows us to support reconfiguring after clusters are powered down > & back up, generally cleans up and fixes bugs in the process. > > Patch 5 makes use of num_possible_cpus() to reserve IPIs, rather than > the gic_vpes variable. This prepares us for multi-cluster in which > gic_vpes is mostly meaningless since it only reflects the local cluster, > and it generally makes more sense to use the more standard > num_possible_cpus(). > > Patch 6 removes the now unused gic_vpes variable. > > Patch 7 is a general clean up but also prepares us for later patches as > described in its commit message. > > Patch 8 is a general clean up marking some variables static. > > This series by itself continues along the path towards supporting > multi-cluster systems such as the MIPS I6500, but does not yet get us > the whole way there. If you wish to see my current work in progress > which builds out multi-cluster support atop these patches then that can > be found in the multicluster branch of: > > git://git.linux-mips.org/pub/scm/paul/linux.git > > Or browsed at: > > https://git.linux-mips.org/cgit/paul/linux.git/log/?h=multicluster > > This series applies cleanly atop v4.14-rc7. Are those targeting 4.14 or 4.15? It is getting quite late for the former, and it doesn't seem to cleanly apply on tip/irq/core (or my irqchip-4.15 branch) if that's for the latter (patch 6 shouts at me). Thanks, M. -- Jazz is not dead. It just smells funny.