mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: Lan Tianyu <tianyu.lan@intel.com>
Cc: kbuild-all@01.org, gleb@kernel.org, pbonzini@redhat.com,
	tglx@linutronix.de, mingo@redhat.com, hpa@zytor.com,
	x86@kernel.org, Lan Tianyu <tianyu.lan@intel.com>,
	kvm@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] KVM: Replace the number of page entries per page with PT64_ENT_PER_PAGE macro
Date: Tue, 1 Mar 2016 23:22:37 +0800	[thread overview]
Message-ID: <201603012351.ifGYISai%fengguang.wu@intel.com> (raw)
In-Reply-To: <1456843758-2261-1-git-send-email-tianyu.lan@intel.com>

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

Hi Lan,

[auto build test ERROR on kvm/linux-next]
[also build test ERROR on v4.5-rc6 next-20160301]
[if your patch is applied to the wrong git tree, please drop us a note to help improving the system]

url:    https://github.com/0day-ci/linux/commits/Lan-Tianyu/KVM-Replace-the-number-of-page-entries-per-page-with-PT64_ENT_PER_PAGE-macro/20160301-230910
base:   https://git.kernel.org/pub/scm/virt/kvm/kvm.git linux-next
config: x86_64-randconfig-x013-201609 (attached as .config)
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All error/warnings (new ones prefixed by >>):

   In file included from include/linux/list.h:8:0,
                    from include/linux/preempt.h:10,
                    from include/linux/hardirq.h:4,
                    from include/linux/kvm_host.h:10,
                    from arch/x86/kvm/../../../virt/kvm/kvm_main.c:21:
>> arch/x86/include/asm/kvm_host.h:268:38: error: 'PT64_ENT_PER_PAGE' undeclared here (not in a function)
     DECLARE_BITMAP(unsync_child_bitmap, PT64_ENT_PER_PAGE);
                                         ^
   include/linux/kernel.h:67:30: note: in definition of macro 'DIV_ROUND_UP'
    #define DIV_ROUND_UP(n,d) (((n) + (d) - 1) / (d))
                                 ^
   include/linux/types.h:10:21: note: in expansion of macro 'BITS_TO_LONGS'
     unsigned long name[BITS_TO_LONGS(bits)]
                        ^
>> arch/x86/include/asm/kvm_host.h:268:2: note: in expansion of macro 'DECLARE_BITMAP'
     DECLARE_BITMAP(unsync_child_bitmap, PT64_ENT_PER_PAGE);
     ^

vim +/PT64_ENT_PER_PAGE +268 arch/x86/include/asm/kvm_host.h

   262		unsigned int unsync_children;
   263		struct kvm_rmap_head parent_ptes; /* rmap pointers to parent sptes */
   264	
   265		/* The page is obsolete if mmu_valid_gen != kvm->arch.mmu_valid_gen.  */
   266		unsigned long mmu_valid_gen;
   267	
 > 268		DECLARE_BITMAP(unsync_child_bitmap, PT64_ENT_PER_PAGE);
   269	
   270	#ifdef CONFIG_X86_32
   271		/*

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

[-- Attachment #2: .config.gz --]
[-- Type: application/octet-stream, Size: 24889 bytes --]

      parent reply	other threads:[~2016-03-01 15:23 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-01 14:49 Lan Tianyu
2016-03-01 15:16 ` Lan, Tianyu
2016-03-01 15:22 ` kbuild test robot [this message]

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=201603012351.ifGYISai%fengguang.wu@intel.com \
    --to=lkp@intel.com \
    --cc=gleb@kernel.org \
    --cc=hpa@zytor.com \
    --cc=kbuild-all@01.org \
    --cc=kvm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@redhat.com \
    --cc=pbonzini@redhat.com \
    --cc=tglx@linutronix.de \
    --cc=tianyu.lan@intel.com \
    --cc=x86@kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®