Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp9163373rwr; Thu, 11 May 2023 10:46:59 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5fVVikmfdfwdIsiChuKAJZz5qujUg1lqeLYhLyEVqpdNvAQ8kGtnw5MMedVJE/8sgufip5 X-Received: by 2002:a17:902:c453:b0:1a9:a032:3844 with SMTP id m19-20020a170902c45300b001a9a0323844mr21130576plm.16.1683827219532; Thu, 11 May 2023 10:46:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683827219; cv=none; d=google.com; s=arc-20160816; b=zvjmj1VsyvXND5A+yM5WBe6h4DJU6kR8fNJFJBdNI9ouGwnTrS7g9Q3K3tdgX2wmBP vSRZgYv68abnmegyAkRYU7ek1pyzIY5p/kDJuSNmti60ABAQ1QvQAQrOIsh14bYj1qBW WeGwEoTjaYUEmbtB4EWodoGCWZ2RB5vhdxiYNJQDUHs0ZnMb1JcbMlIkwc/m4MVQcZMd PyPBmLAF6vOoGol6LEzSW7m1bfSTW3jf8eGUyEbsEd7WzyFsWj1zqQyjUlklBnlaM+20 43KhhwoT9Iib0fwGo+xd8rpCjb0sbAC5/zqfa7TAEjndcy/UWEI9oX3fXgIVmoasGpAl InWA== 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=I11SQQIqWY5UUgtIkkU7uHntqZia1PvG0RRYid/Efnk=; b=qrQOSL2i2toFQrFnPY5r1mdntPjX6CcNrRMwCeVo8uV7hkOQVjZEreHgt4yPIs4TnS HMzib4I9pHwK99EHk5nNTASOIE9AFFSq/FCGeOaQXhZ4g3ivqfQN6CtXVvmsoAaZ3+Jw ssUclvrxSduIooGKXSyliZw7gNraFNULzSyaQ6eytZ5N2wA2gCpQl0Zf7vmgBTyWMPjl B5hk11UT/J/Q8eMLFyAvDLa/jdMHk5isXjeAOhPNR5TXVbcTOxR0l3dQcUKHGLtXNY9g e7QWu3oznG7sgD9W9wJSuq5ISRbaqDPi6h7xOf2ZwPJu83AcfBAiNFF+9+W7J/jlo3Z2 Q8gg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=ZT00hTLm; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c17-20020a170903235100b001a666ff198esi7237771plh.545.2023.05.11.10.46.41; Thu, 11 May 2023 10:46:59 -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=@intel.com header.s=Intel header.b=ZT00hTLm; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238980AbjEKRiq (ORCPT + 99 others); Thu, 11 May 2023 13:38:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37998 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238035AbjEKRio (ORCPT ); Thu, 11 May 2023 13:38:44 -0400 Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7A13F3A90 for ; Thu, 11 May 2023 10:38:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1683826723; x=1715362723; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=h1UYVgea54dYa799BBbGISzq4gL2FTA4p+QIZ9Ceb70=; b=ZT00hTLm8nM/DZkI6DGNVm2HZSOK353wSc9VgTLcQunm1Q8/ByBHPZBi EpPAvvi4PTzrrT9DlEMVMMlR0/LwsYVPG2PfpI29slLqYeAq6pE6/balw AX2AVgSnJnYWT0T2aYVPEepRpjH1M8E9r/8RHy9wFLwrzrXjr3W7bNA6n 3xYDLx/ZrJbjGmlOzO3p4+BDCJNV5Uh6IxHuH9P+DQQoU1tEXFAVQ6Nll 8my4o/XVvhl97wt5bIXTPWG68+zkXXfugQQW92CCHe2+zh0kLlUgyy2BW 1FpqJksVfl+JF5Ij6uM4WvhifkqCLnfRqAyfdJX9woRmCFMfFde++vX8h g==; X-IronPort-AV: E=McAfee;i="6600,9927,10707"; a="349416910" X-IronPort-AV: E=Sophos;i="5.99,268,1677571200"; d="scan'208";a="349416910" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 May 2023 10:38:43 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10707"; a="789472567" X-IronPort-AV: E=Sophos;i="5.99,268,1677571200"; d="scan'208";a="789472567" Received: from lkp-server01.sh.intel.com (HELO dea6d5a4f140) ([10.239.97.150]) by FMSMGA003.fm.intel.com with ESMTP; 11 May 2023 10:38:40 -0700 Received: from kbuild by dea6d5a4f140 with local (Exim 4.96) (envelope-from ) id 1pxAFU-0004A3-0s; Thu, 11 May 2023 17:38:40 +0000 Date: Fri, 12 May 2023 01:37:52 +0800 From: kernel test robot To: Ryan Roberts , Andrew Morton , "Matthew Wilcox (Oracle)" , "Kirill A. Shutemov" , SeongJae Park Cc: oe-kbuild-all@lists.linux.dev, Linux Memory Management List , Ryan Roberts , linux-kernel@vger.kernel.org, damon@lists.linux.dev Subject: Re: [RESEND PATCH v1 5/5] mm: ptep_deref() conversion Message-ID: <202305120142.yXsNEo6H-lkp@intel.com> References: <20230511132113.80196-6-ryan.roberts@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230511132113.80196-6-ryan.roberts@arm.com> X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_NONE,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 Hi Ryan, kernel test robot noticed the following build errors: [auto build test ERROR on akpm-mm/mm-everything] [also build test ERROR on sj/damon/next drm-intel/for-linux-next-fixes char-misc/char-misc-testing char-misc/char-misc-next char-misc/char-misc-linus tip/perf/core kvm/queue linus/master v6.4-rc1 next-20230511] [cannot apply to drm-intel/for-linux-next awilliam-vfio/next awilliam-vfio/for-linus xen-tip/linux-next acme/perf/core kvm/linux-next] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Ryan-Roberts/mm-vmalloc-must-set-pte-via-arch-code/20230511-213826 base: https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-everything patch link: https://lore.kernel.org/r/20230511132113.80196-6-ryan.roberts%40arm.com patch subject: [RESEND PATCH v1 5/5] mm: ptep_deref() conversion config: sh-allmodconfig (https://download.01.org/0day-ci/archive/20230512/202305120142.yXsNEo6H-lkp@intel.com/config) compiler: sh4-linux-gcc (GCC) 12.1.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://github.com/intel-lab-lkp/linux/commit/6cb99aca1b207cdf4f320eec14447bdc654b51df git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Ryan-Roberts/mm-vmalloc-must-set-pte-via-arch-code/20230511-213826 git checkout 6cb99aca1b207cdf4f320eec14447bdc654b51df # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=sh olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=sh SHELL=/bin/bash fs/ If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot | Link: https://lore.kernel.org/oe-kbuild-all/202305120142.yXsNEo6H-lkp@intel.com/ All errors (new ones prefixed by >>): In file included from include/linux/migrate.h:8, from fs/nfs/write.c:17: include/linux/hugetlb.h: In function 'huge_ptep_clear_flush': >> include/linux/hugetlb.h:1203:16: error: implicit declaration of function 'ptep_deref' [-Werror=implicit-function-declaration] 1203 | return ptep_deref(ptep); | ^~~~~~~~~~ >> include/linux/hugetlb.h:1203:16: error: incompatible types when returning type 'int' but 'pte_t' was expected 1203 | return ptep_deref(ptep); | ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors -- In file included from fs/proc/meminfo.c:6: include/linux/hugetlb.h: In function 'huge_ptep_clear_flush': >> include/linux/hugetlb.h:1203:16: error: implicit declaration of function 'ptep_deref' [-Werror=implicit-function-declaration] 1203 | return ptep_deref(ptep); | ^~~~~~~~~~ >> include/linux/hugetlb.h:1203:16: error: incompatible types when returning type 'int' but 'pte_t' was expected 1203 | return ptep_deref(ptep); | ^~~~~~~~~~~~~~~~ fs/proc/meminfo.c: At top level: fs/proc/meminfo.c:23:28: warning: no previous prototype for 'arch_report_meminfo' [-Wmissing-prototypes] 23 | void __attribute__((weak)) arch_report_meminfo(struct seq_file *m) | ^~~~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors vim +/ptep_deref +1203 include/linux/hugetlb.h 1199 1200 static inline pte_t huge_ptep_clear_flush(struct vm_area_struct *vma, 1201 unsigned long addr, pte_t *ptep) 1202 { > 1203 return ptep_deref(ptep); 1204 } 1205 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests