All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Alex Deucher <alexander.deucher@amd.com>
Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org,
	Linux Memory Management List <linux-mm@kvack.org>
Subject: [linux-next:master 5239/6929] drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_device.c:98:37: error: unused variable 'raven_device_info'
Date: Fri, 8 Oct 2021 19:15:23 +0800	[thread overview]
Message-ID: <202110081920.14PRUCt0-lkp@intel.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 5197 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   683f29b781aeaab6bf302eeb2ef08a5e5f9d8a27
commit: c868d58442ebff350bbb25e38fe4f62c0682129f [5239/6929] drm/amdkfd: convert kfd_device.c to use GC IP version
config: x86_64-buildonly-randconfig-r005-20211008 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project b1a45c62f03ecbeb4544b0c65a01ee4586235a61)
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://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=c868d58442ebff350bbb25e38fe4f62c0682129f
        git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
        git fetch --no-tags linux-next master
        git checkout c868d58442ebff350bbb25e38fe4f62c0682129f
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 ARCH=x86_64 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

>> drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_device.c:98:37: error: unused variable 'raven_device_info' [-Werror,-Wunused-const-variable]
   static const struct kfd_device_info raven_device_info = {
                                       ^
>> drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_device.c:117:37: error: unused variable 'hawaii_device_info' [-Werror,-Wunused-const-variable]
   static const struct kfd_device_info hawaii_device_info = {
                                       ^
   2 errors generated.


vim +/raven_device_info +98 drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_device.c

4d663df6588709 Yong Zhao      2018-07-13   97  
4d663df6588709 Yong Zhao      2018-07-13  @98  static const struct kfd_device_info raven_device_info = {
4d663df6588709 Yong Zhao      2018-07-13   99  	.asic_family = CHIP_RAVEN,
c181159a5b1e1e Yong Zhao      2019-08-01  100  	.asic_name = "raven",
9d6fa9c7ff930d Graham Sider   2021-07-12  101  	.gfx_target_version = 90002,
4d663df6588709 Yong Zhao      2018-07-13  102  	.max_pasid_bits = 16,
4d663df6588709 Yong Zhao      2018-07-13  103  	.max_no_of_hqd  = 24,
4d663df6588709 Yong Zhao      2018-07-13  104  	.doorbell_size  = 8,
4d663df6588709 Yong Zhao      2018-07-13  105  	.ih_ring_entry_size = 8 * sizeof(uint32_t),
4d663df6588709 Yong Zhao      2018-07-13  106  	.event_interrupt_class = &event_interrupt_class_v9,
4d663df6588709 Yong Zhao      2018-07-13  107  	.num_of_watch_points = 4,
4d663df6588709 Yong Zhao      2018-07-13  108  	.mqd_size_aligned = MQD_SIZE_ALIGNED,
4d663df6588709 Yong Zhao      2018-07-13  109  	.supports_cwsr = true,
4d663df6588709 Yong Zhao      2018-07-13  110  	.needs_iommu_device = true,
4d663df6588709 Yong Zhao      2018-07-13  111  	.needs_pci_atomics = true,
4d663df6588709 Yong Zhao      2018-07-13  112  	.num_sdma_engines = 1,
1b4670f6983156 Oak Zeng       2019-02-07  113  	.num_xgmi_sdma_engines = 0,
d50941892ed9d1 Shaoyun Liu    2018-02-09  114  	.num_sdma_queues_per_engine = 2,
4d663df6588709 Yong Zhao      2018-07-13  115  };
4a488a7ad71401 Oded Gabbay    2014-07-16  116  
a3084e6c522f94 Felix Kuehling 2018-01-04 @117  static const struct kfd_device_info hawaii_device_info = {
a3084e6c522f94 Felix Kuehling 2018-01-04  118  	.asic_family = CHIP_HAWAII,
c181159a5b1e1e Yong Zhao      2019-08-01  119  	.asic_name = "hawaii",
9d6fa9c7ff930d Graham Sider   2021-07-12  120  	.gfx_target_version = 70001,
a3084e6c522f94 Felix Kuehling 2018-01-04  121  	.max_pasid_bits = 16,
a3084e6c522f94 Felix Kuehling 2018-01-04  122  	/* max num of queues for KV.TODO should be a dynamic value */
a3084e6c522f94 Felix Kuehling 2018-01-04  123  	.max_no_of_hqd	= 24,
ada2b29c4a79ef Felix Kuehling 2018-04-10  124  	.doorbell_size  = 4,
a3084e6c522f94 Felix Kuehling 2018-01-04  125  	.ih_ring_entry_size = 4 * sizeof(uint32_t),
a3084e6c522f94 Felix Kuehling 2018-01-04  126  	.event_interrupt_class = &event_interrupt_class_cik,
a3084e6c522f94 Felix Kuehling 2018-01-04  127  	.num_of_watch_points = 4,
a3084e6c522f94 Felix Kuehling 2018-01-04  128  	.mqd_size_aligned = MQD_SIZE_ALIGNED,
a3084e6c522f94 Felix Kuehling 2018-01-04  129  	.supports_cwsr = false,
64d1c3a43a6fb5 Felix Kuehling 2017-12-08  130  	.needs_iommu_device = false,
a3084e6c522f94 Felix Kuehling 2018-01-04  131  	.needs_pci_atomics = false,
98bb92222eef6a Yong Zhao      2018-07-13  132  	.num_sdma_engines = 2,
1b4670f6983156 Oak Zeng       2019-02-07  133  	.num_xgmi_sdma_engines = 0,
d50941892ed9d1 Shaoyun Liu    2018-02-09  134  	.num_sdma_queues_per_engine = 2,
a3084e6c522f94 Felix Kuehling 2018-01-04  135  };
a3084e6c522f94 Felix Kuehling 2018-01-04  136  

:::::: The code at line 98 was first introduced by commit
:::::: 4d663df6588709e8763b976310117aa0f9825bc6 drm/amdkfd: Enable Raven for KFD

:::::: TO: Yong Zhao <Yong.Zhao@amd.com>
:::::: CC: Oded Gabbay <oded.gabbay@gmail.com>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 31697 bytes --]

WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [linux-next:master 5239/6929] drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_device.c:98:37: error: unused variable 'raven_device_info'
Date: Fri, 08 Oct 2021 19:15:23 +0800	[thread overview]
Message-ID: <202110081920.14PRUCt0-lkp@intel.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 5280 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   683f29b781aeaab6bf302eeb2ef08a5e5f9d8a27
commit: c868d58442ebff350bbb25e38fe4f62c0682129f [5239/6929] drm/amdkfd: convert kfd_device.c to use GC IP version
config: x86_64-buildonly-randconfig-r005-20211008 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project b1a45c62f03ecbeb4544b0c65a01ee4586235a61)
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://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=c868d58442ebff350bbb25e38fe4f62c0682129f
        git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
        git fetch --no-tags linux-next master
        git checkout c868d58442ebff350bbb25e38fe4f62c0682129f
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 ARCH=x86_64 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

>> drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_device.c:98:37: error: unused variable 'raven_device_info' [-Werror,-Wunused-const-variable]
   static const struct kfd_device_info raven_device_info = {
                                       ^
>> drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_device.c:117:37: error: unused variable 'hawaii_device_info' [-Werror,-Wunused-const-variable]
   static const struct kfd_device_info hawaii_device_info = {
                                       ^
   2 errors generated.


vim +/raven_device_info +98 drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_device.c

4d663df6588709 Yong Zhao      2018-07-13   97  
4d663df6588709 Yong Zhao      2018-07-13  @98  static const struct kfd_device_info raven_device_info = {
4d663df6588709 Yong Zhao      2018-07-13   99  	.asic_family = CHIP_RAVEN,
c181159a5b1e1e Yong Zhao      2019-08-01  100  	.asic_name = "raven",
9d6fa9c7ff930d Graham Sider   2021-07-12  101  	.gfx_target_version = 90002,
4d663df6588709 Yong Zhao      2018-07-13  102  	.max_pasid_bits = 16,
4d663df6588709 Yong Zhao      2018-07-13  103  	.max_no_of_hqd  = 24,
4d663df6588709 Yong Zhao      2018-07-13  104  	.doorbell_size  = 8,
4d663df6588709 Yong Zhao      2018-07-13  105  	.ih_ring_entry_size = 8 * sizeof(uint32_t),
4d663df6588709 Yong Zhao      2018-07-13  106  	.event_interrupt_class = &event_interrupt_class_v9,
4d663df6588709 Yong Zhao      2018-07-13  107  	.num_of_watch_points = 4,
4d663df6588709 Yong Zhao      2018-07-13  108  	.mqd_size_aligned = MQD_SIZE_ALIGNED,
4d663df6588709 Yong Zhao      2018-07-13  109  	.supports_cwsr = true,
4d663df6588709 Yong Zhao      2018-07-13  110  	.needs_iommu_device = true,
4d663df6588709 Yong Zhao      2018-07-13  111  	.needs_pci_atomics = true,
4d663df6588709 Yong Zhao      2018-07-13  112  	.num_sdma_engines = 1,
1b4670f6983156 Oak Zeng       2019-02-07  113  	.num_xgmi_sdma_engines = 0,
d50941892ed9d1 Shaoyun Liu    2018-02-09  114  	.num_sdma_queues_per_engine = 2,
4d663df6588709 Yong Zhao      2018-07-13  115  };
4a488a7ad71401 Oded Gabbay    2014-07-16  116  
a3084e6c522f94 Felix Kuehling 2018-01-04 @117  static const struct kfd_device_info hawaii_device_info = {
a3084e6c522f94 Felix Kuehling 2018-01-04  118  	.asic_family = CHIP_HAWAII,
c181159a5b1e1e Yong Zhao      2019-08-01  119  	.asic_name = "hawaii",
9d6fa9c7ff930d Graham Sider   2021-07-12  120  	.gfx_target_version = 70001,
a3084e6c522f94 Felix Kuehling 2018-01-04  121  	.max_pasid_bits = 16,
a3084e6c522f94 Felix Kuehling 2018-01-04  122  	/* max num of queues for KV.TODO should be a dynamic value */
a3084e6c522f94 Felix Kuehling 2018-01-04  123  	.max_no_of_hqd	= 24,
ada2b29c4a79ef Felix Kuehling 2018-04-10  124  	.doorbell_size  = 4,
a3084e6c522f94 Felix Kuehling 2018-01-04  125  	.ih_ring_entry_size = 4 * sizeof(uint32_t),
a3084e6c522f94 Felix Kuehling 2018-01-04  126  	.event_interrupt_class = &event_interrupt_class_cik,
a3084e6c522f94 Felix Kuehling 2018-01-04  127  	.num_of_watch_points = 4,
a3084e6c522f94 Felix Kuehling 2018-01-04  128  	.mqd_size_aligned = MQD_SIZE_ALIGNED,
a3084e6c522f94 Felix Kuehling 2018-01-04  129  	.supports_cwsr = false,
64d1c3a43a6fb5 Felix Kuehling 2017-12-08  130  	.needs_iommu_device = false,
a3084e6c522f94 Felix Kuehling 2018-01-04  131  	.needs_pci_atomics = false,
98bb92222eef6a Yong Zhao      2018-07-13  132  	.num_sdma_engines = 2,
1b4670f6983156 Oak Zeng       2019-02-07  133  	.num_xgmi_sdma_engines = 0,
d50941892ed9d1 Shaoyun Liu    2018-02-09  134  	.num_sdma_queues_per_engine = 2,
a3084e6c522f94 Felix Kuehling 2018-01-04  135  };
a3084e6c522f94 Felix Kuehling 2018-01-04  136  

:::::: The code at line 98 was first introduced by commit
:::::: 4d663df6588709e8763b976310117aa0f9825bc6 drm/amdkfd: Enable Raven for KFD

:::::: TO: Yong Zhao <Yong.Zhao@amd.com>
:::::: CC: Oded Gabbay <oded.gabbay@gmail.com>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 31697 bytes --]

             reply	other threads:[~2021-10-08 11:15 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-08 11:15 kernel test robot [this message]
2021-10-08 11:15 ` [linux-next:master 5239/6929] drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_device.c:98:37: error: unused variable 'raven_device_info' kernel test robot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202110081920.14PRUCt0-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=alexander.deucher@amd.com \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-mm@kvack.org \
    --cc=llvm@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.