Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp452984pxf; Thu, 18 Mar 2021 04:44:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxMP/2JSl6qKeaUejbqO2GBhXGForPYmbG5G77O/zbORUbRK7GGpU2+QNb6vEmbbjAFso49 X-Received: by 2002:a05:6402:1393:: with SMTP id b19mr3057541edv.333.1616067875637; Thu, 18 Mar 2021 04:44:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616067875; cv=none; d=google.com; s=arc-20160816; b=hZcpLK4X51tVVYWVKbKw6mHtO+kcnYqR+1Ophku4ayv3mcmGnvZ93y+xIZ1w2IWF65 0R8enwQiupqenCrx8fmNUXr2lxm3fR/COrnWhXmRiAbKHoL/8ANKNtrCXSqQJlKkBfZV P/SOTXWCweEru07Zz8WRDNu8MbaCPqONSPZ59sTbJhI0yQzKCIv9HXs5+MemkT6jjduj ffmv4mRPji9bcbbrwbXSkonDGHnLvVmeeCAHHYpTC3k4OD7KJeP0Gn5Rue5Y+o3rj+NV ZKp1medhWOGC994wzzkt3vggu9ZIZEd81KqJDcyXOEuWYqTokfikDXIB2xoZRCirCZ5h s0vg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=XMl5tyzL3PqSIQHKGXY+NHohD9Yw2kJOC+D+1or4eto=; b=ggZWpGEQEGD3rcxtzcQ2vAjVx+h4LDudtLU+6elixpJz4IgbBISIWzZlwb4fOx5vSU 8dSZLE+H6Y0lhqn3zmTiSIh5lrePTSXN7l8/DmAsEtAcoUmO8NtdJOijTV1Zuy5ssvsh rGxUakJrMA9N7j6XWyAQxNRJ2u5yqlF3YK3CQChclbNF5bFUIQ9oHNDSh+LhIp5rTg4z zYH3HpTFaduoO0qgMIWI2wkma8PMvUylhTkbXlOilDxo4Z+CsPYWVRnlfPXVkqBXXYXl xOLAUAVa1DnJ5Zy2xuMotlFCEYD3MliV80GcKahPiSEGB/axoyfiLdrfffIR4JtSKoZW i4CQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=desiato.20200630 header.b=PlixEdAi; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b16si1379135eds.502.2021.03.18.04.44.13; Thu, 18 Mar 2021 04:44:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=desiato.20200630 header.b=PlixEdAi; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230171AbhCRLnK (ORCPT + 99 others); Thu, 18 Mar 2021 07:43:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46678 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230220AbhCRLmk (ORCPT ); Thu, 18 Mar 2021 07:42:40 -0400 Received: from desiato.infradead.org (desiato.infradead.org [IPv6:2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2003BC06174A for ; Thu, 18 Mar 2021 04:42:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=XMl5tyzL3PqSIQHKGXY+NHohD9Yw2kJOC+D+1or4eto=; b=PlixEdAi+QREJcHN8mEPclgVNy NP97hxzYi12WqQFJ1W+bGBKYAg6Evo7BE1C2pNn5nwnj+2ioELwIGNytYD7GKGbeD5a6p1EDJ9mOJ SUhmiQkcgHYnxFCt9LlwsV4+r9FuJZXY31iBJAKXSIj3QDPByZBjY4TAhZKGu++gPVregJlA7et92 jvUe0dfh/Vt4gctxCodTvYaIrE04kTAyWTjKzwWQt0C5ZJewu3f+ZqFKHlXirA3xJ2QSSmWZROsvj sHmvKRpNZdlqy7jTnkzhPlx0r4pg3qLGc39mB/OGJccJiuUVlI/l4DEqAdujdJS8KP+9e4sMAqy3S ZByYGi9Q==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=noisy.programming.kicks-ass.net) by desiato.infradead.org with esmtpsa (Exim 4.94 #2 (Red Hat Linux)) id 1lMr2o-0057l4-IS; Thu, 18 Mar 2021 11:42:26 +0000 Received: from hirez.programming.kicks-ass.net (hirez.programming.kicks-ass.net [192.168.1.225]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id 0C5B83006E0; Thu, 18 Mar 2021 12:42:26 +0100 (CET) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id F20BA201960CD; Thu, 18 Mar 2021 12:42:25 +0100 (CET) Date: Thu, 18 Mar 2021 12:42:25 +0100 From: Peter Zijlstra To: x86@kernel.org, jpoimboe@redhat.com, jbaron@akamai.com, rostedt@goodmis.org, ardb@kernel.org Cc: linux-kernel@vger.kernel.org, sumit.garg@linaro.org, oliver.sang@intel.com, jarkko@kernel.org Subject: Re: [PATCH 3/3] static_call: Fix static_call_update() sanity check Message-ID: References: <20210318113156.407406787@infradead.org> <20210318113610.739542434@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210318113610.739542434@infradead.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Mar 18, 2021 at 12:31:59PM +0100, Peter Zijlstra wrote: > Sites that match init_section_contains() get marked as INIT. For > built-in code init_sections contains both __init and __exit text. OTOH > kernel_text_address() only explicitly includes __init text (and there > are no __exit text markers). > > Match what jump_label already does and ignore the warning for INIT > sites. Also see the excellent changelog for commit: 8f35eaa5f2de > ("jump_label: Don't warn on __exit jump entries") Note that I initially had a different fix and thought jump_label was broken for not patching, but then found the above commit.