Re: [PATCH v2] s390x: adapter routes error handling

2020-01-17 Thread Cornelia Huck
On Fri, 17 Jan 2020 12:11:47 +0100 Cornelia Huck wrote: > If the kernel irqchip has been disabled, we don't want the > {add,release}_adapter_routes routines to call any kvm_irqchip_* > interfaces, as they may rely on an irqchip actually having been > created. Just take a quick exit in that case i

Re: [PATCH v2] s390x: adapter routes error handling

2020-01-17 Thread Christian Borntraeger
On 17.01.20 12:33, Cornelia Huck wrote: > On Fri, 17 Jan 2020 12:22:45 +0100 > Christian Borntraeger wrote: > >> On 17.01.20 12:11, Cornelia Huck wrote: >>> If the kernel irqchip has been disabled, we don't want the >>> {add,release}_adapter_routes routines to call any kvm_irqchip_* >>> interf

Re: [PATCH v2] s390x: adapter routes error handling

2020-01-17 Thread Cornelia Huck
On Fri, 17 Jan 2020 12:22:45 +0100 Christian Borntraeger wrote: > On 17.01.20 12:11, Cornelia Huck wrote: > > If the kernel irqchip has been disabled, we don't want the > > {add,release}_adapter_routes routines to call any kvm_irqchip_* > > interfaces, as they may rely on an irqchip actually havi

Re: [PATCH v2] s390x: adapter routes error handling

2020-01-17 Thread Christian Borntraeger
On 17.01.20 12:11, Cornelia Huck wrote: > If the kernel irqchip has been disabled, we don't want the > {add,release}_adapter_routes routines to call any kvm_irqchip_* > interfaces, as they may rely on an irqchip actually having been > created. Just take a quick exit in that case instead. > > Al

Re: [PATCH v2] s390x: adapter routes error handling

2020-01-17 Thread Thomas Huth
On 17/01/2020 12.11, Cornelia Huck wrote: > If the kernel irqchip has been disabled, we don't want the > {add,release}_adapter_routes routines to call any kvm_irqchip_* > interfaces, as they may rely on an irqchip actually having been > created. Just take a quick exit in that case instead. > > Als

[PATCH v2] s390x: adapter routes error handling

2020-01-17 Thread Cornelia Huck
If the kernel irqchip has been disabled, we don't want the {add,release}_adapter_routes routines to call any kvm_irqchip_* interfaces, as they may rely on an irqchip actually having been created. Just take a quick exit in that case instead. Also initialize routes->gsi[] with -1 in the virtio-ccw h