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 4A4EDC433EF for ; Thu, 10 Feb 2022 12:01:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241278AbiBJMBP (ORCPT ); Thu, 10 Feb 2022 07:01:15 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:54456 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241271AbiBJMBN (ORCPT ); Thu, 10 Feb 2022 07:01:13 -0500 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 091E12620 for ; Thu, 10 Feb 2022 04:01:15 -0800 (PST) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id C2342113E; Thu, 10 Feb 2022 04:01:14 -0800 (PST) Received: from FVFF77S0Q05N (unknown [10.57.87.61]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 2E7433F73B; Thu, 10 Feb 2022 04:01:03 -0800 (PST) Date: Thu, 10 Feb 2022 12:00:56 +0000 From: Mark Rutland To: Frederic Weisbecker 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: 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 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! Thanks, Mark. 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 45CF8C433F5 for ; Thu, 10 Feb 2022 12:02:30 +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=DU+7M0MvcPiavzkpRIHQDihIqSAkcGd8fdNCNpuHmPY=; b=O01GwDGaG9slgk dvuKvKYO1oTRuN8BeasHqFfnzknMAvyCaCYmKPlAdv9+8SdAS5XKCHcJFT+wu/pZWTfeNSd7C9MRP iUdYVvhI2iu7A3NH43UG55Ip4IOBpSC9IUqe74Qk85kBy7eMdPFjxCo+nE9uWf+DE3UrFBPxQXjPc 1pNIoXTbm/IUSi/huK44Br4VUDX+PRhky/HwBs9M6FOTZgyIRFRPKDKddGymCMsuUCj88MzSqOE8a 81KS29t4AYA+zxrx8q2C2Q1TdUDcTN+5Pslsj+shdXXFYqwgvkghQHAfT05cllIQqkgoCDJI4YpMz gStAqCOU4RgH26mz39Lw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nI88U-003hND-7L; Thu, 10 Feb 2022 12:01:18 +0000 Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nI88R-003hMX-Ft for linux-arm-kernel@lists.infradead.org; Thu, 10 Feb 2022 12:01:16 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id C2342113E; Thu, 10 Feb 2022 04:01:14 -0800 (PST) Received: from FVFF77S0Q05N (unknown [10.57.87.61]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 2E7433F73B; Thu, 10 Feb 2022 04:01:03 -0800 (PST) Date: Thu, 10 Feb 2022 12:00:56 +0000 From: Mark Rutland To: Frederic Weisbecker 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: 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_040115_597844_B3D49BDF X-CRM114-Status: GOOD ( 13.44 ) 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 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! Thanks, Mark. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel