Received: by 2002:a05:7412:b101:b0:e2:908c:2ebd with SMTP id az1csp2732207rdb; Wed, 15 Nov 2023 09:01:23 -0800 (PST) X-Google-Smtp-Source: AGHT+IEyt0FgzyKYAosh7OARO5JePUpVOKaPW5YeZ5t69mKo24uMX7zfJEe9BbZGqPYeXQT+sTWV X-Received: by 2002:a05:6871:5a94:b0:1f5:6753:dd71 with SMTP id oo20-20020a0568715a9400b001f56753dd71mr822952oac.18.1700067682858; Wed, 15 Nov 2023 09:01:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700067682; cv=none; d=google.com; s=arc-20160816; b=VwhpZJdldAdQvzE7ql4hMM6Xk7ztr2FSxyM/Llk7rRdfzQBwDkWLcVn+7NKp6irF0k SBsMwcg4YdD+IiKwDAxAPKUE/qMzveNOvtZzYYBQmimXp+QX82Cb3QZQO8egwU18rMkO FBI/n3Ho5D5WekjjwQexMWsITRHs9q2GfrHHLVc2BdQ0CBKF4tHA4/gow8inkl5IkNWs DqPPe72TBTfp35dCVSfurK2oW8qxKVQbcflHsbQOOi1C6IRhQ4NT9v7oGXMD/2dDg3hB 9b1EoPBkXnQGPtKDG6m5om0xLnAd5GWTqLwcowZYotG2Un0BS0FFpeaFn15/17lU5+tO XK/w== 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=sG6mRJuW2OzT9uGBq6c7Iw7qIR9S6l57e4HYYqRuasU=; fh=vJ0phKvGTs0xo0RYiIBuY8CIWJvKFYPPysg7byJLfjg=; b=RRKlHj64WqnM+8EYdCmPwHUbDn66cj8Zz8gccW/i9HxUYHDp24dQvgIj2VI+IASqVg T7Lm/flbHeq5YBolF9aEqn2ct3qv43SMWCETW5q96hkTBojovzpNd8qLZXNXdL2Xk96H 8hOpxfNpuuZCOxiM3z6bU+GrpnnQFP003kwxAbakEZ7D/nutW9/8y8d9RzojnV6O3CiO eS6QDZs6VqsoXCVYkpssogPki7Ug+9zO9suS0nAtj0AeD+hNEC+pIRh7ItmiNhe566fG q09iTnVH+sRJEUxJBQDBTliHCNmHYN2DXsFL8RSl50iIIgPaGc5VvS4DUgzHJonwFK9G OHzQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=IyOFReVK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 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 agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id nf27-20020a056871331b00b001d6d9703ca7si3030322oac.212.2023.11.15.09.01.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Nov 2023 09:01:22 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=IyOFReVK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 6281580842CD; Wed, 15 Nov 2023 09:00:17 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232818AbjKOQ75 (ORCPT + 99 others); Wed, 15 Nov 2023 11:59:57 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54418 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232590AbjKOQ7s (ORCPT ); Wed, 15 Nov 2023 11:59:48 -0500 Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.8]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 805EC19D; Wed, 15 Nov 2023 08:59:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1700067578; x=1731603578; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=CKen/SAx4UEsgZztdlCyc7GUsdmkySPk3GnM9twjEo8=; b=IyOFReVKir3mTxXEnE1cw53jgXoVLglW4ggMottEXhILVwWbuVShJzZP kbzVa/NyyA8+IHI1g79LF5qE6ml966Wy0AX5Q+U0fdCutrxH+0VtbZZTV t/46ARqWysP8svn1DsbvQMnVA+w1o/NKr2WZqJ6JMVB/Jy/SPB7tWo+pw zvxjVpw1r+5qRd9Jq/Nsm79seUGksY21jgOGp+8AkLSgeHeNANra9CaoF iZtXEYe3wwrYF+7zs1n5AqBA7qO0fXiNqLzMU0MCkIL/rOZ8eYp5dfE6J ni3cSJtHizTzpKgOC4YDqGAo5vcTmrhJWXVdFZ/Qw9ASU3+8XbifIDTpT Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10895"; a="3992077" X-IronPort-AV: E=Sophos;i="6.03,305,1694761200"; d="scan'208";a="3992077" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmvoesa102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Nov 2023 08:59:37 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10895"; a="799901038" X-IronPort-AV: E=Sophos;i="6.03,305,1694761200"; d="scan'208";a="799901038" Received: from lkp-server02.sh.intel.com (HELO b8de5498638e) ([10.239.97.151]) by orsmga001.jf.intel.com with ESMTP; 15 Nov 2023 08:59:30 -0800 Received: from kbuild by b8de5498638e with local (Exim 4.96) (envelope-from ) id 1r3JEe-0000c0-0U; Wed, 15 Nov 2023 16:59:28 +0000 Date: Thu, 16 Nov 2023 00:58:36 +0800 From: kernel test robot To: LeoLiu-oc , herbert@gondor.apana.org.au, davem@davemloft.net, tglx@linutronix.de, mingo@redhat.com, bp@alien8.de, dave.hansen@linux.intel.com, x86@kernel.org, hpa@zytor.com, seanjc@google.com, kim.phillips@amd.com, pbonzini@redhat.com, babu.moger@amd.com, jiaxi.chen@linux.intel.com, jmattson@google.com, pawan.kumar.gupta@linux.intel.com, linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org Cc: oe-kbuild-all@lists.linux.dev, CobeChen@zhaoxin.com, TonyWWang@zhaoxin.com, YunShen@zhaoxin.com, Leoliu@zhaoxin.com, LeoLiuoc Subject: Re: [PATCH v2] crypto: x86/sm2 -add Zhaoxin SM2 algorithm implementation Message-ID: <202311160022.csCILGmA-lkp@intel.com> References: <20231115071724.575356-1-LeoLiu-oc@zhaoxin.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231115071724.575356-1-LeoLiu-oc@zhaoxin.com> X-Spam-Status: No, score=-1.0 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Wed, 15 Nov 2023 09:00:17 -0800 (PST) Hi LeoLiu-oc, kernel test robot noticed the following build errors: [auto build test ERROR on herbert-cryptodev-2.6/master] [also build test ERROR on herbert-crypto-2.6/master tip/x86/core linus/master v6.7-rc1 next-20231115] [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/crypto-x86-sm2-add-Zhaoxin-SM2-algorithm-implementation/20231115-163848 base: https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git master patch link: https://lore.kernel.org/r/20231115071724.575356-1-LeoLiu-oc%40zhaoxin.com patch subject: [PATCH v2] crypto: x86/sm2 -add Zhaoxin SM2 algorithm implementation config: i386-allmodconfig (https://download.01.org/0day-ci/archive/20231116/202311160022.csCILGmA-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/20231116/202311160022.csCILGmA-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/202311160022.csCILGmA-lkp@intel.com/ All errors (new ones prefixed by >>): In function 'zhaoxin_gmi_sm2_verify', inlined from '_zhaoxin_sm2_verify' at arch/x86/crypto/sm2-zhaoxin-gmi_glue.c:56:9, inlined from 'zhaoxin_sm2_verify' at arch/x86/crypto/sm2-zhaoxin-gmi_glue.c:79:8: >> arch/x86/crypto/sm2-zhaoxin-gmi_glue.c:43:9: error: inconsistent operand constraints in an 'asm' 43 | asm(".byte 0xf2, 0x0f, 0xa6, 0xc0" | ^~~ vim +/asm +43 arch/x86/crypto/sm2-zhaoxin-gmi_glue.c 35 36 /* Zhaoxin sm2 verify function */ 37 static inline int zhaoxin_gmi_sm2_verify(unsigned char *key, unsigned char *hash, unsigned char *sig, 38 unsigned char *scratch) 39 { 40 uint64_t cword, f_ok; 41 cword = (uint64_t)0x8; 42 > 43 asm(".byte 0xf2, 0x0f, 0xa6, 0xc0" 44 :"=c"(f_ok), "+a"(hash), "+b"(key), "+d"(cword), "+S"(scratch), "+D"(sig)); 45 46 return f_ok; 47 } 48 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki