Received: by 2002:ac8:5349:0:b0:427:7d78:cd45 with SMTP id d9csp825086qto; Wed, 20 Dec 2023 05:10:06 -0800 (PST) X-Google-Smtp-Source: AGHT+IG6l8ODZhOU4WqZq4TFr6be3Mmek1fvA6OAQ0/7Py4mOlk87qn29gxe7xAvXqRRuycz5Jyf X-Received: by 2002:a05:620a:4311:b0:780:f0a7:764f with SMTP id u17-20020a05620a431100b00780f0a7764fmr4566104qko.53.1703077806124; Wed, 20 Dec 2023 05:10:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703077806; cv=none; d=google.com; s=arc-20160816; b=sUu1QFza/F3dKyee3dSbRY1u44j3l2Gt3Agf7PmqPmAVjNf67s3Ex5+EP5wwZOFuPj aNFjCwRNbHl0Qu1yXXBaOYsuR117jJypc1cX82ieEdqLGJSLwi/h/aKlclv/yXBgMZJl hQbtIeeKA28xFI381880KjnBBz39nuHMSrfs0tWyyoZ2NwRPmY+4to60w5wIy4S+W/vh CLQ9vk19FvZjXG9WheTez7pGW4GXx/NMF6rOA+5VahBftpl2rf24PETBpAw19oCjIpZu cDr41LPBVNTEtQZBoDndL8RiBQG/TOVplSp3yP2fafPNZ6I6Es/7W04Lesmu3PSoqyu0 fWAg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=6g2XsxzSwu0wqSRqDbI7qT11ygNKWpH+ReYSeklxLrE=; fh=5rB9fItv5mfGw3NjXtKiQkQQXIhpDwnLI7MbZPM2lGE=; b=SjQKv8Vj/JGVnjsyxPsv0sRPO52YdEc3UNNvs6EQd1oqwF/dB2T4lgqmuYdHWql/hP 63D6o1zP2JDc3uHAsSXga2jgdPRGh9wWn5NM7k0PrIoWhv/8cyLhkYGvv9E5s9JLJkbv Ri4Ls8SP2P1MvboqG9mIuU5xwSo4MQs8VPPxem7UBr+7rE8gMPlVxOeTHKv0Sujq6VKY XU9xnwdmpXN4rF2bHrWfFNb92rRCc68TMW7tk7DJUU80F5C0ax/l9OkAoJG/B5EGanCV TtN2fp5/wigpz9xxX4eqBDs/5n0z9dv1s7b6PNjI8cn3OMctvOQ+elL242ezZ/bexwFH a2YA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=ROEhlwb5; spf=pass (google.com: domain of linux-kernel+bounces-6939-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-6939-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id o13-20020ae9f50d000000b0077efdc1e653si27497032qkg.146.2023.12.20.05.10.06 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Dec 2023 05:10:06 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-6939-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=ROEhlwb5; spf=pass (google.com: domain of linux-kernel+bounces-6939-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-6939-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id F2D891C20E96 for ; Wed, 20 Dec 2023 13:10:05 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6D5772576F; Wed, 20 Dec 2023 13:09:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="ROEhlwb5" X-Original-To: linux-kernel@vger.kernel.org Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.151]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2A98925541; Wed, 20 Dec 2023 13:09:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1703077793; x=1734613793; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=YmJJ/ywwMFUEe1HB9Rdue5kNC/FoUdtA01gR+RQluFc=; b=ROEhlwb5eTuAZjxH4rdvGPHnGn75LWdanAjiLgKyFJP6IJdOklo4jYqQ egBsDeqNySGktz7k+qGsFVL5h+ALcQMrVU9sgAJDcRdOmXGV8fjkuRSr2 2M4D+2h0gpOmu0HFa8XI9k1vxAKi9WppCmcQZoccVoqrCYWu2X2ZnUh3t 6JMpDY1u4xFtPk78FfQ3/R39I36rjQd5H8hSmS3YMd1Sw7pUA5XqOyoek 9Yte8eyU7/4GWuxRF0C2RbcR9DHaf/pTGxtVuyPY0+S9v5UOFJr6MuMt0 j1FMQ+WjE+qilYtX58V9d+OuHuYjHo0D1755LV9a0PSxA1ZRsva+pILqd A==; X-IronPort-AV: E=McAfee;i="6600,9927,10929"; a="375966912" X-IronPort-AV: E=Sophos;i="6.04,291,1695711600"; d="scan'208";a="375966912" Received: from fmviesa002.fm.intel.com ([10.60.135.142]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Dec 2023 05:09:52 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.04,291,1695711600"; d="scan'208";a="10751570" Received: from lkp-server02.sh.intel.com (HELO b07ab15da5fe) ([10.239.97.151]) by fmviesa002.fm.intel.com with ESMTP; 20 Dec 2023 05:09:45 -0800 Received: from kbuild by b07ab15da5fe with local (Exim 4.96) (envelope-from ) id 1rFwKV-0006tP-0m; Wed, 20 Dec 2023 13:09:43 +0000 Date: Wed, 20 Dec 2023 21:09:00 +0800 From: kernel test robot To: Alexey Makhalov , linux-kernel@vger.kernel.org, virtualization@lists.linux.dev, bp@alien8.de, hpa@zytor.com, dave.hansen@linux.intel.com, mingo@redhat.com, tglx@linutronix.de Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, dmitry.torokhov@gmail.com, tzimmermann@suse.de, pv-drivers@vmware.com, netdev@vger.kernel.org, richardcochran@gmail.com, x86@kernel.org, dri-devel@lists.freedesktop.org, horms@kernel.org, akaher@vmware.com, timothym@vmware.com, linux-graphics-maintainer@vmware.com, mripard@kernel.org, jsipek@vmware.com, linux-input@vger.kernel.org, namit@vmware.com, kirill.shutemov@linux.intel.com, airlied@gmail.com, zackr@vmware.com Subject: Re: [PATCH v3 6/6] x86/vmware: Add TDX hypercall support Message-ID: <202312202020.5O1T2aSk-lkp@intel.com> References: <20231219215751.9445-7-alexey.makhalov@broadcom.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231219215751.9445-7-alexey.makhalov@broadcom.com> Hi Alexey, kernel test robot noticed the following build warnings: [auto build test WARNING on drm-misc/drm-misc-next] [also build test WARNING on dtor-input/next dtor-input/for-linus linus/master v6.7-rc6 next-20231220] [cannot apply to tip/x86/vmware] [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/Alexey-Makhalov/x86-vmware-Move-common-macros-to-vmware-h/20231220-060028 base: git://anongit.freedesktop.org/drm/drm-misc drm-misc-next patch link: https://lore.kernel.org/r/20231219215751.9445-7-alexey.makhalov%40broadcom.com patch subject: [PATCH v3 6/6] x86/vmware: Add TDX hypercall support config: x86_64-allyesconfig (https://download.01.org/0day-ci/archive/20231220/202312202020.5O1T2aSk-lkp@intel.com/config) compiler: clang version 16.0.4 (https://github.com/llvm/llvm-project.git ae42196bc493ffe877a7e3dff8be32035dea4d07) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231220/202312202020.5O1T2aSk-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/202312202020.5O1T2aSk-lkp@intel.com/ All warnings (new ones prefixed by >>): >> arch/x86/kernel/cpu/vmware.c:439:40: warning: format specifies type 'unsigned int' but the argument has type 'unsigned long' [-Wformat] pr_warn("Out of range command %x\n", cmd); ~~ ^~~ %lx include/linux/printk.h:508:37: note: expanded from macro 'pr_warn' printk(KERN_WARNING pr_fmt(fmt), ##__VA_ARGS__) ~~~ ^~~~~~~~~~~ include/linux/printk.h:455:60: note: expanded from macro 'printk' #define printk(fmt, ...) printk_index_wrap(_printk, fmt, ##__VA_ARGS__) ~~~ ^~~~~~~~~~~ include/linux/printk.h:427:19: note: expanded from macro 'printk_index_wrap' _p_func(_fmt, ##__VA_ARGS__); \ ~~~~ ^~~~~~~~~~~ 1 warning generated. vim +439 arch/x86/kernel/cpu/vmware.c 430 431 #ifdef CONFIG_INTEL_TDX_GUEST 432 unsigned long vmware_tdx_hypercall(unsigned long cmd, 433 struct tdx_module_args *args) 434 { 435 if (!hypervisor_is_type(X86_HYPER_VMWARE)) 436 return 0; 437 438 if (cmd & ~VMWARE_CMD_MASK) { > 439 pr_warn("Out of range command %x\n", cmd); 440 return 0; 441 } 442 443 args->r10 = VMWARE_TDX_VENDOR_LEAF; 444 args->r11 = VMWARE_TDX_HCALL_FUNC; 445 args->r12 = VMWARE_HYPERVISOR_MAGIC; 446 args->r13 = cmd; 447 448 __tdx_hypercall(args); 449 450 return args->r12; 451 } 452 EXPORT_SYMBOL_GPL(vmware_tdx_hypercall); 453 #endif 454 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki