From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.3 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E2871C3A59F for ; Mon, 26 Aug 2019 22:26:15 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id BE257217F5 for ; Mon, 26 Aug 2019 22:26:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727063AbfHZW0P (ORCPT ); Mon, 26 Aug 2019 18:26:15 -0400 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 Received: from p5de0b6c5.dip0.t-ipconnect.de ([93.224.182.197] helo=nanos) by Galois.linutronix.de with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1i2NR8-0006Vh-6T; Tue, 27 Aug 2019 00:26:07 +0200 Date: Tue, 27 Aug 2019 00:26:05 +0200 (CEST) From: Thomas Gleixner 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 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> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Linutronix-Spam-Score: -1.0 X-Linutronix-Spam-Level: - X-Linutronix-Spam-Status: No , -1.0 points, 5.0 required, ALL_TRUSTED=-1,SHORTCIRCUIT=-0.0001 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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