From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 26896E7542B for ; Tue, 3 Oct 2023 06:27:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=yl5WtN368msTgZuTeFpxChj7PV2Ahs/zOTiogTviBOo=; b=0D6Nf73F/tNlY6 qn1Wqsje9a3cevAtKr5WW83XTL4PpD4SxeeWs6ribY6O+xN78z2eXKlaiKJxpFFLhFUQUN9oSo47w dFOlkhQIclAGTlgqZZXrzY4WaAasopJZMHZqxkbjEmQ2X5PmL2MPiEQI/bIEZz3LyX4A41UmNp7DP YEIXOP55wOZZZJ8lHIQlr+6aikfwFemwYxJmuuyS6w2fCpzmVZivZx3N65qw94fPF1/WzAFMQc1xH z2FdFBNtPQZ9J0drYrCExlkdumvQG0pyB4pqKy7pFsdKUzldA1cnuRmNhpRhOaXwCYVCXH4t7xWsG c/BJ8noiG4UmOK+mGFWQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qnYrv-00Duib-1F; Tue, 03 Oct 2023 06:26:55 +0000 Received: from mgamail.intel.com ([134.134.136.20]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qnYrs-00DuhI-2Y; Tue, 03 Oct 2023 06:26:54 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1696314411; x=1727850411; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=vEQY+v+Ij8ADUmJrIg7SKb1xUBWafpNeo9oPU2Mazic=; b=DfNsPITeRIMWBe8KRcKhf3YG6xTvT8q58DxQPQWF59R6rnj0B9bGKD+b qfL/C4+4mBp6qdbXQcXSaVssConji8FfA6lBh5RK5hyLLi3OP7jqbFANi /k5DPiARcgzIFfVgEFJb2dLjqMPlJL24GMlFMe8klYPjUYFHj+wQnyQ9J PIM8a9Tj1zEbxsVa3jfRRwtr9JektyF+rErH+QYLWFoTgGozoZ4Ai292P sHdwCxUz+DTkDVjF7/qe5+MX9WAtrIuCHsrMg89njLRWzpOtdWTEEF/MR v29mW5wq3eWmFk6h4QpiLWapyB2J2LD41t1hIo8GzYTwkhInDjcxQaKl7 w==; X-IronPort-AV: E=McAfee;i="6600,9927,10851"; a="373145758" X-IronPort-AV: E=Sophos;i="6.03,196,1694761200"; d="scan'208";a="373145758" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Oct 2023 23:26:47 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10851"; a="924530368" X-IronPort-AV: E=Sophos;i="6.03,196,1694761200"; d="scan'208";a="924530368" Received: from lkp-server02.sh.intel.com (HELO c3b01524d57c) ([10.239.97.151]) by orsmga005.jf.intel.com with ESMTP; 02 Oct 2023 23:26:43 -0700 Received: from kbuild by c3b01524d57c with local (Exim 4.96) (envelope-from ) id 1qnYrh-0006qP-2N; Tue, 03 Oct 2023 06:26:41 +0000 Date: Tue, 3 Oct 2023 14:25:42 +0800 From: kernel test robot To: Alexandre Ghiti , Ryan Roberts , Alexander Potapenko , Marco Elver , Dmitry Vyukov , Paul Walmsley , Palmer Dabbelt , Albert Ou , Anup Patel , Atish Patra , Ard Biesheuvel , Andrey Ryabinin , Andrey Konovalov , Vincenzo Frascino , kasan-dev@googlegroups.com, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, kvm@vger.kernel.org, kvm-riscv@lists.infradead.org, linux-efi@vger.kernel.org, linux-mm@kvack.org Cc: oe-kbuild-all@lists.linux.dev, Alexandre Ghiti Subject: Re: [PATCH 2/5] mm: Introduce pudp/p4dp/pgdp_get() functions Message-ID: <202310031431.NkMgiRBL-lkp@intel.com> References: <20231002151031.110551-3-alexghiti@rivosinc.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20231002151031.110551-3-alexghiti@rivosinc.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231002_232652_890292_4FE93C77 X-CRM114-Status: GOOD ( 12.35 ) X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-riscv" Errors-To: linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org Hi Alexandre, kernel test robot noticed the following build errors: [auto build test ERROR on linus/master] [also build test ERROR on v6.6-rc4 next-20231003] [cannot apply to efi/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/Alexandre-Ghiti/riscv-Use-WRITE_ONCE-when-setting-page-table-entries/20231002-231725 base: linus/master patch link: https://lore.kernel.org/r/20231002151031.110551-3-alexghiti%40rivosinc.com patch subject: [PATCH 2/5] mm: Introduce pudp/p4dp/pgdp_get() functions config: arm-allyesconfig (https://download.01.org/0day-ci/archive/20231003/202310031431.NkMgiRBL-lkp@intel.com/config) compiler: arm-linux-gnueabi-gcc (GCC) 13.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231003/202310031431.NkMgiRBL-lkp@intel.com/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/202310031431.NkMgiRBL-lkp@intel.com/ All error/warnings (new ones prefixed by >>): In file included from include/linux/mm.h:29, from arch/arm/kernel/asm-offsets.c:12: >> include/linux/pgtable.h:310:21: error: 'pgdp_get' declared as function returning an array 310 | static inline pgd_t pgdp_get(pgd_t *pgdp) | ^~~~~~~~ In file included from ./arch/arm/include/generated/asm/rwonce.h:1, from include/linux/compiler.h:246, from arch/arm/kernel/asm-offsets.c:10: include/linux/pgtable.h: In function 'pgdp_get': >> include/asm-generic/rwonce.h:48:2: warning: returning 'const volatile pmdval_t *' {aka 'const volatile unsigned int *'} from a function with return type 'int' makes integer from pointer without a cast [-Wint-conversion] 48 | ({ \ | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 49 | compiletime_assert_rwonce_type(x); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 50 | __READ_ONCE(x); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 51 | }) | ~~ include/linux/pgtable.h:312:16: note: in expansion of macro 'READ_ONCE' 312 | return READ_ONCE(*pgdp); | ^~~~~~~~~ make[3]: *** [scripts/Makefile.build:116: arch/arm/kernel/asm-offsets.s] Error 1 make[3]: Target 'prepare' not remade because of errors. make[2]: *** [Makefile:1202: prepare0] Error 2 make[2]: Target 'prepare' not remade because of errors. make[1]: *** [Makefile:234: __sub-make] Error 2 make[1]: Target 'prepare' not remade because of errors. make: *** [Makefile:234: __sub-make] Error 2 make: Target 'prepare' not remade because of errors. vim +/pgdp_get +310 include/linux/pgtable.h 308 309 #ifndef pgdp_get > 310 static inline pgd_t pgdp_get(pgd_t *pgdp) 311 { 312 return READ_ONCE(*pgdp); 313 } 314 #endif 315 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki _______________________________________________ linux-riscv mailing list linux-riscv@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-riscv