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 1E497C3ABDA for ; Thu, 15 May 2025 01:22: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=yWqJihzCwlJvHjkyiq+oO7qmbL5iBx6UO+wFIJbI/Ys=; b=IAGjoJjtU+tXFZ x3UJdfgsYgLPJH0SRof1KbvVr/1BrPrAYXU+Z44n4KYcN2PDw8nz5xAjDZ2PTKnp0B9lWDaC9kH4w Gn0H8GInH+ohCyCbIlEmEBe2V5tsPPyTzUkEPGRNyr7HW/4mYGTiXAg+Rpma3mISTWXYK7DsgevNY zOQbWzY1tEvgDcOpa3MaFm4xqsAgTCIQ7YRTM1nV9bFbHCBvU41hhV+8r/XkMr78mVwXHIaT7wV3H t2OG+HLrUSw8s1FYQcR911Gjjp3G+Csg/hfdFjWCXMg+R3I3745DVKnycxfRcVPCUj5/SKwPbGuXW uYg8Mof8ngoE8knbnEKw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1uFNIL-0000000GlJd-36ZE; Thu, 15 May 2025 01:21:57 +0000 Received: from mgamail.intel.com ([192.198.163.12]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1uFNIG-0000000GlH0-1vyN for linux-riscv@lists.infradead.org; Thu, 15 May 2025 01:21:56 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1747272112; x=1778808112; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=jgjSrlr/T0ZiWg2l9ELXgMwJAxZDAl6Zhb98CMnMTL8=; b=XQQwZcK+JSatzcoX4K0bZ7XJFCzkqBXrdaqMkCaDv5NGbOddT6CU8jlI eEoMZXvn85sJ2J072wvUgb3yAx3wEXjVDqWTOJ0nU3L/9ZH3WNcuG2nKu duH5AZ2KXNY82D9+N0YOQPMLD3FtfBNfT1NL1nEAAwGDqGPcqFv6brGQl vXbaQ+vu+OpupkeF474LRzw2ED9uzo6j9xD/DWTuNaAfSHegiud+UeV6r eOzPQ6VUlKzDXNasaNimnk3rkTca6qLPyk9aSBwCvkOCxbsjAjIpDgVVT H1Daix8ZqUvijxYyEytMLYZz9RJ1aPjHPz45CuY5su8Oq4Ytd9ikHhByn Q==; X-CSE-ConnectionGUID: k8UGTTg1SladM/jaAAY6/A== X-CSE-MsgGUID: XrHSt2eqQ9iS/JD8m5ke3g== X-IronPort-AV: E=McAfee;i="6700,10204,11433"; a="52997097" X-IronPort-AV: E=Sophos;i="6.15,289,1739865600"; d="scan'208";a="52997097" Received: from fmviesa010.fm.intel.com ([10.60.135.150]) by fmvoesa106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 May 2025 18:21:40 -0700 X-CSE-ConnectionGUID: ZHDeO+p7Q5iDzwAbdYR0CA== X-CSE-MsgGUID: QbWLwMJ8SnOi5SPFb4oH8g== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.15,289,1739865600"; d="scan'208";a="138716109" Received: from lkp-server01.sh.intel.com (HELO 1992f890471c) ([10.239.97.150]) by fmviesa010.fm.intel.com with ESMTP; 14 May 2025 18:21:36 -0700 Received: from kbuild by 1992f890471c with local (Exim 4.96) (envelope-from ) id 1uFNHy-000Hkz-1M; Thu, 15 May 2025 01:21:34 +0000 Date: Thu, 15 May 2025 09:20:57 +0800 From: kernel test robot To: Aleksa Paunovic via B4 Relay , Daniel Lezcano , Thomas Gleixner , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Paul Walmsley , Palmer Dabbelt , Albert Ou , Alexandre Ghiti Cc: oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-riscv@lists.infradead.org, Djordje Todorovic , Aleksa Paunovic Subject: Re: [PATCH v4 2/2] Allow for riscv-clock to pick up mmio address. Message-ID: <202505150913.Iq1XRKqC-lkp@intel.com> References: <20250514-riscv-time-mmio-v4-2-cb0cf2922d66@htecgroup.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20250514-riscv-time-mmio-v4-2-cb0cf2922d66@htecgroup.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20250514_182152_513073_42680186 X-CRM114-Status: GOOD ( 13.03 ) 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 Aleksa, kernel test robot noticed the following build errors: [auto build test ERROR on 9c32cda43eb78f78c73aee4aa344b777714e259b] url: https://github.com/intel-lab-lkp/linux/commits/Aleksa-Paunovic-via-B4-Relay/dt-bindings-timer-mti-gcru/20250514-165347 base: 9c32cda43eb78f78c73aee4aa344b777714e259b patch link: https://lore.kernel.org/r/20250514-riscv-time-mmio-v4-2-cb0cf2922d66%40htecgroup.com patch subject: [PATCH v4 2/2] Allow for riscv-clock to pick up mmio address. config: riscv-randconfig-001-20250515 (https://download.01.org/0day-ci/archive/20250515/202505150913.Iq1XRKqC-lkp@intel.com/config) compiler: riscv32-linux-gcc (GCC) 8.5.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250515/202505150913.Iq1XRKqC-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/202505150913.Iq1XRKqC-lkp@intel.com/ All errors (new ones prefixed by >>): In file included from include/linux/timex.h:67, from include/linux/time32.h:13, from include/linux/time.h:60, from include/linux/jiffies.h:10, from include/linux/ktime.h:25, from include/linux/timer.h:6, from include/linux/uprobes.h:18, from include/linux/mm_types.h:16, from include/linux/mmzone.h:22, from include/linux/gfp.h:7, from include/linux/mm.h:7, from arch/riscv/kernel/asm-offsets.c:8: arch/riscv/include/asm/timex.h: In function 'random_get_entropy': >> arch/riscv/include/asm/timex.h:39:9: error: implicit declaration of function 'get_cycles'; did you mean 'get_cycles_ptr'? [-Werror=implicit-function-declaration] return get_cycles(); ^~~~~~~~~~ get_cycles_ptr arch/riscv/include/asm/timex.h: In function 'get_cycles64': >> arch/riscv/include/asm/timex.h:45:23: error: implicit declaration of function 'get_cycles_ptr_hi'; did you mean 'get_cycles_ptr'? [-Werror=implicit-function-declaration] #define get_cycles_hi get_cycles_ptr_hi ^~~~~~~~~~~~~~~~~ arch/riscv/include/asm/timex.h:58:8: note: in expansion of macro 'get_cycles_hi' hi = get_cycles_hi(); ^~~~~~~~~~~~~ cc1: some warnings being treated as errors make[3]: *** [scripts/Makefile.build:98: arch/riscv/kernel/asm-offsets.s] Error 1 shuffle=2386734513 make[3]: Target 'prepare' not remade because of errors. make[2]: *** [Makefile:1282: prepare0] Error 2 shuffle=2386734513 make[2]: Target 'prepare' not remade because of errors. make[1]: *** [Makefile:248: __sub-make] Error 2 shuffle=2386734513 make[1]: Target 'prepare' not remade because of errors. make: *** [Makefile:248: __sub-make] Error 2 shuffle=2386734513 make: Target 'prepare' not remade because of errors. vim +39 arch/riscv/include/asm/timex.h d5be89a8d118a8 Palmer Dabbelt 2020-09-14 29 aa9887608e77b8 Anup Patel 2020-09-27 30 /* aa9887608e77b8 Anup Patel 2020-09-27 31 * Much like MIPS, we may not have a viable counter to use at an early point aa9887608e77b8 Anup Patel 2020-09-27 32 * in the boot process. Unfortunately we don't have a fallback, so instead aa9887608e77b8 Anup Patel 2020-09-27 33 * we just return 0. aa9887608e77b8 Anup Patel 2020-09-27 34 */ aa9887608e77b8 Anup Patel 2020-09-27 35 static inline unsigned long random_get_entropy(void) aa9887608e77b8 Anup Patel 2020-09-27 36 { aa9887608e77b8 Anup Patel 2020-09-27 37 if (unlikely(clint_time_val == NULL)) 6d01238623faa9 Jason A. Donenfeld 2022-04-08 38 return random_get_entropy_fallback(); aa9887608e77b8 Anup Patel 2020-09-27 @39 return get_cycles(); aa9887608e77b8 Anup Patel 2020-09-27 40 } aa9887608e77b8 Anup Patel 2020-09-27 41 #define random_get_entropy() random_get_entropy() 7eeda0113dff84 Aleksa Paunovic 2025-05-14 42 #endif aa9887608e77b8 Anup Patel 2020-09-27 43 7eeda0113dff84 Aleksa Paunovic 2025-05-14 44 #define get_cycles get_cycles_ptr 7eeda0113dff84 Aleksa Paunovic 2025-05-14 @45 #define get_cycles_hi get_cycles_ptr_hi ccbbfd1cbf365b Palmer Dabbelt 2020-11-25 46 -- 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