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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id E48D8C4332F for ; Tue, 7 Nov 2023 16:30:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234051AbjKGQaf (ORCPT ); Tue, 7 Nov 2023 11:30:35 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43476 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229804AbjKGQaa (ORCPT ); Tue, 7 Nov 2023 11:30:30 -0500 Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.88]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6782883; Tue, 7 Nov 2023 08:30:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1699374628; x=1730910628; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=m86TUzlYcXzvF7S9EMlG9uQF20EDoypndfxnW2VR2pM=; b=aop/kTpapKMowZosP/Xa8c305AeOVbQ380ewSvZwYdAulcoKlx+Pm+Hn Gao5OymMbxjIHGbBWjlVhADegqGe9bugWLrgCzEQ/fFnw0zmYrWIlls4J RaXS7DAbmbyqRGjZ7ibrzwusuZTvvFV0x62BXzro33QGIlw2C/0GIpEMZ g+STiLrEp4N5rtLWBsZyUyyMMLRD1CNbvEgx13QHolGC5Yq6JmuiFJu0i jdTQlwglsWVSbii7ImlTNamnpMxiD+c7Ywke5Sn2nQZgnhSrGNj1cHu61 GN5yAyQqetZmTC75QWtHV+gxWieu7qHXE7Zgd9QCEoB1M/bHoJxCVhb0m g==; X-IronPort-AV: E=McAfee;i="6600,9927,10887"; a="420657300" X-IronPort-AV: E=Sophos;i="6.03,284,1694761200"; d="scan'208";a="420657300" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Nov 2023 08:30:28 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10887"; a="879870032" X-IronPort-AV: E=Sophos;i="6.03,284,1694761200"; d="scan'208";a="879870032" Received: from lkp-server01.sh.intel.com (HELO 17d9e85e5079) ([10.239.97.150]) by fmsmga002.fm.intel.com with ESMTP; 07 Nov 2023 08:30:25 -0800 Received: from kbuild by 17d9e85e5079 with local (Exim 4.96) (envelope-from ) id 1r0Oy7-0007Dd-0A; Tue, 07 Nov 2023 16:30:23 +0000 Date: Wed, 8 Nov 2023 00:29:35 +0800 From: kernel test robot To: LeoLiu-oc , olivia@selenic.com, herbert@gondor.apana.org.au, martin@kaiser.cx, jiajie.ho@starfivetech.com, jenny.zhang@starfivetech.com, mmyangfl@gmail.com, robh@kernel.org, linux-kernel@vger.kernel.org, linux-crypto@vger.kernel.org Cc: oe-kbuild-all@lists.linux.dev, CobeChen@zhaoxin.com, TonyWWang@zhaoxin.com, YunShen@zhaoxin.com, LeoLiuoc Subject: Re: [PATCH] hwrng: add Zhaoxin rng driver base on rep_xstore instruction Message-ID: <202311072324.klxSzojj-lkp@intel.com> References: <20231107070900.496827-1-LeoLiu-oc@zhaoxin.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231107070900.496827-1-LeoLiu-oc@zhaoxin.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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.6 next-20231107] [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-rng-driver-base-on-rep_xstore-instruction/20231107-152659 base: char-misc/char-misc-testing patch link: https://lore.kernel.org/r/20231107070900.496827-1-LeoLiu-oc%40zhaoxin.com patch subject: [PATCH] hwrng: add Zhaoxin rng driver base on rep_xstore instruction config: i386-randconfig-003-20231107 (https://download.01.org/0day-ci/archive/20231107/202311072324.klxSzojj-lkp@intel.com/config) compiler: gcc-12 (Debian 12.2.0-14) 12.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231107/202311072324.klxSzojj-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/202311072324.klxSzojj-lkp@intel.com/ All errors (new ones prefixed by >>): drivers/char/hw_random/zhaoxin-rng.c: Assembler messages: >> drivers/char/hw_random/zhaoxin-rng.c:42: Error: bad register name `%rcx' >> drivers/char/hw_random/zhaoxin-rng.c:43: Error: bad register name `%rdx' >> drivers/char/hw_random/zhaoxin-rng.c:44: Error: bad register name `%rdi' vim +42 drivers/char/hw_random/zhaoxin-rng.c 39 40 static inline int rep_xstore(size_t size, size_t factor, void *result) 41 { > 42 __asm__ __volatile__ ( > 43 "movq %0, %%rcx\n" > 44 "movq %1, %%rdx\n" 45 "movq %2, %%rdi\n" 46 ".byte 0xf3, 0x0f, 0xa7, 0xc0" 47 : 48 : "r"(size), "r"(factor), "r"(result) 49 : "%rcx", "%rdx", "%rdi", "memory"); 50 51 return 0; 52 } 53 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki