Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp1735146rdb; Thu, 7 Dec 2023 07:30:10 -0800 (PST) X-Google-Smtp-Source: AGHT+IG5Hv/qaG6OekeH7HWQABkBb7NrbYY8ya9qv3JxnEM2UTzD5Re1bZ3sH4tm2CXk8ZYevDAm X-Received: by 2002:a17:903:230d:b0:1d0:6ffd:8346 with SMTP id d13-20020a170903230d00b001d06ffd8346mr2597677plh.81.1701963010437; Thu, 07 Dec 2023 07:30:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701963010; cv=none; d=google.com; s=arc-20160816; b=G2uBSzF3+5SWkI3btBjTe0UUiI/o1Kiy8V7q2ggIat6PVvFQOG8ZmAQCuaVuGj2pa2 LdOzeLpIxWsLuE/7yADi05FC3L9JPGIDYAyArr01K+puSob1mTiWrfJHjdOmmXK0/hyl BnbK/146SAK/2/pj/vxpvkrGxSZ+HxEBRv7Puq1AQSyKBp/igyHBXr4gW3kvA2FH//CA HoFSmvHYfC9JS3onNvJYUJxhovUFej2YSlGm4jqAZrGVag5ttvXBsn7o+pHtgiNzU5Mu /qAUa7hzl/ST/DFB2cH+00ae/+tkvPfVcIIRplqC59voTVOujpHmoPK0AGFMv7pyqBDh 03Tg== 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=q/aOTK0ooA0NK+qsWb3wyUsPFtr16T+u4TTr3X/f35g=; fh=kpg7eN+0SMtsjyLvx1hPx/LbK5SfC3XAAdXTybZdoWQ=; b=aij8WlZkt/891vK5hpcgRIkqGBXhnv4qnoYG35bujfue6VmKrKp2Za86nU5BQUMVpP 9IASmDHXjKS4Te5fmzsgewjjuYuxx49MTQXMjKo4uqgiNdNJAVi58H7bwaZQXqruUTt+ IHa+pG2oHbuupRlpiy9gt4+P5sjLuus7pfpHWicuHOlAb0+UlCdtIt4L6WBL/ocuzg+j vZ/5NdVhz1AW/PDQUXjhhGJipGPDeSDXrT4kDShOpZwktnhmdQ7jV1PkPSqjxxyYlkXR f4a/nrScEv40eI7t2umsztUSJrPwNW/QJ6LH2URlCJXlrpFGTdnD6XoqXurbOmjna+qu ekdg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alien8.de header.s=alien8 header.b=gDp40T9R; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id c13-20020a170902d48d00b001d09c96ba09si1258190plg.424.2023.12.07.07.30.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Dec 2023 07:30:10 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; dkim=pass header.i=@alien8.de header.s=alien8 header.b=gDp40T9R; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 399BF807C86C; Thu, 7 Dec 2023 03:15:33 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1378921AbjLGLPS (ORCPT + 99 others); Thu, 7 Dec 2023 06:15:18 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46088 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1378884AbjLGLPQ (ORCPT ); Thu, 7 Dec 2023 06:15:16 -0500 Received: from mail.alien8.de (mail.alien8.de [65.109.113.108]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CEC4011F; Thu, 7 Dec 2023 03:15:22 -0800 (PST) Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.alien8.de (SuperMail on ZX Spectrum 128k) with ESMTP id E84B940E00C7; Thu, 7 Dec 2023 11:15:20 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at mail.alien8.de Authentication-Results: mail.alien8.de (amavisd-new); dkim=pass (4096-bit key) header.d=alien8.de Received: from mail.alien8.de ([127.0.0.1]) by localhost (mail.alien8.de [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id zA3FcBYuDKzQ; Thu, 7 Dec 2023 11:15:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=alien8; t=1701947719; bh=q/aOTK0ooA0NK+qsWb3wyUsPFtr16T+u4TTr3X/f35g=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=gDp40T9RvusesPyiIKCAlH4uapzEgwCDQl4ctT4Z4WmSvHNVikoMLSVj7r3Ae5j/4 eVBfuqUVBHzln+anqJZViKAOXdijlxsGry9mloyFQuWW0/UbGtBpFDaKZvmBQeVJkC FLj3iE1/RVlqafPE/qop5wwWHJJTksBRIPHN6BTk9yfsOaqJFeNRVH00UuV1H3pbg9 NYsgxhpVwyNsAnlUcrGWdlXkd2QFWL6roalHcjb1DUeOSvrEScd1nlGgqVdEhPE3ze Vm2bXFbvpfyVzJJUF5GaeahOcEvolA9vbu1qtfVRGkwED745Wc7WhsFUX4v4n+LngU AKwjDw+C89pTPOOMgRS/Neoe5aSC6gYoz0eHjGf7kmO6ScZk2DHKnAjPP44URE3sfi eS7ylFOQ+0zfueQ79ptGocWonJp7Zi1LIdg21TBe0XxoxUcr8aCd5zYLXeTEgmgK97 FBX7N3BB08h3iW5MuneIvbprI8e91/yfOJxzMsbhWNoLfD1/CoJb7fJCaDhZI1oJcm tLk+7gGTABLIOn2iOwqTdjAfgfo3hQP8Qui7RIYLm96cSJGn4sOuvwHRgVvxWELqN0 OAjgr4iB37iwRdFFF32i/YxECbXFcbg5Wr5nRimoyOawkYnjOLFEDykaJIG0oJtxlZ icO8DeXM53D6ozeI6gAZlR34= Received: from zn.tnic (pd95304da.dip0.t-ipconnect.de [217.83.4.218]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by mail.alien8.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id 1ADAD40E00C5; Thu, 7 Dec 2023 11:15:14 +0000 (UTC) Date: Thu, 7 Dec 2023 12:15:09 +0100 From: Borislav Petkov To: linux-kernel@vger.kernel.org Cc: linux-tip-commits@vger.kernel.org, Ingo Molnar , Uros Bizjak , x86@kernel.org Subject: Re: [tip: x86/percpu] x86/callthunks: Mark apply_relocation() as __init_or_module Message-ID: <20231207111509.GAZXGpPVEuWO/gNfvY@fat_crate.local> References: <20231105213731.1878100-3-ubizjak@gmail.com> <170137899106.398.14613676631297252898.tip-bot2@tip-bot2> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <170137899106.398.14613676631297252898.tip-bot2@tip-bot2> X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Thu, 07 Dec 2023 03:15:33 -0800 (PST) On Thu, Nov 30, 2023 at 09:16:31PM -0000, tip-bot2 for Ingo Molnar wrote: > -void apply_relocation(u8 *buf, size_t len, u8 *dest, u8 *src, size_t src_len) > +void __init_or_module apply_relocation(u8 *buf, size_t len, u8 *dest, u8 *src, size_t src_len) > { > int prev, target = 0; Can't do that for a CONFIG_MODULES=n build: WARNING: modpost: vmlinux: section mismatch in reference: patch_dest+0x61 (section: .text) -> apply_relocation (section: .init.text) ERROR: modpost: Section mismatches detected. -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette