Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp896083pxb; Thu, 26 Aug 2021 18:10:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx76Cfdsc/Vhbl+3N746zFrxRmYwNHa9b2WQlp2IiGmH+BMiTjKwf4kpDbqcy7hPJbh1UOK X-Received: by 2002:a92:290f:: with SMTP id l15mr4592918ilg.290.1630026620954; Thu, 26 Aug 2021 18:10:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1630026620; cv=none; d=google.com; s=arc-20160816; b=jjJdlxlpuqHuUkUKGNPCj80NXGYdTw27EI73wUPRmZDSY7G41tYQ3PjJ6WsVPFc6g8 EZ20NPJ9CtoTJCResnY4Q6asTQtPPzAGQs7RgWqCVBFT6cnfWWIRAKvfVHYw7F3Zfqql ZDpVCdFTQ3hZqAs9b3eQlMIFB+7JWq9sukZQ3X+UAkRJwo6UDd5F0rISl34Z2W6o08ys 0wDOsNyjCC2pJ76ttZBBk5+FQ7STGCzPTLx/r5+5nlATLG/pb4nJeoATVZCBC9/DAYcc tK0dTu0+zsIC91Lb8MiJDPO7HghH464TvYaZwOvFfgVevl+lOk7gr6K5OrGtSPLIFqzK csqQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-language:content-transfer-encoding :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=J3QCkGpKukdiM6KQ1iHU58AvaQfPdmXI/L/fnNCKIjI=; b=bGXSFbrWOFHRYT6hXr48xbOU5UtkuclmupuhsBPwM9Zvs6YAFg/HIAvuLLSBM4yxAn +ZxbEwQWJOFUhwWnNxM2ayCJ6yM/pvfToqtOeqDbxQiUY2UX1rYXpSzLrDpfMrIT5efa kQG1nFSpnKhBDJySi/yC2npxmroIkdD6kMJ0oGcVXwJ5T7DUrl5rmELroMrYvMAEdVTV yDAMXPj7UvhVsgcVNp7MEB2wO7ZUm580ruA4HwBnpqmkdxgmSB7ohPicLIncEMpIejnP fJM9gd9qOftiA3UauihIiWv7HcorXZZLtMeGGENvibjJLpZmgIAMvKIrnuv1sCeuIxUn qbiw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=oiVgDzQE; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n3si4929551ioh.98.2021.08.26.18.10.08; Thu, 26 Aug 2021 18:10:20 -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=@kernel.org header.s=k20201202 header.b=oiVgDzQE; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243894AbhH0BKR (ORCPT + 99 others); Thu, 26 Aug 2021 21:10:17 -0400 Received: from mail.kernel.org ([198.145.29.99]:57296 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243811AbhH0BKO (ORCPT ); Thu, 26 Aug 2021 21:10:14 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 0429160698; Fri, 27 Aug 2021 01:09:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1630026566; bh=XwuUCQSEDzl5nlvr8LUNjMZUBVFQB2QvKB3zGRKthP8=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=oiVgDzQEu/BViUr/MOnxQQSvPy+xqpouo1xJAxr5AlaxI5Qg9KGAFGljDa5h80qqG bCUnU/FFFFTgp4KCP+i9vGOMBlxzz4CpgF74yO6ic/vI9xyf4lVahbBwi+WmR7K6oh FIWQF9S1UZuG7jog4lqzrD6EtsWmkghYm3piAfwrMUNAD653vjsFs75TucfKBr0jst leEzIMgAT1JOccz5h7jGw7QpBYkkVVZ1izT3JHBo/k/QPqyekQkl9ayqRoyWV7cunr owvZXlaMP1SwQ5AObTuHN1VEs1o0rh2iyWh2A9ER75/rTM2OpqYXtdg6q+t2n+oeH/ Bmqd60xkfrD5A== Subject: Re: [arc:for-next 29/33] arch/arc/include/asm/page.h:52:30: error: 'struct page' has no member named 'pte'; did you mean 'ptl'? To: kernel test robot Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org, linux-snps-arc@lists.infradead.org References: <202108261644.ZyrrjSub-lkp@intel.com> From: Vineet Gupta Message-ID: <07db0892-1c6a-6461-400b-c928e34d2f41@kernel.org> Date: Thu, 26 Aug 2021 18:09:25 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 MIME-Version: 1.0 In-Reply-To: <202108261644.ZyrrjSub-lkp@intel.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 8/26/21 1:35 AM, kernel test robot wrote: > tree: https://git.kernel.org/pub/scm/linux/kernel/git/vgupta/arc.git for-next > head: c80ef1151c91db05e9ed03d7b61ada7af63ce59a > commit: 4058fa6bf4da7f46a57cb33fe8f6b688052b3eb9 [29/33] ARC: mm: switch pgtable_t back to struct page * > config: arc-allyesconfig (attached as .config) > compiler: arceb-elf-gcc (GCC) 11.2.0 > reproduce (this is a W=1 build): > wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross > chmod +x ~/bin/make.cross > # https://git.kernel.org/pub/scm/linux/kernel/git/vgupta/arc.git/commit/?id=4058fa6bf4da7f46a57cb33fe8f6b688052b3eb9 > git remote add arc https://git.kernel.org/pub/scm/linux/kernel/git/vgupta/arc.git > git fetch --no-tags arc for-next > git checkout 4058fa6bf4da7f46a57cb33fe8f6b688052b3eb9 > # save the attached .config to linux build tree > mkdir build_dir > COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=arc SHELL=/bin/bash > > If you fix the issue, kindly add following tag as appropriate > Reported-by: kernel test robot > > All errors (new ones prefixed by >>): > > arch/arc/mm/tlb.c:392:6: warning: no previous prototype for 'create_tlb' [-Wmissing-prototypes] > 392 | void create_tlb(struct vm_area_struct *vma, unsigned long vaddr, pte_t *ptep) > | ^~~~~~~~~~ > In file included from include/linux/mm_types_task.h:16, > from include/linux/mm_types.h:5, > from include/linux/buildid.h:5, > from include/linux/module.h:14, > from arch/arc/mm/tlb.c:9: > arch/arc/mm/tlb.c: In function 'pgtable_trans_huge_withdraw': >>> arch/arc/include/asm/page.h:52:30: error: 'struct page' has no member named 'pte'; did you mean 'ptl'? > 52 | #define pte_val(x) ((x).pte) > | ^~~ > arch/arc/mm/tlb.c:568:9: note: in expansion of macro 'pte_val' > 568 | pte_val(pgtable[0]) = 0; > | ^~~~~~~ >>> arch/arc/include/asm/page.h:52:30: error: 'struct page' has no member named 'pte'; did you mean 'ptl'? > 52 | #define pte_val(x) ((x).pte) > | ^~~ > arch/arc/mm/tlb.c:569:9: note: in expansion of macro 'pte_val' > 569 | pte_val(pgtable[1]) = 0; > | ^~~~~~~ > arch/arc/mm/tlb.c: At top level: > arch/arc/mm/tlb.c:756:6: warning: no previous prototype for 'do_tlb_overlap_fault' [-Wmissing-prototypes] > 756 | void do_tlb_overlap_fault(unsigned long cause, unsigned long address, > | ^~~~~~~~~~~~~~~~~~~~ Thx for the report. I've fixed this up by removing the now not-needed __HAVE_ARCH_PGTABLE_DEPOSIT and __HAVE_ARCH_PGTABLE_WITHDRAW from ARC code. -Vineet