mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: kys@exchange.microsoft.com
Cc: kbuild-all@01.org, gregkh@linuxfoundation.org,
	linux-kernel@vger.kernel.org, devel@linuxdriverproject.org,
	olaf@aepfle.de, apw@canonical.com, vkuznets@redhat.com,
	jasowang@redhat.com, leann.ogasawara@canonical.com,
	marcelo.cerri@canonical.com, sthemmin@microsoft.com
Subject: Re: [PATCH 08/10] x86/hyper-v: use hypercall for remote TLB flush
Date: Sat, 1 Jul 2017 08:17:04 +0800	[thread overview]
Message-ID: <201707010702.7UWomGIi%fengguang.wu@intel.com> (raw)
In-Reply-To: <1498410409-30997-8-git-send-email-kys@exchange.microsoft.com>

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

Hi Vitaly,

[auto build test WARNING on next-20170619]
[cannot apply to tip/x86/core linus/master linux/master v4.12-rc6 v4.12-rc5 v4.12-rc4 v4.12-rc7]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url:    https://github.com/0day-ci/linux/commits/kys-exchange-microsoft-com/x86-hyper-v-include-hyperv-only-when-CONFIG_HYPERV-is-set/20170626-133601
config: x86_64-randconfig-ws0-07010157 (attached as .config)
compiler: gcc-4.8 (Debian 4.8.4-1) 4.8.4
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All warnings (new ones prefixed by >>):

   arch/x86//hyperv/mmu.c: In function 'hyperv_flush_tlb_others':
>> arch/x86//hyperv/mmu.c:120:2: warning: passing argument 2 of 'native_flush_tlb_others' from incompatible pointer type [enabled by default]
     native_flush_tlb_others(cpus, mm, start, end);
     ^
   In file included from arch/x86//hyperv/mmu.c:9:0:
   arch/x86/include/asm/tlbflush.h:256:6: note: expected 'const struct flush_tlb_info *' but argument is of type 'struct mm_struct *'
    void native_flush_tlb_others(const struct cpumask *cpumask,
         ^
   arch/x86//hyperv/mmu.c:120:2: error: too many arguments to function 'native_flush_tlb_others'
     native_flush_tlb_others(cpus, mm, start, end);
     ^
   In file included from arch/x86//hyperv/mmu.c:9:0:
   arch/x86/include/asm/tlbflush.h:256:6: note: declared here
    void native_flush_tlb_others(const struct cpumask *cpumask,
         ^
   arch/x86//hyperv/mmu.c: In function 'hyperv_setup_mmu_ops':
>> arch/x86//hyperv/mmu.c:127:31: warning: assignment from incompatible pointer type [enabled by default]
      pv_mmu_ops.flush_tlb_others = hyperv_flush_tlb_others;
                                  ^

vim +/native_flush_tlb_others +120 arch/x86//hyperv/mmu.c

   114	
   115		local_irq_restore(flags);
   116	
   117		if (!(status & HV_HYPERCALL_RESULT_MASK))
   118			return;
   119	do_native:
 > 120		native_flush_tlb_others(cpus, mm, start, end);
   121	}
   122	
   123	void hyperv_setup_mmu_ops(void)
   124	{
   125		if (ms_hyperv.hints & HV_X64_REMOTE_TLB_FLUSH_RECOMMENDED) {
   126			pr_info("Hyper-V: Using hypercall for remote TLB flush\n");
 > 127			pv_mmu_ops.flush_tlb_others = hyperv_flush_tlb_others;
   128		}
   129	}
   130	

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

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

  parent reply	other threads:[~2017-07-01  0:17 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-25 17:06 [PATCH 00/10] Hyper-V: paravirtualized remote TLB flushing and hypercall improvements kys
2017-06-25 17:06 ` [PATCH 01/10] x86/hyper-v: include hyperv/ only when CONFIG_HYPERV is set kys
2017-06-25 17:06 ` [PATCH 02/10] x86/hyper-v: stash the max number of virtual/logical processor kys
2017-06-25 17:06 ` [PATCH 03/10] x86/hyper-v: make hv_do_hypercall() inline kys
2017-07-17 15:21   ` Greg KH
2017-06-25 17:06 ` [PATCH 04/10] x86/hyper-v: fast hypercall implementation kys
2017-06-25 17:06 ` [PATCH 05/10] hyper-v: use fast hypercall for HVCALL_SIGNAL_EVENT kys
2017-06-25 17:06 ` [PATCH 06/10] x86/hyper-v: implement rep hypercalls kys
2017-06-25 17:06 ` [PATCH 07/10] hyper-v: globalize vp_index kys
2017-06-25 17:06 ` [PATCH 08/10] x86/hyper-v: use hypercall for remote TLB flush kys
2017-06-26  6:33   ` kbuild test robot
2017-06-26  8:14     ` Vitaly Kuznetsov
2017-06-26 21:00       ` KY Srinivasan
2017-07-01  0:17   ` kbuild test robot [this message]
2017-06-25 17:06 ` [PATCH 09/10] x86/hyper-v: support extended CPU ranges for TLB flush hypercalls kys
2017-06-25 17:06 ` [PATCH 10/10] tracing/hyper-v: trace hyperv_mmu_flush_tlb_others() kys

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=201707010702.7UWomGIi%fengguang.wu@intel.com \
    --to=lkp@intel.com \
    --cc=apw@canonical.com \
    --cc=devel@linuxdriverproject.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=jasowang@redhat.com \
    --cc=kbuild-all@01.org \
    --cc=kys@exchange.microsoft.com \
    --cc=leann.ogasawara@canonical.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=marcelo.cerri@canonical.com \
    --cc=olaf@aepfle.de \
    --cc=sthemmin@microsoft.com \
    --cc=vkuznets@redhat.com \
    /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®