Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp5349839rwn; Mon, 12 Sep 2022 07:51:19 -0700 (PDT) X-Google-Smtp-Source: AA6agR5CsjC4t7uuoSkq3VEz7QyPFH5cwmRZgkRRMNJnXzT8DEKSoaIr9yy8ueCBBW5kHo3514g5 X-Received: by 2002:a17:903:26d4:b0:176:d22a:19b6 with SMTP id jg20-20020a17090326d400b00176d22a19b6mr26872629plb.137.1662994279230; Mon, 12 Sep 2022 07:51:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662994279; cv=none; d=google.com; s=arc-20160816; b=bzpEaPx0wRsYYDjn5vSFMxDrK9WoMYmt9nOG3ROVTwG9ZmiLHsPFsEcHAJaVcIAStP QayF/Y3e4Nu3VfhPzxlR/bEYhLIqcT1+PRloW0qFQYUuNULVnLX/iUF3d+XPMQQ1sbcS eomZs+wlwUWXQ9kTzc8bOpkoRP77t2WEXGTaCJGkKuhsGTbzd5Zty8ebdlK7ejDjmvGd pL3k9HeytGRqzDElZMmmmpvbKwQhBEVA9uY/1Na10D8gdPre/R2v2hYIIZabSlnlsYcN amGWXsTRdo+9Gmvb7nE9yjOpYbv3bJz3hJve8W86G4EZpAai5ecyUCJxM902tvt863eG s5Kw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:subject:cc:to:from:date:references:in-reply-to :message-id:mime-version:user-agent:feedback-id:dkim-signature :dkim-signature; bh=5+ByPvLKo4qXIPZBnHZ1cLujjwO8+fJkOf17+2RURFo=; b=e68RlPAt8qIlNq/iQEE6CyWKFQsM/pZ2drSq+1njdB/fowKt0f0OBYYJB6+kyCDkSr D+cPOkLlTtPaHqXiwGAFKSSorqden3a0WAGlZqdRS7qGrfTROxJDGcve7FEh8cdJr23/ RrVzrEePyIJqjkAbBWERFvka0P8fBlO5VjtSG93Ciqg/4M1DtztcRZHOmMqYRRg9FBvs jh+eOshRaEtYk09Dcd8K9n6HFm6yKsiZG9zPccl+qjWo6U30dqu1DEH0jU/sreW40iNS OHQ4o8/EhOSsifZ2hFHSKmJun8karjkt7PpDV6Gzo5QzwyDn4FFYCf1gf184RnhKJ2av QCnA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@arndb.de header.s=fm1 header.b="Lm/LIQt4"; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=AEzbGY58; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 3-20020a631043000000b0041cbca26a23si9209147pgq.83.2022.09.12.07.51.03; Mon, 12 Sep 2022 07:51:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@arndb.de header.s=fm1 header.b="Lm/LIQt4"; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=AEzbGY58; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229935AbiILOBC (ORCPT + 99 others); Mon, 12 Sep 2022 10:01:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54430 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229636AbiILOA7 (ORCPT ); Mon, 12 Sep 2022 10:00:59 -0400 X-Greylist: delayed 392 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Mon, 12 Sep 2022 07:00:57 PDT Received: from new3-smtp.messagingengine.com (new3-smtp.messagingengine.com [66.111.4.229]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 27B822CDD8; Mon, 12 Sep 2022 07:00:56 -0700 (PDT) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailnew.nyi.internal (Postfix) with ESMTP id 82E1958172C; Mon, 12 Sep 2022 09:54:21 -0400 (EDT) Received: from imap51 ([10.202.2.101]) by compute3.internal (MEProxy); Mon, 12 Sep 2022 09:54:21 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=arndb.de; h=cc :cc:content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to; s=fm1; t=1662990861; x=1662994461; bh=5+ByPvLKo4 qXIPZBnHZ1cLujjwO8+fJkOf17+2RURFo=; b=Lm/LIQt4J5bUA0D+zC1vCVFS3K 7GapRZcIgbGt2qbjwzh/+P1RM3zFbHwJw88bl+YDwIJoBZy+naVOJvQ870RP51zp JvZH7GAJa+njFpM6alGMZePJF53v9MNR1LSksZ6Mau3fZ/KoceiZd3nmyh0QsD56 ZGH7u/HLLMsXaAkzmerqfM+fjxSY3HFemjiYM41UdXNL2bZ3JjKHZxwKC7qCV/F2 d3/p7F9erANCNk917vjdXES9GgP7bjCoZQNdNQtrRgVDf290LC3yAbZLS/q/x1lp guMEor+GbkKeyUzgrarM1CP1o7fHV1ZYUNPMVZQ2VM/77MGTlXJ71SedfRUQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:date:date:feedback-id :feedback-id:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:sender:subject:subject:to:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; t=1662990861; x=1662994461; bh=5+ByPvLKo4qXIPZBnHZ1cLujjwO8 +fJkOf17+2RURFo=; b=AEzbGY58mz+/XsOLF2N75l263+JbxnqvVblCKvC1OJkK QZEwNY5ajrWcftR+RbYkPAEcKAxupyxFGp/0mvbVLVf4hxhhvTRPH8Jrjn5vpL7v nXVa3+2dyN1JsfQ/NQEj2pc9x1wwbT9FbvI6Zpl+ktsr3zDWH8sebZuw345sV/hp MS8b6OyI/e1S61xAOnZH8BxJJN18sZnph3hxMfVLR9QvONnqjQWX+Sozesyk4B1S V8TwwSG55K/ouk6Aq517im8vUrbXL905VUpkglrntLVi77JWf93ekQvT30xIdrDa AmENpSAQk8xITxuCuoXeG1VbCIqSsANg4UcoOdWYSA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrfeduvddgjeduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepofgfggfkjghffffhvfevufgtsehttdertderredtnecuhfhrohhmpedftehr nhguuceuvghrghhmrghnnhdfuceorghrnhgusegrrhhnuggsrdguvgeqnecuggftrfgrth htvghrnhepffehueegteeihfegtefhjefgtdeugfegjeelheejueethfefgeeghfektdek teffnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprg hrnhgusegrrhhnuggsrdguvg X-ME-Proxy: Feedback-ID: i56a14606:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id 9F5DDB60086; Mon, 12 Sep 2022 09:54:20 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.7.0-alpha0-929-g09f3e68182-fm-20220908.004-g09f3e681 Mime-Version: 1.0 Message-Id: <687a977d-81a4-497e-86ba-b63ff4cad518@www.fastmail.com> In-Reply-To: <20220911012616.29948-1-rdunlap@infradead.org> References: <20220911012616.29948-1-rdunlap@infradead.org> Date: Mon, 12 Sep 2022 15:53:54 +0200 From: "Arnd Bergmann" To: "Randy Dunlap" , linux-kernel@vger.kernel.org Cc: "kernel test robot" , "Dan Williams" , "Ben Widawsky" , "Jonathan Cameron" , linux-ia64@vger.kernel.org, "Keith Mannthey" , "Andrew Morton" Subject: Re: [PATCH] ia64: export memory_add_physaddr_to_nid to fix cxl build error Content-Type: text/plain X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Sep 11, 2022, at 3:26 AM, Randy Dunlap wrote: > cxl_pmem.ko uses memory_add_physaddr_to_nid() but ia64 does not export it, > so this causes a build error: > > ERROR: modpost: "memory_add_physaddr_to_nid" [drivers/cxl/cxl_pmem.ko] > undefined! > > Fix this by exporting that function. > > Fixes: 8c2676a5870a ("hot-add-mem x86_64: memory_add_physaddr_to_nid > node fixup") > Reported-by: kernel test robot > Signed-off-by: Randy Dunlap > Cc: Dan Williams > Cc: Ben Widawsky > Cc: Jonathan Cameron > Cc: linux-ia64@vger.kernel.org > Cc: Arnd Bergmann > Cc: Keith Mannthey > Cc: Andrew Morton > --- > Arnd, can you take this in your one-off fixes arch tree, or would > you prefer for Andrew to take it? I've applied it to the asm-generic tree for 6.1 now, as I don't expect any other bugfixes for 6.0 to go through that tree. It's clearly a bugfix, but since the original commit you cite was from 2006, I assume it can wait a little longer. Arnd