This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


Re: [Xen-devel] [PATCH 1/3] add flag IRQF_NO_SUSPEND in 'struct irqactio

To: "Yu, Ke" <ke.yu@xxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH 1/3] add flag IRQF_NO_SUSPEND in 'struct irqaction'
From: Jeremy Fitzhardinge <jeremy@xxxxxxxx>
Date: Tue, 14 Jul 2009 13:01:24 -0700
Cc: "Lu, Guanqun" <guanqun.lu@xxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Tue, 14 Jul 2009 13:01:52 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4D05DB80B95B23498C72C700BD6C2E0B2FAA1CB9@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <1247564671-3090-1-git-send-email-guanqun.lu@xxxxxxxxx> <4D05DB80B95B23498C72C700BD6C2E0B2FAA1CB9@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1b3pre) Gecko/20090513 Fedora/3.0-2.3.beta2.fc11 Lightning/1.0pre Thunderbird/3.0b2
On 07/13/09 01:46, Yu, Ke wrote:
> Hi Jeremy,
> Forget to mention, this series of patches are targeting for pv_ops dom0 host 
> S3.
> We have tried the host S3 branch (xen-tip/dom0/acpi) and find host S3 will 
> hang at disable_nonboot_cpus. the root cause is that suspend_device_irqs () 
> unfortunately will disable the irq of XEN_CALL_FUNCTION_SINGLE_VECTOR IPI and 
> xen_timer_interrupt VIRQ, which however are required by disable_nonboot_cpus. 
> To fix this issue, flag IRQF_NO_SUSPEND is added to Xen IPI and IRQF_TIMER is 
> added to xen_timer_interrupt VIRQ, to notify suspend_device_irqs not to 
> disable these irqs when suspend.
> After applying this series of patches to xen-tip/dom0/acpi branch, and 
> rebasing xen-tip/dom0/acpi to xen-tip/master, the pv_ops dom0 host S3 is 
> working in our side.

Thanks for debugging that.  Could you send me a patch?  Is the
IRQF_NO_SUSPEND flag something you've had to add?



Xen-devel mailing list