Received: by 10.223.176.46 with SMTP id f43csp4182487wra; Tue, 23 Jan 2018 05:41:49 -0800 (PST) X-Google-Smtp-Source: AH8x224/J+KiR+7U1421hFrLhsUghOlCoUkYTw0Lh/rHWtDh6Fbh2NHHiqWw8x9aOnGirbfsBKGC X-Received: by 2002:a17:902:8498:: with SMTP id c24-v6mr5623064plo.450.1516714909302; Tue, 23 Jan 2018 05:41:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516714909; cv=none; d=google.com; s=arc-20160816; b=WJnTDR9zu0ca/0MTGIdO6EAejr+aGs7jKaleEXqp0LDLYHF/r7i0yHNF3pvzhrdrme XnUVwNS/3N4zBRmCT4SPI2o/wTobs0DzRFBzsNT/udjzlXiU4wujrPM07krLBqCwlwEV SG+wUs1ps3SEGeDjPDz2u60L+Wu3YKsoZiYO8nBie5i8ZB1Ogs8KP8Um5P2d0tXynXrm NMKSgMEvEJaoWSGPj0CQvipvV3efQG6JnuuO9nMo5hjAqb3oW7ZyCTzk+60qfAA2MvSE 3B90bOk6deF2hJ8pDCLir3XuM3Bvu0b2+Lb35T3Uaj5XkmRaBKYTa7dGph8aAmWb5X1J lYgg== 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=AXNz9Dqf1YsA3SFnG/+uO/i76iwvwlrs7EJ3v3/rCD0=; b=o2LNM/VkGLM/FucD9oj9hFWr4KKwJyL2JP2ve0T4omT69mEcULz/4fUZiBNV/MrzZ+ gIkRB5vvQvdwKA+NZe2BbQUbUlx5s/hvuIFucSC2x6CQMVZEThN33GxawRgbOoM/D6eL C2zaXgtvRU18U0mX0o00FGkbsrEo/495+VFNWMmqw5ud4AbF7vlaPiyl1ZBW1yC7BaYc UopoElrMpZe+kLqfYoZEkTeOShty2UZj2IVu9sRMyt19Vfi4mC3iA7gxBmfKg+JXg2h1 dmYWtW/tXcst3FiFIU9LpW7v1+ZNABiUbntTIg0nYzLBU6eD8B9veGjvmCBd2iT+LRjk uiXA== 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 d16-v6si954178pll.576.2018.01.23.05.41.34; Tue, 23 Jan 2018 05:41:49 -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 S1751633AbeAWNlL (ORCPT + 99 others); Tue, 23 Jan 2018 08:41:11 -0500 Received: from mx1.redhat.com ([209.132.183.28]:34634 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751318AbeAWNlK (ORCPT ); Tue, 23 Jan 2018 08:41:10 -0500 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id DAD0CC070132; Tue, 23 Jan 2018 13:41:09 +0000 (UTC) Received: from vitty.brq.redhat.com.redhat.com (unknown [10.43.2.155]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 76742608F0; Tue, 23 Jan 2018 13:41:06 +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> <877esacd24.fsf@vitty.brq.redhat.com> Date: Tue, 23 Jan 2018 14:41:05 +0100 In-Reply-To: <877esacd24.fsf@vitty.brq.redhat.com> (Vitaly Kuznetsov's message of "Mon, 22 Jan 2018 13:06:59 +0100") Message-ID: <87d120bslq.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.13 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.31]); Tue, 23 Jan 2018 13:41:10 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Vitaly Kuznetsov writes: > "Michael Kelley (EOSG)" writes: > >> On Fri, 19 Jan 2018, Thomas Gleixner wrote: >> >>> >>> 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. It seems we can get away with dropping '__visible' and '__irq_entry' qualifiers from 'hyperv_reenlightenment_intr' declaration in mshyperv.h while keeping them in hv_init.c for the implementation. This way we can avoid the nasty 'no previous prototype' warning and not have to add '#include ' to mshyperv.h breaking vdso. I'm inclined to go ahead with this in v4 if nobody objects. -- Vitaly