Received: by 10.223.176.46 with SMTP id f43csp2825718wra; Mon, 22 Jan 2018 04:08:44 -0800 (PST) X-Google-Smtp-Source: AH8x226nLBCYVe8m1fI+YSgZHazBUvYu5gDosOlX38EMEMnQR4n/V7nOSbIEzLjLYolShJ0BnQti X-Received: by 10.101.74.208 with SMTP id c16mr7038145pgu.34.1516622924130; Mon, 22 Jan 2018 04:08:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516622924; cv=none; d=google.com; s=arc-20160816; b=0vUrsxhuM88rKoXfXIySEQ5vNsWB8G5ruFUS4OjqOluRUa36D4+9Vw9lGi/+HMQKeM ENbfYKu1staSIlkhkasUTDugjhczprlytZEbKsR9D0RyzYisN22Goq5KTB7/QtR08Ae2 ru9a4V2Cr6RypzUWe3o61CskkxRKcG9kZFE9eIU8oHk49DbcOElv0tVT9BSL5d/uF8GC ier+xWnai39R1mu89KgRUBN5Pm06Nvi+wsUuPpbqSx7lSGf3BlyD2qH7eo4pgsGNI930 8iRhJTyxT2PX5Ei4Od7mgo3bpU/5UTr83BzT+P5EB6/qnfarkYP4L9Ixfs6XgDPdTPTk MBYA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:message-id:in-reply-to:date:references:subject:cc:to :from:arc-authentication-results; bh=eIwsrxb+C7gFMLIrnIgYgZyQzmVluAaZe6O4vHLtgdg=; b=uDFyNA3bZnLDsrwGrWNT4E87u97YU/hP7GdB4clRpYVLuQFiXzT5HmjvhdvSR5oFl+ Y5m19O5fj3ohnQXTOo0uiysRvs6z04mQobb0n9YHBTP2jgLQ+nFGZxIs42uX39Mh8jAY 09w4Nmfr0Ubsyp5ie9oCAKIY8rX3Ljc1MCwS1NRl80jZe0ZIYDMdwEnfHVCI2Z116Txv 1qklSWqjg/C1krDmYR5MBr7wBTq8GZOuBIQLQq6rR2wyRlagWzXotGVDk/i+ZqstKovB 17rVgolNS6ACJVAaX4vq0kJXQqG2fhNAD+ZGO+LvFJbBAEeBFt2B5/Dr1HXfaSE3zAs/ UQVg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k8si10907204pgc.482.2018.01.22.04.08.29; Mon, 22 Jan 2018 04:08:44 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751199AbeAVMHG (ORCPT + 99 others); Mon, 22 Jan 2018 07:07:06 -0500 Received: from mx1.redhat.com ([209.132.183.28]:34416 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751024AbeAVMHE (ORCPT ); Mon, 22 Jan 2018 07:07:04 -0500 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 7552E85547; Mon, 22 Jan 2018 12:07:04 +0000 (UTC) Received: from vitty.brq.redhat.com.redhat.com (unknown [10.43.2.155]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 331FE7D49C; Mon, 22 Jan 2018 12:07:00 +0000 (UTC) From: Vitaly Kuznetsov To: "Michael Kelley \(EOSG\)" Cc: Thomas Gleixner , kbuild test robot , "kbuild-all\@01.org" , "kvm\@vger.kernel.org" , "x86\@kernel.org" , Stephen Hemminger , Radim =?utf-8?B?S3LEjW3DocWZ?= , Haiyang Zhang , "linux-kernel\@vger.kernel.org" , "devel\@linuxdriverproject.org" , Ingo Molnar , Roman Kagan , Andy Lutomirski , "H. Peter Anvin" , Paolo Bonzini , Mohammed Gamal Subject: Re: [PATCH v3 3/7] x86/hyper-v: reenlightenment notifications support References: <20180116182700.1042-4-vkuznets@redhat.com> <201801191841.QZ26OYif%fengguang.wu@intel.com> <87o9lqdt15.fsf@vitty.brq.redhat.com> Date: Mon, 22 Jan 2018 13:06:59 +0100 In-Reply-To: (Michael Kelley's message of "Mon, 22 Jan 2018 01:22:21 +0000") Message-ID: <877esacd24.fsf@vitty.brq.redhat.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.28]); Mon, 22 Jan 2018 12:07:04 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org "Michael Kelley (EOSG)" writes: > On Fri, 19 Jan 2018, Thomas Gleixner wrote: > >> -----Original Message----- >> From: Thomas Gleixner [mailto:tglx@linutronix.de] >> Sent: Friday, January 19, 2018 11:48 PM >> To: Vitaly Kuznetsov >> Cc: kbuild test robot ; kbuild-all@01.org; kvm@vger.kernel.org; >> x86@kernel.org; Stephen Hemminger ; Radim Krčmář >> ; Haiyang Zhang ; linux- >> kernel@vger.kernel.org; devel@linuxdriverproject.org; Michael Kelley (EOSG) >> ; Ingo Molnar ; Roman Kagan >> ; Andy Lutomirski ; H. Peter Anvin >> ; Paolo Bonzini ; Mohammed Gamal >> >> Subject: Re: [PATCH v3 3/7] x86/hyper-v: reenlightenment notifications support >> >> On Fri, 19 Jan 2018, Vitaly Kuznetsov wrote: >> > kbuild test robot writes: >> > >> > > Hi Vitaly, >> > > >> > > Thank you for the patch! Perhaps something to improve: >> > > >> > > [auto build test WARNING on tip/auto-latest] >> > > [also build test WARNING on v4.15-rc8 next-20180118] >> > > [cannot apply to tip/x86/core kvm/linux-next] >> > > [if your patch is applied to the wrong git tree, please drop us a note to help improve the >> system] >> > > >> > > url: >> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2F0day- >> ci%2Flinux%2Fcommits%2FVitaly-Kuznetsov%2Fx86-kvm-hyperv-stable-clocksorce-for-L2- >> guests-when-running-nested-KVM-on-Hyper-V%2F20180119- >> 160814&data=02%7C01%7CMichael.H.Kelley%40microsoft.com%7Ce95c66107da6446826830 >> 8d55fda2c2b%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636520313062777623&s >> data=kAXl3mLVUdJi%2BsB4Ub0fmUHQfl6NuUDjW%2FAY9%2BFLZE4%3D&reserved=0 >> > > config: x86_64-allmodconfig (attached as .config) >> > > compiler: gcc-7 (Debian 7.2.0-12) 7.2.1 20171025 >> > > reproduce: >> > > # save the attached .config to linux build tree >> > > make ARCH=x86_64 >> > > >> > > All warnings (new ones prefixed by >>): >> > > >> > > In file included from include/linux/kasan.h:17:0, >> > > from include/linux/slab.h:129, >> > > from include/linux/irq.h:26, >> > > from arch/x86/include/asm/hardirq.h:6, >> > > from include/linux/hardirq.h:9, >> > > from include/linux/interrupt.h:13, >> > > from arch/x86/include/asm/mshyperv.h:8, >> > > from arch/x86//entry/vdso/vdso32/../vclock_gettime.c:20, >> > > from arch/x86//entry/vdso/vdso32/vclock_gettime.c:33: >> > > arch/x86/include/asm/pgtable.h: In function 'clone_pgd_range': >> > > arch/x86/include/asm/pgtable.h:1129:9: error: implicit declaration of function >> 'kernel_to_user_pgdp'; did you mean 'u64_to_user_ptr'? [-Werror=implicit-function- >> declaration] >> > > memcpy(kernel_to_user_pgdp(dst), kernel_to_user_pgdp(src), >> > > ^~~~~~~~~~~~~~~~~~~ >> > >> > Sorry but I'm failing to see how this (and all the rest) is related to >> > my patch ... >> >> You added '#include ' to mshyperv.h which is included in >> vclock_gettime.c and pulls in other stuff which fails to expand.... > > Is the declaration of hyperv_reenlightenment_intr() even needed in > mshyperv.h? The '#include ' is there for the __irq_entry > annotation on that declaration. There's a declaration of the parallel (and > unannotated) hyperv_vector_handler(), but that looks like a fossil that > isn't needed either. > True, the only need for the declaration in mshyperv.h is to silence "warning: no previous prototype for ‘hyperv_reenlightenment_intr’"; I'm not sure if this actually needs fixing. -- Vitaly