Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp1799902rwb; Wed, 26 Jul 2023 19:49:37 -0700 (PDT) X-Google-Smtp-Source: APBJJlFo6ajwwWKsS7MOMzKAZQP4fze0VhOr4y8p0pSgjwilInVq+8dDf5LMBkdnjsyfNcvWWsVK X-Received: by 2002:aa7:d689:0:b0:521:d23b:f2c5 with SMTP id d9-20020aa7d689000000b00521d23bf2c5mr695604edr.14.1690426176982; Wed, 26 Jul 2023 19:49:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690426176; cv=none; d=google.com; s=arc-20160816; b=w6mtSGElmjCDOygvUXRKG5SvyuOXZG9UFZnFIVVGBwj9utiCYJRmjiWluGFuYPpZl0 Ao672N4RugzSP3VKSTng7UgA9w8frtaPv6fKRJuKZxSVBplLuGI4AH6RsVgje8rvC+B3 HAzXTrJwweOIsXBsg16u4VXwH0WykiKeHU0U7jCQrgcELlYDDsiKZDNxqlwkVscaAusz k8dAUAPmTbdckbEUKEKXWfMJj1zU8Wry9P8JLD5siv809oGqpT0Ld25fKNfzisDBwino XHTPd54X6n7XE6UGIVwDt314O6lutx11aaLZCz9myH5mbMAU6zT3O2xzf/xVs8JPNQxo 2RzQ== 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=zXquGRzG841jJ8Tr6td2HfmRqFNlswSMjB1yJFLTjeQ=; fh=Czeq1IqVFIreb+NH2djsmvwSlXlYj3qLHb3OVhbjZ68=; b=Mu1UZSBGuWxv7jspgJh+I3kR9Nt4JeW+I/pYSvMTRL/tI7oTgtJ6SabInjmU9RYYPL VHWwoCpdcHPTo4Xlh1zlTxEPoVheDrH3vWAnsvVJSxPhWNwV8VwhRJRoNKbhMWJzzynx RiSNZKvKxgtx4LC737Y27ATZ4VzTi4gebECk4b/rih0krHEjlt3qUH53sLPSImxQjkAv cD6b1cgiT6e0a7uwNjhGc0OexHM6tr8EM/RD0MhDyDwcdM+hfh7OncRoMrpyf+QyTRQr 0t21XDtNXLhDNNSfxKGztYWQyXJOtsWqoecic0tLK5WjIfgYeF0/ZqBjXmQyTUszI4xL 6L8Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=Vki36Vsu; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-crypto-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 y5-20020aa7d505000000b005224df724b3si215898edq.645.2023.07.26.19.49.10; Wed, 26 Jul 2023 19:49:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-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=Vki36Vsu; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-crypto-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 S230236AbjG0CY4 (ORCPT + 99 others); Wed, 26 Jul 2023 22:24:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43872 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229639AbjG0CYz (ORCPT ); Wed, 26 Jul 2023 22:24:55 -0400 Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BF5842685; Wed, 26 Jul 2023 19:24:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1690424693; x=1721960693; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=C264Jlx7omC2IGbVFzDmPqjvhYuKy5hrLHi7x8Hv+9c=; b=Vki36Vsu7/8gw7GL9qR60DP29aPUgksJuoGStuI4EG8FAZUKbfs+50Bd Pk1EXxDxloB6YRPMGeipNkkXtrXc76rlsPZls5nuGVsFEz9WhXHny1zwJ idpVqJAOnpVRTkj0U5O7a9kwqm2AVX3XnlmtD4XyHNQ4+lZNKB00Lc0Nt qad571F/KQ+wUKyevLkll1N/+6F+YpMpAJZ59y9Y2TFj2sb29wD7Ofxh5 VrCHCKrzenTNMVivz0Ff5Iuc68xIXQF4eb6erfKfCZPFaRGui7ADXGkKV HMCvtBx13dSewZRIRah+RDFNvFzszbKV1Mjx27qf64HJSzuSJ9jVHUxqW w==; X-IronPort-AV: E=McAfee;i="6600,9927,10783"; a="371794980" X-IronPort-AV: E=Sophos;i="6.01,233,1684825200"; d="scan'208";a="371794980" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Jul 2023 19:24:52 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10783"; a="850685813" X-IronPort-AV: E=Sophos;i="6.01,233,1684825200"; d="scan'208";a="850685813" Received: from lkp-server02.sh.intel.com (HELO 953e8cd98f7d) ([10.239.97.151]) by orsmga004.jf.intel.com with ESMTP; 26 Jul 2023 19:24:48 -0700 Received: from kbuild by 953e8cd98f7d with local (Exim 4.96) (envelope-from ) id 1qOqgJ-0001aK-1P; Thu, 27 Jul 2023 02:24:47 +0000 Date: Thu, 27 Jul 2023 10:24:30 +0800 From: kernel test robot To: LeoLiu-oc , olivia@selenic.com, herbert@gondor.apana.org.au, jiajie.ho@starfivetech.com, conor.dooley@microchip.com, martin@kaiser.cx, mmyangfl@gmail.com, jenny.zhang@starfivetech.com, linux-kernel@vger.kernel.org, linux-crypto@vger.kernel.org Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, leoliu@zhaoxin.com, CobeChen@zhaoxin.com, YunShen@zhaoxin.com, TonyWWang@zhaoxin.com, leoliu-oc Subject: Re: [PATCH] hwrng: add Zhaoxin HW RNG driver Message-ID: <202307271008.RbzxDGux-lkp@intel.com> References: <20230726113553.1965627-1-LeoLiu-oc@zhaoxin.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230726113553.1965627-1-LeoLiu-oc@zhaoxin.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-crypto@vger.kernel.org Hi LeoLiu-oc, kernel test robot noticed the following build errors: [auto build test ERROR on char-misc/char-misc-testing] [also build test ERROR on char-misc/char-misc-next char-misc/char-misc-linus herbert-cryptodev-2.6/master linus/master v6.5-rc3 next-20230726] [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/LeoLiu-oc/hwrng-add-Zhaoxin-HW-RNG-driver/20230726-193710 base: char-misc/char-misc-testing patch link: https://lore.kernel.org/r/20230726113553.1965627-1-LeoLiu-oc%40zhaoxin.com patch subject: [PATCH] hwrng: add Zhaoxin HW RNG driver config: i386-randconfig-i014-20230726 (https://download.01.org/0day-ci/archive/20230727/202307271008.RbzxDGux-lkp@intel.com/config) compiler: clang version 16.0.4 (https://github.com/llvm/llvm-project.git ae42196bc493ffe877a7e3dff8be32035dea4d07) reproduce: (https://download.01.org/0day-ci/archive/20230727/202307271008.RbzxDGux-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/202307271008.RbzxDGux-lkp@intel.com/ All errors (new ones prefixed by >>): >> drivers/char/hw_random/zhaoxin-rng.c:58:2: error: register %rcx is only available in 64-bit mode "movq %0, %%rcx\n" ^ :1:13: note: instantiated into assembly here movq %eax, %rcx ^~~~ >> drivers/char/hw_random/zhaoxin-rng.c:59:3: error: register %rdx is only available in 64-bit mode "movq %1, %%rdx\n" ^ :2:12: note: instantiated into assembly here movq %ecx, %rdx ^~~~ >> drivers/char/hw_random/zhaoxin-rng.c:60:3: error: register %rdi is only available in 64-bit mode "movq %2, %%rdi\n" ^ :3:12: note: instantiated into assembly here movq %edx, %rdi ^~~~ 3 errors generated. vim +58 drivers/char/hw_random/zhaoxin-rng.c 54 55 static inline int rep_xstore(size_t size, size_t factor, void *result) 56 { 57 __asm__ __volatile__ ( > 58 "movq %0, %%rcx\n" > 59 "movq %1, %%rdx\n" > 60 "movq %2, %%rdi\n" 61 ".byte 0xf3, 0x0f, 0xa7, 0xc0" 62 : 63 : "r"(size), "r"(factor), "r"(result) 64 : "%rcx", "%rdx", "%rdi", "memory"); 65 66 return 0; 67 } 68 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki