Received: by 2002:a25:f815:0:0:0:0:0 with SMTP id u21csp2818966ybd; Thu, 27 Jun 2019 20:45:06 -0700 (PDT) X-Google-Smtp-Source: APXvYqyJQftFteeN4fqKpZt981HP0z9W202B3iNFnTxZJvFKVdrpr3FdF6KTSozzWuqnSBiVcM0b X-Received: by 2002:a63:6155:: with SMTP id v82mr7028270pgb.304.1561693506526; Thu, 27 Jun 2019 20:45:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561693506; cv=none; d=google.com; s=arc-20160816; b=mLpudRP5yKwJZR2j4qjyNoeLfccjKHPIf60MtpG5J9IAtBoc8vXFK38H7TYqeo6rAS XuzKfEmY58rJSqHGDkRjFc83Wp3e490jfEB+vn5L+2ArCp/G2NRfzDtP0wbofEPYc0gk C9xzRHUu42FJ+RR2K1o+pWA20i5XKbmM51DNJre4D1GsJn5WXk3kW16KS+dglsWB6pd2 hvrEzZv72pjVQF3ra/0M/9x3Z4vdaHVIOpY+5B/qk1CIGxxAwPHMANfA+aBcITk5BJ9S XKxJhnbjN/Decd68QAW/3NyHDyZ+V1ZVfWSkAaSdujjFb+8W5UOGkbWOwVbTSglgrrdx PvQg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=rPd/a1hxAx0pDuqaGJdZpy8wumLFkZlHwpe3baOpt3g=; b=xLH2asjNTvW2ljfaycbzM7m3IV/RU+7Qak6rEPsUjLfX9bulegWjRWdeREuwvHQywz TuOp+QMGkvAePnTTObBXE9U9/Gb94Ku5NjAXE8GsFvLg04IJB+5gEC2eSslIlUQgbcZw oORZiYLyfwpWCHAKp2tO0iSWJYlbPH5LVe8ETzC+p3fAvn46/EqwF8zQhz0BNNStLwIn 4QwZNb9jciIL0qHtIbIxou0mlzcatVrpTov19QNxVy5XwIOj9h1UFHa8Oc6NKIk1AV+w 4DZ//wcyFH/BdClmoS6dlwwk8SutwLhkZLlw017zMaef+NheX9liRCB+Vln0hgBSiKZz n6DQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z7si869006pgu.224.2019.06.27.20.44.50; Thu, 27 Jun 2019 20:45:06 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727168AbfF1Do1 (ORCPT + 99 others); Thu, 27 Jun 2019 23:44:27 -0400 Received: from foss.arm.com ([217.140.110.172]:39698 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726686AbfF1DoZ (ORCPT ); Thu, 27 Jun 2019 23:44:25 -0400 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 BC1A92B; Thu, 27 Jun 2019 20:44:24 -0700 (PDT) Received: from [10.162.40.144] (p8cg001049571a15.blr.arm.com [10.162.40.144]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 2BE923F706; Thu, 27 Jun 2019 20:44:20 -0700 (PDT) Subject: Re: [PATCH] powerpc/64s/radix: Define arch_ioremap_p4d_supported() To: Michael Ellerman , linux-mm@kvack.org Cc: Benjamin Herrenschmidt , Paul Mackerras , "Aneesh Kumar K.V" , Nicholas Piggin , Andrew Morton , Stephen Rothwell , linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org, linux-next@vger.kernel.org References: <1561555260-17335-1-git-send-email-anshuman.khandual@arm.com> <87d0iztz0f.fsf@concordia.ellerman.id.au> From: Anshuman Khandual Message-ID: <6d201cb8-4c39-b7ea-84e6-f84607cc8b4f@arm.com> Date: Fri, 28 Jun 2019 09:14:46 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <87d0iztz0f.fsf@concordia.ellerman.id.au> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 06/27/2019 10:18 AM, Michael Ellerman wrote: > Anshuman Khandual writes: >> Recent core ioremap changes require HAVE_ARCH_HUGE_VMAP subscribing archs >> provide arch_ioremap_p4d_supported() failing which will result in a build >> failure like the following. >> >> ld: lib/ioremap.o: in function `.ioremap_huge_init': >> ioremap.c:(.init.text+0x3c): undefined reference to >> `.arch_ioremap_p4d_supported' >> >> This defines a stub implementation for arch_ioremap_p4d_supported() keeping >> it disabled for now to fix the build problem. > > The easiest option is for this to be folded into your patch that creates > the requirement for arch_ioremap_p4d_supported(). > > Andrew might do that for you, or you could send a v2. > > This looks fine from a powerpc POV: > > Acked-by: Michael Ellerman > > cheers Hello Stephen/Michael/Andrew, On linux-next (next-20190627) this change has already been applied though a merge commit 153083a99fe431 ("Merge branch 'akpm-current/current'"). So we are good on this ? Or shall I send out a V2 for the original patch. Please suggest. Thank you. - Anshuman