Re: [Xen-devel] [PATCH v3] x86: irq: Do not BUG_ON multiple unbind calls for shared pirqs

2020-03-06 Thread Durrant, Paul
> > ; Julien Grall > > ; Roger Pau Monné > > Subject: Re: [Xen-devel] [PATCH v3] x86: irq: Do not BUG_ON multiple unbind > > calls for shared pirqs > > > > On 29.01.2020 12:47, Jan Beulich wrote: > > > On 29.01.2020 11:30, Roger Pau Monné wrote

Re: [Xen-devel] [PATCH v3] x86: irq: Do not BUG_ON multiple unbind calls for shared pirqs

2020-03-05 Thread Durrant, Paul
> -Original Message- > From: Xen-devel On Behalf Of Jan > Beulich > Sent: 05 March 2020 09:37 > To: Gautam, Varad > Cc: xen-devel@lists.xenproject.org; Andrew Cooper > ; Julien Grall > ; Roger Pau Monné > Subject: Re: [Xen-devel] [PATCH v3] x86: irq: Do

Re: [Xen-devel] [PATCH v3] x86: irq: Do not BUG_ON multiple unbind calls for shared pirqs

2020-03-05 Thread Jan Beulich
On 29.01.2020 12:47, Jan Beulich wrote: > On 29.01.2020 11:30, Roger Pau Monné wrote: >> Hello, >> >> Thanks for the patch! Next time could you please try to reply to the >> previous questions before sending a new version: >> >> https://lists.xenproject.org/archives/html/xen-devel/2019-07/msg00257.

Re: [Xen-devel] [PATCH v3] x86: irq: Do not BUG_ON multiple unbind calls for shared pirqs

2020-01-29 Thread Jan Beulich
On 29.01.2020 11:30, Roger Pau Monné wrote: > Hello, > > Thanks for the patch! Next time could you please try to reply to the > previous questions before sending a new version: > > https://lists.xenproject.org/archives/html/xen-devel/2019-07/msg00257.html > > On Wed, Jan 29, 2020 at 10:28:07AM +

Re: [Xen-devel] [PATCH v3] x86: irq: Do not BUG_ON multiple unbind calls for shared pirqs

2020-01-29 Thread Roger Pau Monné
Hello, Thanks for the patch! Next time could you please try to reply to the previous questions before sending a new version: https://lists.xenproject.org/archives/html/xen-devel/2019-07/msg00257.html On Wed, Jan 29, 2020 at 10:28:07AM +0100, Varad Gautam wrote: > XEN_DOMCTL_destroydomain creates

Re: [Xen-devel] [PATCH v3] x86: irq: Do not BUG_ON multiple unbind calls for shared pirqs

2020-01-29 Thread Julien Grall
Hi, On 29/01/2020 09:28, Varad Gautam wrote: XEN_DOMCTL_destroydomain creates a continuation if domain_kill -ERESTARTS. In that scenario, it is possible to receive multiple _pirq_guest_unbind calls for the same pirq from domain_kill, if the pirq has not yet been removed from the domain's pirq_tr

[Xen-devel] [PATCH v3] x86: irq: Do not BUG_ON multiple unbind calls for shared pirqs

2020-01-29 Thread Varad Gautam
XEN_DOMCTL_destroydomain creates a continuation if domain_kill -ERESTARTS. In that scenario, it is possible to receive multiple _pirq_guest_unbind calls for the same pirq from domain_kill, if the pirq has not yet been removed from the domain's pirq_tree, as: domain_kill() -> domain_relinquish