Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932634AbdC2AR6 (ORCPT ); Tue, 28 Mar 2017 20:17:58 -0400 Received: from a2nlsmtp01-04.prod.iad2.secureserver.net ([198.71.225.38]:55174 "EHLO a2nlsmtp01-04.prod.iad2.secureserver.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932285AbdC2AR5 (ORCPT ); Tue, 28 Mar 2017 20:17:57 -0400 x-originating-ip: 107.180.71.197 From: kys@exchange.microsoft.com To: 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 Cc: "K. Y. Srinivasan" Subject: [PATCH 1/1] Drivers: hv: Issue explicit EOI when autoeoi is not enabled Date: Tue, 28 Mar 2017 17:16:53 -0700 Message-Id: <1490746613-25207-1-git-send-email-kys@exchange.microsoft.com> X-Mailer: git-send-email 1.7.1 Reply-To: kys@microsoft.com X-CMAE-Envelope: MS4wfA9Ib6pJRmQwzHqU4a3aGGaAK+nUVVqL3zrF00tkF4WOAzWBw1MwTzMmuz+h704/8lj0Al769bEdkdF0+nhiOWeXuoJ3u5tSXmIaGeZp1GjxeZchYV8u e+tcJl4U/wFN8+/4TiAnFcYRk5klpA6LgsJ9WqGHpFClAxPMBvDXTt+P+0s5AOSgQizS1IOoInPB+782+ZRBMcO9ysk+0aTwQLDMnoi2gKBi4Ce3dGiuUYir T7BvuBlNLFmxdoxt7RX1he0b6dNM74V/anBILLJ8gRehx3O0oR07Od4jonHfr6eCb/9w8g60fUUAUfAJ9BtWT9R7CyzMB2x6BrwZ+YkD3p1yC9UN69t6q+mf Y/JC+v8wmAC+MdW6f6zmQbPQIdDGLMmidL3snnvtTevi8Jp+qv8azHKvZ3vqGmP63WwJYfkNtzveTWyy3u/DR2qpyQxYqo8PVHhUMe81v/LaoqznxTk8xE/W 4Zjmn1A5JRWp9wgXSCIqr0v0UqO1UF7m1XLNew== Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 788 Lines: 28 From: K. Y. Srinivasan When auto EOI is not enabled; issue an explicit EOI for hyper-v interrupts. Fixes: 6c248aad81c8 ("Drivers: hv: Base autoeoi enablement based on hypervisor hints") Signed-off-by: K. Y. Srinivasan --- arch/x86/kernel/cpu/mshyperv.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/arch/x86/kernel/cpu/mshyperv.c b/arch/x86/kernel/cpu/mshyperv.c index b5375b9..04cb8d3 100644 --- a/arch/x86/kernel/cpu/mshyperv.c +++ b/arch/x86/kernel/cpu/mshyperv.c @@ -49,6 +49,9 @@ void hyperv_vector_handler(struct pt_regs *regs) if (vmbus_handler) vmbus_handler(); + if (ms_hyperv.hints & HV_X64_DEPRECATING_AEOI_RECOMMENDED) + ack_APIC_irq(); + exiting_irq(); set_irq_regs(old_regs); } -- 1.7.1