Re: [Qemu-devel] [PATCH] hw/arm/smmuv3: Fix translate error handling

2018-06-12 Thread Auger Eric
Hi, On 06/08/2018 08:57 AM, Eric Auger wrote: > From: Jia He > > In case the STE's config is "Bypass" we currently don't set the > IOMMUTLBEntry perm flags and the access does not succeed. Also > if the config is 0b0xx (Aborted/Reserved), decode_ste and > smmuv3_decode_config currently returns -

[Qemu-devel] [PATCH] hw/arm/smmuv3: Fix translate error handling

2018-06-07 Thread Eric Auger
From: Jia He In case the STE's config is "Bypass" we currently don't set the IOMMUTLBEntry perm flags and the access does not succeed. Also if the config is 0b0xx (Aborted/Reserved), decode_ste and smmuv3_decode_config currently returns -EINVAL and we don't enter the expected code path: we record