From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754301AbbAOOWo (ORCPT ); Thu, 15 Jan 2015 09:22:44 -0500 Received: from vserver.eikelenboom.it ([84.200.39.61]:35053 "EHLO smtp.eikelenboom.it" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753644AbbAOOWn (ORCPT ); Thu, 15 Jan 2015 09:22:43 -0500 Date: Thu, 15 Jan 2015 15:22:37 +0100 From: Sander Eikelenboom Organization: Eikelenboom IT services X-Priority: 3 (Normal) Message-ID: <1681737545.20150115152237@eikelenboom.it> To: Jiang Liu CC: David Vrabel , Thomas Gleixner , Konrad Rzeszutek Wilk , Bjorn Helgaas , "Rafael J . Wysocki" , Tony Luck , Subject: Re: [Bugfix v4 0/2] Fix xen IRQ allocation failure caused by commit b81975eade8c In-Reply-To: <1421327077-19894-1-git-send-email-jiang.liu@linux.intel.com> References: <1421204979-30619-1-git-send-email-jiang.liu@linux.intel.com> <1421327077-19894-1-git-send-email-jiang.liu@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Thursday, January 15, 2015, 2:04:34 PM, you wrote: > With more knowledge of Xen interrupt manangement subsytem, I realized > previous three versions to fix https://lkml.org/lkml/2014/12/19/178 are > just plainly wrong. Those patches try to fix the issue by creating > irqdomain for IOAPICs for PV domains, which effectively let native > IOAPIC driver and Xen PV interrupt management subsystem to manage > IOAPIC irqs concurrently, sounds unpredictable. > Sorry for those wrong fixes. The good news is that the new fix does > make code simpler and easier to maintain. > I have tested the patchset on Intel platform with bare metal and Dom0 > kernels. > Hi Sander, > Could you please help to test it again? > Regards! > Gerry Hi Gerry, These patches fix the first symptom of the powerbutton not working. Unfortunately it doesn't fix the second symptoms with pci-passthrough, the device still doesn't receive irq's on intel and the video device still haas issues on AMD. What i have tested extensively and works stable for me is: david's patch + revert of cffe0a2b5a34c95a4dadc9ec7132690a5b0f6687 "x86, irq: Keep balance of IOAPIC pin reference count" Hope that helps in finding the solution. -- Sander > Jiang Liu (2): > xen/pci: Kill function xen_setup_acpi_sci() > xen/pci: Simplify x86/pci/xen.c by killing gsi_override related code > arch/x86/kernel/acpi/boot.c | 26 ++++++++--------- > arch/x86/pci/xen.c | 68 ++++--------------------------------------- > 2 files changed, 19 insertions(+), 75 deletions(-)