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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7D8FEC433F5 for ; Thu, 10 Feb 2022 15:58:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243895AbiBJP6J (ORCPT ); Thu, 10 Feb 2022 10:58:09 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:49150 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243877AbiBJP6H (ORCPT ); Thu, 10 Feb 2022 10:58:07 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3C6F6CD6 for ; Thu, 10 Feb 2022 07:58:08 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id CC7D461CAE for ; Thu, 10 Feb 2022 15:58:07 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id ABE13C004E1; Thu, 10 Feb 2022 15:58:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1644508687; bh=fJz0mfpB47QMQtMUTnDAOyZFLprkCOZTHFgVXNMTvCA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=fQdu/gY1hIYhmwvrgNpyofmzlsCOxzGe2azh+1Mlr3oBKY1Rl09Xl7aChZiJXZYB6 ve1k4JTINR8Pwn8hwVAL0BsApSNlGT7vQtlq6HqVLlTj9j4XKk3XE9jnd+75UNznvn 3hI7hCU8y8UD6hfBFUtJMu18RmUsuAuhg2dxL7em3RGS7et4okrWr2oGKow6FVw6ru bz8qHIY95KCn6kbDwXhQsNVdlAWf5N+vZIm3P7wICE2Wh+j9AzytW/XWNsGGTr6a3m Qevy7h6XkkHYO/UIt/N6T0pPEte13kdDMSspnVtfGnZg/NNXCRCSvkZANvKbTz6gfn n2kXkGtpCvF2A== Date: Thu, 10 Feb 2022 16:58:04 +0100 From: Frederic Weisbecker To: Mark Rutland Cc: linux-arm-kernel@lists.infradead.org, ardb@kernel.org, bp@alien8.de, catalin.marinas@arm.com, dave.hansen@linux.intel.com, james.morse@arm.com, joey.gouly@arm.com, juri.lelli@redhat.com, linux-kernel@vger.kernel.org, luto@kernel.org, mingo@redhat.com, peterz@infradead.org, tglx@linutronix.de, valentin.schneider@arm.com, will@kernel.org Subject: Re: [PATCH v3 7/7] arm64: support PREEMPT_DYNAMIC Message-ID: <20220210155804.GA567552@lothringen> References: <20220209153535.818830-1-mark.rutland@arm.com> <20220209153535.818830-8-mark.rutland@arm.com> <20220209195709.GA557593@lothringen> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Feb 10, 2022 at 12:00:56PM +0000, Mark Rutland wrote: > On Thu, Feb 10, 2022 at 09:38:37AM +0000, Mark Rutland wrote: > > On Wed, Feb 09, 2022 at 08:57:09PM +0100, Frederic Weisbecker wrote: > > > On Wed, Feb 09, 2022 at 03:35:35PM +0000, Mark Rutland wrote: > > > > Note that PREEMPT_DYNAMIC is `def bool y`, so this will default to > > > > enabled. > > > > > > It should probably be "def_bool y if HAVE_STATIC_CALL_INLINE"... > > > > Sure; I'm more than happy to fold that into patch 5. > > For the moment I've made that: > > def_bool y if HAVE_PREEMPT_DYNAMIC_CALL > > ... since that fit more neatly with the other bits I had to add, and didn't > change the existing behaviour of 32-bit x86. > > Please shout if you think that should be HAVE_STATIC_CALL_INLINE specifically! I seem to remember peterz didn't mind keeping it default y as long as HAVE_STATIC_CALL*. So I guess that's fine. Thanks! 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 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 881D3C433F5 for ; Thu, 10 Feb 2022 15:59:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=AiO9M3PW9pHECRM8S8ebqxcfCTLwTWAPDMeNbveJRVc=; b=ZXWJ52/bFjWQ2C 1hOsp+oxQySBlUNW0L7NGJSeTPIqfReiAZOPzfXFjXlIcBJpyEtGQ+FBIwZGNQE2yPAdVRgonN6C3 0vmoxl4O6am+abE+FoYAN8gM+jzAQeOCRSe4xXxdbf2dHeNz+zdykPY1ZLtXbfMq6NbjWNfju9MBh nLVHB5DzrICesl0+0eZvKQ56nFdgYSvwQhtSYkw641HyFMa/8DkitdwHG8aoDjnAyrVNLCMLTEUBM pvGrzw5Z5HdjSDpZTCe+ym6CcB0OUmua+9+wQtsJZS2rYv+njhP4abdOoBgHXeXVRq3fMHquB34B5 751d3VMKyKcoUn1ZPd+w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nIBpl-004I2n-7X; Thu, 10 Feb 2022 15:58:13 +0000 Received: from ams.source.kernel.org ([145.40.68.75]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nIBpi-004I1X-4i for linux-arm-kernel@lists.infradead.org; Thu, 10 Feb 2022 15:58:11 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 86806B82502; Thu, 10 Feb 2022 15:58:08 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id ABE13C004E1; Thu, 10 Feb 2022 15:58:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1644508687; bh=fJz0mfpB47QMQtMUTnDAOyZFLprkCOZTHFgVXNMTvCA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=fQdu/gY1hIYhmwvrgNpyofmzlsCOxzGe2azh+1Mlr3oBKY1Rl09Xl7aChZiJXZYB6 ve1k4JTINR8Pwn8hwVAL0BsApSNlGT7vQtlq6HqVLlTj9j4XKk3XE9jnd+75UNznvn 3hI7hCU8y8UD6hfBFUtJMu18RmUsuAuhg2dxL7em3RGS7et4okrWr2oGKow6FVw6ru bz8qHIY95KCn6kbDwXhQsNVdlAWf5N+vZIm3P7wICE2Wh+j9AzytW/XWNsGGTr6a3m Qevy7h6XkkHYO/UIt/N6T0pPEte13kdDMSspnVtfGnZg/NNXCRCSvkZANvKbTz6gfn n2kXkGtpCvF2A== Date: Thu, 10 Feb 2022 16:58:04 +0100 From: Frederic Weisbecker To: Mark Rutland Cc: linux-arm-kernel@lists.infradead.org, ardb@kernel.org, bp@alien8.de, catalin.marinas@arm.com, dave.hansen@linux.intel.com, james.morse@arm.com, joey.gouly@arm.com, juri.lelli@redhat.com, linux-kernel@vger.kernel.org, luto@kernel.org, mingo@redhat.com, peterz@infradead.org, tglx@linutronix.de, valentin.schneider@arm.com, will@kernel.org Subject: Re: [PATCH v3 7/7] arm64: support PREEMPT_DYNAMIC Message-ID: <20220210155804.GA567552@lothringen> References: <20220209153535.818830-1-mark.rutland@arm.com> <20220209153535.818830-8-mark.rutland@arm.com> <20220209195709.GA557593@lothringen> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220210_075810_375621_3EB3E3E9 X-CRM114-Status: GOOD ( 18.27 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Thu, Feb 10, 2022 at 12:00:56PM +0000, Mark Rutland wrote: > On Thu, Feb 10, 2022 at 09:38:37AM +0000, Mark Rutland wrote: > > On Wed, Feb 09, 2022 at 08:57:09PM +0100, Frederic Weisbecker wrote: > > > On Wed, Feb 09, 2022 at 03:35:35PM +0000, Mark Rutland wrote: > > > > Note that PREEMPT_DYNAMIC is `def bool y`, so this will default to > > > > enabled. > > > > > > It should probably be "def_bool y if HAVE_STATIC_CALL_INLINE"... > > > > Sure; I'm more than happy to fold that into patch 5. > > For the moment I've made that: > > def_bool y if HAVE_PREEMPT_DYNAMIC_CALL > > ... since that fit more neatly with the other bits I had to add, and didn't > change the existing behaviour of 32-bit x86. > > Please shout if you think that should be HAVE_STATIC_CALL_INLINE specifically! I seem to remember peterz didn't mind keeping it default y as long as HAVE_STATIC_CALL*. So I guess that's fine. Thanks! _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel