All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: Re: [PATCH v3] KVM: x86: only allocate gfn_track when necessary
Date: Wed, 06 Oct 2021 13:36:54 +0800	[thread overview]
Message-ID: <202110061350.YF8pcmCl-lkp@intel.com> (raw)
In-Reply-To: <20211006035617.1400875-1-stevensd@google.com>

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

Hi David,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on v5.15-rc3]
[also build test ERROR on next-20210922]
[cannot apply to kvm/queue v5.15-rc4]
[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]

url:    https://github.com/0day-ci/linux/commits/David-Stevens/KVM-x86-only-allocate-gfn_track-when-necessary/20211006-120107
base:    5816b3e6577eaa676ceb00a848f0fd65fe2adc29
config: i386-randconfig-r026-20211004 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
        # https://github.com/0day-ci/linux/commit/cbf42e7d74e9fca9a7f2987a0df2f015a9050c1b
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review David-Stevens/KVM-x86-only-allocate-gfn_track-when-necessary/20211006-120107
        git checkout cbf42e7d74e9fca9a7f2987a0df2f015a9050c1b
        # save the attached .config to linux build tree
        mkdir build_dir
        make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash

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 >>):

   In file included from arch/x86/kvm/x86.c:22:
   arch/x86/kvm/mmu.h: In function 'kvm_memslots_have_rmaps':
>> arch/x86/kvm/mmu.h:246:19: error: 'struct kvm_arch' has no member named 'tdp_mmu_enabled'
     246 |  return !kvm->arch.tdp_mmu_enabled || kvm_shadow_root_alloced(kvm);
         |                   ^
   In file included from arch/x86/kvm/x86.c:22:
   arch/x86/kvm/mmu.h:247:1: error: control reaches end of non-void function [-Werror=return-type]
     247 | }
         | ^
   cc1: some warnings being treated as errors
--
   In file included from arch/x86/kvm/emulate.c:30:
   arch/x86/kvm/mmu.h: In function 'kvm_memslots_have_rmaps':
>> arch/x86/kvm/mmu.h:246:19: error: 'struct kvm_arch' has no member named 'tdp_mmu_enabled'
     246 |  return !kvm->arch.tdp_mmu_enabled || kvm_shadow_root_alloced(kvm);
         |                   ^


vim +246 arch/x86/kvm/mmu.h

   243	
   244	static inline bool kvm_memslots_have_rmaps(struct kvm *kvm)
   245	{
 > 246		return !kvm->arch.tdp_mmu_enabled || kvm_shadow_root_alloced(kvm);
   247	}
   248	

---
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: 32990 bytes --]

  reply	other threads:[~2021-10-06  5:36 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-06  3:56 [PATCH v3] KVM: x86: only allocate gfn_track when necessary David Stevens
2021-10-06  5:36 ` kernel test robot [this message]
2021-10-15 17:43 ` Paolo Bonzini

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=202110061350.YF8pcmCl-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.org \
    /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.