From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Gleixner Subject: Re: [RFC PATCH 5/7] arm64: smp: use generic SMP stop common code Date: Tue, 27 Aug 2019 00:26:05 +0200 (CEST) Message-ID: References: <20190823115720.605-1-cristian.marussi@arm.com> <20190823115720.605-6-cristian.marussi@arm.com> <20190826153236.GA9591@infradead.org> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Return-path: In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org To: Cristian Marussi Cc: Christoph Hellwig , linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, mark.rutland@arm.com, peterz@infradead.org, catalin.marinas@arm.com, takahiro.akashi@linaro.org, james.morse@arm.com, hidehiro.kawai.ez@hitachi.com, will@kernel.org, dave.martin@arm.com, linux-arm-kernel@lists.infradead.org List-Id: linux-arch.vger.kernel.org On Mon, 26 Aug 2019, Cristian Marussi wrote: > On 8/26/19 4:32 PM, Christoph Hellwig wrote: > > > +config ARCH_USE_COMMON_SMP_STOP > > > + def_bool y if SMP > > > > The option belongs into common code and the arch code shoud only > > select it. > > > > In fact that was my first approach, but then I noticed that in kernel/ topdir > there was no generic Kconfig but only subsystem specific ones: > > Kconfig.freezer Kconfig.hz Kconfig.locks Kconfig.preempt arch/Kconfig Thanks, tglx From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from Galois.linutronix.de ([193.142.43.55]:41378 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726307AbfHZW0O (ORCPT ); Mon, 26 Aug 2019 18:26:14 -0400 Date: Tue, 27 Aug 2019 00:26:05 +0200 (CEST) From: Thomas Gleixner Subject: Re: [RFC PATCH 5/7] arm64: smp: use generic SMP stop common code In-Reply-To: Message-ID: References: <20190823115720.605-1-cristian.marussi@arm.com> <20190823115720.605-6-cristian.marussi@arm.com> <20190826153236.GA9591@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-arch-owner@vger.kernel.org List-ID: To: Cristian Marussi Cc: Christoph Hellwig , linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, mark.rutland@arm.com, peterz@infradead.org, catalin.marinas@arm.com, takahiro.akashi@linaro.org, james.morse@arm.com, hidehiro.kawai.ez@hitachi.com, will@kernel.org, dave.martin@arm.com, linux-arm-kernel@lists.infradead.org Message-ID: <20190826222605.3vZ7uHC3g7ZfJpC62KjdXhucWXbQqJUuc_QdLTcSK3w@z> On Mon, 26 Aug 2019, Cristian Marussi wrote: > On 8/26/19 4:32 PM, Christoph Hellwig wrote: > > > +config ARCH_USE_COMMON_SMP_STOP > > > + def_bool y if SMP > > > > The option belongs into common code and the arch code shoud only > > select it. > > > > In fact that was my first approach, but then I noticed that in kernel/ topdir > there was no generic Kconfig but only subsystem specific ones: > > Kconfig.freezer Kconfig.hz Kconfig.locks Kconfig.preempt arch/Kconfig Thanks, tglx