Re: [PATCH v3] arm64: pvu: Avoid failure in config_commit

2020-11-08 Thread Jan Kiszka
On 30.10.20 13:27, 'Nikhil Devshatwar' via Jailhouse wrote: > Current PVU iommu implementation ignores possible failures in the > config_commit part. This would allow inconsistent configuration > to run and may introduce unknown bugs. > > Solve this by making sure that the pvu_iommu_config_commit

Re: [PATCH v3] arm64: pvu: Avoid failure in config_commit

2020-11-06 Thread Jan Kiszka
On 06.11.20 09:25, Nikhil Devshatwar wrote: On 17:57-20201030, 'Nikhil Devshatwar' via Jailhouse wrote: Current PVU iommu implementation ignores possible failures in the config_commit part. This would allow inconsistent configuration to run and may introduce unknown bugs. Solve this by making

Re: [PATCH v3] arm64: pvu: Avoid failure in config_commit

2020-11-06 Thread 'Nikhil Devshatwar' via Jailhouse
On 17:57-20201030, 'Nikhil Devshatwar' via Jailhouse wrote: > Current PVU iommu implementation ignores possible failures in the > config_commit part. This would allow inconsistent configuration > to run and may introduce unknown bugs. > > Solve this by making sure that the pvu_iommu_config_commit

[PATCH v3] arm64: pvu: Avoid failure in config_commit

2020-10-30 Thread 'Nikhil Devshatwar' via Jailhouse
Current PVU iommu implementation ignores possible failures in the config_commit part. This would allow inconsistent configuration to run and may introduce unknown bugs. Solve this by making sure that the pvu_iommu_config_commit never fails. Catch the errors early in the mapping phase. Use