Received: by 2002:a05:6358:e9c4:b0:b2:91dc:71ab with SMTP id hc4csp4515838rwb; Mon, 8 Aug 2022 02:17:29 -0700 (PDT) X-Google-Smtp-Source: AA6agR48OfWkOl6NAgKkzHIL4xGU32T9llaCGsoqYJDmXoaerKOTV2ok5KT/hR/WZ+Us0j5To+S4 X-Received: by 2002:a17:907:20d1:b0:731:5169:106b with SMTP id qq17-20020a17090720d100b007315169106bmr4102324ejb.667.1659950249136; Mon, 08 Aug 2022 02:17:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659950249; cv=none; d=google.com; s=arc-20160816; b=BlUE9yzSwPKWcJ7fQVGQ/pnizf6+EBtwluYQEDfKhAtAKaRqN3i6QSWPn5cfTXeau4 aKvV4KNE7hxkV6nFyjelA8lyqSYwk63rxuTrC+92TtovQ3fqJMoUI+MpbDA+Z6hFNCGV dTZ7CIb4QW648Asb5ymXPtUihybxLgwwPArmJkdL3+Xs6clVPYUbcz6ElOzFE/nzbbb7 VorsfHQLCu93GWGEFWLqSduK55M81IgHyxstPv4xKMFhYUjMVz+8MFVd2mbLi+SN7bCh JmU7rzYN1DsW7PTgYVBRqsKxEO4LxkUju6Q52tpeMR11hkKdcPvBGo6xzAq6sgoRkKbG 3Gkg== 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=/zicxHAZZhohTIdReo57CUuxn6bpIVJXNnZLcvXS414=; b=VwBrockCNhdLY/dKGvm+yxk7c//3H2JwFPEnsc/4Q0FG5nhHLGIlJVGqZpGiHVrOhD cD1oR+Ya4+RT0yPjsktw0m/iNBD4UN6XI6rz8t/6PMLYunMEGCG+6E9+8sF+Ghjjg0UW zgHe/GbsxdQ0NbjCkOF4+FLF13BRYZ1YGB6cgBusNXdNZDSDeFZACZsghUh83tAupYeo eYgrel9+vlMvHZ7YuYN+ge4opYGdUd0hQxq7lhgGi4/gzxxEJj/taJsPzu4w2UUYQP0J jVZJ+2j+T5YLVxs2LFjzJIsfs9PO5ocKd756Z+jg206MG2xMTIaxL6pfigGgYtq3B4Ig eUMw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=Rl+jl+rg; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ga5-20020a1709070c0500b00730ccea7c48si11991697ejc.985.2022.08.08.02.17.03; Mon, 08 Aug 2022 02:17:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-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=Rl+jl+rg; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-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 S235830AbiHHJF1 (ORCPT + 99 others); Mon, 8 Aug 2022 05:05:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46136 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233880AbiHHJF0 (ORCPT ); Mon, 8 Aug 2022 05:05:26 -0400 Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2BE3C5F66; Mon, 8 Aug 2022 02:05:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1659949525; x=1691485525; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=3RSyZs8bPpTGb7akeM8WJGQC1JyjSH4WIuABkHEYcYc=; b=Rl+jl+rgkyBlV4kKU56+r0XkfxpcIKrnWjx2rd3nfr6HgM7ufLBQzMlm 4elYn2mhulbFAoMp3pEICVcMLe31waIoZIj7dTEu3PRVWuRreIlExAk8v ppe3+Ymcykbl4e6oYposi8vMiem8vZrrld9lcusdG94NJ205IVp4ptY+2 20ZI81CYqqMzJn3sRlNkVmhmHe6N4aVBlq1aHb5vcVGt+JfjgQnsZ4pE6 zWYupnzATXftZ1vOV31ldolttlD/gHzjMwzVuqZMVP2f8EpSDLdKHFFuu CuVcjUkr1Bq0FZArgi6vTJGQ10TxvlqJKhRKaFFq04foXQ28yHfThvlE+ Q==; X-IronPort-AV: E=McAfee;i="6400,9594,10432"; a="354542111" X-IronPort-AV: E=Sophos;i="5.93,221,1654585200"; d="scan'208";a="354542111" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Aug 2022 02:05:24 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.93,221,1654585200"; d="scan'208";a="663858497" Received: from lkp-server01.sh.intel.com (HELO e0eace57cfef) ([10.239.97.150]) by fmsmga008.fm.intel.com with ESMTP; 08 Aug 2022 02:05:21 -0700 Received: from kbuild by e0eace57cfef with local (Exim 4.96) (envelope-from ) id 1oKyhM-000MAw-0C; Mon, 08 Aug 2022 09:05:20 +0000 Date: Mon, 8 Aug 2022 17:04:40 +0800 From: kernel test robot To: Lu Baolu , iommu@lists.linux.dev Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org, Joerg Roedel , Will Deacon , Robin Murphy , Kevin Tian , Jerry Snitselaar , Wen Jin , linux-kernel@vger.kernel.org, Lu Baolu , stable@vger.kernel.org Subject: Re: [PATCH 1/1] iommu/vt-d: Fix kdump kernels boot failure with scalable mode Message-ID: <202208081636.6sNc86bT-lkp@intel.com> References: <20220808034612.1691470-1-baolu.lu@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220808034612.1691470-1-baolu.lu@linux.intel.com> X-Spam-Status: No, score=-5.0 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-kernel@vger.kernel.org Hi Lu, I love your patch! Yet something to improve: [auto build test ERROR on linus/master] [also build test ERROR on next-20220808] [cannot apply to joro-iommu/next v5.19] [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/Lu-Baolu/iommu-vt-d-Fix-kdump-kernels-boot-failure-with-scalable-mode/20220808-115156 base: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 4e23eeebb2e57f5a28b36221aa776b5a1122dde5 config: x86_64-randconfig-a011-20220808 (https://download.01.org/0day-ci/archive/20220808/202208081636.6sNc86bT-lkp@intel.com/config) compiler: clang version 16.0.0 (https://github.com/llvm/llvm-project 5f1c7e2cc5a3c07cbc2412e851a7283c1841f520) reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https://github.com/intel-lab-lkp/linux/commit/335018299049ac5dc13ff12d320b5952bed7e8f8 git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Lu-Baolu/iommu-vt-d-Fix-kdump-kernels-boot-failure-with-scalable-mode/20220808-115156 git checkout 335018299049ac5dc13ff12d320b5952bed7e8f8 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot All errors (new ones prefixed by >>): In file included from drivers/iommu/intel/dmar.c:33: >> drivers/iommu/intel/iommu.h:705:14: error: no member named 'copied_tables' in 'struct intel_iommu' if (!iommu->copied_tables) ~~~~~ ^ drivers/iommu/intel/iommu.h:708:51: error: no member named 'copied_tables' in 'struct intel_iommu' return test_bit(((long)bus << 8) | devfn, iommu->copied_tables); ~~~~~ ^ include/linux/bitops.h:61:50: note: expanded from macro 'test_bit' #define test_bit(nr, addr) bitop(_test_bit, nr, addr) ^~~~ include/linux/bitops.h:50:37: note: expanded from macro 'bitop' __builtin_constant_p((uintptr_t)(addr) != (uintptr_t)NULL) && \ ^~~~ In file included from drivers/iommu/intel/dmar.c:33: drivers/iommu/intel/iommu.h:708:51: error: no member named 'copied_tables' in 'struct intel_iommu' return test_bit(((long)bus << 8) | devfn, iommu->copied_tables); ~~~~~ ^ include/linux/bitops.h:61:50: note: expanded from macro 'test_bit' #define test_bit(nr, addr) bitop(_test_bit, nr, addr) ^~~~ include/linux/bitops.h:51:16: note: expanded from macro 'bitop' (uintptr_t)(addr) != (uintptr_t)NULL && \ ^~~~ In file included from drivers/iommu/intel/dmar.c:33: drivers/iommu/intel/iommu.h:708:51: error: no member named 'copied_tables' in 'struct intel_iommu' return test_bit(((long)bus << 8) | devfn, iommu->copied_tables); ~~~~~ ^ include/linux/bitops.h:61:50: note: expanded from macro 'test_bit' #define test_bit(nr, addr) bitop(_test_bit, nr, addr) ^~~~ include/linux/bitops.h:52:50: note: expanded from macro 'bitop' __builtin_constant_p(*(const unsigned long *)(addr))) ? \ ^~~~ In file included from drivers/iommu/intel/dmar.c:33: drivers/iommu/intel/iommu.h:708:51: error: no member named 'copied_tables' in 'struct intel_iommu' return test_bit(((long)bus << 8) | devfn, iommu->copied_tables); ~~~~~ ^ include/linux/bitops.h:61:50: note: expanded from macro 'test_bit' #define test_bit(nr, addr) bitop(_test_bit, nr, addr) ^~~~ include/linux/bitops.h:53:17: note: expanded from macro 'bitop' const##op(nr, addr) : op(nr, addr)) ^~~~ In file included from drivers/iommu/intel/dmar.c:33: drivers/iommu/intel/iommu.h:708:51: error: no member named 'copied_tables' in 'struct intel_iommu' return test_bit(((long)bus << 8) | devfn, iommu->copied_tables); ~~~~~ ^ include/linux/bitops.h:61:50: note: expanded from macro 'test_bit' #define test_bit(nr, addr) bitop(_test_bit, nr, addr) ^~~~ include/linux/bitops.h:53:32: note: expanded from macro 'bitop' const##op(nr, addr) : op(nr, addr)) ^~~~ 6 errors generated. vim +705 drivers/iommu/intel/iommu.h 702 703 static inline bool context_copied(struct intel_iommu *iommu, u8 bus, u8 devfn) 704 { > 705 if (!iommu->copied_tables) 706 return false; 707 708 return test_bit(((long)bus << 8) | devfn, iommu->copied_tables); 709 } 710 -- 0-DAY CI Kernel Test Service https://01.org/lkp