Re: [PATCH] arm64: ti-pvu: Panic on errors during config_commit

2020-04-11 Thread Jan Kiszka
On 11.04.20 20:37, Nikhil Devshatwar wrote: Hi Jan, On 11/04/20 11:28 pm, Jan Kiszka wrote: On 11.04.20 19:25, 'Nikhil Devshatwar' via Jailhouse wrote: Hi Jan, On 11/04/20 4:31 pm, Jan Kiszka wrote: From: Jan Kiszka So far, any error returned by a function called by pvu_iommu_config_commit

Re: [PATCH] arm64: ti-pvu: Panic on errors during config_commit

2020-04-11 Thread 'Nikhil Devshatwar' via Jailhouse
Hi Jan, On 11/04/20 11:28 pm, Jan Kiszka wrote: On 11.04.20 19:25, 'Nikhil Devshatwar' via Jailhouse wrote: Hi Jan, On 11/04/20 4:31 pm, Jan Kiszka wrote: From: Jan Kiszka So far, any error returned by a function called by pvu_iommu_config_commit was ignored, only reported to the console.

Re: [PATCH] arm64: ti-pvu: Panic on errors during config_commit

2020-04-11 Thread Jan Kiszka
On 11.04.20 19:25, 'Nikhil Devshatwar' via Jailhouse wrote: Hi Jan, On 11/04/20 4:31 pm, Jan Kiszka wrote: From: Jan Kiszka So far, any error returned by a function called by pvu_iommu_config_commit was ignored, only reported to the console. That would have resulted in an inconsistent

Re: [PATCH] arm64: ti-pvu: Panic on errors during config_commit

2020-04-11 Thread 'Nikhil Devshatwar' via Jailhouse
On 11/04/20 10:55 pm, 'Nikhil Devshatwar' via Jailhouse wrote: Hi Jan, On 11/04/20 4:31 pm, Jan Kiszka wrote: From: Jan Kiszka So far, any error returned by a function called by pvu_iommu_config_commit was ignored, only reported to the console. That would have resulted in an inconsistent

Re: [PATCH] arm64: ti-pvu: Panic on errors during config_commit

2020-04-11 Thread 'Nikhil Devshatwar' via Jailhouse
Hi Jan, On 11/04/20 4:31 pm, Jan Kiszka wrote: From: Jan Kiszka So far, any error returned by a function called by pvu_iommu_config_commit was ignored, only reported to the console. That would have resulted in an inconsistent configuration being run. Also, pvu_tlb_alloc and pvu_tlb_chain

[PATCH] arm64: ti-pvu: Panic on errors during config_commit

2020-04-11 Thread Jan Kiszka
From: Jan Kiszka So far, any error returned by a function called by pvu_iommu_config_commit was ignored, only reported to the console. That would have resulted in an inconsistent configuration being run. Also, pvu_tlb_alloc and pvu_tlb_chain didn't even report an errors at all, and the former

[PATCH] x86: Reformat for_each_pio_region

2020-04-11 Thread Jan Kiszka
From: Jan Kiszka No functional change, just the for-statement more compact. Signed-off-by: Jan Kiszka --- hypervisor/arch/x86/vcpu.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/hypervisor/arch/x86/vcpu.c b/hypervisor/arch/x86/vcpu.c index 676dc481..7a6543bf