Received: by 10.213.65.68 with SMTP id h4csp459772imn; Wed, 4 Apr 2018 01:18:09 -0700 (PDT) X-Google-Smtp-Source: AIpwx493ntvYENqJzwh39DG5bky9k7UJhwWz4es0Bq99CrTxsLlIcvt3T2GsU0j+3fW2GXwLRYEp X-Received: by 2002:a17:902:4001:: with SMTP id b1-v6mr17346740pld.273.1522829889080; Wed, 04 Apr 2018 01:18:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522829889; cv=none; d=google.com; s=arc-20160816; b=JuJqjLh0BYsjKB6uNwiVjH/8gpr/4NuPxMyIj3RH317x8iDq3meS/T2zBVI9CkrVmO WhqPh/RddmWD+XuTSGZ8vZ4sPeTLkKQ/xjhwk9e72QDXAGV4g/TEbmebTUZml2VMv06m JbBxDuQ3FQkI9uhLaKaMFAExKWP9CkJbyzDAUAmW7oFcbqQEj13DL81/8dQ1b3bq40zC XdTXXkEss8m2zOCkn4SLNfKp9ozh4f9tj02L1uts3q9l0qyIw/JbwD0yDl+jWgPIyaAz Kx/lLHZ/bsXwaDmN6bCJc30qlCiC56KR0c8sposMTgWb9GAwlWY/jAue6SmE0mg1uvl8 AGug== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=Ii0a/sQtfd5QWiBMiCs3V6RWcFagTRQbeJeQDoye9Y4=; b=YyWX6J3G7g0hXWPNabSDGMrnb4JSgiaRqiKxZQRLrS73jEuUJgvGIiDeixzv/eFr59 6R3PM7HN9Hl7FSlbR+tgKgCYT3LHjlYeO8L6oztNSQX9dG0zumfrZIUqbPQrYgFXb4cD QNJTJGXscOiUWncrFbdAsaLLXU+oa8zIUoF0CNAZx0pw0bnoMtZ9sYw8QN48d/sFoNcn i7DEjufDzoR++Wj8QdlJz9bJvOkA1oCl9Y7UIZ5JaQLEIs6tyA1PHHCItKqqzo0Kbsbz PUT0P8Pedtm4pL8NVMTxRR1hRr34Ts6oYNWeAEOhAoHbtTx17EtF5nIAgg0oIYtCUVZq mWrw== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z10si3271330pgp.208.2018.04.04.01.17.55; Wed, 04 Apr 2018 01:18:09 -0700 (PDT) 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751344AbeDDIQf (ORCPT + 99 others); Wed, 4 Apr 2018 04:16:35 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:46314 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750736AbeDDIQd (ORCPT ); Wed, 4 Apr 2018 04:16:33 -0400 Received: from localhost (unknown [37.168.41.178]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id 25CCFC09; Wed, 4 Apr 2018 08:16:32 +0000 (UTC) Date: Wed, 4 Apr 2018 10:16:29 +0200 From: Greg KH To: mikelley@microsoft.com Cc: 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, kys@microsoft.com Subject: Re: [PATCH v2 char-misc 1/1] x86/hyperv: Add interrupt handler annotations Message-ID: <20180404081629.GA22277@kroah.com> References: <1522789148-1787-1-git-send-email-mikelley@microsoft.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1522789148-1787-1-git-send-email-mikelley@microsoft.com> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Apr 03, 2018 at 01:59:08PM -0700, mhkelley58@gmail.com wrote: > From: Michael Kelley > > Add standard interrupt handler annotations to > hyperv_vector_handler(). > > Signed-off-by: Michael Kelley > --- > Changes in v2: > * Fixed From: line > --- > arch/x86/kernel/cpu/mshyperv.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/x86/kernel/cpu/mshyperv.c b/arch/x86/kernel/cpu/mshyperv.c > index 4488cf0..20f6849 100644 > --- a/arch/x86/kernel/cpu/mshyperv.c > +++ b/arch/x86/kernel/cpu/mshyperv.c > @@ -41,7 +41,7 @@ static void (*hv_stimer0_handler)(void); > static void (*hv_kexec_handler)(void); > static void (*hv_crash_handler)(struct pt_regs *regs); > > -void hyperv_vector_handler(struct pt_regs *regs) > +__visible void __irq_entry hyperv_vector_handler(struct pt_regs *regs) What bug does this solve? What is wrong with the existing markings? What does __visible and __irq_entry give us that we don't already have and we need? Are you really using LTO that requires this marking to prevent the code from being removed? thanks, greg k-h